[Liboss-commit] CVS: liboss configure.in,1.27,1.28
Brought to you by:
thesin
From: Justin <th...@us...> - 2002-11-05 16:41:15
|
Update of /cvsroot/liboss/liboss In directory usw-pr-cvs1:/tmp/cvs-serv10863 Modified Files: configure.in Log Message: fix for blank --with-esd Index: configure.in =================================================================== RCS file: /cvsroot/liboss/liboss/configure.in,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- configure.in 27 Oct 2002 22:47:59 -0000 1.27 +++ configure.in 5 Nov 2002 16:41:10 -0000 1.28 @@ -168,11 +168,11 @@ [ esd=false; AC_MSG_CHECKING([for esd.h in little nooks and crannies]) - for esd_include_dir in ${esd_prefix}/include ${prefix}/include /usr/include /usr/local/include; do - if test -f "${esd_include_dir}/esd.h"; then + for ESDDIR in ${esd_prefix} ${prefix} /usr /usr/local; do + if test -f "${ESDDIR}/include/esd.h"; then esd=true - ESD_INCS="-I${esd_include_dir}" - AC_MSG_RESULT(${esd_include_dir}) + ESD_INCS="-I${ESDDIR}/include" + AC_MSG_RESULT(${ESDDIR}/include) break fi done @@ -186,8 +186,8 @@ if test x$esd = xtrue; then AC_CHECK_LIB(esd,esd_open_sound,[ esd=true; - if test -n "${esd_prefix}"; then - LIBESD="-L${esd_prefix}/lib -lesd"; + if test -n "${ESDDIR}"; then + LIBESD="-L${ESDDIR}/lib -lesd"; else LIBESD="-lesd"; fi |