Ticket #29076: patch-configure.in.diff
File patch-configure.in.diff, 2.5 KB (added by humem (humem), 14 years ago) |
---|
-
libsent/configure.in
old new 181 181 # ALSA 182 182 has_alsa=yes 183 183 AC_CHECK_HEADERS(alsa/asoundlib.h,, 184 AC_CHECK_HEADERS(sys/asoundlib.h,,184 [AC_CHECK_HEADERS(sys/asoundlib.h,, 185 185 has_alsa=no 186 ) )186 )]) 187 187 # OSS 188 188 has_oss=yes 189 189 AC_CHECK_HEADERS(sys/soundcard.h,, 190 AC_CHECK_HEADERS(machine/soundcard.h,,190 [AC_CHECK_HEADERS(machine/soundcard.h,, 191 191 has_oss=no 192 ) )192 )]) 193 193 ;; 194 194 esac 195 195 # ESounD … … 255 255 case $altype in 256 256 portaudio) 257 257 pa_system=no 258 AC_CHECK_LIB(portaudio,Pa_Initialize, AC_CHECK_HEADERS(portaudio.h, pa_system=yes))258 AC_CHECK_LIB(portaudio,Pa_Initialize,[AC_CHECK_HEADERS(portaudio.h, pa_system=yes)]) 259 259 if test "$pa_system" = no; then 260 260 case "$host_os" in 261 261 linux*) … … 266 266 ;; 267 267 cygwin*|mingw*) 268 268 AC_CHECK_LIB(dsound,main, 269 AC_CHECK_HEADERS(DSound.h,269 [AC_CHECK_HEADERS(DSound.h, 270 270 altype="pa-dsound", 271 altype="pa-winmm") ,271 altype="pa-winmm")], 272 272 altype="pa-winmm") 273 273 ;; 274 274 esac … … 456 456 have_zlib=no; 457 457 if test "$use_zlib" = yes; then 458 458 AC_CHECK_LIB(z, deflate, 459 AC_CHECK_HEADERS(zlib.h,460 have_zlib=yes;461 gzdesc="zlib library" ;459 [AC_CHECK_HEADERS(zlib.h, 460 [have_zlib=yes 461 gzdesc="zlib library" 462 462 EXTRALIB="$EXTRALIB -lz" 463 AC_DEFINE(HAVE_ZLIB) ))463 AC_DEFINE(HAVE_ZLIB)])]) 464 464 if test "$have_zlib" = no; then 465 465 AC_MSG_WARN([not found]) 466 466 use_zlib=no; … … 493 493 if test "$with_sndfile" = yes; then 494 494 have_libsndfile=no 495 495 AC_CHECK_LIB(sndfile, sf_open, 496 AC_CHECK_HEADERS(sndfile.h,497 wavefile_support='various formats by libsndfile ver.1'496 [AC_CHECK_HEADERS(sndfile.h, 497 [wavefile_support='various formats by libsndfile ver.1' 498 498 AC_DEFINE(HAVE_LIBSNDFILE) 499 499 AC_DEFINE(HAVE_LIBSNDFILE_VER1) 500 500 EXTRALIB="$EXTRALIB -lsndfile" 501 have_libsndfile=yes ))501 have_libsndfile=yes])]) 502 502 if test "$have_libsndfile" = no; then 503 503 AC_CHECK_LIB(sndfile, sf_open_read, 504 AC_CHECK_HEADERS(sndfile.h,504 [AC_CHECK_HEADERS(sndfile.h, 505 505 wavefile_support='various formats by libsndfile ver.0' 506 506 AC_DEFINE(HAVE_LIBSNDFILE) 507 507 EXTRALIB="$EXTRALIB -lsndfile" 508 have_libsndfile=yes) )508 have_libsndfile=yes)]) 509 509 fi 510 510 if test "$have_libsndfile" = no; then 511 511 AC_MSG_WARN([libsndfile enables AIFF AU SND NIST format for Julius.