comparison configure.in @ 678:7f691fa4c1c7

Turn dynamic loading of esd and arts on by default Hmm, what to do about Objective C dependencies....
author Sam Lantinga <slouken@libsdl.org>
date Sat, 09 Aug 2003 20:36:29 +0000
parents 73506d26a1f4
children 34f03ca736b7
comparison
equal deleted inserted replaced
677:92a933bf2f0f 678:7f691fa4c1c7
327 if test x$enable_audio = xyes -a x$enable_esd = xyes; then 327 if test x$enable_audio = xyes -a x$enable_esd = xyes; then
328 use_esd=no 328 use_esd=no
329 AM_PATH_ESD(0.2.8, use_esd=yes) 329 AM_PATH_ESD(0.2.8, use_esd=yes)
330 if test x$use_esd = xyes; then 330 if test x$use_esd = xyes; then
331 AC_ARG_ENABLE(esd-shared, 331 AC_ARG_ENABLE(esd-shared,
332 [ --enable-esd-shared dynamically load ESD audio support [default=no]], 332 [ --enable-esd-shared dynamically load ESD audio support [default=yes]],
333 , enable_esd_shared=no) 333 , enable_esd_shared=yes)
334 esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'` 334 esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`
335 esd_lib=`ls $esd_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'` 335 esd_lib=`ls $esd_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
336 echo "-- $esd_lib_spec -> $esd_lib" 336 echo "-- $esd_lib_spec -> $esd_lib"
337 if test x$enable_dlopen != xyes && \ 337 if test x$enable_dlopen != xyes && \
338 test x$enable_esd_shared = xyes; then 338 test x$enable_esd_shared = xyes; then
377 ]) 377 ])
378 CFLAGS="$save_CFLAGS" 378 CFLAGS="$save_CFLAGS"
379 AC_MSG_RESULT($audio_arts) 379 AC_MSG_RESULT($audio_arts)
380 if test x$audio_arts = xyes; then 380 if test x$audio_arts = xyes; then
381 AC_ARG_ENABLE(arts-shared, 381 AC_ARG_ENABLE(arts-shared,
382 [ --enable-arts-shared dynamically load aRts audio support [default=no]], 382 [ --enable-arts-shared dynamically load aRts audio support [default=yes]],
383 , enable_arts_shared=no) 383 , enable_arts_shared=yes)
384 arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libartsc.so.*/'` 384 arts_lib_spec=`echo $ARTSC_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libartsc.so.*/'`
385 arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'` 385 arts_lib=`ls $arts_lib_spec | head -1 | sed 's/.*\/\(.*\)/\1/'`
386 echo "-- $arts_lib_spec -> $arts_lib" 386 echo "-- $arts_lib_spec -> $arts_lib"
387 if test x$enable_dlopen != xyes && \ 387 if test x$enable_dlopen != xyes && \
388 test x$enable_arts_shared = xyes; then 388 test x$enable_arts_shared = xyes; then
773 773
774 dnl Find DirectFB 774 dnl Find DirectFB
775 CheckDirectFB() 775 CheckDirectFB()
776 { 776 {
777 AC_ARG_ENABLE(video-directfb, 777 AC_ARG_ENABLE(video-directfb,
778 [ --enable-video-directfb use DirectFB video driver [default=yes]], 778 [ --enable-video-directfb use DirectFB video driver [default=no]],
779 , enable_video_directfb=yes) 779 , enable_video_directfb=no)
780 if test x$enable_video = xyes -a x$enable_video_directfb = xyes; then 780 if test x$enable_video = xyes -a x$enable_video_directfb = xyes; then
781 video_directfb=no 781 video_directfb=no
782 782
783 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 783 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
784 if test x$PKG_CONFIG = xno ; then 784 if test x$PKG_CONFIG = xno ; then
2600 OBJC="$CC" 2600 OBJC="$CC"
2601 AC_SUBST(OBJC) 2601 AC_SUBST(OBJC)
2602 OBJCFLAGS="$CFLAGS" 2602 OBJCFLAGS="$CFLAGS"
2603 AC_SUBST(OBJCFLAGS) 2603 AC_SUBST(OBJCFLAGS)
2604 dnl _AM_DEPENDENCIES(OBJC) doesn't work, so hard code OBJCDEPMODE here 2604 dnl _AM_DEPENDENCIES(OBJC) doesn't work, so hard code OBJCDEPMODE here
2605 dnl _AM_DEPENDENCIES(OBJC) 2605 #OBJCDEPMODE="depmode=gcc3"
2606 OBJCDEPMODE="depmode=gcc3" 2606 #AC_SUBST(OBJCDEPMODE)
2607 AC_SUBST(OBJCDEPMODE) 2607 _AM_DEPENDENCIES(OBJC)
2608 AC_MSG_RESULT(not implemented yet) 2608 AC_MSG_RESULT(not implemented yet)
2609 ;; 2609 ;;
2610 esac 2610 esac
2611 2611
2612 # Finally create all the generated files 2612 # Finally create all the generated files