aboutsummaryrefslogblamecommitdiff
path: root/audio/libaacplus/files/patch-configure.ac
blob: 2ae5b88a4d76890954bb52813aa5885827fa7091 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                               







                           
                                













                                                                  
                                                            







                                                         
--- configure.ac.orig	2010-11-10 21:27:45 UTC
+++ configure.ac
@@ -8,7 +8,7 @@ AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 AC_CONFIG_MACRO_DIR([m4])
 # Checks for programs.
-AC_PROG_CC
+AC_PROG_CC(clang gcc cc)
 AM_PROG_CC_C_O
 AC_PROG_CPP
 AC_PROG_INSTALL
@@ -16,10 +16,10 @@ AC_PROG_LN_S
 AC_PROG_MAKE_SET
 AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
-AC_PATH_PROG([UNZIP],[unzip])
-if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
-    AC_MSG_ERROR([You need unzip utility to prepare sources.])
-fi
+dnl AC_PATH_PROG([UNZIP],[unzip])
+dnl if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
+dnl    AC_MSG_ERROR([You need unzip utility to prepare sources.])
+dnl fi
 AC_PATH_PROG([PATCH],[patch])
 if test x"$PATCH" = x -a ! -f "aacenc.c" ; then
     AC_MSG_ERROR([You need patch utility to prepare sources.])
@@ -123,7 +123,7 @@ AM_CONDITIONAL([HAVE_PKGCONFIG], [test "
 	    
 AACPLUS_VERSION="$VERSION"
 AACPLUS_CPPFLAGS="-I$aacplus_includedir $FFTW3_CPPFLAGS"
-AACPLUS_CFLAGS+="$FFTW3_CFLAGS"
+AACPLUS_CFLAGS="$AACPLUS_CFLAGS $FFTW3_CFLAGS"
 AACPLUS_LIBS="-laacplus -lm ${FFTW3_LIB}"
 
 AC_SUBST(AACPLUS_LIBS)