1 # Copyright (C) 1999-2009 Erik de Castro Lopo (erikd AT mega-nerd DOT com).
3 dnl Require autoconf version
6 AC_INIT([libsndfile],[1.0.21],[erikd@mega-nerd.com])
8 # Put config stuff in Cfg.
11 AC_CONFIG_SRCDIR([src/sndfile.c])
12 AC_CANONICAL_TARGET([])
14 AC_CONFIG_MACRO_DIR([M4])
15 AC_CONFIG_HEADERS([src/config.h])
17 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
19 dnl Add parameters for aclocal
20 AC_SUBST(ACLOCAL_AMFLAGS, "-I M4")
24 #------------------------------------------------------------------------------------
25 # Rules for library version information:
27 # 1. Start with version information of `0:0:0' for each libtool library.
28 # 2. Update the version information only immediately before a public release of
29 # your software. More frequent updates are unnecessary, and only guarantee
30 # that the current interface number gets larger faster.
31 # 3. If the library source code has changed at all since the last update, then
32 # increment revision (`c:r:a' becomes `c:r+1:a').
33 # 4. If any interfaces have been added, removed, or changed since the last update,
34 # increment current, and set revision to 0.
35 # 5. If any interfaces have been added since the last public release, then increment
37 # 6. If any interfaces have been removed since the last public release, then set age
40 SHARED_VERSION_INFO="1:21:0"
46 # Do not check for F77.
47 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
51 AC_CHECK_PROG(HAVE_AUTOGEN, autogen, yes, no)
52 AC_CHECK_PROG(HAVE_WINE, wine, yes, no)
59 AC_CHECK_HEADERS(endian.h)
60 AC_CHECK_HEADERS(byteswap.h)
61 AC_CHECK_HEADERS(locale.h)
62 AC_CHECK_HEADERS(sys/time.h)
66 AC_CHECK_DECLS(S_IRGRP)
67 if test x$ac_cv_have_decl_S_IRGRP = xyes ; then
68 AC_DEFINE_UNQUOTED([HAVE_DECL_S_IRGRP],1,[Set to 1 if S_IRGRP is defined.])
70 AC_DEFINE_UNQUOTED([HAVE_DECL_S_IRGRP],0)
73 AM_CONDITIONAL([LINUX_MINGW_CROSS_TEST],
74 [test "$build_os:$target_os:$host_os:$HAVE_WINE" = "linux-gnu:mingw32msvc:mingw32msvc:yes"])
76 #====================================================================================
77 # Check for support of the struct hack.
81 if test x$ac_cv_c99_flexible_array = xyes ; then
82 AC_DEFINE([HAVE_FLEXIBLE_ARRAY],1, [Set to 1 if the compile supports the struct hack.])
84 AC_MSG_WARN([[*** This compiler does not support the 1999 ISO C Standard ***]])
85 AC_MSG_WARN([[*** feature known as the flexible array struct member. ***]])
86 AC_DEFINE([HAVE_FLEXIBLE_ARRAY],0)
89 #====================================================================================
90 # Couple of initializations here. Fill in real values later.
94 #====================================================================================
95 # Finished checking, handle options.
97 AC_ARG_ENABLE(experimental,
98 AC_HELP_STRING([--enable-experimental], [enable experimental code]))
101 if test x$enable_experimental = xyes ; then
104 AC_DEFINE_UNQUOTED([ENABLE_EXPERIMENTAL_CODE],${EXPERIMENTAL_CODE}, [Set to 1 to enable experimental code.])
106 AC_ARG_ENABLE(gcc-werror,
107 AC_HELP_STRING([--enable-gcc-werror], [enable -Werror in all Makefiles]))
109 AC_ARG_ENABLE(gcc-pipe,
110 AC_HELP_STRING([--disable-gcc-pipe], [disable gcc -pipe option]))
112 AC_ARG_ENABLE(gcc-opt,
113 AC_HELP_STRING([--disable-gcc-opt], [disable gcc optimisations]))
115 AC_ARG_ENABLE(cpu-clip,
116 AC_HELP_STRING([--disable-cpu-clip], [disable tricky cpu specific clipper]))
118 AC_ARG_ENABLE(bow-docs,
119 AC_HELP_STRING([--enable-bow-docs], [enable black-on-white html docs]))
121 AC_ARG_ENABLE(sqlite,
122 AC_HELP_STRING([--disable-sqlite], [disable use of sqlite]))
125 AC_HELP_STRING([--disable-alsa], [disable use of ALSA]))
127 AC_ARG_ENABLE(external-libs,
128 AC_HELP_STRING([--disable-external-libs], [disable use of FLAC, Ogg and Vorbis [[default=no]]]))
130 AC_ARG_ENABLE(octave,
131 AC_HELP_STRING([--enable-octave], [disable building of GNU Octave module]))
133 AC_ARG_ENABLE(test-coverage,
134 AC_HELP_STRING([--enable-test-coverage], [enable test coverage]))
135 AM_CONDITIONAL([ENABLE_TEST_COVERAGE], [test "$enable_test_coverage" = yes])
137 #====================================================================================
138 # Check types and their sizes.
140 AC_CHECK_SIZEOF(wchar_t,4)
141 AC_CHECK_SIZEOF(short,2)
142 AC_CHECK_SIZEOF(int,4)
143 AC_CHECK_SIZEOF(long,4)
144 AC_CHECK_SIZEOF(float,4)
145 AC_CHECK_SIZEOF(double,4)
146 AC_CHECK_SIZEOF(void*,8)
147 AC_CHECK_SIZEOF(size_t,4)
148 AC_CHECK_SIZEOF(int64_t,8)
149 AC_CHECK_SIZEOF(long long,8)
151 #====================================================================================
152 # Find an appropriate type for sf_count_t.
153 # On systems supporting files larger than 2 Gig, sf_count_t must be a 64 bit value.
154 # Unfortunately there is more than one way of ensuring this so need to do some
155 # pretty rigourous testing here.
157 unset ac_cv_sizeof_off_t
159 AC_CHECK_SIZEOF(off_t,1) # Fake default value.
162 mingw32msvc | mingw32)
163 TYPEOF_SF_COUNT_T="__int64"
164 SF_COUNT_MAX="0x7FFFFFFFFFFFFFFFLL"
166 AC_DEFINE([__USE_MINGW_ANSI_STDIO],1,[Set to 1 to use C99 printf/snprintf in MinGW.])
169 if test "x$ac_cv_sizeof_off_t" = "x8" ; then
170 # If sizeof (off_t) is 8, no further checking is needed.
171 TYPEOF_SF_COUNT_T="off_t"
172 SF_COUNT_MAX="0x7FFFFFFFFFFFFFFFLL"
175 # Check for common 64 bit file offset types.
176 AC_CHECK_SIZEOF(loff_t,1) # Fake default value.
177 AC_CHECK_SIZEOF(off64_t,1) # Fake default value.
179 TYPEOF_SF_COUNT_T="unknown"
180 if test "x$ac_cv_sizeof_loff_t" = "x8" ; then
181 TYPEOF_SF_COUNT_T="loff_t"
183 elif test "x$ac_cv_sizeof_off64_t" = "x8" ; then
184 TYPEOF_SF_COUNT_T="off64_t"
188 # Save the old sizeof (off_t) value and then unset it to see if it
189 # changes when Large File Support is enabled.
191 pre_largefile_sizeof_off_t=$ac_cv_sizeof_off_t
192 unset ac_cv_sizeof_off_t
194 AC_SYS_EXTRA_LARGEFILE
196 if test "x$ac_cv_sys_largefile_CFLAGS" = "xno" ; then
197 ac_cv_sys_largefile_CFLAGS=""
199 if test "x$ac_cv_sys_largefile_LDFLAGS" = "xno" ; then
200 ac_cv_sys_largefile_LDFLAGS=""
202 if test "x$ac_cv_sys_largefile_LIBS" = "xno" ; then
203 ac_cv_sys_largefile_LIBS=""
206 AC_CHECK_SIZEOF(off_t,1) # Fake default value.
208 if test "x$ac_cv_sizeof_off_t" = "x8" ; then
209 SF_COUNT_MAX="0x7FFFFFFFFFFFFFFFLL"
210 elif test "x$ac_cv_sizeof_off_t" = "x$pre_largefile_sizeof_off_t" ; then
211 AC_MSG_WARN([[This machine does not seem to support 64 bit file offsets.]])
212 TYPEOF_SF_COUNT_T="off_t"
213 SIZEOF_SF_COUNT_T=$ac_cv_sizeof_off_t
214 elif test "x$TYPEOF_SF_COUNT_T" = "xunknown" ; then
216 echo "*** The configure process has determined that this system is capable"
217 echo "*** of Large File Support but has not been able to find a type which"
218 echo "*** is an unambiguous 64 bit file offset."
219 echo "*** Please contact the author to help resolve this problem."
221 AC_MSG_ERROR([[Bad file offset type.]])
227 if test $SIZEOF_SF_COUNT_T = 4 ; then
228 SF_COUNT_MAX="0x7FFFFFFF"
231 AC_DEFINE_UNQUOTED([TYPEOF_SF_COUNT_T],${TYPEOF_SF_COUNT_T}, [Set to long if unknown.])
232 AC_SUBST(TYPEOF_SF_COUNT_T)
234 AC_DEFINE_UNQUOTED([SIZEOF_SF_COUNT_T],${SIZEOF_SF_COUNT_T}, [Set to sizeof (long) if unknown.])
235 AC_SUBST(SIZEOF_SF_COUNT_T)
237 AC_DEFINE_UNQUOTED([SF_COUNT_MAX],${SF_COUNT_MAX}, [Set to maximum allowed value of sf_count_t type.])
238 AC_SUBST(SF_COUNT_MAX)
240 AC_CHECK_TYPES(ssize_t)
241 AC_CHECK_SIZEOF(ssize_t,4)
243 #====================================================================================
244 # Determine endian-ness of target processor.
248 AC_DEFINE_UNQUOTED(CPU_IS_BIG_ENDIAN, ${ac_cv_c_big_endian},
249 [Target processor is big endian.])
250 AC_DEFINE_UNQUOTED(CPU_IS_LITTLE_ENDIAN, ${ac_cv_c_little_endian},
251 [Target processor is little endian.])
252 AC_DEFINE_UNQUOTED(WORDS_BIGENDIAN, ${ac_cv_c_big_endian},
253 [Target processor is big endian.])
255 #====================================================================================
256 # Check for functions.
258 AC_CHECK_FUNCS(malloc calloc realloc free)
259 AC_CHECK_FUNCS(open read write lseek pread pwrite)
260 AC_CHECK_FUNCS(fstat ftruncate fsync)
261 AC_CHECK_FUNCS(snprintf vsnprintf)
262 AC_CHECK_FUNCS(gmtime gmtime_r localtime localtime_r gettimeofday)
263 AC_CHECK_FUNCS(mmap getpagesize)
264 AC_CHECK_FUNCS(setlocale)
266 AC_CHECK_LIB([m],floor)
267 AC_CHECK_FUNCS(floor ceil fmod)
272 #====================================================================================
273 # Check for requirements for building plugins for other languages/enviroments.
275 dnl Octave maths environment http://www.octave.org/
276 if test x$cross_compiling = xno ; then
277 if test x$enable_octave = xno ; then
278 AM_CONDITIONAL(BUILD_OCTAVE_MOD, false)
283 AM_CONDITIONAL(BUILD_OCTAVE_MOD, false)
286 #====================================================================================
287 # Check for Ogg, Vorbis and FLAC.
293 # Check for pkg-config outside the if statement.
296 if test x$enable_external_libs = xno ; then
297 AC_MSG_WARN([[*** External libs (FLAC, Ogg, Vorbis) disabled. ***]])
299 PKG_CHECK_MOD_VERSION(FLAC, flac >= 1.2.1, ac_cv_flac=yes, ac_cv_flac=no)
300 PKG_CHECK_MOD_VERSION(OGG, ogg >= 1.1.3, ac_cv_ogg=yes, ac_cv_ogg=no)
302 # Vorbis versions earlier than 1.2.3 have bugs that cause the libsndfile
303 # test suite to fail on MIPS, PowerPC and others.
304 # See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
305 PKG_CHECK_MOD_VERSION(VORBIS, vorbis >= 1.2.3, ac_cv_vorbis=yes, ac_cv_vorbis=no)
306 PKG_CHECK_MOD_VERSION(VORBISENC, vorbisenc >= 1.2.3, ac_cv_vorbisenc=yes, ac_cv_vorbisenc=no)
307 enable_external_libs=yes
310 if test x$ac_cv_flac$ac_cv_ogg$ac_cv_vorbis$ac_cv_vorbisenc = "xyesyesyesyes" ; then
312 enable_external_libs=yes
314 EXTERNAL_CFLAGS="$FLAC_CFLAGS $OGG_CFLAGS $VORBISENC_CFLAGS"
315 EXTERNAL_LIBS="$FLAC_LIBS $VORBISENC_LIBS"
319 *** One or more of the external libraries (ie libflac, libogg and
320 *** libvorbis) is either missing (possibly only the development
321 *** headers) or is of an unsupported version.
323 *** Unfortunately, for ease of maintenance, the external libs
324 *** are an all or nothing affair.
326 enable_external_libs=no
329 AC_DEFINE_UNQUOTED([HAVE_EXTERNAL_LIBS], $HAVE_EXTERNAL_LIBS, [Will be set to 1 if flac, ogg and vorbis are available.])
331 #====================================================================================
332 # Check for libsqlite3 (only used in regtest).
335 if test x$enable_sqlite != xno ; then
336 PKG_CHECK_MOD_VERSION(SQLITE3, sqlite3 >= 3.2, ac_cv_sqlite3=yes, ac_cv_sqlite3=no)
339 if test x$ac_cv_sqlite3 = "xyes" ; then
345 AC_DEFINE_UNQUOTED([HAVE_SQLITE3],$HAVE_SQLITE3,[Set to 1 if you have libsqlite3.])
347 #====================================================================================
348 # Determine if the processor can do clipping on float to int conversions.
350 if test x$enable_cpu_clip != "xno" ; then
353 echo "checking processor clipping capabilities... disabled"
354 ac_cv_c_clip_positive=0
355 ac_cv_c_clip_negative=0
358 AC_DEFINE_UNQUOTED(CPU_CLIPS_POSITIVE, ${ac_cv_c_clip_positive},
359 [Target processor clips on positive float to int conversion.])
360 AC_DEFINE_UNQUOTED(CPU_CLIPS_NEGATIVE, ${ac_cv_c_clip_negative},
361 [Target processor clips on negative float to int conversion.])
363 #====================================================================================
364 # Target OS specific stuff.
366 OS_SPECIFIC_CFLAGS=""
375 OS_SPECIFIC_CFLAGS="-fpascal-strings -I/Developer/Headers/FlatCarbon"
376 OS_SPECIFIC_LINKS="-framework CoreAudio"
381 OS_SPECIFIC_LINKS="-lwinmm"
385 AC_DEFINE_UNQUOTED(OS_IS_WIN32, ${os_is_win32}, [Set to 1 if compiling for Win32])
386 AC_DEFINE_UNQUOTED(OS_IS_MACOSX, ${os_is_macosx}, [Set to 1 if compiling for MacOSX])
387 AC_DEFINE_UNQUOTED(USE_WINDOWS_API, ${use_windows_api}, [Set to 1 to use the native windows API])
389 #====================================================================================
394 if test x$enable_alsa != xno ; then
395 AC_CHECK_HEADERS(alsa/asoundlib.h)
396 if test x$ac_cv_header_alsa_asoundlib_h = xyes ; then
402 #====================================================================================
403 # Test for sanity when cross-compiling.
405 if test x$cross_compiling = xyes ; then
406 AC_MSG_WARN([[******************************************************************]])
407 AC_MSG_WARN([[*** We are cross-compiling, so have to assume sizeof (short) == 2 ]])
408 AC_MSG_WARN([[*** and sizeof (int) == 4. If this is not the case there is no ]])
409 AC_MSG_WARN([[*** chance of this working. Please contact the mantainer. ]])
410 AC_MSG_WARN([[******************************************************************]])
413 if test $ac_cv_sizeof_short != 2 ; then
414 AC_MSG_WARN([[******************************************************************]])
415 AC_MSG_WARN([[*** sizeof (short) != 2. ]])
416 AC_MSG_WARN([[******************************************************************]])
419 if test $ac_cv_sizeof_int != 4 ; then
420 AC_MSG_WARN([[******************************************************************]])
421 AC_MSG_WARN([[*** sizeof (int) != 4 ]])
422 AC_MSG_WARN([[******************************************************************]])
425 if test $ac_cv_sizeof_float != 4 ; then
426 AC_MSG_WARN([[******************************************************************]])
427 AC_MSG_WARN([[*** sizeof (float) != 4. ]])
428 AC_MSG_WARN([[******************************************************************]])
431 if test $ac_cv_sizeof_double != 8 ; then
432 AC_MSG_WARN([[******************************************************************]])
433 AC_MSG_WARN([[*** sizeof (double) != 8. ]])
434 AC_MSG_WARN([[******************************************************************]])
437 if test x"$ac_cv_prog_HAVE_AUTOGEN" = "xno" ; then
438 AC_MSG_WARN([[Touching files in directory tests/.]])
439 touch tests/*.c tests/*.h
442 #====================================================================================
443 # Settings for the HTML documentation.
445 htmldocdir=$prefix/share/doc/libsndfile1-dev/html
447 if test $prefix = "NONE" ; then
448 htmldocdir=/usr/local/share/doc/libsndfile1-dev/html
450 htmldocdir=$prefix/share/doc/libsndfile1-dev/html
453 if test x$enable_bow_docs = "xyes" ; then
454 HTML_BGCOLOUR="white"
455 HTML_FGCOLOUR="black"
457 HTML_BGCOLOUR="black"
458 HTML_FGCOLOUR="white"
461 #====================================================================================
462 # Now use the information from the checking stage.
467 if test x$ac_cv_c_compiler_gnu = xyes ; then
468 MN_ADD_CFLAGS(-std=gnu99)
472 if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
473 AC_MSG_WARN([****************************************************************])
474 AC_MSG_WARN([** GCC version 4.2 warns about the inline keyword for no good **])
475 AC_MSG_WARN([** reason but the maintainers do not see it as a bug. **])
476 AC_MSG_WARN([** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995 **])
477 AC_MSG_WARN([** Using -fgnu-inline to avoid this stupidity. **])
478 AC_MSG_WARN([****************************************************************])
479 MN_ADD_CFLAGS([-fgnu89-inline])
482 CFLAGS="$CFLAGS -Wall"
483 CXXFLAGS="$CXXFLAGS -Wall"
485 MN_ADD_CFLAGS([-Wextra])
488 MN_ADD_CXXFLAGS([-Wextra])
491 MN_ADD_CFLAGS([-Wdeclaration-after-statement])
492 MN_ADD_CFLAGS([-Wpointer-arith])
493 MN_ADD_CFLAGS([-funsigned-char])
495 if test x$enable_gcc_werror = "xyes" ; then
496 CFLAGS="-Werror $CFLAGS"
497 CXXFLAGS="-Werror $CXXFLAGS"
500 if test x$enable_test_coverage = "xyes" ; then
501 # MN_ADD_CFLAGS([-ftest-coverage])
502 MN_ADD_CFLAGS([-coverage])
505 CFLAGS="$CFLAGS -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wbad-function-cast -Wwrite-strings "
506 # -Wundef -Wmissing-declarations -Winline -Wconversion"
507 CXXFLAGS="$CXXFLAGS -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo "
509 if test "x$enable_gcc_opt" = "xno" ; then
510 temp_CFLAGS=`echo $CFLAGS | sed "s/O2/O0/"`
512 AC_MSG_WARN([[*** Compiler optimisations switched off. ***]])
515 # OS specific tweaks.
518 # Disable -Wall, -pedantic and -Wshadow for Apple Darwin/Rhapsody.
519 # System headers on these systems are broken.
520 temp_CFLAGS=`echo $CFLAGS | sed "s/-Wall -pedantic//" | sed "s/-Wshadow//" | sed "s/-Waggregate-return//"`
522 SHLIB_VERSION_ARG="-Wl,-exported_symbols_list -Wl,\$(srcdir)/Symbols.darwin"
525 SHLIB_VERSION_ARG="-Wl,--version-script=\$(srcdir)/Symbols.linux"
528 # Linker flag '-Wl,--out-implib' does not work with mingw cross compiler
529 # so we don't use it here.
530 SHLIB_VERSION_ARG="-Wl,\$(srcdir)/libsndfile-1.def"
532 if test x"$enable_shared" = xno ; then
537 SHLIB_VERSION_ARG="-Wl,-export-symbols \$(srcdir)/Symbols.os2"
542 if test x$enable_gcc_pipe != "xno" ; then
543 CFLAGS="$CFLAGS -pipe"
549 AC_DEFINE_UNQUOTED([WIN32_TARGET_DLL], ${win32_target_dll}, [Set to 1 if windows DLL is being built.])
550 AC_DEFINE_UNQUOTED([COMPILER_IS_GCC], ${COMPILER_IS_GCC}, [Set to 1 if the compile is GNU GCC.])
552 CFLAGS="$CFLAGS $OS_SPECIFIC_CFLAGS"
554 if test x"$CFLAGS" = x ; then
555 echo "Error in configure script. CFLAGS has been screwed up."
559 HOST_TRIPLET="${host_cpu}-${host_vendor}-${host_os}"
561 #-------------------------------------------------------------------------------
563 AC_SUBST(HOST_TRIPLET)
566 AC_SUBST(HTML_BGCOLOUR)
567 AC_SUBST(HTML_FGCOLOUR)
569 AC_SUBST(SHLIB_VERSION_ARG)
570 AC_SUBST(SHARED_VERSION_INFO)
571 AC_SUBST(OS_SPECIFIC_CFLAGS)
572 AC_SUBST(OS_SPECIFIC_LINKS)
575 AC_SUBST(EXTERNAL_CFLAGS)
576 AC_SUBST(EXTERNAL_LIBS)
578 dnl The following line causes the libtool distributed with the source
579 dnl to be replaced if the build system has a more recent version.
580 AC_SUBST(LIBTOOL_DEPS)
582 # Shave make automake/libtool output much less verbose and much more
583 # readable. See : git://git.lespiau.name/shave
584 SHAVE_INIT([],[enable])
587 shave shave-libtool \
588 src/sndfile.h src/Makefile src/GSM610/Makefile src/G72x/Makefile \
589 man/Makefile examples/Makefile tests/Makefile regtest/Makefile \
590 M4/Makefile doc/Makefile Win32/Makefile Octave/Makefile \
591 programs/Makefile doc/libsndfile.css \
592 Makefile libsndfile.spec sndfile.pc \
593 tests/test_wrapper.sh build-test-tarball.mk \
597 # Make sure these are executable.
598 chmod u+x tests/test_wrapper.sh build-test-tarball.mk
600 #====================================================================================
603 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
605 Configuration summary :
607 libsndfile cersion : .................. ${VERSION}
609 Host CPU : ............................ ${host_cpu}
610 Host Vendor : ......................... ${host_vendor}
611 Host OS : ............................. ${host_os}
613 Experimental code : ................... ${enable_experimental:-no}
614 Using ALSA in example programs : ...... ${enable_alsa:-no}
615 External FLAC/Ogg/Vorbis : ............ ${enable_external_libs:-no}
619 if test x$ac_cv_c_compiler_gnu = xyes ; then
621 echo " Compiler is GCC : ..................... ${ac_cv_c_compiler_gnu}"
622 echo " GCC version : ......................... ${GCC_VERSION}"
623 if test $GCC_MAJOR_VERSION -lt 3 ; then
624 echo -e "\n ** This compiler version allows applications to write"
625 echo " ** to static strings within the library."
626 echo " ** Compile with GCC version 3.X or above to avoid this problem."
630 if test $libdir = "\${exec_prefix}/lib" ; then
634 if test $bindir = "\${exec_prefix}/bin" ; then
639 Installation directories :
641 Library directory : ................... $libdir
642 Program directory : ................... $bindir
643 Pkgconfig directory : ................. $libdir/pkgconfig
644 HTML docs directory : ................. $htmldocdir
647 if test x$prefix != "x/usr" ; then
648 echo "Compiling some other packages against libsndfile may require"
649 echo -e "the addition of \"$libdir/pkgconfig\" to the"
650 echo -e "PKG_CONFIG_PATH environment variable.\n"
653 (cd src && make genfiles)
654 (cd tests && make genfiles)