X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=configure.ac;h=2b2f2966b980bb6169c9501ce77e1ccaf830b0aa;hb=9cc91f2d8d746e77947eeb2fd7af711a43c3a56a;hp=8b5fb95193b3c15cec63fa64f2c4468a24e76cef;hpb=741c19c2a25c5d9e165cb99f7ff512209b7bade6;p=paraslash.git diff --git a/configure.ac b/configure.ac index 8b5fb951..2b2f2966 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ AC_DEFUN([UNSTASH_FLAGS], [ LIBS="$OLD_LIBS" ]) AC_DEFUN([LIB_SUBST_FLAGS], [ - if test "$HAVE_[]m4_toupper([$1])" == 'yes'; then + if test "$HAVE_[]m4_toupper([$1])" = 'yes'; then AC_DEFINE(HAVE_[]m4_toupper([$1]), 1, define to 1 to turn on $1 support) else @@ -81,16 +81,16 @@ fi AC_C_BIGENDIAN() -AC_PATH_PROG([gengetopt], [gengetopt]) -test -z "$gengetopt" && AC_MSG_ERROR( +AC_PATH_PROG([GENGETOPT], [gengetopt]) +test -z "$GENGETOPT" && AC_MSG_ERROR( [gengetopt is required to build this package]) -AC_PATH_PROG([help2man], [help2man]) -test -z "$help2man" && AC_MSG_ERROR( +AC_PATH_PROG([HELP2MAN], [help2man]) +test -z "$HELP2MAN" && AC_MSG_ERROR( [help2man is required to build this package]) -AC_PATH_PROG([install], [install]) -test -z "$install" && AC_MSG_ERROR( +AC_PATH_PROG([INSTALL], [install]) +test -z "$INSTALL" && AC_MSG_ERROR( [The install program is required to build this package]) AC_PROG_CC @@ -218,7 +218,7 @@ if test ${have_ucred} = yes; then AC_DEFINE(HAVE_UCRED, 1, define to 1 you have struct ucred) fi ########################################################################### gengetopt -echo 'option "z" z "" flag off' | $gengetopt --file-name conftest-ggo && +echo 'option "z" z "" flag off' | $GENGETOPT --file-name conftest-ggo && AC_CHECK_DECL( [gengetopt_args_info_description], [ggo_descriptions_declared=yes], @@ -949,8 +949,14 @@ NEED_OPUS_OBJECTS && NEED_FLAC_OBJECTS && { play_errlist_objs="$play_errlist_objs flacdec_filter flac_afh" } -if test $HAVE_FAAD = yes && test $HAVE_MP4V2 = yes; then - play_errlist_objs="$play_errlist_objs aacdec_filter aac_afh aac_common" +if test $HAVE_FAAD = yes; then + play_errlist_objs="$play_errlist_objs aacdec_filter" +fi +if test $HAVE_MP4V2 = yes; then + play_errlist_objs="$play_errlist_objs aac_afh" +fi +if test $HAVE_MP4V2 = yes || test $HAVE_FAAD = yes; then + play_errlist_objs="$play_errlist_objs aac_common" fi if test $HAVE_MAD = yes; then play_cmdline_objs="$play_cmdline_objs mp3dec_filter"