Changeset 426:a032dfca46cf in roaraudio
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r335 r426 1 SUBDIRS=libroar libroaresd roard roarclients roarfish libroaryiff 1 include Makefile.conf 2 3 SUBDIRS=libroar $(subdir_libroaresd) roard roarclients $(subdir_roarfish) $(subdir_libroaryiff) $(subdir_libroarpulse) 2 4 3 5 all: -
configure
r421 r426 47 47 } 48 48 49 exec 3> config.h 49 test_lib_defmake () { 50 def="$1" 51 subdir="$2" 52 shift 53 shift 54 55 if test_lib $@ 56 then 57 echo "#define $def" >&3 58 [ "$subdir" != '' ] && \ 59 echo "subdir_$subdir=$subdir" >&4 60 else 61 [ "$subdir" != '' ] && \ 62 echo "subdir_$subdir=" >&4 63 fi 64 } 65 66 exec 3> config.h 4> Makefile.conf 50 67 51 68 cat >&3 << EOF … … 74 91 echo >&3 75 92 76 test_lib EsounD esd -- esd.h && echo '#define ROAR_HAVE_ESD' >&393 test_lib_defmake ROAR_HAVE_ESD libroaresd EsounD esd -- esd.h 77 94 test_lib libao ao -- ao/ao.h ao/plugin.h && echo '#define ROAR_HAVE_LIBAO' >&3 78 95 test_lib libvorbis vorbis -- vorbis/codec.h && echo '#define ROAR_HAVE_LIBVORBIS' >&3 … … 81 98 test_lib libcelt celt -- celt/celt.h celt/celt_header.h && echo '#define ROAR_HAVE_LIBCELT' >&3 82 99 test_lib liboggz oggz -- oggz/oggz.h && echo '#define ROAR_HAVE_LIBOGGZ' >&3 83 test_lib libfishsound fishsound -- fishsound/fishsound.h && echo '#define ROAR_HAVE_LIBFISHSOUND' >&384 100 test_lib libsndfile sndfile -- sndfile.h && echo '#define ROAR_HAVE_LIBSNDFILE' >&3 85 test_lib libpulse pulse -- pulse/pulseaudio.h pulse/simple.h && echo '#define ROAR_HAVE_LIBPULSE' >&3 101 test_lib_defmake ROAR_HAVE_LIBFISHSOUND roarfish libfishsound fishsound -- fishsound/fishsound.h 102 test_lib_defmake ROAR_HAVE_LIBPULSE libroarpulse libpulse pulse -- pulse/pulseaudio.h pulse/simple.h 103 test_lib_defmake ROAR_HAVE_LIBY2 libroaryiff libyiff Y2 -- Y2/Y.h Y2/Ylib.h 86 104 87 105 # add a better test here
Note: See TracChangeset
for help on using the changeset viewer.