aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-03-31 17:34:46 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-03-31 17:34:46 +0000
commited5f2c195aba2f86819c040e4acb0395429cc962 (patch)
treef09132010e76b06b075c2e3888244d94dadd263d /configure.ac
parentfded9b20beb444635726cb23fa5f096a62338a28 (diff)
downloadmpd-ed5f2c195aba2f86819c040e4acb0395429cc962.tar.gz
mpd-ed5f2c195aba2f86819c040e4acb0395429cc962.tar.xz
mpd-ed5f2c195aba2f86819c040e4acb0395429cc962.zip
Don't use -L$libdir -I$includedir. $libdir and $includedir are paths for
installing libs/includes, and apparently even the defaults can break cross compiles (see bug #1454). git-svn-id: https://svn.musicpd.org/mpd/trunk@5789 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--configure.ac24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure.ac b/configure.ac
index 003df2776..19700a532 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,8 +218,6 @@ if test x$enable_iconv = xyes; then
ICONV_LIBS="-L$iconv_libraries"
elif test "x$iconv_prefix" != "x" ; then
ICONV_LIBS="-L$iconv_prefix/lib"
- elif test "x$prefix" != "xNONE"; then
- ICONV_LIBS="-L$libdir"
fi
ICONV_LIBS="$ICONV_LIBS -liconv"
@@ -228,8 +226,6 @@ if test x$enable_iconv = xyes; then
ICONV_CFLAGS="-I$iconv_includes"
elif test "x$iconv_prefix" != "x" ; then
ICONV_CFLAGS="-I$iconv_prefix/include"
- elif test "x$prefix" != "xNONE"; then
- ICONV_CFLAGS="-I$includedir"
fi
oldcflags=$CFLAGS
@@ -255,8 +251,6 @@ if test x$enable_id3 = xyes; then
ID3TAG_LIBS="-L$id3tag_libraries"
elif test "x$id3tag_prefix" != "x" ; then
ID3TAG_LIBS="-L$id3tag_prefix/lib"
- elif test "x$prefix" != "xNONE"; then
- ID3TAG_LIBS="-L$libdir"
fi
ID3TAG_LIBS="$ID3TAG_LIBS -lid3tag -lz"
@@ -265,8 +259,6 @@ if test x$enable_id3 = xyes; then
ID3TAG_CFLAGS="-I$id3tag_includes"
elif test "x$id3tag_prefix" != "x" ; then
ID3TAG_CFLAGS="-I$id3tag_prefix/include"
- elif test "x$prefix" != "xNONE"; then
- ID3TAG_CFLAGS="-I$includedir"
fi
ID3TAG_CFLAGS="$ID3TAG_CFLAGS"
@@ -303,8 +295,6 @@ if test x$enable_mp3 = xyes; then
MAD_LIBS="-L$mad_libraries"
elif test "x$mad_prefix" != "x" ; then
MAD_LIBS="-L$mad_prefix/lib"
- elif test "x$prefix" != "xNONE"; then
- MAD_LIBS="-L$libdir"
fi
MAD_LIBS="$MAD_LIBS -lmad"
@@ -313,8 +303,6 @@ if test x$enable_mp3 = xyes; then
MAD_CFLAGS="-I$mad_includes"
elif test "x$mad_prefix" != "x" ; then
MAD_CFLAGS="-I$mad_prefix/include"
- elif test "x$prefix" != "xNONE"; then
- MAD_CFLAGS="-I$includedir"
fi
oldcflags=$CFLAGS
@@ -345,8 +333,6 @@ if test x$enable_mpc = xyes; then
MPCDEC_LIBS="-L$mpcdec_libraries"
elif test "x$mpcdec_prefix" != "x" ; then
MPCDEC_LIBS="-L$mpcdec_prefix/lib"
- elif test "x$prefix" != "xNONE"; then
- MPCDEC_LIBS="-L$libdir"
fi
MPCDEC_LIBS="$MPCDEC_LIBS -lmpcdec"
@@ -355,8 +341,6 @@ if test x$enable_mpc = xyes; then
MPCDEC_CFLAGS="-I$mpcdec_includes"
elif test "x$mpcdec_prefix" != "x" ; then
MPCDEC_CFLAGS="-I$mpcdec_prefix/include"
- elif test "x$prefix" != "xNONE"; then
- MPCDEC_CFLAGS="-I$includedir"
fi
oldcflags=$CFLAGS
@@ -386,8 +370,6 @@ if test x$enable_aac = xyes; then
FAAD_LIBS="-L$faad_libraries"
elif test "x$faad_prefix" != "x" ; then
FAAD_LIBS="-L$faad_prefix/lib"
- elif test "x$prefix" != "xNONE"; then
- FAAD_LIBS="-L$libdir"
fi
FAAD_LIBS="$FAAD_LIBS -lfaad"
@@ -396,8 +378,6 @@ if test x$enable_aac = xyes; then
FAAD_CFLAGS="-I$faad_includes"
elif test "x$faad_prefix" != "x" ; then
FAAD_CFLAGS="-I$faad_prefix/include"
- elif test "x$prefix" != "xNONE"; then
- FAAD_CFLAGS="-I$includedir"
fi
oldcflags=$CFLAGS
@@ -497,16 +477,12 @@ if test x$use_tremor = xyes; then
TREMOR_LIBS="-L$tremor_libraries"
elif test "x$tremor_prefix" != "x" ; then
TREMOR_LIBS="-L$tremor_prefix/lib"
- elif test "x$prefix" != "xNONE"; then
- TREMOR_LIBS="-L$libdir"
fi
TREMOR_LIBS="$TREMOR_LIBS -lvorbisidec"
if test "x$tremor_includes" != "x" ; then
TREMOR_CFLAGS="-I$tremor_includes"
elif test "x$tremor_prefix" != "x" ; then
TREMOR_CFLAGS="-I$tremor_prefix/include"
- elif test "x$prefix" != "xNONE"; then
- TREMOR_CFLAGS="-I$includedir"
fi
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"