-AC_INIT([paraslash],[0.5.2],[maan@systemlinux.org])
-AC_CONFIG_HEADER([config.h])
+AC_INIT([paraslash],[git],[maan@tuebingen.mpg.de])
+AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
AC_DEFUN([add_dot_o],[$(for i in $@; do printf "$i.o "; done)])
AC_CONFIG_FILES([Makefile])
AC_DEFUN([add_dot_o],[$(for i in $@; do printf "$i.o "; done)])
fi
AC_CHECK_HEADERS([ogg/ogg.h], [], [ have_ogg="no"; ])
AC_CHECK_LIB([ogg], [ogg_stream_init], [], [ have_ogg="no" ])
fi
AC_CHECK_HEADERS([ogg/ogg.h], [], [ have_ogg="no"; ])
AC_CHECK_LIB([ogg], [ogg_stream_init], [], [ have_ogg="no" ])
fi
AC_CHECK_HEADERS([vorbis/codec.h], [], [ have_vorbis="no" ])
AC_CHECK_LIB([vorbis], [vorbis_info_init], [], [ have_vorbis="no" ])
fi
AC_CHECK_HEADERS([vorbis/codec.h], [], [ have_vorbis="no" ])
AC_CHECK_LIB([vorbis], [vorbis_info_init], [], [ have_vorbis="no" ])
if test -n "$with_speex_headers"; then
speex_cppflags="-I$with_speex_headers"
CPPFLAGS="$CPPFLAGS $speex_cppflags"
if test -n "$with_speex_headers"; then
speex_cppflags="-I$with_speex_headers"
CPPFLAGS="$CPPFLAGS $speex_cppflags"
fi
AC_CHECK_LIB([speex], [speex_decoder_init], [], [ have_speex="no" ])
AC_CHECK_HEADERS([speex/speex.h], [], [ have_speex="no" ])
fi
AC_CHECK_LIB([speex], [speex_decoder_init], [], [ have_speex="no" ])
AC_CHECK_HEADERS([speex/speex.h], [], [ have_speex="no" ])
if test -n "$with_opus_headers"; then
opus_cppflags="-I$with_opus_headers"
CPPFLAGS="$CPPFLAGS $opus_cppflags"
if test -n "$with_opus_headers"; then
opus_cppflags="-I$with_opus_headers"
CPPFLAGS="$CPPFLAGS $opus_cppflags"
fi
AC_CHECK_LIB([opus], [opus_multistream_decode], [], [ have_opus="no" ])
AC_CHECK_HEADERS([opus/opus.h], [], [ have_opus="no" ])
fi
AC_CHECK_LIB([opus], [opus_multistream_decode], [], [ have_opus="no" ])
AC_CHECK_HEADERS([opus/opus.h], [], [ have_opus="no" ])
fi
if test "$have_vorbis" = "yes"; then
AC_DEFINE(HAVE_OGGVORBIS, 1, define to 1 to turn on ogg/vorbis support)
fi
if test "$have_vorbis" = "yes"; then
AC_DEFINE(HAVE_OGGVORBIS, 1, define to 1 to turn on ogg/vorbis support)
AC_SUBST(readline_cppflags)
AC_SUBST(readline_ldflags)
AC_DEFINE(HAVE_READLINE, 1, define to 1 to turn on readline support)
AC_SUBST(readline_cppflags)
AC_SUBST(readline_ldflags)
AC_DEFINE(HAVE_READLINE, 1, define to 1 to turn on readline support)