~ubuntu-branches/ubuntu/precise/libsamplerate/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Anand Kumria
  • Date: 2005-11-26 09:44:31 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051126094431-q45da3haxdd72g0i
Tags: 0.1.2-2
* Previous upload was rejected by ftp-master becasue they felt that
  having only a single binary in samplerate-programs was not a good
  idea.
* Include all example programs instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
463
463
# include <unistd.h>
464
464
#endif"
465
465
 
466
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG SNDFILE_CFLAGS SNDFILE_LIBS FFTW3_CFLAGS FFTW3_LIBS subdirs SHLIB_VERSION_ARG SHARED_VERSION_INFO OS_SPECIFIC_INCLUDES OS_SPECIFIC_LINKS COMPILER_IS_GCC GCC_MAJOR_VERSION ENABLE_DEBUG HAVE_FFTW3 EFENCE_LIB HAVE_SNDFILE LIBOBJS LTLIBOBJS'
 
466
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DLLTOOL DLLWRAP PEXPORTS PKG_CONFIG SNDFILE_CFLAGS SNDFILE_LIBS FFTW3_CFLAGS FFTW3_LIBS subdirs SHLIB_VERSION_ARG SHARED_VERSION_INFO OS_SPECIFIC_INCLUDES OS_SPECIFIC_LINKS COMPILER_IS_GCC GCC_MAJOR_VERSION ENABLE_DEBUG HAVE_FFTW3 EFENCE_LIB HAVE_SNDFILE LIBOBJS LTLIBOBJS'
467
467
ac_subst_files=''
468
468
 
469
469
# Initialize some variables set by options.
1033
1033
  --enable-fast-install[=PKGS]
1034
1034
                          optimize for fast installation [default=yes]
1035
1035
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1036
  --enable-gcc-werror     enable -Werror in all Makefiles
1036
1037
  --disable-gcc-pipe      disable gcc -pipe option
1037
1038
  --disable-gcc-opt       disable gcc optimisations
1038
1039
  --disable-fftw          disable usage of FFTW
1858
1859
 
1859
1860
# Define the identity of the package.
1860
1861
 PACKAGE=libsamplerate
1861
 
 VERSION=0.1.1
 
1862
 VERSION=0.1.2
1862
1863
 
1863
1864
 
1864
1865
cat >>confdefs.h <<_ACEOF
3633
3634
  lt_cv_deplibs_check_method=pass_all
3634
3635
  ;;
3635
3636
 
3636
 
netbsd* | knetbsd*-gnu)
 
3637
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3637
3638
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3638
3639
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3639
3640
  else
3750
3751
  ;;
3751
3752
*-*-irix6*)
3752
3753
  # Find out which ABI we are using.
3753
 
  echo '#line 3753 "configure"' > conftest.$ac_ext
 
3754
  echo '#line 3754 "configure"' > conftest.$ac_ext
3754
3755
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3755
3756
  (eval $ac_compile) 2>&5
3756
3757
  ac_status=$?
5307
5308
 
5308
5309
 
5309
5310
# Provide some information about the compiler.
5310
 
echo "$as_me:5310:" \
 
5311
echo "$as_me:5311:" \
5311
5312
     "checking for Fortran 77 compiler version" >&5
5312
5313
ac_compiler=`set X $ac_compile; echo $2`
5313
5314
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6339
6340
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6340
6341
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6341
6342
   -e 's:$: $lt_compiler_flag:'`
6342
 
   (eval echo "\"\$as_me:6342: $lt_compile\"" >&5)
 
6343
   (eval echo "\"\$as_me:6343: $lt_compile\"" >&5)
6343
6344
   (eval "$lt_compile" 2>conftest.err)
6344
6345
   ac_status=$?
6345
6346
   cat conftest.err >&5
6346
 
   echo "$as_me:6346: \$? = $ac_status" >&5
 
6347
   echo "$as_me:6347: \$? = $ac_status" >&5
6347
6348
   if (exit $ac_status) && test -s "$ac_outfile"; then
6348
6349
     # The compiler can only warn and ignore the option if not recognized
6349
6350
     # So say no if there are warnings
6572
6573
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6573
6574
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6574
6575
   -e 's:$: $lt_compiler_flag:'`
6575
 
   (eval echo "\"\$as_me:6575: $lt_compile\"" >&5)
 
6576
   (eval echo "\"\$as_me:6576: $lt_compile\"" >&5)
6576
6577
   (eval "$lt_compile" 2>conftest.err)
6577
6578
   ac_status=$?
6578
6579
   cat conftest.err >&5
6579
 
   echo "$as_me:6579: \$? = $ac_status" >&5
 
6580
   echo "$as_me:6580: \$? = $ac_status" >&5
6580
6581
   if (exit $ac_status) && test -s "$ac_outfile"; then
6581
6582
     # The compiler can only warn and ignore the option if not recognized
6582
6583
     # So say no if there are warnings
6632
6633
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6633
6634
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6634
6635
   -e 's:$: $lt_compiler_flag:'`
6635
 
   (eval echo "\"\$as_me:6635: $lt_compile\"" >&5)
 
6636
   (eval echo "\"\$as_me:6636: $lt_compile\"" >&5)
6636
6637
   (eval "$lt_compile" 2>out/conftest.err)
6637
6638
   ac_status=$?
6638
6639
   cat out/conftest.err >&5
6639
 
   echo "$as_me:6639: \$? = $ac_status" >&5
 
6640
   echo "$as_me:6640: \$? = $ac_status" >&5
6640
6641
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6641
6642
   then
6642
6643
     # The compiler can only warn and ignore the option if not recognized
6809
6810
      fi
6810
6811
      ;;
6811
6812
 
6812
 
    netbsd* | knetbsd*-gnu)
 
6813
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6813
6814
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6814
6815
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6815
6816
        wlarc=
7327
7328
      link_all_deplibs=yes
7328
7329
      ;;
7329
7330
 
7330
 
    netbsd* | knetbsd*-gnu)
 
7331
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7331
7332
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7332
7333
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7333
7334
      else
7976
7977
  dynamic_linker='GNU/Linux ld.so'
7977
7978
  ;;
7978
7979
 
 
7980
netbsdelf*-gnu)
 
7981
  version_type=linux
 
7982
  need_lib_prefix=no
 
7983
  need_version=no
 
7984
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
7985
  soname_spec='${libname}${release}${shared_ext}$major'
 
7986
  shlibpath_var=LD_LIBRARY_PATH
 
7987
  shlibpath_overrides_runpath=no
 
7988
  hardcode_into_libs=yes
 
7989
  dynamic_linker='NetBSD ld.elf_so'
 
7990
  ;;
 
7991
 
7979
7992
knetbsd*-gnu)
7980
7993
  version_type=linux
7981
7994
  need_lib_prefix=no
8808
8821
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8809
8822
  lt_status=$lt_dlunknown
8810
8823
  cat > conftest.$ac_ext <<EOF
8811
 
#line 8811 "configure"
 
8824
#line 8824 "configure"
8812
8825
#include "confdefs.h"
8813
8826
 
8814
8827
#if HAVE_DLFCN_H
8906
8919
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8907
8920
  lt_status=$lt_dlunknown
8908
8921
  cat > conftest.$ac_ext <<EOF
8909
 
#line 8909 "configure"
 
8922
#line 8922 "configure"
8910
8923
#include "confdefs.h"
8911
8924
 
8912
8925
#if HAVE_DLFCN_H
10417
10430
        ;;
10418
10431
    esac
10419
10432
    ;;
10420
 
  netbsd* | knetbsd*-gnu)
 
10433
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10421
10434
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10422
10435
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10423
10436
      wlarc=
10972
10985
            ;;
10973
10986
        esac
10974
10987
        ;;
10975
 
      netbsd* | knetbsd*-gnu)
 
10988
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
10976
10989
        ;;
10977
10990
      osf3* | osf4* | osf5*)
10978
10991
        case $cc_basename in
11083
11096
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11084
11097
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11085
11098
   -e 's:$: $lt_compiler_flag:'`
11086
 
   (eval echo "\"\$as_me:11086: $lt_compile\"" >&5)
 
11099
   (eval echo "\"\$as_me:11099: $lt_compile\"" >&5)
11087
11100
   (eval "$lt_compile" 2>conftest.err)
11088
11101
   ac_status=$?
11089
11102
   cat conftest.err >&5
11090
 
   echo "$as_me:11090: \$? = $ac_status" >&5
 
11103
   echo "$as_me:11103: \$? = $ac_status" >&5
11091
11104
   if (exit $ac_status) && test -s "$ac_outfile"; then
11092
11105
     # The compiler can only warn and ignore the option if not recognized
11093
11106
     # So say no if there are warnings
11143
11156
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11144
11157
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11145
11158
   -e 's:$: $lt_compiler_flag:'`
11146
 
   (eval echo "\"\$as_me:11146: $lt_compile\"" >&5)
 
11159
   (eval echo "\"\$as_me:11159: $lt_compile\"" >&5)
11147
11160
   (eval "$lt_compile" 2>out/conftest.err)
11148
11161
   ac_status=$?
11149
11162
   cat out/conftest.err >&5
11150
 
   echo "$as_me:11150: \$? = $ac_status" >&5
 
11163
   echo "$as_me:11163: \$? = $ac_status" >&5
11151
11164
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11152
11165
   then
11153
11166
     # The compiler can only warn and ignore the option if not recognized
11668
11681
  dynamic_linker='GNU/Linux ld.so'
11669
11682
  ;;
11670
11683
 
 
11684
netbsdelf*-gnu)
 
11685
  version_type=linux
 
11686
  need_lib_prefix=no
 
11687
  need_version=no
 
11688
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11689
  soname_spec='${libname}${release}${shared_ext}$major'
 
11690
  shlibpath_var=LD_LIBRARY_PATH
 
11691
  shlibpath_overrides_runpath=no
 
11692
  hardcode_into_libs=yes
 
11693
  dynamic_linker='NetBSD ld.elf_so'
 
11694
  ;;
 
11695
 
11671
11696
knetbsd*-gnu)
11672
11697
  version_type=linux
11673
11698
  need_lib_prefix=no
12500
12525
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12501
12526
  lt_status=$lt_dlunknown
12502
12527
  cat > conftest.$ac_ext <<EOF
12503
 
#line 12503 "configure"
 
12528
#line 12528 "configure"
12504
12529
#include "confdefs.h"
12505
12530
 
12506
12531
#if HAVE_DLFCN_H
12598
12623
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12599
12624
  lt_status=$lt_dlunknown
12600
12625
  cat > conftest.$ac_ext <<EOF
12601
 
#line 12601 "configure"
 
12626
#line 12626 "configure"
12602
12627
#include "confdefs.h"
12603
12628
 
12604
12629
#if HAVE_DLFCN_H
13425
13450
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13426
13451
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13427
13452
   -e 's:$: $lt_compiler_flag:'`
13428
 
   (eval echo "\"\$as_me:13428: $lt_compile\"" >&5)
 
13453
   (eval echo "\"\$as_me:13453: $lt_compile\"" >&5)
13429
13454
   (eval "$lt_compile" 2>conftest.err)
13430
13455
   ac_status=$?
13431
13456
   cat conftest.err >&5
13432
 
   echo "$as_me:13432: \$? = $ac_status" >&5
 
13457
   echo "$as_me:13457: \$? = $ac_status" >&5
13433
13458
   if (exit $ac_status) && test -s "$ac_outfile"; then
13434
13459
     # The compiler can only warn and ignore the option if not recognized
13435
13460
     # So say no if there are warnings
13485
13510
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13486
13511
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13487
13512
   -e 's:$: $lt_compiler_flag:'`
13488
 
   (eval echo "\"\$as_me:13488: $lt_compile\"" >&5)
 
13513
   (eval echo "\"\$as_me:13513: $lt_compile\"" >&5)
13489
13514
   (eval "$lt_compile" 2>out/conftest.err)
13490
13515
   ac_status=$?
13491
13516
   cat out/conftest.err >&5
13492
 
   echo "$as_me:13492: \$? = $ac_status" >&5
 
13517
   echo "$as_me:13517: \$? = $ac_status" >&5
13493
13518
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13494
13519
   then
13495
13520
     # The compiler can only warn and ignore the option if not recognized
13662
13687
      fi
13663
13688
      ;;
13664
13689
 
13665
 
    netbsd* | knetbsd*-gnu)
 
13690
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
13666
13691
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13667
13692
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13668
13693
        wlarc=
14160
14185
      link_all_deplibs_F77=yes
14161
14186
      ;;
14162
14187
 
14163
 
    netbsd* | knetbsd*-gnu)
 
14188
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14164
14189
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14165
14190
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14166
14191
      else
14809
14834
  dynamic_linker='GNU/Linux ld.so'
14810
14835
  ;;
14811
14836
 
 
14837
netbsdelf*-gnu)
 
14838
  version_type=linux
 
14839
  need_lib_prefix=no
 
14840
  need_version=no
 
14841
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14842
  soname_spec='${libname}${release}${shared_ext}$major'
 
14843
  shlibpath_var=LD_LIBRARY_PATH
 
14844
  shlibpath_overrides_runpath=no
 
14845
  hardcode_into_libs=yes
 
14846
  dynamic_linker='NetBSD ld.elf_so'
 
14847
  ;;
 
14848
 
14812
14849
knetbsd*-gnu)
14813
14850
  version_type=linux
14814
14851
  need_lib_prefix=no
15518
15555
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15519
15556
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15520
15557
   -e 's:$: $lt_compiler_flag:'`
15521
 
   (eval echo "\"\$as_me:15521: $lt_compile\"" >&5)
 
15558
   (eval echo "\"\$as_me:15558: $lt_compile\"" >&5)
15522
15559
   (eval "$lt_compile" 2>conftest.err)
15523
15560
   ac_status=$?
15524
15561
   cat conftest.err >&5
15525
 
   echo "$as_me:15525: \$? = $ac_status" >&5
 
15562
   echo "$as_me:15562: \$? = $ac_status" >&5
15526
15563
   if (exit $ac_status) && test -s "$ac_outfile"; then
15527
15564
     # The compiler can only warn and ignore the option if not recognized
15528
15565
     # So say no if there are warnings
15751
15788
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15752
15789
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15753
15790
   -e 's:$: $lt_compiler_flag:'`
15754
 
   (eval echo "\"\$as_me:15754: $lt_compile\"" >&5)
 
15791
   (eval echo "\"\$as_me:15791: $lt_compile\"" >&5)
15755
15792
   (eval "$lt_compile" 2>conftest.err)
15756
15793
   ac_status=$?
15757
15794
   cat conftest.err >&5
15758
 
   echo "$as_me:15758: \$? = $ac_status" >&5
 
15795
   echo "$as_me:15795: \$? = $ac_status" >&5
15759
15796
   if (exit $ac_status) && test -s "$ac_outfile"; then
15760
15797
     # The compiler can only warn and ignore the option if not recognized
15761
15798
     # So say no if there are warnings
15811
15848
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15812
15849
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15813
15850
   -e 's:$: $lt_compiler_flag:'`
15814
 
   (eval echo "\"\$as_me:15814: $lt_compile\"" >&5)
 
15851
   (eval echo "\"\$as_me:15851: $lt_compile\"" >&5)
15815
15852
   (eval "$lt_compile" 2>out/conftest.err)
15816
15853
   ac_status=$?
15817
15854
   cat out/conftest.err >&5
15818
 
   echo "$as_me:15818: \$? = $ac_status" >&5
 
15855
   echo "$as_me:15855: \$? = $ac_status" >&5
15819
15856
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15820
15857
   then
15821
15858
     # The compiler can only warn and ignore the option if not recognized
15988
16025
      fi
15989
16026
      ;;
15990
16027
 
15991
 
    netbsd* | knetbsd*-gnu)
 
16028
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
15992
16029
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15993
16030
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15994
16031
        wlarc=
16506
16543
      link_all_deplibs_GCJ=yes
16507
16544
      ;;
16508
16545
 
16509
 
    netbsd* | knetbsd*-gnu)
 
16546
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16510
16547
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16511
16548
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16512
16549
      else
17155
17192
  dynamic_linker='GNU/Linux ld.so'
17156
17193
  ;;
17157
17194
 
 
17195
netbsdelf*-gnu)
 
17196
  version_type=linux
 
17197
  need_lib_prefix=no
 
17198
  need_version=no
 
17199
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17200
  soname_spec='${libname}${release}${shared_ext}$major'
 
17201
  shlibpath_var=LD_LIBRARY_PATH
 
17202
  shlibpath_overrides_runpath=no
 
17203
  hardcode_into_libs=yes
 
17204
  dynamic_linker='NetBSD ld.elf_so'
 
17205
  ;;
 
17206
 
17158
17207
knetbsd*-gnu)
17159
17208
  version_type=linux
17160
17209
  need_lib_prefix=no
17987
18036
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17988
18037
  lt_status=$lt_dlunknown
17989
18038
  cat > conftest.$ac_ext <<EOF
17990
 
#line 17990 "configure"
 
18039
#line 18039 "configure"
17991
18040
#include "confdefs.h"
17992
18041
 
17993
18042
#if HAVE_DLFCN_H
18085
18134
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18086
18135
  lt_status=$lt_dlunknown
18087
18136
  cat > conftest.$ac_ext <<EOF
18088
 
#line 18088 "configure"
 
18137
#line 18137 "configure"
18089
18138
#include "confdefs.h"
18090
18139
 
18091
18140
#if HAVE_DLFCN_H
19101
19150
 
19102
19151
 
19103
19152
 
 
19153
if test "x-$build_os-$host_os-$target_os" = x-mingw32-mingw32-mingw32 ; then
 
19154
        # Extract the first word of "dlltool", so it can be a program name with args.
 
19155
set dummy dlltool; ac_word=$2
 
19156
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19157
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19158
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
19159
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19160
else
 
19161
  if test -n "$DLLTOOL"; then
 
19162
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
19163
else
 
19164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19165
for as_dir in $PATH
 
19166
do
 
19167
  IFS=$as_save_IFS
 
19168
  test -z "$as_dir" && as_dir=.
 
19169
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19170
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19171
    ac_cv_prog_DLLTOOL="dlltool"
 
19172
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19173
    break 2
 
19174
  fi
 
19175
done
 
19176
done
 
19177
 
 
19178
fi
 
19179
fi
 
19180
DLLTOOL=$ac_cv_prog_DLLTOOL
 
19181
if test -n "$DLLTOOL"; then
 
19182
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
19183
echo "${ECHO_T}$DLLTOOL" >&6
 
19184
else
 
19185
  echo "$as_me:$LINENO: result: no" >&5
 
19186
echo "${ECHO_T}no" >&6
 
19187
fi
 
19188
 
 
19189
        # Extract the first word of "dllwrap", so it can be a program name with args.
 
19190
set dummy dllwrap; ac_word=$2
 
19191
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19193
if test "${ac_cv_prog_DLLWRAP+set}" = set; then
 
19194
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19195
else
 
19196
  if test -n "$DLLWRAP"; then
 
19197
  ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
 
19198
else
 
19199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19200
for as_dir in $PATH
 
19201
do
 
19202
  IFS=$as_save_IFS
 
19203
  test -z "$as_dir" && as_dir=.
 
19204
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19205
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19206
    ac_cv_prog_DLLWRAP="dllwrap"
 
19207
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19208
    break 2
 
19209
  fi
 
19210
done
 
19211
done
 
19212
 
 
19213
fi
 
19214
fi
 
19215
DLLWRAP=$ac_cv_prog_DLLWRAP
 
19216
if test -n "$DLLWRAP"; then
 
19217
  echo "$as_me:$LINENO: result: $DLLWRAP" >&5
 
19218
echo "${ECHO_T}$DLLWRAP" >&6
 
19219
else
 
19220
  echo "$as_me:$LINENO: result: no" >&5
 
19221
echo "${ECHO_T}no" >&6
 
19222
fi
 
19223
 
 
19224
        # Extract the first word of "pexports", so it can be a program name with args.
 
19225
set dummy pexports; ac_word=$2
 
19226
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19227
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19228
if test "${ac_cv_prog_PEXPORTS+set}" = set; then
 
19229
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19230
else
 
19231
  if test -n "$PEXPORTS"; then
 
19232
  ac_cv_prog_PEXPORTS="$PEXPORTS" # Let the user override the test.
 
19233
else
 
19234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19235
for as_dir in $PATH
 
19236
do
 
19237
  IFS=$as_save_IFS
 
19238
  test -z "$as_dir" && as_dir=.
 
19239
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19240
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19241
    ac_cv_prog_PEXPORTS="pexports"
 
19242
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19243
    break 2
 
19244
  fi
 
19245
done
 
19246
done
 
19247
 
 
19248
fi
 
19249
fi
 
19250
PEXPORTS=$ac_cv_prog_PEXPORTS
 
19251
if test -n "$PEXPORTS"; then
 
19252
  echo "$as_me:$LINENO: result: $PEXPORTS" >&5
 
19253
echo "${ECHO_T}$PEXPORTS" >&6
 
19254
else
 
19255
  echo "$as_me:$LINENO: result: no" >&5
 
19256
echo "${ECHO_T}no" >&6
 
19257
fi
 
19258
 
 
19259
        fi
 
19260
 
19104
19261
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19105
19262
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19106
19263
if test "${ac_cv_header_stdc+set}" = set; then
19268
19425
 
19269
19426
 
19270
19427
 
19271
 
for ac_header in stdint.h
 
19428
 
 
19429
for ac_header in stdint.h sys/times.h
19272
19430
do
19273
19431
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19274
19432
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19425
19583
#====================================================================================
19426
19584
# Finished checking, handle options.
19427
19585
 
 
19586
# Check whether --enable-gcc-werror or --disable-gcc-werror was given.
 
19587
if test "${enable_gcc_werror+set}" = set; then
 
19588
  enableval="$enable_gcc_werror"
 
19589
  ac_arg_gcc_werror=yes
 
19590
else
 
19591
  ac_arg_gcc_werror=no
 
19592
fi;
 
19593
 
19428
19594
# Check whether --enable-gcc-pipe or --disable-gcc-pipe was given.
19429
19595
if test "${enable_gcc_pipe+set}" = set; then
19430
19596
  enableval="$enable_gcc_pipe"
19502
19668
                *)
19503
19669
                        ;;
19504
19670
                esac
19505
 
        if test $ac_arg_gcc_pipe != "N" ; then
 
19671
        if test x$ac_arg_gcc_pipe != "xN" ; then
19506
19672
                CFLAGS="$CFLAGS -pipe"
19507
19673
                fi
19508
19674
 
 
19675
        if test x$ac_arg_gcc_werror = "xyes" ; then
 
19676
                CFLAGS="-Werror $CFLAGS"
 
19677
                fi
 
19678
 
19509
19679
 
19510
19680
cat >>confdefs.h <<\_ACEOF
19511
19681
#define COMPILER_IS_GCC 1
22110
22280
                OS_SPECIFIC_INCLUDES="-fpascal-strings -I/Developer/Headers/FlatCarbon"
22111
22281
                OS_SPECIFIC_LINKS="-framework CoreAudio"
22112
22282
                ;;
22113
 
        mingw32msvc)
22114
 
 
22115
 
for ac_header in mmreg.h
22116
 
do
22117
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22118
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22119
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22120
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22121
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22122
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22123
 
fi
22124
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22125
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22126
 
else
22127
 
  # Is the header compilable?
22128
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22129
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22130
 
cat >conftest.$ac_ext <<_ACEOF
22131
 
/* confdefs.h.  */
22132
 
_ACEOF
22133
 
cat confdefs.h >>conftest.$ac_ext
22134
 
cat >>conftest.$ac_ext <<_ACEOF
22135
 
/* end confdefs.h.  */
22136
 
$ac_includes_default
22137
 
#include <$ac_header>
22138
 
_ACEOF
22139
 
rm -f conftest.$ac_objext
22140
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22141
 
  (eval $ac_compile) 2>conftest.er1
22142
 
  ac_status=$?
22143
 
  grep -v '^ *+' conftest.er1 >conftest.err
22144
 
  rm -f conftest.er1
22145
 
  cat conftest.err >&5
22146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147
 
  (exit $ac_status); } &&
22148
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150
 
  (eval $ac_try) 2>&5
22151
 
  ac_status=$?
22152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153
 
  (exit $ac_status); }; } &&
22154
 
         { ac_try='test -s conftest.$ac_objext'
22155
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156
 
  (eval $ac_try) 2>&5
22157
 
  ac_status=$?
22158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159
 
  (exit $ac_status); }; }; then
22160
 
  ac_header_compiler=yes
22161
 
else
22162
 
  echo "$as_me: failed program was:" >&5
22163
 
sed 's/^/| /' conftest.$ac_ext >&5
22164
 
 
22165
 
ac_header_compiler=no
22166
 
fi
22167
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22168
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22169
 
echo "${ECHO_T}$ac_header_compiler" >&6
22170
 
 
22171
 
# Is the header present?
22172
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22173
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22174
 
cat >conftest.$ac_ext <<_ACEOF
22175
 
/* confdefs.h.  */
22176
 
_ACEOF
22177
 
cat confdefs.h >>conftest.$ac_ext
22178
 
cat >>conftest.$ac_ext <<_ACEOF
22179
 
/* end confdefs.h.  */
22180
 
#include <$ac_header>
22181
 
_ACEOF
22182
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22183
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22184
 
  ac_status=$?
22185
 
  grep -v '^ *+' conftest.er1 >conftest.err
22186
 
  rm -f conftest.er1
22187
 
  cat conftest.err >&5
22188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189
 
  (exit $ac_status); } >/dev/null; then
22190
 
  if test -s conftest.err; then
22191
 
    ac_cpp_err=$ac_c_preproc_warn_flag
22192
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22193
 
  else
22194
 
    ac_cpp_err=
22195
 
  fi
22196
 
else
22197
 
  ac_cpp_err=yes
22198
 
fi
22199
 
if test -z "$ac_cpp_err"; then
22200
 
  ac_header_preproc=yes
22201
 
else
22202
 
  echo "$as_me: failed program was:" >&5
22203
 
sed 's/^/| /' conftest.$ac_ext >&5
22204
 
 
22205
 
  ac_header_preproc=no
22206
 
fi
22207
 
rm -f conftest.err conftest.$ac_ext
22208
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22209
 
echo "${ECHO_T}$ac_header_preproc" >&6
22210
 
 
22211
 
# So?  What about this header?
22212
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22213
 
  yes:no: )
22214
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22215
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22216
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22217
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22218
 
    ac_header_preproc=yes
22219
 
    ;;
22220
 
  no:yes:* )
22221
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22222
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22223
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22224
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22225
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22226
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22227
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22228
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22229
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22230
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22231
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22232
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22233
 
    (
22234
 
      cat <<\_ASBOX
22235
 
## ------------------------------------------ ##
22236
 
## Report this to the AC_PACKAGE_NAME lists.  ##
22237
 
## ------------------------------------------ ##
22238
 
_ASBOX
22239
 
    ) |
22240
 
      sed "s/^/$as_me: WARNING:     /" >&2
22241
 
    ;;
22242
 
esac
22243
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22244
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22245
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22246
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22247
 
else
22248
 
  eval "$as_ac_Header=\$ac_header_preproc"
22249
 
fi
22250
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22251
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22252
 
 
22253
 
fi
22254
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22255
 
  cat >>confdefs.h <<_ACEOF
22256
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22257
 
_ACEOF
22258
 
 
22259
 
fi
22260
 
 
22261
 
done
22262
 
 
22263
 
                if test "x$ac_cv_header_mmreg_h" = xno ; then
22264
 
                        { echo "$as_me:$LINENO: WARNING: ******************************************************************" >&5
22265
 
echo "$as_me: WARNING: ******************************************************************" >&2;}
22266
 
                        { echo "$as_me:$LINENO: WARNING: *** Can't find mmreg.h which means that we can't build one of     " >&5
22267
 
echo "$as_me: WARNING: *** Can't find mmreg.h which means that we can't build one of     " >&2;}
22268
 
                        { echo "$as_me:$LINENO: WARNING: *** the example programs. The library can however be built.       " >&5
22269
 
echo "$as_me: WARNING: *** the example programs. The library can however be built.       " >&2;}
22270
 
                        { echo "$as_me:$LINENO: WARNING: *** To correct this, you can grab the mmreg.h file from the       " >&5
22271
 
echo "$as_me: WARNING: *** To correct this, you can grab the mmreg.h file from the       " >&2;}
22272
 
                        { echo "$as_me:$LINENO: WARNING: *** WINE project (http://www.winehq.com/) and placing it in a     " >&5
22273
 
echo "$as_me: WARNING: *** WINE project (http://www.winehq.com/) and placing it in a     " >&2;}
22274
 
                        { echo "$as_me:$LINENO: WARNING: *** directory where the cross compiler can find it.               " >&5
22275
 
echo "$as_me: WARNING: *** directory where the cross compiler can find it.               " >&2;}
22276
 
                        { echo "$as_me:$LINENO: WARNING: ******************************************************************" >&5
22277
 
echo "$as_me: WARNING: ******************************************************************" >&2;}
22278
 
                        fi
 
22283
        mingw32*)
 
22284
                OS_SPECIFIC_LINKS="-lwinmm"
22279
22285
                ;;
22280
22286
        *)
22281
22287
                OS_SPECIFIC_INCLUDES=""
22315
22321
 
22316
22322
 
22317
22323
 
22318
 
                                                                                          ac_config_files="$ac_config_files Makefile src/Version_script Win32/Makefile src/Makefile examples/Makefile tests/Makefile doc/Makefile libsamplerate.spec samplerate.pc"
 
22324
                                                                                                    ac_config_files="$ac_config_files Makefile src/Version_script Win32/Makefile Win32/Makefile.mingw src/Makefile examples/Makefile tests/Makefile doc/Makefile libsamplerate.spec samplerate.pc"
22319
22325
 
22320
22326
cat >confcache <<\_ACEOF
22321
22327
# This file is a shell script that caches the results of configure
22876
22882
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22877
22883
  "src/Version_script" ) CONFIG_FILES="$CONFIG_FILES src/Version_script" ;;
22878
22884
  "Win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES Win32/Makefile" ;;
 
22885
  "Win32/Makefile.mingw" ) CONFIG_FILES="$CONFIG_FILES Win32/Makefile.mingw" ;;
22879
22886
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22880
22887
  "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
22881
22888
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
23035
23042
s,@FFLAGS@,$FFLAGS,;t t
23036
23043
s,@ac_ct_F77@,$ac_ct_F77,;t t
23037
23044
s,@LIBTOOL@,$LIBTOOL,;t t
 
23045
s,@DLLTOOL@,$DLLTOOL,;t t
 
23046
s,@DLLWRAP@,$DLLWRAP,;t t
 
23047
s,@PEXPORTS@,$PEXPORTS,;t t
23038
23048
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
23039
23049
s,@SNDFILE_CFLAGS@,$SNDFILE_CFLAGS,;t t
23040
23050
s,@SNDFILE_LIBS@,$SNDFILE_LIBS,;t t
23777
23787
 
23778
23788
 
23779
23789
#====================================================================================
 
23790
# Special case for MinGW32.
 
23791
 
 
23792
if test "x-$build_os-$host_os-$target_os" = x-mingw32-mingw32-mingw32 ; then
 
23793
        cp -f Win32/Makefile.mingw Makefile
 
23794
        echo
 
23795
        echo "Now run \"make\" and \"make check\"."
 
23796
        echo
 
23797
        echo "There is no automatic install script on this platform."
 
23798
        echo
 
23799
 
 
23800
        exit 0
 
23801
        fi
 
23802
 
 
23803
#====================================================================================
23780
23804
 
23781
23805
echo "$as_me:$LINENO: result:
23782
23806
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=-