~ubuntu-branches/ubuntu/precise/pulseaudio/precise-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2011-06-24 10:18:17 UTC
  • mfrom: (1.18.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110624101817-e8h9fi2ir1c43stt
Tags: 1:0.9.23-0ubuntu1
* New upstream release, the following commits from the stable-queue branch
  are included in this release:
  - d4c9ad1 (streams: Fix the actual resampler method shown in debug
             messages.)
  - cc91a8f (module-combine-sink: Initialize smoother with offset
             pa_rtclock_now())
  - 8a437ee (module-combine-sink: Initialize smoother in paused state)
  - b54a43a (module-combine-sink: Check running flag before rendering in null
             mode
  - b3e4152 (pulsecore: Add a couple pa_asserts() on pa_tagstruct* calls.)
  - 22c0dcb (device-manager: Free a hook slot to prevent segv on unload)
  - c3bfcc9 (SSE/MMX: Fix problem with highpitched noise on i386)
  - 9ee4229 (build-sys: Add echo-cancel dummy Makefile)
  - f558189 (build-sys: bump soname)
* Bumped shlibs
* debian/rules: Exclude 0.9.23 modules from shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for pulseaudio 0.9.22-69-gf8e8.
 
3
# Generated by GNU Autoconf 2.68 for pulseaudio 0.9.23.
4
4
#
5
5
# Report bugs to <mzchyfrnhqvb (at) 0pointer (dot) net>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
173
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
177
186
  if (eval "$as_required") 2>/dev/null; then :
178
187
  as_have_required=yes
179
188
else
216
225
  # We cannot yet assume a decent shell, so we have to provide a
217
226
        # neutralization value for shells without unset; and this also
218
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
219
229
        BASH_ENV=/dev/null
220
230
        ENV=/dev/null
221
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
232
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
240
fi
225
241
 
226
242
    if test x$as_have_required = xno; then :
528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
546
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
535
548
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
549
 
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
682
551
exec 6>&1
701
570
# Identity of this package.
702
571
PACKAGE_NAME='pulseaudio'
703
572
PACKAGE_TARNAME='pulseaudio'
704
 
PACKAGE_VERSION='0.9.22-69-gf8e8'
705
 
PACKAGE_STRING='pulseaudio 0.9.22-69-gf8e8'
 
573
PACKAGE_VERSION='0.9.23'
 
574
PACKAGE_STRING='pulseaudio 0.9.23'
706
575
PACKAGE_BUGREPORT='mzchyfrnhqvb (at) 0pointer (dot) net'
707
576
PACKAGE_URL=''
708
577
 
940
809
LIPO
941
810
NMEDIT
942
811
DSYMUTIL
943
 
lt_ECHO
 
812
MANIFEST_TOOL
944
813
RANLIB
 
814
ac_ct_AR
945
815
AR
946
816
LN_S
947
817
NM
1076
946
with_pic
1077
947
enable_fast_install
1078
948
with_gnu_ld
 
949
with_sysroot
1079
950
enable_libtool_lock
1080
951
enable_largefile
1081
952
enable_rpath
1566
1437
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1567
1438
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1568
1439
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1569
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1440
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1570
1441
    ;;
1571
1442
 
1572
1443
  esac
1704
1575
  # Omit some internal or obsolete options to make the list less imposing.
1705
1576
  # This message is too long to be a string in the A/UX 3.1 sh.
1706
1577
  cat <<_ACEOF
1707
 
\`configure' configures pulseaudio 0.9.22-69-gf8e8 to adapt to many kinds of systems.
 
1578
\`configure' configures pulseaudio 0.9.23 to adapt to many kinds of systems.
1708
1579
 
1709
1580
Usage: $0 [OPTION]... [VAR=VALUE]...
1710
1581
 
1774
1645
 
1775
1646
if test -n "$ac_init_help"; then
1776
1647
  case $ac_init_help in
1777
 
     short | recursive ) echo "Configuration of pulseaudio 0.9.22-69-gf8e8:";;
 
1648
     short | recursive ) echo "Configuration of pulseaudio 0.9.23:";;
1778
1649
   esac
1779
1650
  cat <<\_ACEOF
1780
1651
 
1838
1709
  --with-pic              try to use only PIC/non-PIC objects [default=use
1839
1710
                          both]
1840
1711
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1712
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1713
                        (or the compiler's sysroot if not specified).
1841
1714
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1842
1715
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1843
1716
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1991
1864
test -n "$ac_init_help" && exit $ac_status
1992
1865
if $ac_init_version; then
1993
1866
  cat <<\_ACEOF
1994
 
pulseaudio configure 0.9.22-69-gf8e8
1995
 
generated by GNU Autoconf 2.67
 
1867
pulseaudio configure 0.9.23
 
1868
generated by GNU Autoconf 2.68
1996
1869
 
1997
1870
Copyright (C) 2010 Free Software Foundation, Inc.
1998
1871
This configure script is free software; the Free Software Foundation
2038
1911
 
2039
1912
        ac_retval=1
2040
1913
fi
2041
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1914
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042
1915
  as_fn_set_status $ac_retval
2043
1916
 
2044
1917
} # ac_fn_c_try_compile
2075
1948
 
2076
1949
    ac_retval=1
2077
1950
fi
2078
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1951
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
1952
  as_fn_set_status $ac_retval
2080
1953
 
2081
1954
} # ac_fn_c_try_cpp
2088
1961
ac_fn_c_check_header_mongrel ()
2089
1962
{
2090
1963
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1964
  if eval \${$3+:} false; then :
2092
1965
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093
1966
$as_echo_n "checking for $2... " >&6; }
2094
 
if eval "test \"\${$3+set}\"" = set; then :
 
1967
if eval \${$3+:} false; then :
2095
1968
  $as_echo_n "(cached) " >&6
2096
1969
fi
2097
1970
eval ac_res=\$$3
2158
2031
esac
2159
2032
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160
2033
$as_echo_n "checking for $2... " >&6; }
2161
 
if eval "test \"\${$3+set}\"" = set; then :
 
2034
if eval \${$3+:} false; then :
2162
2035
  $as_echo_n "(cached) " >&6
2163
2036
else
2164
2037
  eval "$3=\$ac_header_compiler"
2167
2040
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168
2041
$as_echo "$ac_res" >&6; }
2169
2042
fi
2170
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2043
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2171
2044
 
2172
2045
} # ac_fn_c_check_header_mongrel
2173
2046
 
2208
2081
       ac_retval=$ac_status
2209
2082
fi
2210
2083
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2211
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2084
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2212
2085
  as_fn_set_status $ac_retval
2213
2086
 
2214
2087
} # ac_fn_c_try_run
2222
2095
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2223
2096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2224
2097
$as_echo_n "checking for $2... " >&6; }
2225
 
if eval "test \"\${$3+set}\"" = set; then :
 
2098
if eval \${$3+:} false; then :
2226
2099
  $as_echo_n "(cached) " >&6
2227
2100
else
2228
2101
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240
2113
eval ac_res=\$$3
2241
2114
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242
2115
$as_echo "$ac_res" >&6; }
2243
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2116
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2244
2117
 
2245
2118
} # ac_fn_c_check_header_compile
2246
2119
 
2285
2158
  # interfere with the next link command; also delete a directory that is
2286
2159
  # left behind by Apple's compiler.  We do this before executing the actions.
2287
2160
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2288
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2161
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2289
2162
  as_fn_set_status $ac_retval
2290
2163
 
2291
2164
} # ac_fn_c_try_link
2298
2171
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2299
2172
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2300
2173
$as_echo_n "checking for $2... " >&6; }
2301
 
if eval "test \"\${$3+set}\"" = set; then :
 
2174
if eval \${$3+:} false; then :
2302
2175
  $as_echo_n "(cached) " >&6
2303
2176
else
2304
2177
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353
2226
eval ac_res=\$$3
2354
2227
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2355
2228
$as_echo "$ac_res" >&6; }
2356
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2229
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2357
2230
 
2358
2231
} # ac_fn_c_check_func
2359
2232
 
2366
2239
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2367
2240
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2368
2241
$as_echo_n "checking for $2... " >&6; }
2369
 
if eval "test \"\${$3+set}\"" = set; then :
 
2242
if eval \${$3+:} false; then :
2370
2243
  $as_echo_n "(cached) " >&6
2371
2244
else
2372
2245
  eval "$3=no"
2407
2280
eval ac_res=\$$3
2408
2281
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2409
2282
$as_echo "$ac_res" >&6; }
2410
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2283
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2411
2284
 
2412
2285
} # ac_fn_c_check_type
2413
2286
 
2422
2295
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2423
2296
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2424
2297
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2425
 
if eval "test \"\${$3+set}\"" = set; then :
 
2298
if eval \${$3+:} false; then :
2426
2299
  $as_echo_n "(cached) " >&6
2427
2300
else
2428
2301
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2453
2326
eval ac_res=\$$3
2454
2327
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2455
2328
$as_echo "$ac_res" >&6; }
2456
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2329
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2457
2330
 
2458
2331
} # ac_fn_c_check_decl
2459
2332
cat >config.log <<_ACEOF
2460
2333
This file contains any messages produced by compilers while
2461
2334
running configure, to aid debugging if configure makes a mistake.
2462
2335
 
2463
 
It was created by pulseaudio $as_me 0.9.22-69-gf8e8, which was
2464
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2336
It was created by pulseaudio $as_me 0.9.23, which was
 
2337
generated by GNU Autoconf 2.68.  Invocation command line was
2465
2338
 
2466
2339
  $ $0 $@
2467
2340
 
2719
2592
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2720
2593
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2721
2594
as_fn_error $? "failed to load site script $ac_site_file
2722
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2595
See \`config.log' for more details" "$LINENO" 5; }
2723
2596
  fi
2724
2597
done
2725
2598
 
2938
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2939
2812
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2940
2813
if test -z "$INSTALL"; then
2941
 
if test "${ac_cv_path_install+set}" = set; then :
 
2814
if ${ac_cv_path_install+:} false; then :
2942
2815
  $as_echo_n "(cached) " >&6
2943
2816
else
2944
2817
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025
2898
'
3026
2899
case `pwd` in
3027
2900
  *[\\\"\#\$\&\'\`$am_lf]*)
3028
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2901
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3029
2902
esac
3030
2903
case $srcdir in
3031
2904
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3032
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2905
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3033
2906
esac
3034
2907
 
3035
2908
# Do `set' in a subshell so we don't clobber the current shell's
3115
2988
set dummy ${ac_tool_prefix}strip; ac_word=$2
3116
2989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117
2990
$as_echo_n "checking for $ac_word... " >&6; }
3118
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2991
if ${ac_cv_prog_STRIP+:} false; then :
3119
2992
  $as_echo_n "(cached) " >&6
3120
2993
else
3121
2994
  if test -n "$STRIP"; then
3155
3028
set dummy strip; ac_word=$2
3156
3029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157
3030
$as_echo_n "checking for $ac_word... " >&6; }
3158
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3031
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3159
3032
  $as_echo_n "(cached) " >&6
3160
3033
else
3161
3034
  if test -n "$ac_ct_STRIP"; then
3208
3081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3209
3082
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3210
3083
if test -z "$MKDIR_P"; then
3211
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3084
  if ${ac_cv_path_mkdir+:} false; then :
3212
3085
  $as_echo_n "(cached) " >&6
3213
3086
else
3214
3087
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259
3132
set dummy $ac_prog; ac_word=$2
3260
3133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261
3134
$as_echo_n "checking for $ac_word... " >&6; }
3262
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3135
if ${ac_cv_prog_AWK+:} false; then :
3263
3136
  $as_echo_n "(cached) " >&6
3264
3137
else
3265
3138
  if test -n "$AWK"; then
3299
3172
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3300
3173
set x ${MAKE-make}
3301
3174
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3302
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3175
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3303
3176
  $as_echo_n "(cached) " >&6
3304
3177
else
3305
3178
  cat >conftest.make <<\_ACEOF
3369
3242
 
3370
3243
# Define the identity of the package.
3371
3244
 PACKAGE='pulseaudio'
3372
 
 VERSION='0.9.22-69-gf8e8'
 
3245
 VERSION='0.9.23'
3373
3246
 
3374
3247
 
3375
3248
cat >>confdefs.h <<_ACEOF
3477
3350
done
3478
3351
rm -rf conftest.dir
3479
3352
 
3480
 
if test "${am_cv_prog_tar_pax+set}" = set; then :
 
3353
if ${am_cv_prog_tar_pax+:} false; then :
3481
3354
  $as_echo_n "(cached) " >&6
3482
3355
else
3483
3356
  am_cv_prog_tar_pax=$_am_tool
3515
3388
 
3516
3389
# The stable ABI for client applications, for the version info x:y:z
3517
3390
# always will hold y=z
3518
 
LIBPULSE_VERSION_INFO=12:3:12
 
3391
LIBPULSE_VERSION_INFO=12:4:12
3519
3392
 
3520
3393
 
3521
3394
# A simplified, synchronous, ABI-stable interface for client
3539
3412
 
3540
3413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3541
3414
$as_echo_n "checking build system type... " >&6; }
3542
 
if test "${ac_cv_build+set}" = set; then :
 
3415
if ${ac_cv_build+:} false; then :
3543
3416
  $as_echo_n "(cached) " >&6
3544
3417
else
3545
3418
  ac_build_alias=$build_alias
3555
3428
$as_echo "$ac_cv_build" >&6; }
3556
3429
case $ac_cv_build in
3557
3430
*-*-*) ;;
3558
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
3431
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3559
3432
esac
3560
3433
build=$ac_cv_build
3561
3434
ac_save_IFS=$IFS; IFS='-'
3573
3446
 
3574
3447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3575
3448
$as_echo_n "checking host system type... " >&6; }
3576
 
if test "${ac_cv_host+set}" = set; then :
 
3449
if ${ac_cv_host+:} false; then :
3577
3450
  $as_echo_n "(cached) " >&6
3578
3451
else
3579
3452
  if test "x$host_alias" = x; then
3588
3461
$as_echo "$ac_cv_host" >&6; }
3589
3462
case $ac_cv_host in
3590
3463
*-*-*) ;;
3591
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
3464
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3592
3465
esac
3593
3466
host=$ac_cv_host
3594
3467
ac_save_IFS=$IFS; IFS='-'
3668
3541
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3669
3542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670
3543
$as_echo_n "checking for $ac_word... " >&6; }
3671
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3544
if ${ac_cv_prog_CC+:} false; then :
3672
3545
  $as_echo_n "(cached) " >&6
3673
3546
else
3674
3547
  if test -n "$CC"; then
3708
3581
set dummy gcc; ac_word=$2
3709
3582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710
3583
$as_echo_n "checking for $ac_word... " >&6; }
3711
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3584
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3712
3585
  $as_echo_n "(cached) " >&6
3713
3586
else
3714
3587
  if test -n "$ac_ct_CC"; then
3761
3634
set dummy ${ac_tool_prefix}cc; ac_word=$2
3762
3635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763
3636
$as_echo_n "checking for $ac_word... " >&6; }
3764
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3637
if ${ac_cv_prog_CC+:} false; then :
3765
3638
  $as_echo_n "(cached) " >&6
3766
3639
else
3767
3640
  if test -n "$CC"; then
3801
3674
set dummy cc; ac_word=$2
3802
3675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803
3676
$as_echo_n "checking for $ac_word... " >&6; }
3804
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3677
if ${ac_cv_prog_CC+:} false; then :
3805
3678
  $as_echo_n "(cached) " >&6
3806
3679
else
3807
3680
  if test -n "$CC"; then
3860
3733
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3861
3734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862
3735
$as_echo_n "checking for $ac_word... " >&6; }
3863
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3736
if ${ac_cv_prog_CC+:} false; then :
3864
3737
  $as_echo_n "(cached) " >&6
3865
3738
else
3866
3739
  if test -n "$CC"; then
3904
3777
set dummy $ac_prog; ac_word=$2
3905
3778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906
3779
$as_echo_n "checking for $ac_word... " >&6; }
3907
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3780
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3908
3781
  $as_echo_n "(cached) " >&6
3909
3782
else
3910
3783
  if test -n "$ac_ct_CC"; then
3959
3832
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3960
3833
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3961
3834
as_fn_error $? "no acceptable C compiler found in \$PATH
3962
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3835
See \`config.log' for more details" "$LINENO" 5; }
3963
3836
 
3964
3837
# Provide some information about the compiler.
3965
3838
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4074
3947
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075
3948
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076
3949
as_fn_error 77 "C compiler cannot create executables
4077
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3950
See \`config.log' for more details" "$LINENO" 5; }
4078
3951
else
4079
3952
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4080
3953
$as_echo "yes" >&6; }
4117
3990
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118
3991
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119
3992
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4120
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3993
See \`config.log' for more details" "$LINENO" 5; }
4121
3994
fi
4122
3995
rm -f conftest conftest$ac_cv_exeext
4123
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4176
4049
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177
4050
as_fn_error $? "cannot run C compiled programs.
4178
4051
If you meant to cross compile, use \`--host'.
4179
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4052
See \`config.log' for more details" "$LINENO" 5; }
4180
4053
    fi
4181
4054
  fi
4182
4055
fi
4187
4060
ac_clean_files=$ac_clean_files_save
4188
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4189
4062
$as_echo_n "checking for suffix of object files... " >&6; }
4190
 
if test "${ac_cv_objext+set}" = set; then :
 
4063
if ${ac_cv_objext+:} false; then :
4191
4064
  $as_echo_n "(cached) " >&6
4192
4065
else
4193
4066
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228
4101
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4229
4102
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4230
4103
as_fn_error $? "cannot compute suffix of object files: cannot compile
4231
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4104
See \`config.log' for more details" "$LINENO" 5; }
4232
4105
fi
4233
4106
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4234
4107
fi
4238
4111
ac_objext=$OBJEXT
4239
4112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4240
4113
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4241
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4114
if ${ac_cv_c_compiler_gnu+:} false; then :
4242
4115
  $as_echo_n "(cached) " >&6
4243
4116
else
4244
4117
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275
4148
ac_save_CFLAGS=$CFLAGS
4276
4149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4277
4150
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4278
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4151
if ${ac_cv_prog_cc_g+:} false; then :
4279
4152
  $as_echo_n "(cached) " >&6
4280
4153
else
4281
4154
  ac_save_c_werror_flag=$ac_c_werror_flag
4353
4226
fi
4354
4227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4355
4228
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4356
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4229
if ${ac_cv_prog_cc_c89+:} false; then :
4357
4230
  $as_echo_n "(cached) " >&6
4358
4231
else
4359
4232
  ac_cv_prog_cc_c89=no
4514
4387
 
4515
4388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4516
4389
$as_echo_n "checking dependency style of $depcc... " >&6; }
4517
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4390
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4518
4391
  $as_echo_n "(cached) " >&6
4519
4392
else
4520
4393
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4639
4512
 
4640
4513
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4641
4514
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4642
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
 
4515
if ${ac_cv_prog_cc_c99+:} false; then :
4643
4516
  $as_echo_n "(cached) " >&6
4644
4517
else
4645
4518
  ac_cv_prog_cc_c99=no
4823
4696
fi
4824
4697
set dummy $CC; ac_cc=`$as_echo "$2" |
4825
4698
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4826
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
4699
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4827
4700
  $as_echo_n "(cached) " >&6
4828
4701
else
4829
4702
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953
4826
  CPP=
4954
4827
fi
4955
4828
if test -z "$CPP"; then
4956
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4829
  if ${ac_cv_prog_CPP+:} false; then :
4957
4830
  $as_echo_n "(cached) " >&6
4958
4831
else
4959
4832
      # Double quotes because CPP needs to be expanded
5069
4942
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5070
4943
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5071
4944
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5072
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4945
See \`config.log' for more details" "$LINENO" 5; }
5073
4946
fi
5074
4947
 
5075
4948
ac_ext=c
5081
4954
 
5082
4955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5083
4956
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5084
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4957
if ${ac_cv_path_GREP+:} false; then :
5085
4958
  $as_echo_n "(cached) " >&6
5086
4959
else
5087
4960
  if test -z "$GREP"; then
5144
5017
 
5145
5018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5146
5019
$as_echo_n "checking for egrep... " >&6; }
5147
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5020
if ${ac_cv_path_EGREP+:} false; then :
5148
5021
  $as_echo_n "(cached) " >&6
5149
5022
else
5150
5023
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5212
5085
if test $ac_cv_c_compiler_gnu = yes; then
5213
5086
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5214
5087
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5215
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
 
5088
if ${ac_cv_prog_gcc_traditional+:} false; then :
5216
5089
  $as_echo_n "(cached) " >&6
5217
5090
else
5218
5091
    ac_pattern="Autoconf.*'x'"
5253
5126
 
5254
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5255
5128
$as_echo_n "checking for ANSI C header files... " >&6; }
5256
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
5129
if ${ac_cv_header_stdc+:} false; then :
5257
5130
  $as_echo_n "(cached) " >&6
5258
5131
else
5259
5132
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382
5255
 
5383
5256
 
5384
5257
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5385
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
5258
if test "x$ac_cv_header_minix_config_h" = xyes; then :
5386
5259
  MINIX=yes
5387
5260
else
5388
5261
  MINIX=
5404
5277
 
5405
5278
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5406
5279
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5407
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
5280
if ${ac_cv_safe_to_define___extensions__+:} false; then :
5408
5281
  $as_echo_n "(cached) " >&6
5409
5282
else
5410
5283
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450
5323
set dummy $ac_prog; ac_word=$2
5451
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452
5325
$as_echo_n "checking for $ac_word... " >&6; }
5453
 
if test "${ac_cv_prog_M4+set}" = set; then :
 
5326
if ${ac_cv_prog_M4+:} false; then :
5454
5327
  $as_echo_n "(cached) " >&6
5455
5328
else
5456
5329
  if test -n "$M4"; then
5496
5369
 
5497
5370
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
5498
5371
$as_echo_n "checking if $CC supports $flag flag... " >&6; }
5499
 
if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
 
5372
if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
5500
5373
  $as_echo_n "(cached) " >&6
5501
5374
else
5502
5375
 
5503
 
  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
 
5376
  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
5504
5377
  $as_echo_n "(cached) " >&6
5505
5378
else
5506
5379
  ac_save_CFLAGS="$CFLAGS"
5542
5415
 
5543
5416
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports ${tmp_ldflag} flag" >&5
5544
5417
$as_echo_n "checking if $CC supports ${tmp_ldflag} flag... " >&6; }
5545
 
if { as_var=`$as_echo "cc_cv_ldflags_${tmp_ldflag}" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
 
5418
if { as_var=`$as_echo "cc_cv_ldflags_${tmp_ldflag}" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
5546
5419
  $as_echo_n "(cached) " >&6
5547
5420
else
5548
5421
  ac_save_LDFLAGS="$LDFLAGS"
5574
5447
 
5575
5448
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wl,-z,now flag" >&5
5576
5449
$as_echo_n "checking if $CC supports -Wl,-z,now flag... " >&6; }
5577
 
if test "${cc_cv_ldflags__Wl__z_now+set}" = set; then :
 
5450
if ${cc_cv_ldflags__Wl__z_now+:} false; then :
5578
5451
  $as_echo_n "(cached) " >&6
5579
5452
else
5580
5453
  ac_save_LDFLAGS="$LDFLAGS"
5605
5478
 
5606
5479
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wl,-z,nodelete flag" >&5
5607
5480
$as_echo_n "checking if $CC supports -Wl,-z,nodelete flag... " >&6; }
5608
 
if test "${cc_cv_ldflags__Wl__z_nodelete+set}" = set; then :
 
5481
if ${cc_cv_ldflags__Wl__z_nodelete+:} false; then :
5609
5482
  $as_echo_n "(cached) " >&6
5610
5483
else
5611
5484
  ac_save_LDFLAGS="$LDFLAGS"
5643
5516
 
5644
5517
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $possible_flags flag" >&5
5645
5518
$as_echo_n "checking if $CC supports $possible_flags flag... " >&6; }
5646
 
if { as_var=`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
 
5519
if { as_var=`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
5647
5520
  $as_echo_n "(cached) " >&6
5648
5521
else
5649
5522
  ac_save_LDFLAGS="$LDFLAGS"
5700
5573
            case "${enableval}" in
5701
5574
                yes) atomic_arm_linux_helpers=yes ;;
5702
5575
                no) atomic_arm_linux_helpers=no ;;
5703
 
                *) as_fn_error $? "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5  ;;
 
5576
                *) as_fn_error $? "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5 ;;
5704
5577
            esac
5705
5578
 
5706
5579
else
5718
5591
_ACEOF
5719
5592
 ;;
5720
5593
                no) ;;
5721
 
                *) as_fn_error $? "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5  ;;
 
5594
                *) as_fn_error $? "bad value ${enableval} for --disable-atomic-arm-linux-helpers" "$LINENO" 5 ;;
5722
5595
            esac
5723
5596
 
5724
5597
fi
5730
5603
            case "${enableval}" in
5731
5604
                yes) atomic_netbsd_helpers=yes ;;
5732
5605
                no) atomic_netbsd_helpers=no ;;
5733
 
                *) as_fn_error $? "bad value ${enableval} for --enable-netbsd-atomic-ops" "$LINENO" 5  ;;
 
5606
                *) as_fn_error $? "bad value ${enableval} for --enable-netbsd-atomic-ops" "$LINENO" 5 ;;
5734
5607
            esac
5735
5608
 
5736
5609
else
5763
5636
 
5764
5637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC knows __sync_bool_compare_and_swap()" >&5
5765
5638
$as_echo_n "checking whether $CC knows __sync_bool_compare_and_swap()... " >&6; }
5766
 
if test "${pulseaudio_cv_sync_bool_compare_and_swap+set}" = set; then :
 
5639
if ${pulseaudio_cv_sync_bool_compare_and_swap+:} false; then :
5767
5640
  $as_echo_n "(cached) " >&6
5768
5641
else
5769
5642
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821
5694
$as_echo "no" >&6; }
5822
5695
               { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for arm inline asm atomic operations" >&5
5823
5696
$as_echo_n "checking compiler support for arm inline asm atomic operations... " >&6; }
5824
 
if test "${pulseaudio_cv_support_arm_atomic_ops+set}" = set; then :
 
5697
if ${pulseaudio_cv_support_arm_atomic_ops+:} false; then :
5825
5698
  $as_echo_n "(cached) " >&6
5826
5699
else
5827
5700
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887
5760
  arm*)
5888
5761
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking support for required armv6 instructions" >&5
5889
5762
$as_echo_n "checking support for required armv6 instructions... " >&6; }
5890
 
if test "${pulseaudio_cv_support_armv6+set}" = set; then :
 
5763
if ${pulseaudio_cv_support_armv6+:} false; then :
5891
5764
  $as_echo_n "(cached) " >&6
5892
5765
else
5893
5766
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938
5811
 
5939
5812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC knows __thread for Thread-Local Storage" >&5
5940
5813
$as_echo_n "checking whether $CC knows __thread for Thread-Local Storage... " >&6; }
5941
 
if test "${cc_cv_tls___thread+set}" = set; then :
 
5814
if ${cc_cv_tls___thread+:} false; then :
5942
5815
  $as_echo_n "(cached) " >&6
5943
5816
else
5944
5817
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5973
5846
 
5974
5847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC knows _Bool" >&5
5975
5848
$as_echo_n "checking whether $CC knows _Bool... " >&6; }
5976
 
if test "${pulseaudio_cv__Bool+set}" = set; then :
 
5849
if ${pulseaudio_cv__Bool+:} false; then :
5977
5850
  $as_echo_n "(cached) " >&6
5978
5851
else
5979
5852
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6016
5889
 
6017
5890
 
6018
5891
 
6019
 
macro_version='2.2.6b'
6020
 
macro_revision='1.3017'
 
5892
macro_version='2.4'
 
5893
macro_revision='1.3293'
6021
5894
 
6022
5895
 
6023
5896
 
6033
5906
 
6034
5907
ltmain="$ac_aux_dir/ltmain.sh"
6035
5908
 
 
5909
# Backslashify metacharacters that are still active within
 
5910
# double-quoted strings.
 
5911
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5912
 
 
5913
# Same as above, but do not quote variable references.
 
5914
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5915
 
 
5916
# Sed substitution to delay expansion of an escaped shell variable in a
 
5917
# double_quote_subst'ed string.
 
5918
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5919
 
 
5920
# Sed substitution to delay expansion of an escaped single quote.
 
5921
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5922
 
 
5923
# Sed substitution to avoid accidental globbing in evaled expressions
 
5924
no_glob_subst='s/\*/\\\*/g'
 
5925
 
 
5926
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5927
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5928
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5929
 
 
5930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5931
$as_echo_n "checking how to print strings... " >&6; }
 
5932
# Test print first, because it will be a builtin if present.
 
5933
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5934
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5935
  ECHO='print -r --'
 
5936
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5937
  ECHO='printf %s\n'
 
5938
else
 
5939
  # Use this function as a fallback that always works.
 
5940
  func_fallback_echo ()
 
5941
  {
 
5942
    eval 'cat <<_LTECHO_EOF
 
5943
$1
 
5944
_LTECHO_EOF'
 
5945
  }
 
5946
  ECHO='func_fallback_echo'
 
5947
fi
 
5948
 
 
5949
# func_echo_all arg...
 
5950
# Invoke $ECHO with all args, space-separated.
 
5951
func_echo_all ()
 
5952
{
 
5953
    $ECHO ""
 
5954
}
 
5955
 
 
5956
case "$ECHO" in
 
5957
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5958
$as_echo "printf" >&6; } ;;
 
5959
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5960
$as_echo "print -r" >&6; } ;;
 
5961
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5962
$as_echo "cat" >&6; } ;;
 
5963
esac
 
5964
 
 
5965
 
 
5966
 
 
5967
 
 
5968
 
 
5969
 
 
5970
 
 
5971
 
 
5972
 
 
5973
 
 
5974
 
 
5975
 
 
5976
 
 
5977
 
6036
5978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6037
5979
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6038
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5980
if ${ac_cv_path_SED+:} false; then :
6039
5981
  $as_echo_n "(cached) " >&6
6040
5982
else
6041
5983
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6117
6059
 
6118
6060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6119
6061
$as_echo_n "checking for fgrep... " >&6; }
6120
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
6062
if ${ac_cv_path_FGREP+:} false; then :
6121
6063
  $as_echo_n "(cached) " >&6
6122
6064
else
6123
6065
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6248
6190
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6249
6191
$as_echo_n "checking for non-GNU ld... " >&6; }
6250
6192
fi
6251
 
if test "${lt_cv_path_LD+set}" = set; then :
 
6193
if ${lt_cv_path_LD+:} false; then :
6252
6194
  $as_echo_n "(cached) " >&6
6253
6195
else
6254
6196
  if test -z "$LD"; then
6288
6230
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6289
6231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6290
6232
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6291
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
6233
if ${lt_cv_prog_gnu_ld+:} false; then :
6292
6234
  $as_echo_n "(cached) " >&6
6293
6235
else
6294
6236
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6315
6257
 
6316
6258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6317
6259
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6318
 
if test "${lt_cv_path_NM+set}" = set; then :
 
6260
if ${lt_cv_path_NM+:} false; then :
6319
6261
  $as_echo_n "(cached) " >&6
6320
6262
else
6321
6263
  if test -n "$NM"; then
6368
6310
  NM="$lt_cv_path_NM"
6369
6311
else
6370
6312
  # Didn't find any BSD compatible name lister, look for dumpbin.
6371
 
  if test -n "$ac_tool_prefix"; then
6372
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6313
  if test -n "$DUMPBIN"; then :
 
6314
    # Let the user override the test.
 
6315
  else
 
6316
    if test -n "$ac_tool_prefix"; then
 
6317
  for ac_prog in dumpbin "link -dump"
6373
6318
  do
6374
6319
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6375
6320
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6376
6321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377
6322
$as_echo_n "checking for $ac_word... " >&6; }
6378
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
6323
if ${ac_cv_prog_DUMPBIN+:} false; then :
6379
6324
  $as_echo_n "(cached) " >&6
6380
6325
else
6381
6326
  if test -n "$DUMPBIN"; then
6413
6358
fi
6414
6359
if test -z "$DUMPBIN"; then
6415
6360
  ac_ct_DUMPBIN=$DUMPBIN
6416
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6361
  for ac_prog in dumpbin "link -dump"
6417
6362
do
6418
6363
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6419
6364
set dummy $ac_prog; ac_word=$2
6420
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421
6366
$as_echo_n "checking for $ac_word... " >&6; }
6422
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6367
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6423
6368
  $as_echo_n "(cached) " >&6
6424
6369
else
6425
6370
  if test -n "$ac_ct_DUMPBIN"; then
6468
6413
  fi
6469
6414
fi
6470
6415
 
 
6416
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6417
    *COFF*)
 
6418
      DUMPBIN="$DUMPBIN -symbols"
 
6419
      ;;
 
6420
    *)
 
6421
      DUMPBIN=:
 
6422
      ;;
 
6423
    esac
 
6424
  fi
6471
6425
 
6472
6426
  if test "$DUMPBIN" != ":"; then
6473
6427
    NM="$DUMPBIN"
6482
6436
 
6483
6437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6484
6438
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6485
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
6439
if ${lt_cv_nm_interface+:} false; then :
6486
6440
  $as_echo_n "(cached) " >&6
6487
6441
else
6488
6442
  lt_cv_nm_interface="BSD nm"
6489
6443
  echo "int some_variable = 0;" > conftest.$ac_ext
6490
 
  (eval echo "\"\$as_me:6490: $ac_compile\"" >&5)
 
6444
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6491
6445
  (eval "$ac_compile" 2>conftest.err)
6492
6446
  cat conftest.err >&5
6493
 
  (eval echo "\"\$as_me:6493: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6447
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6494
6448
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6495
6449
  cat conftest.err >&5
6496
 
  (eval echo "\"\$as_me:6496: output\"" >&5)
 
6450
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6497
6451
  cat conftest.out >&5
6498
6452
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6499
6453
    lt_cv_nm_interface="MS dumpbin"
6517
6471
# find the maximum length of command line arguments
6518
6472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6519
6473
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6520
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6474
if ${lt_cv_sys_max_cmd_len+:} false; then :
6521
6475
  $as_echo_n "(cached) " >&6
6522
6476
else
6523
6477
    i=0
6550
6504
    lt_cv_sys_max_cmd_len=8192;
6551
6505
    ;;
6552
6506
 
 
6507
  mint*)
 
6508
    # On MiNT this can take a long time and run out of memory.
 
6509
    lt_cv_sys_max_cmd_len=8192;
 
6510
    ;;
 
6511
 
6553
6512
  amigaos*)
6554
6513
    # On AmigaOS with pdksh, this test takes hours, literally.
6555
6514
    # So we just punt and use a minimum line length of 8192.
6614
6573
      # If test is not a shell built-in, we'll probably end up computing a
6615
6574
      # maximum length that is only half of the actual maximum length, but
6616
6575
      # we can't tell.
6617
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6618
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6576
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6577
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6619
6578
              test $i != 17 # 1/2 MB should be enough
6620
6579
      do
6621
6580
        i=`expr $i + 1`
6657
6616
# Try some XSI features
6658
6617
xsi_shell=no
6659
6618
( _lt_dummy="a/b/c"
6660
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6661
 
      = c,a/b,, \
 
6619
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6620
      = c,a/b,b/c, \
6662
6621
    && eval 'test $(( 1 + 1 )) -eq 2 \
6663
6622
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6664
6623
  && xsi_shell=yes
6707
6666
 
6708
6667
 
6709
6668
 
 
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6670
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6671
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6672
  $as_echo_n "(cached) " >&6
 
6673
else
 
6674
  case $host in
 
6675
  *-*-mingw* )
 
6676
    case $build in
 
6677
      *-*-mingw* ) # actually msys
 
6678
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6679
        ;;
 
6680
      *-*-cygwin* )
 
6681
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6682
        ;;
 
6683
      * ) # otherwise, assume *nix
 
6684
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6685
        ;;
 
6686
    esac
 
6687
    ;;
 
6688
  *-*-cygwin* )
 
6689
    case $build in
 
6690
      *-*-mingw* ) # actually msys
 
6691
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6692
        ;;
 
6693
      *-*-cygwin* )
 
6694
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6695
        ;;
 
6696
      * ) # otherwise, assume *nix
 
6697
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6698
        ;;
 
6699
    esac
 
6700
    ;;
 
6701
  * ) # unhandled hosts (and "normal" native builds)
 
6702
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6703
    ;;
 
6704
esac
 
6705
 
 
6706
fi
 
6707
 
 
6708
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6710
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6711
 
 
6712
 
 
6713
 
 
6714
 
 
6715
 
 
6716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6717
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6718
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6719
  $as_echo_n "(cached) " >&6
 
6720
else
 
6721
  #assume ordinary cross tools, or native build.
 
6722
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6723
case $host in
 
6724
  *-*-mingw* )
 
6725
    case $build in
 
6726
      *-*-mingw* ) # actually msys
 
6727
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6728
        ;;
 
6729
    esac
 
6730
    ;;
 
6731
esac
 
6732
 
 
6733
fi
 
6734
 
 
6735
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6737
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6738
 
 
6739
 
 
6740
 
 
6741
 
 
6742
 
6710
6743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6711
6744
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6712
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6745
if ${lt_cv_ld_reload_flag+:} false; then :
6713
6746
  $as_echo_n "(cached) " >&6
6714
6747
else
6715
6748
  lt_cv_ld_reload_flag='-r'
6723
6756
esac
6724
6757
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6725
6758
case $host_os in
 
6759
  cygwin* | mingw* | pw32* | cegcc*)
 
6760
    if test "$GCC" != yes; then
 
6761
      reload_cmds=false
 
6762
    fi
 
6763
    ;;
6726
6764
  darwin*)
6727
6765
    if test "$GCC" = yes; then
6728
6766
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6745
6783
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6746
6784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747
6785
$as_echo_n "checking for $ac_word... " >&6; }
6748
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6786
if ${ac_cv_prog_OBJDUMP+:} false; then :
6749
6787
  $as_echo_n "(cached) " >&6
6750
6788
else
6751
6789
  if test -n "$OBJDUMP"; then
6785
6823
set dummy objdump; ac_word=$2
6786
6824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787
6825
$as_echo_n "checking for $ac_word... " >&6; }
6788
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6826
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6789
6827
  $as_echo_n "(cached) " >&6
6790
6828
else
6791
6829
  if test -n "$ac_ct_OBJDUMP"; then
6841
6879
 
6842
6880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6843
6881
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6844
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6882
if ${lt_cv_deplibs_check_method+:} false; then :
6845
6883
  $as_echo_n "(cached) " >&6
6846
6884
else
6847
6885
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6883
6921
  # Base MSYS/MinGW do not provide the 'file' command needed by
6884
6922
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6885
6923
  # unless we find 'file', for example because we are cross-compiling.
6886
 
  if ( file / ) >/dev/null 2>&1; then
 
6924
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6925
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6887
6926
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6888
6927
    lt_cv_file_magic_cmd='func_win32_libid'
6889
6928
  else
6890
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6929
    # Keep this pattern in sync with the one in func_win32_libid.
 
6930
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6891
6931
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6892
6932
  fi
6893
6933
  ;;
6894
6934
 
6895
 
cegcc)
 
6935
cegcc*)
6896
6936
  # use the weaker test based on 'objdump'. See mingw*.
6897
6937
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6898
6938
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6922
6962
  lt_cv_deplibs_check_method=pass_all
6923
6963
  ;;
6924
6964
 
 
6965
haiku*)
 
6966
  lt_cv_deplibs_check_method=pass_all
 
6967
  ;;
 
6968
 
6925
6969
hpux10.20* | hpux11*)
6926
6970
  lt_cv_file_magic_cmd=/usr/bin/file
6927
6971
  case $host_cpu in
6930
6974
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6931
6975
    ;;
6932
6976
  hppa*64*)
6933
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
6977
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6934
6978
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6935
6979
    ;;
6936
6980
  *)
6937
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6981
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6938
6982
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6939
6983
    ;;
6940
6984
  esac
6960
7004
  lt_cv_deplibs_check_method=pass_all
6961
7005
  ;;
6962
7006
 
6963
 
netbsd* | netbsdelf*-gnu)
 
7007
netbsd*)
6964
7008
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6965
7009
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6966
7010
  else
7037
7081
fi
7038
7082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7039
7083
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7084
 
 
7085
file_magic_glob=
 
7086
want_nocaseglob=no
 
7087
if test "$build" = "$host"; then
 
7088
  case $host_os in
 
7089
  mingw* | pw32*)
 
7090
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7091
      want_nocaseglob=yes
 
7092
    else
 
7093
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7094
    fi
 
7095
    ;;
 
7096
  esac
 
7097
fi
 
7098
 
7040
7099
file_magic_cmd=$lt_cv_file_magic_cmd
7041
7100
deplibs_check_method=$lt_cv_deplibs_check_method
7042
7101
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7052
7111
 
7053
7112
 
7054
7113
 
7055
 
if test -n "$ac_tool_prefix"; then
7056
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7057
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059
 
$as_echo_n "checking for $ac_word... " >&6; }
7060
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
 
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
if test -n "$ac_tool_prefix"; then
 
7125
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7126
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7128
$as_echo_n "checking for $ac_word... " >&6; }
 
7129
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7130
  $as_echo_n "(cached) " >&6
 
7131
else
 
7132
  if test -n "$DLLTOOL"; then
 
7133
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7134
else
 
7135
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7136
for as_dir in $PATH
 
7137
do
 
7138
  IFS=$as_save_IFS
 
7139
  test -z "$as_dir" && as_dir=.
 
7140
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7141
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7142
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7143
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7144
    break 2
 
7145
  fi
 
7146
done
 
7147
  done
 
7148
IFS=$as_save_IFS
 
7149
 
 
7150
fi
 
7151
fi
 
7152
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7153
if test -n "$DLLTOOL"; then
 
7154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7155
$as_echo "$DLLTOOL" >&6; }
 
7156
else
 
7157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7158
$as_echo "no" >&6; }
 
7159
fi
 
7160
 
 
7161
 
 
7162
fi
 
7163
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7164
  ac_ct_DLLTOOL=$DLLTOOL
 
7165
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7166
set dummy dlltool; ac_word=$2
 
7167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7168
$as_echo_n "checking for $ac_word... " >&6; }
 
7169
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7170
  $as_echo_n "(cached) " >&6
 
7171
else
 
7172
  if test -n "$ac_ct_DLLTOOL"; then
 
7173
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7174
else
 
7175
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7176
for as_dir in $PATH
 
7177
do
 
7178
  IFS=$as_save_IFS
 
7179
  test -z "$as_dir" && as_dir=.
 
7180
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7181
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7182
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7183
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7184
    break 2
 
7185
  fi
 
7186
done
 
7187
  done
 
7188
IFS=$as_save_IFS
 
7189
 
 
7190
fi
 
7191
fi
 
7192
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7193
if test -n "$ac_ct_DLLTOOL"; then
 
7194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7195
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7196
else
 
7197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7198
$as_echo "no" >&6; }
 
7199
fi
 
7200
 
 
7201
  if test "x$ac_ct_DLLTOOL" = x; then
 
7202
    DLLTOOL="false"
 
7203
  else
 
7204
    case $cross_compiling:$ac_tool_warned in
 
7205
yes:)
 
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7207
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7208
ac_tool_warned=yes ;;
 
7209
esac
 
7210
    DLLTOOL=$ac_ct_DLLTOOL
 
7211
  fi
 
7212
else
 
7213
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7214
fi
 
7215
 
 
7216
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7217
 
 
7218
 
 
7219
 
 
7220
 
 
7221
 
 
7222
 
 
7223
 
 
7224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7225
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7226
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7227
  $as_echo_n "(cached) " >&6
 
7228
else
 
7229
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7230
 
 
7231
case $host_os in
 
7232
cygwin* | mingw* | pw32* | cegcc*)
 
7233
  # two different shell functions defined in ltmain.sh
 
7234
  # decide which to use based on capabilities of $DLLTOOL
 
7235
  case `$DLLTOOL --help 2>&1` in
 
7236
  *--identify-strict*)
 
7237
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7238
    ;;
 
7239
  *)
 
7240
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7241
    ;;
 
7242
  esac
 
7243
  ;;
 
7244
*)
 
7245
  # fallback: assume linklib IS sharedlib
 
7246
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7247
  ;;
 
7248
esac
 
7249
 
 
7250
fi
 
7251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7252
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7253
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7254
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
if test -n "$ac_tool_prefix"; then
 
7263
  for ac_prog in ar
 
7264
  do
 
7265
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7266
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7268
$as_echo_n "checking for $ac_word... " >&6; }
 
7269
if ${ac_cv_prog_AR+:} false; then :
7061
7270
  $as_echo_n "(cached) " >&6
7062
7271
else
7063
7272
  if test -n "$AR"; then
7070
7279
  test -z "$as_dir" && as_dir=.
7071
7280
    for ac_exec_ext in '' $ac_executable_extensions; do
7072
7281
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7282
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7074
7283
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075
7284
    break 2
7076
7285
  fi
7090
7299
fi
7091
7300
 
7092
7301
 
 
7302
    test -n "$AR" && break
 
7303
  done
7093
7304
fi
7094
 
if test -z "$ac_cv_prog_AR"; then
 
7305
if test -z "$AR"; then
7095
7306
  ac_ct_AR=$AR
7096
 
  # Extract the first word of "ar", so it can be a program name with args.
7097
 
set dummy ar; ac_word=$2
 
7307
  for ac_prog in ar
 
7308
do
 
7309
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7310
set dummy $ac_prog; ac_word=$2
7098
7311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7099
7312
$as_echo_n "checking for $ac_word... " >&6; }
7100
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
7313
if ${ac_cv_prog_ac_ct_AR+:} false; then :
7101
7314
  $as_echo_n "(cached) " >&6
7102
7315
else
7103
7316
  if test -n "$ac_ct_AR"; then
7110
7323
  test -z "$as_dir" && as_dir=.
7111
7324
    for ac_exec_ext in '' $ac_executable_extensions; do
7112
7325
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113
 
    ac_cv_prog_ac_ct_AR="ar"
 
7326
    ac_cv_prog_ac_ct_AR="$ac_prog"
7114
7327
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115
7328
    break 2
7116
7329
  fi
7129
7342
$as_echo "no" >&6; }
7130
7343
fi
7131
7344
 
 
7345
 
 
7346
  test -n "$ac_ct_AR" && break
 
7347
done
 
7348
 
7132
7349
  if test "x$ac_ct_AR" = x; then
7133
7350
    AR="false"
7134
7351
  else
7140
7357
esac
7141
7358
    AR=$ac_ct_AR
7142
7359
  fi
7143
 
else
7144
 
  AR="$ac_cv_prog_AR"
7145
 
fi
7146
 
 
7147
 
test -z "$AR" && AR=ar
7148
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7149
 
 
7150
 
 
7151
 
 
7152
 
 
 
7360
fi
 
7361
 
 
7362
: ${AR=ar}
 
7363
: ${AR_FLAGS=cru}
 
7364
 
 
7365
 
 
7366
 
 
7367
 
 
7368
 
 
7369
 
 
7370
 
 
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7376
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7377
if ${lt_cv_ar_at_file+:} false; then :
 
7378
  $as_echo_n "(cached) " >&6
 
7379
else
 
7380
  lt_cv_ar_at_file=no
 
7381
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7382
/* end confdefs.h.  */
 
7383
 
 
7384
int
 
7385
main ()
 
7386
{
 
7387
 
 
7388
  ;
 
7389
  return 0;
 
7390
}
 
7391
_ACEOF
 
7392
if ac_fn_c_try_compile "$LINENO"; then :
 
7393
  echo conftest.$ac_objext > conftest.lst
 
7394
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7395
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7396
  (eval $lt_ar_try) 2>&5
 
7397
  ac_status=$?
 
7398
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7399
  test $ac_status = 0; }
 
7400
      if test "$ac_status" -eq 0; then
 
7401
        # Ensure the archiver fails upon bogus file names.
 
7402
        rm -f conftest.$ac_objext libconftest.a
 
7403
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7404
  (eval $lt_ar_try) 2>&5
 
7405
  ac_status=$?
 
7406
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7407
  test $ac_status = 0; }
 
7408
        if test "$ac_status" -ne 0; then
 
7409
          lt_cv_ar_at_file=@
 
7410
        fi
 
7411
      fi
 
7412
      rm -f conftest.* libconftest.a
 
7413
 
 
7414
fi
 
7415
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7416
 
 
7417
fi
 
7418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7419
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7420
 
 
7421
if test "x$lt_cv_ar_at_file" = xno; then
 
7422
  archiver_list_spec=
 
7423
else
 
7424
  archiver_list_spec=$lt_cv_ar_at_file
 
7425
fi
7153
7426
 
7154
7427
 
7155
7428
 
7162
7435
set dummy ${ac_tool_prefix}strip; ac_word=$2
7163
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164
7437
$as_echo_n "checking for $ac_word... " >&6; }
7165
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7438
if ${ac_cv_prog_STRIP+:} false; then :
7166
7439
  $as_echo_n "(cached) " >&6
7167
7440
else
7168
7441
  if test -n "$STRIP"; then
7202
7475
set dummy strip; ac_word=$2
7203
7476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204
7477
$as_echo_n "checking for $ac_word... " >&6; }
7205
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7478
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7206
7479
  $as_echo_n "(cached) " >&6
7207
7480
else
7208
7481
  if test -n "$ac_ct_STRIP"; then
7261
7534
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7262
7535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263
7536
$as_echo_n "checking for $ac_word... " >&6; }
7264
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7537
if ${ac_cv_prog_RANLIB+:} false; then :
7265
7538
  $as_echo_n "(cached) " >&6
7266
7539
else
7267
7540
  if test -n "$RANLIB"; then
7301
7574
set dummy ranlib; ac_word=$2
7302
7575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303
7576
$as_echo_n "checking for $ac_word... " >&6; }
7304
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7577
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7305
7578
  $as_echo_n "(cached) " >&6
7306
7579
else
7307
7580
  if test -n "$ac_ct_RANLIB"; then
7372
7645
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7373
7646
fi
7374
7647
 
 
7648
case $host_os in
 
7649
  darwin*)
 
7650
    lock_old_archive_extraction=yes ;;
 
7651
  *)
 
7652
    lock_old_archive_extraction=no ;;
 
7653
esac
 
7654
 
 
7655
 
 
7656
 
 
7657
 
 
7658
 
 
7659
 
7375
7660
 
7376
7661
 
7377
7662
 
7418
7703
# Check for command to grab the raw symbol name followed by C symbol from nm.
7419
7704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7420
7705
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7421
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7706
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7422
7707
  $as_echo_n "(cached) " >&6
7423
7708
else
7424
7709
 
7479
7764
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7480
7765
 
7481
7766
# Transform an extracted symbol line into symbol name and symbol address
7482
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7483
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
7767
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7768
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7484
7769
 
7485
7770
# Handle CRLF in mingw tool chain
7486
7771
opt_cr=
7516
7801
  else
7517
7802
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7518
7803
  fi
 
7804
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7519
7805
 
7520
7806
  # Check to see that the pipe works correctly.
7521
7807
  pipe_works=no
7541
7827
  test $ac_status = 0; }; then
7542
7828
    # Now try to grab the symbols.
7543
7829
    nlist=conftest.nm
7544
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7545
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7830
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7831
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7546
7832
  ac_status=$?
7547
7833
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7548
7834
  test $ac_status = 0; } && test -s "$nlist"; then
7557
7843
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7558
7844
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7559
7845
          cat <<_LT_EOF > conftest.$ac_ext
 
7846
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7847
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7848
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7849
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7850
# define LT_DLSYM_CONST
 
7851
#elif defined(__osf__)
 
7852
/* This system does not cope well with relocations in const data.  */
 
7853
# define LT_DLSYM_CONST
 
7854
#else
 
7855
# define LT_DLSYM_CONST const
 
7856
#endif
 
7857
 
7560
7858
#ifdef __cplusplus
7561
7859
extern "C" {
7562
7860
#endif
7568
7866
          cat <<_LT_EOF >> conftest.$ac_ext
7569
7867
 
7570
7868
/* The mapping between symbol names and symbols.  */
7571
 
const struct {
 
7869
LT_DLSYM_CONST struct {
7572
7870
  const char *name;
7573
7871
  void       *address;
7574
7872
}
7594
7892
_LT_EOF
7595
7893
          # Now try linking the two files.
7596
7894
          mv conftest.$ac_objext conftstm.$ac_objext
7597
 
          lt_save_LIBS="$LIBS"
7598
 
          lt_save_CFLAGS="$CFLAGS"
 
7895
          lt_globsym_save_LIBS=$LIBS
 
7896
          lt_globsym_save_CFLAGS=$CFLAGS
7599
7897
          LIBS="conftstm.$ac_objext"
7600
7898
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7601
7899
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7605
7903
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7606
7904
            pipe_works=yes
7607
7905
          fi
7608
 
          LIBS="$lt_save_LIBS"
7609
 
          CFLAGS="$lt_save_CFLAGS"
 
7906
          LIBS=$lt_globsym_save_LIBS
 
7907
          CFLAGS=$lt_globsym_save_CFLAGS
7610
7908
        else
7611
7909
          echo "cannot find nm_test_func in $nlist" >&5
7612
7910
        fi
7643
7941
$as_echo "ok" >&6; }
7644
7942
fi
7645
7943
 
7646
 
 
7647
 
 
7648
 
 
7649
 
 
7650
 
 
7651
 
 
7652
 
 
7653
 
 
7654
 
 
7655
 
 
7656
 
 
7657
 
 
7658
 
 
7659
 
 
7660
 
 
7661
 
 
 
7944
# Response file support.
 
7945
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7946
  nm_file_list_spec='@'
 
7947
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7948
  nm_file_list_spec='@'
 
7949
fi
 
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
 
7956
 
 
7957
 
 
7958
 
 
7959
 
 
7960
 
 
7961
 
 
7962
 
 
7963
 
 
7964
 
 
7965
 
 
7966
 
 
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
 
7972
 
 
7973
 
 
7974
 
 
7975
 
 
7976
 
 
7977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7978
$as_echo_n "checking for sysroot... " >&6; }
 
7979
 
 
7980
# Check whether --with-sysroot was given.
 
7981
if test "${with_sysroot+set}" = set; then :
 
7982
  withval=$with_sysroot;
 
7983
else
 
7984
  with_sysroot=no
 
7985
fi
 
7986
 
 
7987
 
 
7988
lt_sysroot=
 
7989
case ${with_sysroot} in #(
 
7990
 yes)
 
7991
   if test "$GCC" = yes; then
 
7992
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7993
   fi
 
7994
   ;; #(
 
7995
 /*)
 
7996
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7997
   ;; #(
 
7998
 no|'')
 
7999
   ;; #(
 
8000
 *)
 
8001
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8002
$as_echo "${with_sysroot}" >&6; }
 
8003
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8004
   ;;
 
8005
esac
 
8006
 
 
8007
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8008
$as_echo "${lt_sysroot:-no}" >&6; }
7662
8009
 
7663
8010
 
7664
8011
 
7695
8042
  ;;
7696
8043
*-*-irix6*)
7697
8044
  # Find out which ABI we are using.
7698
 
  echo '#line 7698 "configure"' > conftest.$ac_ext
 
8045
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7699
8046
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7700
8047
  (eval $ac_compile) 2>&5
7701
8048
  ac_status=$?
7789
8136
  CFLAGS="$CFLAGS -belf"
7790
8137
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7791
8138
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7792
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
8139
if ${lt_cv_cc_needs_belf+:} false; then :
7793
8140
  $as_echo_n "(cached) " >&6
7794
8141
else
7795
8142
  ac_ext=c
7857
8204
 
7858
8205
need_locks="$enable_libtool_lock"
7859
8206
 
 
8207
if test -n "$ac_tool_prefix"; then
 
8208
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8209
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8211
$as_echo_n "checking for $ac_word... " >&6; }
 
8212
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8213
  $as_echo_n "(cached) " >&6
 
8214
else
 
8215
  if test -n "$MANIFEST_TOOL"; then
 
8216
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8217
else
 
8218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8219
for as_dir in $PATH
 
8220
do
 
8221
  IFS=$as_save_IFS
 
8222
  test -z "$as_dir" && as_dir=.
 
8223
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8224
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8225
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8226
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8227
    break 2
 
8228
  fi
 
8229
done
 
8230
  done
 
8231
IFS=$as_save_IFS
 
8232
 
 
8233
fi
 
8234
fi
 
8235
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8236
if test -n "$MANIFEST_TOOL"; then
 
8237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8238
$as_echo "$MANIFEST_TOOL" >&6; }
 
8239
else
 
8240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8241
$as_echo "no" >&6; }
 
8242
fi
 
8243
 
 
8244
 
 
8245
fi
 
8246
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8247
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8248
  # Extract the first word of "mt", so it can be a program name with args.
 
8249
set dummy mt; ac_word=$2
 
8250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8251
$as_echo_n "checking for $ac_word... " >&6; }
 
8252
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8253
  $as_echo_n "(cached) " >&6
 
8254
else
 
8255
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8256
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8257
else
 
8258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8259
for as_dir in $PATH
 
8260
do
 
8261
  IFS=$as_save_IFS
 
8262
  test -z "$as_dir" && as_dir=.
 
8263
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8264
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8265
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8266
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8267
    break 2
 
8268
  fi
 
8269
done
 
8270
  done
 
8271
IFS=$as_save_IFS
 
8272
 
 
8273
fi
 
8274
fi
 
8275
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8276
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8277
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8278
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8279
else
 
8280
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8281
$as_echo "no" >&6; }
 
8282
fi
 
8283
 
 
8284
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8285
    MANIFEST_TOOL=":"
 
8286
  else
 
8287
    case $cross_compiling:$ac_tool_warned in
 
8288
yes:)
 
8289
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8290
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8291
ac_tool_warned=yes ;;
 
8292
esac
 
8293
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8294
  fi
 
8295
else
 
8296
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8297
fi
 
8298
 
 
8299
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8301
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8302
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8303
  $as_echo_n "(cached) " >&6
 
8304
else
 
8305
  lt_cv_path_mainfest_tool=no
 
8306
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8307
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8308
  cat conftest.err >&5
 
8309
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8310
    lt_cv_path_mainfest_tool=yes
 
8311
  fi
 
8312
  rm -f conftest*
 
8313
fi
 
8314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8315
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8316
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8317
  MANIFEST_TOOL=:
 
8318
fi
 
8319
 
 
8320
 
 
8321
 
 
8322
 
 
8323
 
7860
8324
 
7861
8325
  case $host_os in
7862
8326
    rhapsody* | darwin*)
7865
8329
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7866
8330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867
8331
$as_echo_n "checking for $ac_word... " >&6; }
7868
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
8332
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7869
8333
  $as_echo_n "(cached) " >&6
7870
8334
else
7871
8335
  if test -n "$DSYMUTIL"; then
7905
8369
set dummy dsymutil; ac_word=$2
7906
8370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907
8371
$as_echo_n "checking for $ac_word... " >&6; }
7908
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8372
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7909
8373
  $as_echo_n "(cached) " >&6
7910
8374
else
7911
8375
  if test -n "$ac_ct_DSYMUTIL"; then
7957
8421
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7958
8422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959
8423
$as_echo_n "checking for $ac_word... " >&6; }
7960
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8424
if ${ac_cv_prog_NMEDIT+:} false; then :
7961
8425
  $as_echo_n "(cached) " >&6
7962
8426
else
7963
8427
  if test -n "$NMEDIT"; then
7997
8461
set dummy nmedit; ac_word=$2
7998
8462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999
8463
$as_echo_n "checking for $ac_word... " >&6; }
8000
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8464
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8001
8465
  $as_echo_n "(cached) " >&6
8002
8466
else
8003
8467
  if test -n "$ac_ct_NMEDIT"; then
8049
8513
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8050
8514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051
8515
$as_echo_n "checking for $ac_word... " >&6; }
8052
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8516
if ${ac_cv_prog_LIPO+:} false; then :
8053
8517
  $as_echo_n "(cached) " >&6
8054
8518
else
8055
8519
  if test -n "$LIPO"; then
8089
8553
set dummy lipo; ac_word=$2
8090
8554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091
8555
$as_echo_n "checking for $ac_word... " >&6; }
8092
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8556
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8093
8557
  $as_echo_n "(cached) " >&6
8094
8558
else
8095
8559
  if test -n "$ac_ct_LIPO"; then
8141
8605
set dummy ${ac_tool_prefix}otool; ac_word=$2
8142
8606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143
8607
$as_echo_n "checking for $ac_word... " >&6; }
8144
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8608
if ${ac_cv_prog_OTOOL+:} false; then :
8145
8609
  $as_echo_n "(cached) " >&6
8146
8610
else
8147
8611
  if test -n "$OTOOL"; then
8181
8645
set dummy otool; ac_word=$2
8182
8646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8183
8647
$as_echo_n "checking for $ac_word... " >&6; }
8184
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8648
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8185
8649
  $as_echo_n "(cached) " >&6
8186
8650
else
8187
8651
  if test -n "$ac_ct_OTOOL"; then
8233
8697
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8234
8698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8235
8699
$as_echo_n "checking for $ac_word... " >&6; }
8236
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8700
if ${ac_cv_prog_OTOOL64+:} false; then :
8237
8701
  $as_echo_n "(cached) " >&6
8238
8702
else
8239
8703
  if test -n "$OTOOL64"; then
8273
8737
set dummy otool64; ac_word=$2
8274
8738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8275
8739
$as_echo_n "checking for $ac_word... " >&6; }
8276
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8740
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8277
8741
  $as_echo_n "(cached) " >&6
8278
8742
else
8279
8743
  if test -n "$ac_ct_OTOOL64"; then
8348
8812
 
8349
8813
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8350
8814
$as_echo_n "checking for -single_module linker flag... " >&6; }
8351
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8815
if ${lt_cv_apple_cc_single_mod+:} false; then :
8352
8816
  $as_echo_n "(cached) " >&6
8353
8817
else
8354
8818
  lt_cv_apple_cc_single_mod=no
8377
8841
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8378
8842
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8379
8843
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8380
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8844
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8381
8845
  $as_echo_n "(cached) " >&6
8382
8846
else
8383
8847
  lt_cv_ld_exported_symbols_list=no
8407
8871
fi
8408
8872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8409
8873
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8874
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8875
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8876
if ${lt_cv_ld_force_load+:} false; then :
 
8877
  $as_echo_n "(cached) " >&6
 
8878
else
 
8879
  lt_cv_ld_force_load=no
 
8880
      cat > conftest.c << _LT_EOF
 
8881
int forced_loaded() { return 2;}
 
8882
_LT_EOF
 
8883
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8884
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8885
      echo "$AR cru libconftest.a conftest.o" >&5
 
8886
      $AR cru libconftest.a conftest.o 2>&5
 
8887
      echo "$RANLIB libconftest.a" >&5
 
8888
      $RANLIB libconftest.a 2>&5
 
8889
      cat > conftest.c << _LT_EOF
 
8890
int main() { return 0;}
 
8891
_LT_EOF
 
8892
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8893
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8894
      _lt_result=$?
 
8895
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8896
        lt_cv_ld_force_load=yes
 
8897
      else
 
8898
        cat conftest.err >&5
 
8899
      fi
 
8900
        rm -f conftest.err libconftest.a conftest conftest.c
 
8901
        rm -rf conftest.dSYM
 
8902
 
 
8903
fi
 
8904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8905
$as_echo "$lt_cv_ld_force_load" >&6; }
8410
8906
    case $host_os in
8411
8907
    rhapsody* | darwin1.[012])
8412
8908
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8434
8930
    else
8435
8931
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8436
8932
    fi
8437
 
    if test "$DSYMUTIL" != ":"; then
 
8933
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8438
8934
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8439
8935
    else
8440
8936
      _lt_dsymutil=
8446
8942
do :
8447
8943
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8448
8944
"
8449
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8945
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8450
8946
  cat >>confdefs.h <<_ACEOF
8451
8947
#define HAVE_DLFCN_H 1
8452
8948
_ACEOF
8457
8953
 
8458
8954
 
8459
8955
 
 
8956
 
 
8957
 
8460
8958
# Set options
8461
8959
enable_dlopen=yes
8462
8960
enable_win32_dll=yes
8463
8961
 
8464
8962
case $host in
8465
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
8963
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8466
8964
  if test -n "$ac_tool_prefix"; then
8467
8965
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8468
8966
set dummy ${ac_tool_prefix}as; ac_word=$2
8469
8967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8470
8968
$as_echo_n "checking for $ac_word... " >&6; }
8471
 
if test "${ac_cv_prog_AS+set}" = set; then :
 
8969
if ${ac_cv_prog_AS+:} false; then :
8472
8970
  $as_echo_n "(cached) " >&6
8473
8971
else
8474
8972
  if test -n "$AS"; then
8508
9006
set dummy as; ac_word=$2
8509
9007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510
9008
$as_echo_n "checking for $ac_word... " >&6; }
8511
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
9009
if ${ac_cv_prog_ac_ct_AS+:} false; then :
8512
9010
  $as_echo_n "(cached) " >&6
8513
9011
else
8514
9012
  if test -n "$ac_ct_AS"; then
8560
9058
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8561
9059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8562
9060
$as_echo_n "checking for $ac_word... " >&6; }
8563
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
9061
if ${ac_cv_prog_DLLTOOL+:} false; then :
8564
9062
  $as_echo_n "(cached) " >&6
8565
9063
else
8566
9064
  if test -n "$DLLTOOL"; then
8600
9098
set dummy dlltool; ac_word=$2
8601
9099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602
9100
$as_echo_n "checking for $ac_word... " >&6; }
8603
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
9101
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8604
9102
  $as_echo_n "(cached) " >&6
8605
9103
else
8606
9104
  if test -n "$ac_ct_DLLTOOL"; then
8652
9150
set dummy ${ac_tool_prefix}objdump; ac_word=$2
8653
9151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8654
9152
$as_echo_n "checking for $ac_word... " >&6; }
8655
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
9153
if ${ac_cv_prog_OBJDUMP+:} false; then :
8656
9154
  $as_echo_n "(cached) " >&6
8657
9155
else
8658
9156
  if test -n "$OBJDUMP"; then
8692
9190
set dummy objdump; ac_word=$2
8693
9191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8694
9192
$as_echo_n "checking for $ac_word... " >&6; }
8695
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
9193
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8696
9194
  $as_echo_n "(cached) " >&6
8697
9195
else
8698
9196
  if test -n "$ac_ct_OBJDUMP"; then
8905
9403
 
8906
9404
 
8907
9405
 
 
9406
 
8908
9407
test -z "$LN_S" && LN_S="ln -s"
8909
9408
 
8910
9409
 
8926
9425
 
8927
9426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8928
9427
$as_echo_n "checking for objdir... " >&6; }
8929
 
if test "${lt_cv_objdir+set}" = set; then :
 
9428
if ${lt_cv_objdir+:} false; then :
8930
9429
  $as_echo_n "(cached) " >&6
8931
9430
else
8932
9431
  rm -f .libs 2>/dev/null
8954
9453
 
8955
9454
 
8956
9455
 
8957
 
 
8958
 
 
8959
 
 
8960
 
 
8961
 
 
8962
 
 
8963
 
 
8964
 
 
8965
 
 
8966
 
 
8967
 
 
8968
 
 
8969
 
 
8970
9456
case $host_os in
8971
9457
aix3*)
8972
9458
  # AIX sometimes has problems with the GCC collect2 program.  For some
8979
9465
  ;;
8980
9466
esac
8981
9467
 
8982
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8983
 
# metacharacters that are still active within double-quoted strings.
8984
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8985
 
 
8986
 
# Same as above, but do not quote variable references.
8987
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8988
 
 
8989
 
# Sed substitution to delay expansion of an escaped shell variable in a
8990
 
# double_quote_subst'ed string.
8991
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8992
 
 
8993
 
# Sed substitution to delay expansion of an escaped single quote.
8994
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8995
 
 
8996
 
# Sed substitution to avoid accidental globbing in evaled expressions
8997
 
no_glob_subst='s/\*/\\\*/g'
8998
 
 
8999
9468
# Global variables:
9000
9469
ofile=libtool
9001
9470
can_build_shared=yes
9024
9493
    *) break;;
9025
9494
  esac
9026
9495
done
9027
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
9496
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9028
9497
 
9029
9498
 
9030
9499
# Only perform the check for file, if the check method requires it
9034
9503
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9035
9504
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9036
9505
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9037
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9506
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9038
9507
  $as_echo_n "(cached) " >&6
9039
9508
else
9040
9509
  case $MAGIC_CMD in
9100
9569
  if test -n "$ac_tool_prefix"; then
9101
9570
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9102
9571
$as_echo_n "checking for file... " >&6; }
9103
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9572
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9104
9573
  $as_echo_n "(cached) " >&6
9105
9574
else
9106
9575
  case $MAGIC_CMD in
9233
9702
lt_prog_compiler_no_builtin_flag=
9234
9703
 
9235
9704
if test "$GCC" = yes; then
9236
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
9705
  case $cc_basename in
 
9706
  nvcc*)
 
9707
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9708
  *)
 
9709
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9710
  esac
9237
9711
 
9238
9712
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9239
9713
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9240
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9714
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9241
9715
  $as_echo_n "(cached) " >&6
9242
9716
else
9243
9717
  lt_cv_prog_compiler_rtti_exceptions=no
9253
9727
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9254
9728
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9255
9729
   -e 's:$: $lt_compiler_flag:'`
9256
 
   (eval echo "\"\$as_me:9256: $lt_compile\"" >&5)
 
9730
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9257
9731
   (eval "$lt_compile" 2>conftest.err)
9258
9732
   ac_status=$?
9259
9733
   cat conftest.err >&5
9260
 
   echo "$as_me:9260: \$? = $ac_status" >&5
 
9734
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261
9735
   if (exit $ac_status) && test -s "$ac_outfile"; then
9262
9736
     # The compiler can only warn and ignore the option if not recognized
9263
9737
     # So say no if there are warnings other than the usual output.
9264
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9738
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9265
9739
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9266
9740
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9267
9741
       lt_cv_prog_compiler_rtti_exceptions=yes
9290
9764
lt_prog_compiler_pic=
9291
9765
lt_prog_compiler_static=
9292
9766
 
9293
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9294
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9295
9767
 
9296
9768
  if test "$GCC" = yes; then
9297
9769
    lt_prog_compiler_wl='-Wl,'
9339
9811
      lt_prog_compiler_pic='-fno-common'
9340
9812
      ;;
9341
9813
 
 
9814
    haiku*)
 
9815
      # PIC is the default for Haiku.
 
9816
      # The "-static" flag exists, but is broken.
 
9817
      lt_prog_compiler_static=
 
9818
      ;;
 
9819
 
9342
9820
    hpux*)
9343
9821
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9344
9822
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9381
9859
      lt_prog_compiler_pic='-fPIC'
9382
9860
      ;;
9383
9861
    esac
 
9862
 
 
9863
    case $cc_basename in
 
9864
    nvcc*) # Cuda Compiler Driver 2.2
 
9865
      lt_prog_compiler_wl='-Xlinker '
 
9866
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
9867
      ;;
 
9868
    esac
9384
9869
  else
9385
9870
    # PORTME Check for flag to pass linker flags through the system compiler.
9386
9871
    case $host_os in
9443
9928
        lt_prog_compiler_pic='--shared'
9444
9929
        lt_prog_compiler_static='--static'
9445
9930
        ;;
9446
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
9931
      nagfor*)
 
9932
        # NAG Fortran compiler
 
9933
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9934
        lt_prog_compiler_pic='-PIC'
 
9935
        lt_prog_compiler_static='-Bstatic'
 
9936
        ;;
 
9937
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9447
9938
        # Portland Group compilers (*not* the Pentium gcc compiler,
9448
9939
        # which looks to be a dead project)
9449
9940
        lt_prog_compiler_wl='-Wl,'
9455
9946
        # All Alpha code is PIC.
9456
9947
        lt_prog_compiler_static='-non_shared'
9457
9948
        ;;
9458
 
      xl*)
9459
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9949
      xl* | bgxl* | bgf* | mpixl*)
 
9950
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9460
9951
        lt_prog_compiler_wl='-Wl,'
9461
9952
        lt_prog_compiler_pic='-qpic'
9462
9953
        lt_prog_compiler_static='-qstaticlink'
9463
9954
        ;;
9464
9955
      *)
9465
9956
        case `$CC -V 2>&1 | sed 5q` in
 
9957
        *Sun\ F* | *Sun*Fortran*)
 
9958
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9959
          lt_prog_compiler_pic='-KPIC'
 
9960
          lt_prog_compiler_static='-Bstatic'
 
9961
          lt_prog_compiler_wl=''
 
9962
          ;;
9466
9963
        *Sun\ C*)
9467
9964
          # Sun C 5.9
9468
9965
          lt_prog_compiler_pic='-KPIC'
9469
9966
          lt_prog_compiler_static='-Bstatic'
9470
9967
          lt_prog_compiler_wl='-Wl,'
9471
9968
          ;;
9472
 
        *Sun\ F*)
9473
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9474
 
          lt_prog_compiler_pic='-KPIC'
9475
 
          lt_prog_compiler_static='-Bstatic'
9476
 
          lt_prog_compiler_wl=''
9477
 
          ;;
9478
9969
        esac
9479
9970
        ;;
9480
9971
      esac
9505
9996
      lt_prog_compiler_pic='-KPIC'
9506
9997
      lt_prog_compiler_static='-Bstatic'
9507
9998
      case $cc_basename in
9508
 
      f77* | f90* | f95*)
 
9999
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9509
10000
        lt_prog_compiler_wl='-Qoption ld ';;
9510
10001
      *)
9511
10002
        lt_prog_compiler_wl='-Wl,';;
9562
10053
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9563
10054
    ;;
9564
10055
esac
9565
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9566
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9567
 
 
9568
 
 
9569
 
 
9570
 
 
9571
 
 
 
10056
 
 
10057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10058
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10059
if ${lt_cv_prog_compiler_pic+:} false; then :
 
10060
  $as_echo_n "(cached) " >&6
 
10061
else
 
10062
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
10063
fi
 
10064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
10065
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
10066
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9572
10067
 
9573
10068
#
9574
10069
# Check to make sure the PIC flag actually works.
9576
10071
if test -n "$lt_prog_compiler_pic"; then
9577
10072
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9578
10073
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9579
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
10074
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9580
10075
  $as_echo_n "(cached) " >&6
9581
10076
else
9582
10077
  lt_cv_prog_compiler_pic_works=no
9592
10087
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9593
10088
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9594
10089
   -e 's:$: $lt_compiler_flag:'`
9595
 
   (eval echo "\"\$as_me:9595: $lt_compile\"" >&5)
 
10090
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9596
10091
   (eval "$lt_compile" 2>conftest.err)
9597
10092
   ac_status=$?
9598
10093
   cat conftest.err >&5
9599
 
   echo "$as_me:9599: \$? = $ac_status" >&5
 
10094
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600
10095
   if (exit $ac_status) && test -s "$ac_outfile"; then
9601
10096
     # The compiler can only warn and ignore the option if not recognized
9602
10097
     # So say no if there are warnings other than the usual output.
9603
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10098
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9604
10099
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9605
10100
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9606
10101
       lt_cv_prog_compiler_pic_works=yes
9629
10124
 
9630
10125
 
9631
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
9632
10132
#
9633
10133
# Check to make sure the static flag actually works.
9634
10134
#
9635
10135
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9636
10136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9637
10137
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9638
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
10138
if ${lt_cv_prog_compiler_static_works+:} false; then :
9639
10139
  $as_echo_n "(cached) " >&6
9640
10140
else
9641
10141
  lt_cv_prog_compiler_static_works=no
9648
10148
     if test -s conftest.err; then
9649
10149
       # Append any errors to the config.log.
9650
10150
       cat conftest.err 1>&5
9651
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
10151
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9652
10152
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9653
10153
       if diff conftest.exp conftest.er2 >/dev/null; then
9654
10154
         lt_cv_prog_compiler_static_works=yes
9678
10178
 
9679
10179
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9680
10180
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9681
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10181
if ${lt_cv_prog_compiler_c_o+:} false; then :
9682
10182
  $as_echo_n "(cached) " >&6
9683
10183
else
9684
10184
  lt_cv_prog_compiler_c_o=no
9697
10197
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9698
10198
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9699
10199
   -e 's:$: $lt_compiler_flag:'`
9700
 
   (eval echo "\"\$as_me:9700: $lt_compile\"" >&5)
 
10200
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9701
10201
   (eval "$lt_compile" 2>out/conftest.err)
9702
10202
   ac_status=$?
9703
10203
   cat out/conftest.err >&5
9704
 
   echo "$as_me:9704: \$? = $ac_status" >&5
 
10204
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705
10205
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9706
10206
   then
9707
10207
     # The compiler can only warn and ignore the option if not recognized
9708
10208
     # So say no if there are warnings
9709
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10209
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9710
10210
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9711
10211
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9712
10212
       lt_cv_prog_compiler_c_o=yes
9733
10233
 
9734
10234
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9735
10235
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9736
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10236
if ${lt_cv_prog_compiler_c_o+:} false; then :
9737
10237
  $as_echo_n "(cached) " >&6
9738
10238
else
9739
10239
  lt_cv_prog_compiler_c_o=no
9752
10252
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9753
10253
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9754
10254
   -e 's:$: $lt_compiler_flag:'`
9755
 
   (eval echo "\"\$as_me:9755: $lt_compile\"" >&5)
 
10255
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9756
10256
   (eval "$lt_compile" 2>out/conftest.err)
9757
10257
   ac_status=$?
9758
10258
   cat out/conftest.err >&5
9759
 
   echo "$as_me:9759: \$? = $ac_status" >&5
 
10259
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760
10260
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9761
10261
   then
9762
10262
     # The compiler can only warn and ignore the option if not recognized
9763
10263
     # So say no if there are warnings
9764
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10264
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9765
10265
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9766
10266
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9767
10267
       lt_cv_prog_compiler_c_o=yes
9871
10371
  openbsd*)
9872
10372
    with_gnu_ld=no
9873
10373
    ;;
9874
 
  linux* | k*bsd*-gnu)
9875
 
    link_all_deplibs=no
9876
 
    ;;
9877
10374
  esac
9878
10375
 
9879
10376
  ld_shlibs=yes
 
10377
 
 
10378
  # On some targets, GNU ld is compatible enough with the native linker
 
10379
  # that we're better off using the native interface for both.
 
10380
  lt_use_gnu_ld_interface=no
9880
10381
  if test "$with_gnu_ld" = yes; then
 
10382
    case $host_os in
 
10383
      aix*)
 
10384
        # The AIX port of GNU ld has always aspired to compatibility
 
10385
        # with the native linker.  However, as the warning in the GNU ld
 
10386
        # block says, versions before 2.19.5* couldn't really create working
 
10387
        # shared libraries, regardless of the interface used.
 
10388
        case `$LD -v 2>&1` in
 
10389
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10390
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10391
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10392
          *)
 
10393
            lt_use_gnu_ld_interface=yes
 
10394
            ;;
 
10395
        esac
 
10396
        ;;
 
10397
      *)
 
10398
        lt_use_gnu_ld_interface=yes
 
10399
        ;;
 
10400
    esac
 
10401
  fi
 
10402
 
 
10403
  if test "$lt_use_gnu_ld_interface" = yes; then
9881
10404
    # If archive_cmds runs LD, not CC, wlarc should be empty
9882
10405
    wlarc='${wl}'
9883
10406
 
9911
10434
        ld_shlibs=no
9912
10435
        cat <<_LT_EOF 1>&2
9913
10436
 
9914
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
10437
*** Warning: the GNU linker, at least up to release 2.19, is reported
9915
10438
*** to be unable to reliably create shared libraries on AIX.
9916
10439
*** Therefore, libtool is disabling shared libraries support.  If you
9917
 
*** really care for shared libraries, you may want to modify your PATH
9918
 
*** so that a non-GNU linker is found, and then restart.
 
10440
*** really care for shared libraries, you may want to install binutils
 
10441
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10442
*** You will then need to restart the configuration process.
9919
10443
 
9920
10444
_LT_EOF
9921
10445
      fi
9951
10475
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9952
10476
      # as there is no search path for DLLs.
9953
10477
      hardcode_libdir_flag_spec='-L$libdir'
 
10478
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9954
10479
      allow_undefined_flag=unsupported
9955
10480
      always_export_symbols=no
9956
10481
      enable_shared_with_static_runtimes=yes
9957
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10482
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
10483
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9958
10484
 
9959
10485
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9960
10486
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9972
10498
      fi
9973
10499
      ;;
9974
10500
 
 
10501
    haiku*)
 
10502
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10503
      link_all_deplibs=yes
 
10504
      ;;
 
10505
 
9975
10506
    interix[3-9]*)
9976
10507
      hardcode_direct=no
9977
10508
      hardcode_shlibpath_var=no
9997
10528
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9998
10529
         && test "$tmp_diet" = no
9999
10530
      then
10000
 
        tmp_addflag=
 
10531
        tmp_addflag=' $pic_flag'
10001
10532
        tmp_sharedflag='-shared'
10002
10533
        case $cc_basename,$host_cpu in
10003
10534
        pgcc*)                          # Portland Group C compiler
10004
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
10535
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10005
10536
          tmp_addflag=' $pic_flag'
10006
10537
          ;;
10007
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10008
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
10538
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10539
                                        # Portland Group f77 and f90 compilers
 
10540
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10009
10541
          tmp_addflag=' $pic_flag -Mnomain' ;;
10010
10542
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10011
10543
          tmp_addflag=' -i_dynamic' ;;
10016
10548
        lf95*)                          # Lahey Fortran 8.1
10017
10549
          whole_archive_flag_spec=
10018
10550
          tmp_sharedflag='--shared' ;;
10019
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
10551
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10020
10552
          tmp_sharedflag='-qmkshrobj'
10021
10553
          tmp_addflag= ;;
 
10554
        nvcc*)  # Cuda Compiler Driver 2.2
 
10555
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
10556
          compiler_needs_object=yes
 
10557
          ;;
10022
10558
        esac
10023
10559
        case `$CC -V 2>&1 | sed 5q` in
10024
10560
        *Sun\ C*)                       # Sun C 5.9
10025
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
10561
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10026
10562
          compiler_needs_object=yes
10027
10563
          tmp_sharedflag='-G' ;;
10028
10564
        *Sun\ F*)                       # Sun Fortran 8.3
10038
10574
        fi
10039
10575
 
10040
10576
        case $cc_basename in
10041
 
        xlf*)
 
10577
        xlf* | bgf* | bgxlf* | mpixlf*)
10042
10578
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10043
10579
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10044
10580
          hardcode_libdir_flag_spec=
10045
10581
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
10046
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
10582
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10047
10583
          if test "x$supports_anon_versioning" = xyes; then
10048
10584
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10049
10585
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10050
10586
              echo "local: *; };" >> $output_objdir/$libname.ver~
10051
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10587
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10052
10588
          fi
10053
10589
          ;;
10054
10590
        esac
10057
10593
      fi
10058
10594
      ;;
10059
10595
 
10060
 
    netbsd* | netbsdelf*-gnu)
 
10596
    netbsd*)
10061
10597
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10062
10598
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10063
10599
        wlarc=
10064
10600
      else
10065
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10066
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10601
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10602
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10067
10603
      fi
10068
10604
      ;;
10069
10605
 
10081
10617
 
10082
10618
_LT_EOF
10083
10619
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10084
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10085
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10620
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10621
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10086
10622
      else
10087
10623
        ld_shlibs=no
10088
10624
      fi
10128
10664
 
10129
10665
    *)
10130
10666
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10131
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10132
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10667
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10668
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10133
10669
      else
10134
10670
        ld_shlibs=no
10135
10671
      fi
10169
10705
      else
10170
10706
        # If we're using GNU nm, then we don't want the "-C" option.
10171
10707
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10708
        # Also, AIX nm treats weak defined symbols like other global
 
10709
        # defined symbols, whereas GNU nm marks them as "W".
10172
10710
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10173
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
10711
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10174
10712
        else
10175
10713
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10176
10714
        fi
10258
10796
        allow_undefined_flag='-berok'
10259
10797
        # Determine the default libpath from the value encoded in an
10260
10798
        # empty executable.
10261
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10799
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10800
  aix_libpath=$lt_cv_aix_libpath
 
10801
else
 
10802
  if ${lt_cv_aix_libpath_+:} false; then :
 
10803
  $as_echo_n "(cached) " >&6
 
10804
else
 
10805
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262
10806
/* end confdefs.h.  */
10263
10807
 
10264
10808
int
10271
10815
_ACEOF
10272
10816
if ac_fn_c_try_link "$LINENO"; then :
10273
10817
 
10274
 
lt_aix_libpath_sed='
10275
 
    /Import File Strings/,/^$/ {
10276
 
        /^0/ {
10277
 
            s/^0  *\(.*\)$/\1/
10278
 
            p
10279
 
        }
10280
 
    }'
10281
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10282
 
# Check for a 64-bit object if we didn't find anything.
10283
 
if test -z "$aix_libpath"; then
10284
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10285
 
fi
 
10818
  lt_aix_libpath_sed='
 
10819
      /Import File Strings/,/^$/ {
 
10820
          /^0/ {
 
10821
              s/^0  *\([^ ]*\) *$/\1/
 
10822
              p
 
10823
          }
 
10824
      }'
 
10825
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10826
  # Check for a 64-bit object if we didn't find anything.
 
10827
  if test -z "$lt_cv_aix_libpath_"; then
 
10828
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10829
  fi
10286
10830
fi
10287
10831
rm -f core conftest.err conftest.$ac_objext \
10288
10832
    conftest$ac_exeext conftest.$ac_ext
10289
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10833
  if test -z "$lt_cv_aix_libpath_"; then
 
10834
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10835
  fi
 
10836
 
 
10837
fi
 
10838
 
 
10839
  aix_libpath=$lt_cv_aix_libpath_
 
10840
fi
10290
10841
 
10291
10842
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10292
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10843
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10293
10844
      else
10294
10845
        if test "$host_cpu" = ia64; then
10295
10846
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10298
10849
        else
10299
10850
         # Determine the default libpath from the value encoded in an
10300
10851
         # empty executable.
10301
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10852
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10853
  aix_libpath=$lt_cv_aix_libpath
 
10854
else
 
10855
  if ${lt_cv_aix_libpath_+:} false; then :
 
10856
  $as_echo_n "(cached) " >&6
 
10857
else
 
10858
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302
10859
/* end confdefs.h.  */
10303
10860
 
10304
10861
int
10311
10868
_ACEOF
10312
10869
if ac_fn_c_try_link "$LINENO"; then :
10313
10870
 
10314
 
lt_aix_libpath_sed='
10315
 
    /Import File Strings/,/^$/ {
10316
 
        /^0/ {
10317
 
            s/^0  *\(.*\)$/\1/
10318
 
            p
10319
 
        }
10320
 
    }'
10321
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10322
 
# Check for a 64-bit object if we didn't find anything.
10323
 
if test -z "$aix_libpath"; then
10324
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10325
 
fi
 
10871
  lt_aix_libpath_sed='
 
10872
      /Import File Strings/,/^$/ {
 
10873
          /^0/ {
 
10874
              s/^0  *\([^ ]*\) *$/\1/
 
10875
              p
 
10876
          }
 
10877
      }'
 
10878
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10879
  # Check for a 64-bit object if we didn't find anything.
 
10880
  if test -z "$lt_cv_aix_libpath_"; then
 
10881
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10882
  fi
10326
10883
fi
10327
10884
rm -f core conftest.err conftest.$ac_objext \
10328
10885
    conftest$ac_exeext conftest.$ac_ext
10329
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10886
  if test -z "$lt_cv_aix_libpath_"; then
 
10887
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10888
  fi
 
10889
 
 
10890
fi
 
10891
 
 
10892
  aix_libpath=$lt_cv_aix_libpath_
 
10893
fi
10330
10894
 
10331
10895
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10332
10896
          # Warning - without using the other run time loading flags,
10333
10897
          # -berok will link without error, but may produce a broken library.
10334
10898
          no_undefined_flag=' ${wl}-bernotok'
10335
10899
          allow_undefined_flag=' ${wl}-berok'
10336
 
          # Exported symbols can be pulled into shared objects from archives
10337
 
          whole_archive_flag_spec='$convenience'
 
10900
          if test "$with_gnu_ld" = yes; then
 
10901
            # We only use this code for GNU lds that support --whole-archive.
 
10902
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10903
          else
 
10904
            # Exported symbols can be pulled into shared objects from archives
 
10905
            whole_archive_flag_spec='$convenience'
 
10906
          fi
10338
10907
          archive_cmds_need_lc=yes
10339
10908
          # This is similar to how AIX traditionally builds its shared libraries.
10340
10909
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10366
10935
      # Microsoft Visual C++.
10367
10936
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10368
10937
      # no search path for DLLs.
10369
 
      hardcode_libdir_flag_spec=' '
10370
 
      allow_undefined_flag=unsupported
10371
 
      # Tell ltmain to make .lib files, not .a files.
10372
 
      libext=lib
10373
 
      # Tell ltmain to make .dll files, not .so files.
10374
 
      shrext_cmds=".dll"
10375
 
      # FIXME: Setting linknames here is a bad hack.
10376
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10377
 
      # The linker will automatically build a .lib file if we build a DLL.
10378
 
      old_archive_from_new_cmds='true'
10379
 
      # FIXME: Should let the user specify the lib program.
10380
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10381
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10382
 
      enable_shared_with_static_runtimes=yes
 
10938
      case $cc_basename in
 
10939
      cl*)
 
10940
        # Native MSVC
 
10941
        hardcode_libdir_flag_spec=' '
 
10942
        allow_undefined_flag=unsupported
 
10943
        always_export_symbols=yes
 
10944
        file_list_spec='@'
 
10945
        # Tell ltmain to make .lib files, not .a files.
 
10946
        libext=lib
 
10947
        # Tell ltmain to make .dll files, not .so files.
 
10948
        shrext_cmds=".dll"
 
10949
        # FIXME: Setting linknames here is a bad hack.
 
10950
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10951
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10952
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10953
          else
 
10954
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10955
          fi~
 
10956
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10957
          linknames='
 
10958
        # The linker will not automatically build a static lib if we build a DLL.
 
10959
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10960
        enable_shared_with_static_runtimes=yes
 
10961
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10962
        # Don't use ranlib
 
10963
        old_postinstall_cmds='chmod 644 $oldlib'
 
10964
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10965
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10966
          case $lt_outputfile in
 
10967
            *.exe|*.EXE) ;;
 
10968
            *)
 
10969
              lt_outputfile="$lt_outputfile.exe"
 
10970
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10971
              ;;
 
10972
          esac~
 
10973
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10974
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10975
            $RM "$lt_outputfile.manifest";
 
10976
          fi'
 
10977
        ;;
 
10978
      *)
 
10979
        # Assume MSVC wrapper
 
10980
        hardcode_libdir_flag_spec=' '
 
10981
        allow_undefined_flag=unsupported
 
10982
        # Tell ltmain to make .lib files, not .a files.
 
10983
        libext=lib
 
10984
        # Tell ltmain to make .dll files, not .so files.
 
10985
        shrext_cmds=".dll"
 
10986
        # FIXME: Setting linknames here is a bad hack.
 
10987
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10988
        # The linker will automatically build a .lib file if we build a DLL.
 
10989
        old_archive_from_new_cmds='true'
 
10990
        # FIXME: Should let the user specify the lib program.
 
10991
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10992
        enable_shared_with_static_runtimes=yes
 
10993
        ;;
 
10994
      esac
10383
10995
      ;;
10384
10996
 
10385
10997
    darwin* | rhapsody*)
10389
11001
  hardcode_direct=no
10390
11002
  hardcode_automatic=yes
10391
11003
  hardcode_shlibpath_var=unsupported
10392
 
  whole_archive_flag_spec=''
 
11004
  if test "$lt_cv_ld_force_load" = "yes"; then
 
11005
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
11006
  else
 
11007
    whole_archive_flag_spec=''
 
11008
  fi
10393
11009
  link_all_deplibs=yes
10394
11010
  allow_undefined_flag="$_lt_dar_allow_undefined"
10395
11011
  case $cc_basename in
10397
11013
     *) _lt_dar_can_shared=$GCC ;;
10398
11014
  esac
10399
11015
  if test "$_lt_dar_can_shared" = "yes"; then
10400
 
    output_verbose_link_cmd=echo
 
11016
    output_verbose_link_cmd=func_echo_all
10401
11017
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10402
11018
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10403
11019
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10440
11056
 
10441
11057
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10442
11058
    freebsd* | dragonfly*)
10443
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
11059
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10444
11060
      hardcode_libdir_flag_spec='-R$libdir'
10445
11061
      hardcode_direct=yes
10446
11062
      hardcode_shlibpath_var=no
10448
11064
 
10449
11065
    hpux9*)
10450
11066
      if test "$GCC" = yes; then
10451
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11067
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10452
11068
      else
10453
11069
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10454
11070
      fi
10463
11079
      ;;
10464
11080
 
10465
11081
    hpux10*)
10466
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10467
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11082
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11083
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10468
11084
      else
10469
11085
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10470
11086
      fi
10482
11098
      ;;
10483
11099
 
10484
11100
    hpux11*)
10485
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11101
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10486
11102
        case $host_cpu in
10487
11103
        hppa*64*)
10488
11104
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10489
11105
          ;;
10490
11106
        ia64*)
10491
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11107
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10492
11108
          ;;
10493
11109
        *)
10494
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11110
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10495
11111
          ;;
10496
11112
        esac
10497
11113
      else
10503
11119
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10504
11120
          ;;
10505
11121
        *)
10506
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11122
 
 
11123
          # Older versions of the 11.00 compiler do not understand -b yet
 
11124
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11125
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11126
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11127
if ${lt_cv_prog_compiler__b+:} false; then :
 
11128
  $as_echo_n "(cached) " >&6
 
11129
else
 
11130
  lt_cv_prog_compiler__b=no
 
11131
   save_LDFLAGS="$LDFLAGS"
 
11132
   LDFLAGS="$LDFLAGS -b"
 
11133
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11134
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11135
     # The linker can only warn and ignore the option if not recognized
 
11136
     # So say no if there are warnings
 
11137
     if test -s conftest.err; then
 
11138
       # Append any errors to the config.log.
 
11139
       cat conftest.err 1>&5
 
11140
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11141
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11142
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11143
         lt_cv_prog_compiler__b=yes
 
11144
       fi
 
11145
     else
 
11146
       lt_cv_prog_compiler__b=yes
 
11147
     fi
 
11148
   fi
 
11149
   $RM -r conftest*
 
11150
   LDFLAGS="$save_LDFLAGS"
 
11151
 
 
11152
fi
 
11153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11154
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11155
 
 
11156
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11157
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11158
else
 
11159
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11160
fi
 
11161
 
10507
11162
          ;;
10508
11163
        esac
10509
11164
      fi
10531
11186
 
10532
11187
    irix5* | irix6* | nonstopux*)
10533
11188
      if test "$GCC" = yes; then
10534
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11189
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10535
11190
        # Try to use the -exported_symbol ld option, if it does not
10536
11191
        # work, assume that -exports_file does not work either and
10537
11192
        # implicitly export all symbols.
10538
 
        save_LDFLAGS="$LDFLAGS"
10539
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10540
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11193
        # This should be the same for all languages, so no per-tag cache variable.
 
11194
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11195
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11196
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11197
  $as_echo_n "(cached) " >&6
 
11198
else
 
11199
  save_LDFLAGS="$LDFLAGS"
 
11200
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11201
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541
11202
/* end confdefs.h.  */
10542
 
int foo(void) {}
 
11203
int foo (void) { return 0; }
10543
11204
_ACEOF
10544
11205
if ac_fn_c_try_link "$LINENO"; then :
10545
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10546
 
 
 
11206
  lt_cv_irix_exported_symbol=yes
 
11207
else
 
11208
  lt_cv_irix_exported_symbol=no
10547
11209
fi
10548
11210
rm -f core conftest.err conftest.$ac_objext \
10549
11211
    conftest$ac_exeext conftest.$ac_ext
10550
 
        LDFLAGS="$save_LDFLAGS"
 
11212
           LDFLAGS="$save_LDFLAGS"
 
11213
fi
 
11214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11215
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11216
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11217
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
11218
        fi
10551
11219
      else
10552
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10553
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
11220
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
11221
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10554
11222
      fi
10555
11223
      archive_cmds_need_lc='no'
10556
11224
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10559
11227
      link_all_deplibs=yes
10560
11228
      ;;
10561
11229
 
10562
 
    netbsd* | netbsdelf*-gnu)
 
11230
    netbsd*)
10563
11231
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10564
11232
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10565
11233
      else
10612
11280
      hardcode_libdir_flag_spec='-L$libdir'
10613
11281
      hardcode_minus_L=yes
10614
11282
      allow_undefined_flag=unsupported
10615
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
11283
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10616
11284
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10617
11285
      ;;
10618
11286
 
10619
11287
    osf3*)
10620
11288
      if test "$GCC" = yes; then
10621
11289
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10622
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11290
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10623
11291
      else
10624
11292
        allow_undefined_flag=' -expect_unresolved \*'
10625
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
11293
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10626
11294
      fi
10627
11295
      archive_cmds_need_lc='no'
10628
11296
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10632
11300
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10633
11301
      if test "$GCC" = yes; then
10634
11302
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10635
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11303
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10636
11304
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10637
11305
      else
10638
11306
        allow_undefined_flag=' -expect_unresolved \*'
10639
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
11307
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10640
11308
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10641
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
11309
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10642
11310
 
10643
11311
        # Both c and cxx compiler support -rpath directly
10644
11312
        hardcode_libdir_flag_spec='-rpath $libdir'
10651
11319
      no_undefined_flag=' -z defs'
10652
11320
      if test "$GCC" = yes; then
10653
11321
        wlarc='${wl}'
10654
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11322
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10655
11323
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10656
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11324
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10657
11325
      else
10658
11326
        case `$CC -V 2>&1` in
10659
11327
        *"Compilers 5.0"*)
10841
11509
      # to ld, don't add -lc before -lgcc.
10842
11510
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10843
11511
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10844
 
      $RM conftest*
10845
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11512
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11513
  $as_echo_n "(cached) " >&6
 
11514
else
 
11515
  $RM conftest*
 
11516
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10846
11517
 
10847
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11518
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10848
11519
  (eval $ac_compile) 2>&5
10849
11520
  ac_status=$?
10850
11521
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10851
11522
  test $ac_status = 0; } 2>conftest.err; then
10852
 
        soname=conftest
10853
 
        lib=conftest
10854
 
        libobjs=conftest.$ac_objext
10855
 
        deplibs=
10856
 
        wl=$lt_prog_compiler_wl
10857
 
        pic_flag=$lt_prog_compiler_pic
10858
 
        compiler_flags=-v
10859
 
        linker_flags=-v
10860
 
        verstring=
10861
 
        output_objdir=.
10862
 
        libname=conftest
10863
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10864
 
        allow_undefined_flag=
10865
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11523
          soname=conftest
 
11524
          lib=conftest
 
11525
          libobjs=conftest.$ac_objext
 
11526
          deplibs=
 
11527
          wl=$lt_prog_compiler_wl
 
11528
          pic_flag=$lt_prog_compiler_pic
 
11529
          compiler_flags=-v
 
11530
          linker_flags=-v
 
11531
          verstring=
 
11532
          output_objdir=.
 
11533
          libname=conftest
 
11534
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11535
          allow_undefined_flag=
 
11536
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10866
11537
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10867
11538
  ac_status=$?
10868
11539
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10869
11540
  test $ac_status = 0; }
10870
 
        then
10871
 
          archive_cmds_need_lc=no
10872
 
        else
10873
 
          archive_cmds_need_lc=yes
10874
 
        fi
10875
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10876
 
      else
10877
 
        cat conftest.err 1>&5
10878
 
      fi
10879
 
      $RM conftest*
10880
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10881
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
11541
          then
 
11542
            lt_cv_archive_cmds_need_lc=no
 
11543
          else
 
11544
            lt_cv_archive_cmds_need_lc=yes
 
11545
          fi
 
11546
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11547
        else
 
11548
          cat conftest.err 1>&5
 
11549
        fi
 
11550
        $RM conftest*
 
11551
 
 
11552
fi
 
11553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11554
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11555
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10882
11556
      ;;
10883
11557
    esac
10884
11558
  fi
11049
11723
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11050
11724
    *) lt_awk_arg="/^libraries:/" ;;
11051
11725
  esac
11052
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11053
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
11726
  case $host_os in
 
11727
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11728
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11729
  esac
 
11730
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11731
  case $lt_search_path_spec in
 
11732
  *\;*)
11054
11733
    # if the path contains ";" then we assume it to be the separator
11055
11734
    # otherwise default to the standard path separator (i.e. ":") - it is
11056
11735
    # assumed that no part of a normal pathname contains ";" but that should
11057
11736
    # okay in the real world where ";" in dirpaths is itself problematic.
11058
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11059
 
  else
11060
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11061
 
  fi
 
11737
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11738
    ;;
 
11739
  *)
 
11740
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11741
    ;;
 
11742
  esac
11062
11743
  # Ok, now we have the path, separated by spaces, we can step through it
11063
11744
  # and add multilib dir if necessary.
11064
11745
  lt_tmp_lt_search_path_spec=
11071
11752
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11072
11753
    fi
11073
11754
  done
11074
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
11755
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11075
11756
BEGIN {RS=" "; FS="/|\n";} {
11076
11757
  lt_foo="";
11077
11758
  lt_count=0;
11091
11772
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11092
11773
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11093
11774
}'`
11094
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
11775
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11776
  # for these hosts.
 
11777
  case $host_os in
 
11778
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11779
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11780
  esac
 
11781
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11095
11782
else
11096
11783
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11097
11784
fi
11179
11866
  m68k)
11180
11867
    library_names_spec='$libname.ixlibrary $libname.a'
11181
11868
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11182
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
11869
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11183
11870
    ;;
11184
11871
  esac
11185
11872
  ;;
11210
11897
  need_version=no
11211
11898
  need_lib_prefix=no
11212
11899
 
11213
 
  case $GCC,$host_os in
11214
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11900
  case $GCC,$cc_basename in
 
11901
  yes,*)
 
11902
    # gcc
11215
11903
    library_names_spec='$libname.dll.a'
11216
11904
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11217
11905
    postinstall_cmds='base_file=`basename \${file}`~
11232
11920
    cygwin*)
11233
11921
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11234
11922
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11235
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11923
 
 
11924
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11236
11925
      ;;
11237
11926
    mingw* | cegcc*)
11238
11927
      # MinGW DLLs use traditional 'lib' prefix
11239
11928
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11240
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11241
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11242
 
        # It is most probably a Windows format PATH printed by
11243
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11244
 
        # path with ; separators, and with drive letters. We can handle the
11245
 
        # drive letters (cygwin fileutils understands them), so leave them,
11246
 
        # especially as we might pass files found there to a mingw objdump,
11247
 
        # which wouldn't understand a cygwinified path. Ahh.
11248
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11249
 
      else
11250
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11251
 
      fi
11252
11929
      ;;
11253
11930
    pw32*)
11254
11931
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11255
11932
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11256
11933
      ;;
11257
11934
    esac
 
11935
    dynamic_linker='Win32 ld.exe'
 
11936
    ;;
 
11937
 
 
11938
  *,cl*)
 
11939
    # Native MSVC
 
11940
    libname_spec='$name'
 
11941
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11942
    library_names_spec='${libname}.dll.lib'
 
11943
 
 
11944
    case $build_os in
 
11945
    mingw*)
 
11946
      sys_lib_search_path_spec=
 
11947
      lt_save_ifs=$IFS
 
11948
      IFS=';'
 
11949
      for lt_path in $LIB
 
11950
      do
 
11951
        IFS=$lt_save_ifs
 
11952
        # Let DOS variable expansion print the short 8.3 style file name.
 
11953
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11954
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11955
      done
 
11956
      IFS=$lt_save_ifs
 
11957
      # Convert to MSYS style.
 
11958
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11959
      ;;
 
11960
    cygwin*)
 
11961
      # Convert to unix form, then to dos form, then back to unix form
 
11962
      # but this time dos style (no spaces!) so that the unix form looks
 
11963
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11964
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11965
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11966
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11967
      ;;
 
11968
    *)
 
11969
      sys_lib_search_path_spec="$LIB"
 
11970
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11971
        # It is most probably a Windows format PATH.
 
11972
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11973
      else
 
11974
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11975
      fi
 
11976
      # FIXME: find the short name or the path components, as spaces are
 
11977
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11978
      ;;
 
11979
    esac
 
11980
 
 
11981
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11982
    postinstall_cmds='base_file=`basename \${file}`~
 
11983
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11984
      dldir=$destdir/`dirname \$dlpath`~
 
11985
      test -d \$dldir || mkdir -p \$dldir~
 
11986
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11987
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11988
      dlpath=$dir/\$dldll~
 
11989
       $RM \$dlpath'
 
11990
    shlibpath_overrides_runpath=yes
 
11991
    dynamic_linker='Win32 link.exe'
11258
11992
    ;;
11259
11993
 
11260
11994
  *)
 
11995
    # Assume MSVC wrapper
11261
11996
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11997
    dynamic_linker='Win32 ld.exe'
11262
11998
    ;;
11263
11999
  esac
11264
 
  dynamic_linker='Win32 ld.exe'
11265
12000
  # FIXME: first we should search . and the directory the executable is in
11266
12001
  shlibpath_var=PATH
11267
12002
  ;;
11348
12083
  hardcode_into_libs=yes
11349
12084
  ;;
11350
12085
 
 
12086
haiku*)
 
12087
  version_type=linux
 
12088
  need_lib_prefix=no
 
12089
  need_version=no
 
12090
  dynamic_linker="$host_os runtime_loader"
 
12091
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12092
  soname_spec='${libname}${release}${shared_ext}$major'
 
12093
  shlibpath_var=LIBRARY_PATH
 
12094
  shlibpath_overrides_runpath=yes
 
12095
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
12096
  hardcode_into_libs=yes
 
12097
  ;;
 
12098
 
11351
12099
hpux9* | hpux10* | hpux11*)
11352
12100
  # Give a soname corresponding to the major version so that dld.sl refuses to
11353
12101
  # link against other versions.
11390
12138
    soname_spec='${libname}${release}${shared_ext}$major'
11391
12139
    ;;
11392
12140
  esac
11393
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
12141
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11394
12142
  postinstall_cmds='chmod 555 $lib'
 
12143
  # or fails outright, so override atomically:
 
12144
  install_override_mode=555
11395
12145
  ;;
11396
12146
 
11397
12147
interix[3-9]*)
11458
12208
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11459
12209
  shlibpath_var=LD_LIBRARY_PATH
11460
12210
  shlibpath_overrides_runpath=no
 
12211
 
11461
12212
  # Some binutils ld are patched to set DT_RUNPATH
11462
 
  save_LDFLAGS=$LDFLAGS
11463
 
  save_libdir=$libdir
11464
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11465
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11466
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12213
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12214
  $as_echo_n "(cached) " >&6
 
12215
else
 
12216
  lt_cv_shlibpath_overrides_runpath=no
 
12217
    save_LDFLAGS=$LDFLAGS
 
12218
    save_libdir=$libdir
 
12219
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12220
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12221
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467
12222
/* end confdefs.h.  */
11468
12223
 
11469
12224
int
11476
12231
_ACEOF
11477
12232
if ac_fn_c_try_link "$LINENO"; then :
11478
12233
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11479
 
  shlibpath_overrides_runpath=yes
 
12234
  lt_cv_shlibpath_overrides_runpath=yes
11480
12235
fi
11481
12236
fi
11482
12237
rm -f core conftest.err conftest.$ac_objext \
11483
12238
    conftest$ac_exeext conftest.$ac_ext
11484
 
  LDFLAGS=$save_LDFLAGS
11485
 
  libdir=$save_libdir
 
12239
    LDFLAGS=$save_LDFLAGS
 
12240
    libdir=$save_libdir
 
12241
 
 
12242
fi
 
12243
 
 
12244
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11486
12245
 
11487
12246
  # This implies no fast_install, which is unacceptable.
11488
12247
  # Some rework will be needed to allow for fast_install
11489
12248
  # before this can be enabled.
11490
12249
  hardcode_into_libs=yes
11491
12250
 
 
12251
  # find out which ABI we are using
 
12252
  libsuff=
 
12253
  case "$host_cpu" in
 
12254
  x86_64*|s390x*|powerpc64*)
 
12255
    echo '#line 12255 "configure"' > conftest.$ac_ext
 
12256
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
12257
  (eval $ac_compile) 2>&5
 
12258
  ac_status=$?
 
12259
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12260
  test $ac_status = 0; }; then
 
12261
      case `/usr/bin/file conftest.$ac_objext` in
 
12262
      *64-bit*)
 
12263
        libsuff=64
 
12264
        ;;
 
12265
      esac
 
12266
    fi
 
12267
    rm -rf conftest*
 
12268
    ;;
 
12269
  esac
 
12270
 
 
12271
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
 
12272
 
11492
12273
  # Append ld.so.conf contents to the search path
11493
12274
  if test -f /etc/ld.so.conf; then
11494
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11495
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12275
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
12276
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11496
12277
  fi
11497
12278
 
11498
12279
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11504
12285
  dynamic_linker='GNU/Linux ld.so'
11505
12286
  ;;
11506
12287
 
11507
 
netbsdelf*-gnu)
11508
 
  version_type=linux
11509
 
  need_lib_prefix=no
11510
 
  need_version=no
11511
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11512
 
  soname_spec='${libname}${release}${shared_ext}$major'
11513
 
  shlibpath_var=LD_LIBRARY_PATH
11514
 
  shlibpath_overrides_runpath=no
11515
 
  hardcode_into_libs=yes
11516
 
  dynamic_linker='NetBSD ld.elf_so'
11517
 
  ;;
11518
 
 
11519
12288
netbsd*)
11520
12289
  version_type=sunos
11521
12290
  need_lib_prefix=no
11806
12575
 
11807
12576
 
11808
12577
 
 
12578
 
 
12579
 
 
12580
 
 
12581
 
 
12582
 
11809
12583
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11810
12584
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11811
12585
hardcode_action=
11878
12652
  # if libdl is installed we need to link against it
11879
12653
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11880
12654
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11881
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12655
if ${ac_cv_lib_dl_dlopen+:} false; then :
11882
12656
  $as_echo_n "(cached) " >&6
11883
12657
else
11884
12658
  ac_check_lib_save_LIBS=$LIBS
11912
12686
fi
11913
12687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11914
12688
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11915
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12689
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11916
12690
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11917
12691
else
11918
12692
 
11926
12700
 
11927
12701
  *)
11928
12702
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11929
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12703
if test "x$ac_cv_func_shl_load" = xyes; then :
11930
12704
  lt_cv_dlopen="shl_load"
11931
12705
else
11932
12706
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11933
12707
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11934
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12708
if ${ac_cv_lib_dld_shl_load+:} false; then :
11935
12709
  $as_echo_n "(cached) " >&6
11936
12710
else
11937
12711
  ac_check_lib_save_LIBS=$LIBS
11965
12739
fi
11966
12740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11967
12741
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11968
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12742
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11969
12743
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11970
12744
else
11971
12745
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11972
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12746
if test "x$ac_cv_func_dlopen" = xyes; then :
11973
12747
  lt_cv_dlopen="dlopen"
11974
12748
else
11975
12749
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11976
12750
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11977
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12751
if ${ac_cv_lib_dl_dlopen+:} false; then :
11978
12752
  $as_echo_n "(cached) " >&6
11979
12753
else
11980
12754
  ac_check_lib_save_LIBS=$LIBS
12008
12782
fi
12009
12783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12010
12784
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12011
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12785
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12012
12786
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12013
12787
else
12014
12788
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12015
12789
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12016
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12790
if ${ac_cv_lib_svld_dlopen+:} false; then :
12017
12791
  $as_echo_n "(cached) " >&6
12018
12792
else
12019
12793
  ac_check_lib_save_LIBS=$LIBS
12047
12821
fi
12048
12822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12049
12823
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12050
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12824
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12051
12825
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12052
12826
else
12053
12827
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12054
12828
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12055
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12829
if ${ac_cv_lib_dld_dld_link+:} false; then :
12056
12830
  $as_echo_n "(cached) " >&6
12057
12831
else
12058
12832
  ac_check_lib_save_LIBS=$LIBS
12086
12860
fi
12087
12861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12088
12862
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12089
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12863
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12090
12864
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12091
12865
fi
12092
12866
 
12127
12901
 
12128
12902
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12129
12903
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12130
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12904
if ${lt_cv_dlopen_self+:} false; then :
12131
12905
  $as_echo_n "(cached) " >&6
12132
12906
else
12133
12907
          if test "$cross_compiling" = yes; then :
12136
12910
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12137
12911
  lt_status=$lt_dlunknown
12138
12912
  cat > conftest.$ac_ext <<_LT_EOF
12139
 
#line 12139 "configure"
 
12913
#line $LINENO "configure"
12140
12914
#include "confdefs.h"
12141
12915
 
12142
12916
#if HAVE_DLFCN_H
12177
12951
#  endif
12178
12952
#endif
12179
12953
 
12180
 
void fnord() { int i=42;}
 
12954
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12955
   correspondingly for the symbols needed.  */
 
12956
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12957
int fnord () __attribute__((visibility("default")));
 
12958
#endif
 
12959
 
 
12960
int fnord () { return 42; }
12181
12961
int main ()
12182
12962
{
12183
12963
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12186
12966
  if (self)
12187
12967
    {
12188
12968
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12189
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12969
      else
 
12970
        {
 
12971
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12972
          else puts (dlerror ());
 
12973
        }
12190
12974
      /* dlclose (self); */
12191
12975
    }
12192
12976
  else
12223
13007
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12224
13008
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12225
13009
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12226
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
13010
if ${lt_cv_dlopen_self_static+:} false; then :
12227
13011
  $as_echo_n "(cached) " >&6
12228
13012
else
12229
13013
          if test "$cross_compiling" = yes; then :
12232
13016
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12233
13017
  lt_status=$lt_dlunknown
12234
13018
  cat > conftest.$ac_ext <<_LT_EOF
12235
 
#line 12235 "configure"
 
13019
#line $LINENO "configure"
12236
13020
#include "confdefs.h"
12237
13021
 
12238
13022
#if HAVE_DLFCN_H
12273
13057
#  endif
12274
13058
#endif
12275
13059
 
12276
 
void fnord() { int i=42;}
 
13060
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13061
   correspondingly for the symbols needed.  */
 
13062
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13063
int fnord () __attribute__((visibility("default")));
 
13064
#endif
 
13065
 
 
13066
int fnord () { return 42; }
12277
13067
int main ()
12278
13068
{
12279
13069
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12282
13072
  if (self)
12283
13073
    {
12284
13074
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12285
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
13075
      else
 
13076
        {
 
13077
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13078
          else puts (dlerror ());
 
13079
        }
12286
13080
      /* dlclose (self); */
12287
13081
    }
12288
13082
  else
12462
13256
 
12463
13257
 
12464
13258
ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
12465
 
if test "x$ac_cv_header_ltdl_h" = x""yes; then :
 
13259
if test "x$ac_cv_header_ltdl_h" = xyes; then :
12466
13260
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_init in -lltdl" >&5
12467
13261
$as_echo_n "checking for lt_dladvise_init in -lltdl... " >&6; }
12468
 
if test "${ac_cv_lib_ltdl_lt_dladvise_init+set}" = set; then :
 
13262
if ${ac_cv_lib_ltdl_lt_dladvise_init+:} false; then :
12469
13263
  $as_echo_n "(cached) " >&6
12470
13264
else
12471
13265
  ac_check_lib_save_LIBS=$LIBS
12499
13293
fi
12500
13294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_init" >&5
12501
13295
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_init" >&6; }
12502
 
if test "x$ac_cv_lib_ltdl_lt_dladvise_init" = x""yes; then :
 
13296
if test "x$ac_cv_lib_ltdl_lt_dladvise_init" = xyes; then :
12503
13297
  LIBLTDL=-lltdl
12504
13298
else
12505
13299
  LIBLTDL=
12547
13341
# ISO
12548
13342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12549
13343
$as_echo_n "checking for ANSI C header files... " >&6; }
12550
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
13344
if ${ac_cv_header_stdc+:} false; then :
12551
13345
  $as_echo_n "(cached) " >&6
12552
13346
else
12553
13347
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728
13522
                  #endif
12729
13523
 
12730
13524
"
12731
 
if test "x$ac_cv_header_netinet_ip_h" = x""yes; then :
 
13525
if test "x$ac_cv_header_netinet_ip_h" = xyes; then :
12732
13526
  cat >>confdefs.h <<_ACEOF
12733
13527
#define HAVE_NETINET_IP_H 1
12734
13528
_ACEOF
12740
13534
for ac_header in regex.h
12741
13535
do :
12742
13536
  ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
12743
 
if test "x$ac_cv_header_regex_h" = x""yes; then :
 
13537
if test "x$ac_cv_header_regex_h" = xyes; then :
12744
13538
  cat >>confdefs.h <<_ACEOF
12745
13539
#define HAVE_REGEX_H 1
12746
13540
_ACEOF
12754
13548
for ac_header in sys/un.h
12755
13549
do :
12756
13550
  ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
12757
 
if test "x$ac_cv_header_sys_un_h" = x""yes; then :
 
13551
if test "x$ac_cv_header_sys_un_h" = xyes; then :
12758
13552
  cat >>confdefs.h <<_ACEOF
12759
13553
#define HAVE_SYS_UN_H 1
12760
13554
_ACEOF
12787
13581
for ac_header in linux/input.h
12788
13582
do :
12789
13583
  ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
12790
 
if test "x$ac_cv_header_linux_input_h" = x""yes; then :
 
13584
if test "x$ac_cv_header_linux_input_h" = xyes; then :
12791
13585
  cat >>confdefs.h <<_ACEOF
12792
13586
#define HAVE_LINUX_INPUT_H 1
12793
13587
_ACEOF
12852
13646
 
12853
13647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12854
13648
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12855
 
if test "${ac_cv_c_const+set}" = set; then :
 
13649
if ${ac_cv_c_const+:} false; then :
12856
13650
  $as_echo_n "(cached) " >&6
12857
13651
else
12858
13652
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932
13726
 
12933
13727
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12934
13728
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12935
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
13729
if ${ac_cv_c_bigendian+:} false; then :
12936
13730
  $as_echo_n "(cached) " >&6
12937
13731
else
12938
13732
  ac_cv_c_bigendian=unknown
13151
13945
     ;; #(
13152
13946
   *)
13153
13947
     as_fn_error $? "unknown endianness
13154
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
13948
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13155
13949
 esac
13156
13950
 
13157
13951
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13158
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
13952
if test "x$ac_cv_type_pid_t" = xyes; then :
13159
13953
 
13160
13954
else
13161
13955
 
13166
13960
fi
13167
13961
 
13168
13962
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13169
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
13963
if test "x$ac_cv_type_size_t" = xyes; then :
13170
13964
 
13171
13965
else
13172
13966
 
13177
13971
fi
13178
13972
 
13179
13973
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13180
 
if test "x$ac_cv_type_ssize_t" = x""yes; then :
 
13974
if test "x$ac_cv_type_ssize_t" = xyes; then :
13181
13975
 
13182
13976
cat >>confdefs.h <<_ACEOF
13183
13977
#define HAVE_SSIZE_T 1
13191
13985
fi
13192
13986
 
13193
13987
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13194
 
if test "x$ac_cv_type_off_t" = x""yes; then :
 
13988
if test "x$ac_cv_type_off_t" = xyes; then :
13195
13989
 
13196
13990
else
13197
13991
 
13204
13998
 
13205
13999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
13206
14000
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
13207
 
if test "${ac_cv_type_uid_t+set}" = set; then :
 
14001
if ${ac_cv_type_uid_t+:} false; then :
13208
14002
  $as_echo_n "(cached) " >&6
13209
14003
else
13210
14004
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233
14027
fi
13234
14028
 
13235
14029
ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
13236
 
if test "x$ac_cv_have_decl_environ" = x""yes; then :
 
14030
if test "x$ac_cv_have_decl_environ" = xyes; then :
13237
14031
  ac_have_decl=1
13238
14032
else
13239
14033
  ac_have_decl=0
13247
14041
 
13248
14042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGXCPU in signal.h" >&5
13249
14043
$as_echo_n "checking for SIGXCPU in signal.h... " >&6; }
13250
 
if test "${ac_cv_defined_SIGXCPU_signal_h+set}" = set; then :
 
14044
if ${ac_cv_defined_SIGXCPU_signal_h+:} false; then :
13251
14045
  $as_echo_n "(cached) " >&6
13252
14046
else
13253
14047
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299
14093
 
13300
14094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INADDR_NONE in netinet/in.h" >&5
13301
14095
$as_echo_n "checking for INADDR_NONE in netinet/in.h... " >&6; }
13302
 
if test "${ac_cv_defined_INADDR_NONE_netinet_in_h+set}" = set; then :
 
14096
if ${ac_cv_defined_INADDR_NONE_netinet_in_h+:} false; then :
13303
14097
  $as_echo_n "(cached) " >&6
13304
14098
else
13305
14099
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334
14128
 
13335
14129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INADDR_NONE in winsock2.h" >&5
13336
14130
$as_echo_n "checking for INADDR_NONE in winsock2.h... " >&6; }
13337
 
if test "${ac_cv_defined_INADDR_NONE_winsock2_h+set}" = set; then :
 
14131
if ${ac_cv_defined_INADDR_NONE_winsock2_h+:} false; then :
13338
14132
  $as_echo_n "(cached) " >&6
13339
14133
else
13340
14134
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499
14293
set dummy pthread-config; ac_word=$2
13500
14294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13501
14295
$as_echo_n "checking for $ac_word... " >&6; }
13502
 
if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
 
14296
if ${ac_cv_prog_acx_pthread_config+:} false; then :
13503
14297
  $as_echo_n "(cached) " >&6
13504
14298
else
13505
14299
  if test -n "$acx_pthread_config"; then
13654
14448
set dummy $ac_prog; ac_word=$2
13655
14449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13656
14450
$as_echo_n "checking for $ac_word... " >&6; }
13657
 
if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
 
14451
if ${ac_cv_prog_PTHREAD_CC+:} false; then :
13658
14452
  $as_echo_n "(cached) " >&6
13659
14453
else
13660
14454
  if test -n "$PTHREAD_CC"; then
13880
14674
# ISO
13881
14675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pow" >&5
13882
14676
$as_echo_n "checking for library containing pow... " >&6; }
13883
 
if test "${ac_cv_search_pow+set}" = set; then :
 
14677
if ${ac_cv_search_pow+:} false; then :
13884
14678
  $as_echo_n "(cached) " >&6
13885
14679
else
13886
14680
  ac_func_search_save_LIBS=$LIBS
13914
14708
fi
13915
14709
rm -f core conftest.err conftest.$ac_objext \
13916
14710
    conftest$ac_exeext
13917
 
  if test "${ac_cv_search_pow+set}" = set; then :
 
14711
  if ${ac_cv_search_pow+:} false; then :
13918
14712
  break
13919
14713
fi
13920
14714
done
13921
 
if test "${ac_cv_search_pow+set}" = set; then :
 
14715
if ${ac_cv_search_pow+:} false; then :
13922
14716
 
13923
14717
else
13924
14718
  ac_cv_search_pow=no
13938
14732
# POSIX
13939
14733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_setscheduler" >&5
13940
14734
$as_echo_n "checking for library containing sched_setscheduler... " >&6; }
13941
 
if test "${ac_cv_search_sched_setscheduler+set}" = set; then :
 
14735
if ${ac_cv_search_sched_setscheduler+:} false; then :
13942
14736
  $as_echo_n "(cached) " >&6
13943
14737
else
13944
14738
  ac_func_search_save_LIBS=$LIBS
13972
14766
fi
13973
14767
rm -f core conftest.err conftest.$ac_objext \
13974
14768
    conftest$ac_exeext
13975
 
  if test "${ac_cv_search_sched_setscheduler+set}" = set; then :
 
14769
  if ${ac_cv_search_sched_setscheduler+:} false; then :
13976
14770
  break
13977
14771
fi
13978
14772
done
13979
 
if test "${ac_cv_search_sched_setscheduler+set}" = set; then :
 
14773
if ${ac_cv_search_sched_setscheduler+:} false; then :
13980
14774
 
13981
14775
else
13982
14776
  ac_cv_search_sched_setscheduler=no
13994
14788
 
13995
14789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13996
14790
$as_echo_n "checking for library containing dlopen... " >&6; }
13997
 
if test "${ac_cv_search_dlopen+set}" = set; then :
 
14791
if ${ac_cv_search_dlopen+:} false; then :
13998
14792
  $as_echo_n "(cached) " >&6
13999
14793
else
14000
14794
  ac_func_search_save_LIBS=$LIBS
14028
14822
fi
14029
14823
rm -f core conftest.err conftest.$ac_objext \
14030
14824
    conftest$ac_exeext
14031
 
  if test "${ac_cv_search_dlopen+set}" = set; then :
 
14825
  if ${ac_cv_search_dlopen+:} false; then :
14032
14826
  break
14033
14827
fi
14034
14828
done
14035
 
if test "${ac_cv_search_dlopen+set}" = set; then :
 
14829
if ${ac_cv_search_dlopen+:} false; then :
14036
14830
 
14037
14831
else
14038
14832
  ac_cv_search_dlopen=no
14050
14844
 
14051
14845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
14052
14846
$as_echo_n "checking for library containing shm_open... " >&6; }
14053
 
if test "${ac_cv_search_shm_open+set}" = set; then :
 
14847
if ${ac_cv_search_shm_open+:} false; then :
14054
14848
  $as_echo_n "(cached) " >&6
14055
14849
else
14056
14850
  ac_func_search_save_LIBS=$LIBS
14084
14878
fi
14085
14879
rm -f core conftest.err conftest.$ac_objext \
14086
14880
    conftest$ac_exeext
14087
 
  if test "${ac_cv_search_shm_open+set}" = set; then :
 
14881
  if ${ac_cv_search_shm_open+:} false; then :
14088
14882
  break
14089
14883
fi
14090
14884
done
14091
 
if test "${ac_cv_search_shm_open+set}" = set; then :
 
14885
if ${ac_cv_search_shm_open+:} false; then :
14092
14886
 
14093
14887
else
14094
14888
  ac_cv_search_shm_open=no
14106
14900
 
14107
14901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
14108
14902
$as_echo_n "checking for library containing inet_ntop... " >&6; }
14109
 
if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
14903
if ${ac_cv_search_inet_ntop+:} false; then :
14110
14904
  $as_echo_n "(cached) " >&6
14111
14905
else
14112
14906
  ac_func_search_save_LIBS=$LIBS
14140
14934
fi
14141
14935
rm -f core conftest.err conftest.$ac_objext \
14142
14936
    conftest$ac_exeext
14143
 
  if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
14937
  if ${ac_cv_search_inet_ntop+:} false; then :
14144
14938
  break
14145
14939
fi
14146
14940
done
14147
 
if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
14941
if ${ac_cv_search_inet_ntop+:} false; then :
14148
14942
 
14149
14943
else
14150
14944
  ac_cv_search_inet_ntop=no
14162
14956
 
14163
14957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
14164
14958
$as_echo_n "checking for library containing timer_create... " >&6; }
14165
 
if test "${ac_cv_search_timer_create+set}" = set; then :
 
14959
if ${ac_cv_search_timer_create+:} false; then :
14166
14960
  $as_echo_n "(cached) " >&6
14167
14961
else
14168
14962
  ac_func_search_save_LIBS=$LIBS
14196
14990
fi
14197
14991
rm -f core conftest.err conftest.$ac_objext \
14198
14992
    conftest$ac_exeext
14199
 
  if test "${ac_cv_search_timer_create+set}" = set; then :
 
14993
  if ${ac_cv_search_timer_create+:} false; then :
14200
14994
  break
14201
14995
fi
14202
14996
done
14203
 
if test "${ac_cv_search_timer_create+set}" = set; then :
 
14997
if ${ac_cv_search_timer_create+:} false; then :
14204
14998
 
14205
14999
else
14206
15000
  ac_cv_search_timer_create=no
14220
15014
# BSD
14221
15015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14222
15016
$as_echo_n "checking for library containing connect... " >&6; }
14223
 
if test "${ac_cv_search_connect+set}" = set; then :
 
15017
if ${ac_cv_search_connect+:} false; then :
14224
15018
  $as_echo_n "(cached) " >&6
14225
15019
else
14226
15020
  ac_func_search_save_LIBS=$LIBS
14254
15048
fi
14255
15049
rm -f core conftest.err conftest.$ac_objext \
14256
15050
    conftest$ac_exeext
14257
 
  if test "${ac_cv_search_connect+set}" = set; then :
 
15051
  if ${ac_cv_search_connect+:} false; then :
14258
15052
  break
14259
15053
fi
14260
15054
done
14261
 
if test "${ac_cv_search_connect+set}" = set; then :
 
15055
if ${ac_cv_search_connect+:} false; then :
14262
15056
 
14263
15057
else
14264
15058
  ac_cv_search_connect=no
14276
15070
 
14277
15071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
14278
15072
$as_echo_n "checking for library containing backtrace... " >&6; }
14279
 
if test "${ac_cv_search_backtrace+set}" = set; then :
 
15073
if ${ac_cv_search_backtrace+:} false; then :
14280
15074
  $as_echo_n "(cached) " >&6
14281
15075
else
14282
15076
  ac_func_search_save_LIBS=$LIBS
14310
15104
fi
14311
15105
rm -f core conftest.err conftest.$ac_objext \
14312
15106
    conftest$ac_exeext
14313
 
  if test "${ac_cv_search_backtrace+set}" = set; then :
 
15107
  if ${ac_cv_search_backtrace+:} false; then :
14314
15108
  break
14315
15109
fi
14316
15110
done
14317
 
if test "${ac_cv_search_backtrace+set}" = set; then :
 
15111
if ${ac_cv_search_backtrace+:} false; then :
14318
15112
 
14319
15113
else
14320
15114
  ac_cv_search_backtrace=no
14338
15132
for ac_func in getopt_long
14339
15133
do :
14340
15134
  ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
14341
 
if test "x$ac_cv_func_getopt_long" = x""yes; then :
 
15135
if test "x$ac_cv_func_getopt_long" = xyes; then :
14342
15136
  cat >>confdefs.h <<_ACEOF
14343
15137
#define HAVE_GETOPT_LONG 1
14344
15138
_ACEOF
14346
15140
else
14347
15141
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -liberty" >&5
14348
15142
$as_echo_n "checking for getopt_long in -liberty... " >&6; }
14349
 
if test "${ac_cv_lib_iberty_getopt_long+set}" = set; then :
 
15143
if ${ac_cv_lib_iberty_getopt_long+:} false; then :
14350
15144
  $as_echo_n "(cached) " >&6
14351
15145
else
14352
15146
  ac_check_lib_save_LIBS=$LIBS
14380
15174
fi
14381
15175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_getopt_long" >&5
14382
15176
$as_echo "$ac_cv_lib_iberty_getopt_long" >&6; }
14383
 
if test "x$ac_cv_lib_iberty_getopt_long" = x""yes; then :
 
15177
if test "x$ac_cv_lib_iberty_getopt_long" = xyes; then :
14384
15178
  cat >>confdefs.h <<_ACEOF
14385
15179
#define HAVE_LIBIBERTY 1
14386
15180
_ACEOF
14421
15215
for ac_header in vfork.h
14422
15216
do :
14423
15217
  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14424
 
if test "x$ac_cv_header_vfork_h" = x""yes; then :
 
15218
if test "x$ac_cv_header_vfork_h" = xyes; then :
14425
15219
  cat >>confdefs.h <<_ACEOF
14426
15220
#define HAVE_VFORK_H 1
14427
15221
_ACEOF
14445
15239
if test "x$ac_cv_func_fork" = xyes; then
14446
15240
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14447
15241
$as_echo_n "checking for working fork... " >&6; }
14448
 
if test "${ac_cv_func_fork_works+set}" = set; then :
 
15242
if ${ac_cv_func_fork_works+:} false; then :
14449
15243
  $as_echo_n "(cached) " >&6
14450
15244
else
14451
15245
  if test "$cross_compiling" = yes; then :
14498
15292
if test "x$ac_cv_func_vfork" = xyes; then
14499
15293
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14500
15294
$as_echo_n "checking for working vfork... " >&6; }
14501
 
if test "${ac_cv_func_vfork_works+set}" = set; then :
 
15295
if ${ac_cv_func_vfork_works+:} false; then :
14502
15296
  $as_echo_n "(cached) " >&6
14503
15297
else
14504
15298
  if test "$cross_compiling" = yes; then :
14633
15427
 
14634
15428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
14635
15429
$as_echo_n "checking type of array argument to getgroups... " >&6; }
14636
 
if test "${ac_cv_type_getgroups+set}" = set; then :
 
15430
if ${ac_cv_type_getgroups+:} false; then :
14637
15431
  $as_echo_n "(cached) " >&6
14638
15432
else
14639
15433
  if test "$cross_compiling" = yes; then :
14699
15493
 
14700
15494
 
14701
15495
ac_fn_c_check_func "$LINENO" "getgroups" "ac_cv_func_getgroups"
14702
 
if test "x$ac_cv_func_getgroups" = x""yes; then :
 
15496
if test "x$ac_cv_func_getgroups" = xyes; then :
14703
15497
 
14704
15498
fi
14705
15499
 
14710
15504
if test $ac_cv_func_getgroups = no; then
14711
15505
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgroups in -lbsd" >&5
14712
15506
$as_echo_n "checking for getgroups in -lbsd... " >&6; }
14713
 
if test "${ac_cv_lib_bsd_getgroups+set}" = set; then :
 
15507
if ${ac_cv_lib_bsd_getgroups+:} false; then :
14714
15508
  $as_echo_n "(cached) " >&6
14715
15509
else
14716
15510
  ac_check_lib_save_LIBS=$LIBS
14744
15538
fi
14745
15539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getgroups" >&5
14746
15540
$as_echo "$ac_cv_lib_bsd_getgroups" >&6; }
14747
 
if test "x$ac_cv_lib_bsd_getgroups" = x""yes; then :
 
15541
if test "x$ac_cv_lib_bsd_getgroups" = xyes; then :
14748
15542
  GETGROUPS_LIB=-lbsd
14749
15543
fi
14750
15544
 
14755
15549
if test $ac_cv_func_getgroups = yes; then
14756
15550
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
14757
15551
$as_echo_n "checking for working getgroups... " >&6; }
14758
 
if test "${ac_cv_func_getgroups_works+set}" = set; then :
 
15552
if ${ac_cv_func_getgroups_works+:} false; then :
14759
15553
  $as_echo_n "(cached) " >&6
14760
15554
else
14761
15555
  if test "$cross_compiling" = yes; then :
14811
15605
 
14812
15606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
14813
15607
$as_echo_n "checking types of arguments for select... " >&6; }
14814
 
if test "${ac_cv_func_select_args+set}" = set; then :
 
15608
if ${ac_cv_func_select_args+:} false; then :
14815
15609
  $as_echo_n "(cached) " >&6
14816
15610
else
14817
15611
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
14845
15639
 done
14846
15640
done
14847
15641
# Provide a safe default value.
14848
 
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
 
15642
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
14849
15643
 
14850
15644
fi
14851
15645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
14931
15725
for ac_func in mkfifo
14932
15726
do :
14933
15727
  ac_fn_c_check_func "$LINENO" "mkfifo" "ac_cv_func_mkfifo"
14934
 
if test "x$ac_cv_func_mkfifo" = x""yes; then :
 
15728
if test "x$ac_cv_func_mkfifo" = xyes; then :
14935
15729
  cat >>confdefs.h <<_ACEOF
14936
15730
#define HAVE_MKFIFO 1
14937
15731
_ACEOF
15001
15795
# for constant arguments.  Useless!
15002
15796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15003
15797
$as_echo_n "checking for working alloca.h... " >&6; }
15004
 
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
15798
if ${ac_cv_working_alloca_h+:} false; then :
15005
15799
  $as_echo_n "(cached) " >&6
15006
15800
else
15007
15801
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15034
15828
 
15035
15829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15036
15830
$as_echo_n "checking for alloca... " >&6; }
15037
 
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
15831
if ${ac_cv_func_alloca_works+:} false; then :
15038
15832
  $as_echo_n "(cached) " >&6
15039
15833
else
15040
15834
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053
15847
 #pragma alloca
15054
15848
#   else
15055
15849
#    ifndef alloca /* predefined by HP cc +Olibcalls */
15056
 
char *alloca ();
 
15850
void *alloca (size_t);
15057
15851
#    endif
15058
15852
#   endif
15059
15853
#  endif
15097
15891
 
15098
15892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15099
15893
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15100
 
if test "${ac_cv_os_cray+set}" = set; then :
 
15894
if ${ac_cv_os_cray+:} false; then :
15101
15895
  $as_echo_n "(cached) " >&6
15102
15896
else
15103
15897
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138
15932
 
15139
15933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15140
15934
$as_echo_n "checking stack direction for C alloca... " >&6; }
15141
 
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
15935
if ${ac_cv_c_stack_direction+:} false; then :
15142
15936
  $as_echo_n "(cached) " >&6
15143
15937
else
15144
15938
  if test "$cross_compiling" = yes; then :
15189
15983
 
15190
15984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
15191
15985
$as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
15192
 
if test "${pulseaudio_cv_PTHREAD_PRIO_INHERIT+set}" = set; then :
 
15986
if ${pulseaudio_cv_PTHREAD_PRIO_INHERIT+:} false; then :
15193
15987
  $as_echo_n "(cached) " >&6
15194
15988
else
15195
15989
  save_CC=$CC; CC=$PTHREAD_CC
15248
16042
 
15249
16043
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15250
16044
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15251
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
 
16045
if ${ac_cv_sys_largefile_CC+:} false; then :
15252
16046
  $as_echo_n "(cached) " >&6
15253
16047
else
15254
16048
  ac_cv_sys_largefile_CC=no
15299
16093
 
15300
16094
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15301
16095
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15302
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
 
16096
if ${ac_cv_sys_file_offset_bits+:} false; then :
15303
16097
  $as_echo_n "(cached) " >&6
15304
16098
else
15305
16099
  while :; do
15368
16162
  if test $ac_cv_sys_file_offset_bits = unknown; then
15369
16163
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15370
16164
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15371
 
if test "${ac_cv_sys_large_files+set}" = set; then :
 
16165
if ${ac_cv_sys_large_files+:} false; then :
15372
16166
  $as_echo_n "(cached) " >&6
15373
16167
else
15374
16168
  while :; do
15521
16315
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15522
16316
$as_echo_n "checking for non-GNU ld... " >&6; }
15523
16317
fi
15524
 
if test "${acl_cv_path_LD+set}" = set; then :
 
16318
if ${acl_cv_path_LD+:} false; then :
15525
16319
  $as_echo_n "(cached) " >&6
15526
16320
else
15527
16321
  if test -z "$LD"; then
15558
16352
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15559
16353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15560
16354
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15561
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
16355
if ${acl_cv_prog_gnu_ld+:} false; then :
15562
16356
  $as_echo_n "(cached) " >&6
15563
16357
else
15564
16358
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15578
16372
 
15579
16373
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15580
16374
$as_echo_n "checking for shared library run path origin... " >&6; }
15581
 
if test "${acl_cv_rpath+set}" = set; then :
 
16375
if ${acl_cv_rpath+:} false; then :
15582
16376
  $as_echo_n "(cached) " >&6
15583
16377
else
15584
16378
 
15616
16410
    solaris*)
15617
16411
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
15618
16412
$as_echo_n "checking for 64-bit host... " >&6; }
15619
 
if test "${gl_cv_solaris_64bit+set}" = set; then :
 
16413
if ${gl_cv_solaris_64bit+:} false; then :
15620
16414
  $as_echo_n "(cached) " >&6
15621
16415
else
15622
16416
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169
16963
 
16170
16964
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16171
16965
$as_echo_n "checking for iconv... " >&6; }
16172
 
if test "${am_cv_func_iconv+set}" = set; then :
 
16966
if ${am_cv_func_iconv+:} false; then :
16173
16967
  $as_echo_n "(cached) " >&6
16174
16968
else
16175
16969
 
16226
17020
  if test "$am_cv_func_iconv" = yes; then
16227
17021
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
16228
17022
$as_echo_n "checking for working iconv... " >&6; }
16229
 
if test "${am_cv_func_iconv_works+set}" = set; then :
 
17023
if ${am_cv_func_iconv_works+:} false; then :
16230
17024
  $as_echo_n "(cached) " >&6
16231
17025
else
16232
17026
 
16361
17155
  if test "$am_cv_func_iconv" = yes; then
16362
17156
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
16363
17157
$as_echo_n "checking for iconv declaration... " >&6; }
16364
 
    if test "${am_cv_proto_iconv+set}" = set; then :
 
17158
    if ${am_cv_proto_iconv+:} false; then :
16365
17159
  $as_echo_n "(cached) " >&6
16366
17160
else
16367
17161
 
16452
17246
set dummy intltool-update; ac_word=$2
16453
17247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16454
17248
$as_echo_n "checking for $ac_word... " >&6; }
16455
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
17249
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
16456
17250
  $as_echo_n "(cached) " >&6
16457
17251
else
16458
17252
  case $INTLTOOL_UPDATE in
16492
17286
set dummy intltool-merge; ac_word=$2
16493
17287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16494
17288
$as_echo_n "checking for $ac_word... " >&6; }
16495
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
17289
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
16496
17290
  $as_echo_n "(cached) " >&6
16497
17291
else
16498
17292
  case $INTLTOOL_MERGE in
16532
17326
set dummy intltool-extract; ac_word=$2
16533
17327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16534
17328
$as_echo_n "checking for $ac_word... " >&6; }
16535
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
17329
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
16536
17330
  $as_echo_n "(cached) " >&6
16537
17331
else
16538
17332
  case $INTLTOOL_EXTRACT in
16693
17487
set dummy xgettext; ac_word=$2
16694
17488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16695
17489
$as_echo_n "checking for $ac_word... " >&6; }
16696
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
17490
if ${ac_cv_path_XGETTEXT+:} false; then :
16697
17491
  $as_echo_n "(cached) " >&6
16698
17492
else
16699
17493
  case $XGETTEXT in
16733
17527
set dummy msgmerge; ac_word=$2
16734
17528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16735
17529
$as_echo_n "checking for $ac_word... " >&6; }
16736
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
17530
if ${ac_cv_path_MSGMERGE+:} false; then :
16737
17531
  $as_echo_n "(cached) " >&6
16738
17532
else
16739
17533
  case $MSGMERGE in
16773
17567
set dummy msgfmt; ac_word=$2
16774
17568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16775
17569
$as_echo_n "checking for $ac_word... " >&6; }
16776
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
17570
if ${ac_cv_path_MSGFMT+:} false; then :
16777
17571
  $as_echo_n "(cached) " >&6
16778
17572
else
16779
17573
  case $MSGFMT in
16813
17607
set dummy gmsgfmt; ac_word=$2
16814
17608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16815
17609
$as_echo_n "checking for $ac_word... " >&6; }
16816
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
17610
if ${ac_cv_path_GMSGFMT+:} false; then :
16817
17611
  $as_echo_n "(cached) " >&6
16818
17612
else
16819
17613
  case $GMSGFMT in
16864
17658
set dummy perl; ac_word=$2
16865
17659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16866
17660
$as_echo_n "checking for $ac_word... " >&6; }
16867
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
17661
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
16868
17662
  $as_echo_n "(cached) " >&6
16869
17663
else
16870
17664
  case $INTLTOOL_PERL in
16948
17742
  case $host in
16949
17743
    *-*-solaris*)
16950
17744
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16951
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
17745
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16952
17746
  DATADIRNAME=share
16953
17747
else
16954
17748
  DATADIRNAME=lib
16979
17773
   for ac_header in locale.h
16980
17774
do :
16981
17775
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
16982
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
17776
if test "x$ac_cv_header_locale_h" = xyes; then :
16983
17777
  cat >>confdefs.h <<_ACEOF
16984
17778
#define HAVE_LOCALE_H 1
16985
17779
_ACEOF
16991
17785
    if test $ac_cv_header_locale_h = yes; then
16992
17786
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
16993
17787
$as_echo_n "checking for LC_MESSAGES... " >&6; }
16994
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
17788
if ${am_cv_val_LC_MESSAGES+:} false; then :
16995
17789
  $as_echo_n "(cached) " >&6
16996
17790
else
16997
17791
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031
17825
    INTLLIBS=
17032
17826
 
17033
17827
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
17034
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
17828
if test "x$ac_cv_header_libintl_h" = xyes; then :
17035
17829
  gt_cv_func_dgettext_libintl="no"
17036
17830
      libintl_extra_libs=""
17037
17831
 
17040
17834
      #
17041
17835
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
17042
17836
$as_echo_n "checking for ngettext in libc... " >&6; }
17043
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
17837
if ${gt_cv_func_ngettext_libc+:} false; then :
17044
17838
  $as_echo_n "(cached) " >&6
17045
17839
else
17046
17840
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071
17865
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
17072
17866
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
17073
17867
$as_echo_n "checking for dgettext in libc... " >&6; }
17074
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
17868
if ${gt_cv_func_dgettext_libc+:} false; then :
17075
17869
  $as_echo_n "(cached) " >&6
17076
17870
else
17077
17871
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104
17898
        for ac_func in bind_textdomain_codeset
17105
17899
do :
17106
17900
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17107
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
17901
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17108
17902
  cat >>confdefs.h <<_ACEOF
17109
17903
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17110
17904
_ACEOF
17123
17917
 
17124
17918
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
17125
17919
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
17126
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
17920
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
17127
17921
  $as_echo_n "(cached) " >&6
17128
17922
else
17129
17923
  ac_check_lib_save_LIBS=$LIBS
17157
17951
fi
17158
17952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
17159
17953
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
17160
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
17954
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
17161
17955
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17162
17956
$as_echo_n "checking for ngettext in -lintl... " >&6; }
17163
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
17957
if ${ac_cv_lib_intl_ngettext+:} false; then :
17164
17958
  $as_echo_n "(cached) " >&6
17165
17959
else
17166
17960
  ac_check_lib_save_LIBS=$LIBS
17194
17988
fi
17195
17989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17196
17990
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17197
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
17991
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17198
17992
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
17199
17993
$as_echo_n "checking for dgettext in -lintl... " >&6; }
17200
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
17994
if ${ac_cv_lib_intl_dgettext+:} false; then :
17201
17995
  $as_echo_n "(cached) " >&6
17202
17996
else
17203
17997
  ac_check_lib_save_LIBS=$LIBS
17231
18025
fi
17232
18026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
17233
18027
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
17234
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
18028
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
17235
18029
  gt_cv_func_dgettext_libintl=yes
17236
18030
fi
17237
18031
 
17247
18041
$as_echo "" >&6; }
17248
18042
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17249
18043
$as_echo_n "checking for ngettext in -lintl... " >&6; }
17250
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
18044
if ${ac_cv_lib_intl_ngettext+:} false; then :
17251
18045
  $as_echo_n "(cached) " >&6
17252
18046
else
17253
18047
  ac_check_lib_save_LIBS=$LIBS
17281
18075
fi
17282
18076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17283
18077
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17284
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
18078
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17285
18079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
17286
18080
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
17287
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
18081
if ${ac_cv_lib_intl_dcgettext+:} false; then :
17288
18082
  $as_echo_n "(cached) " >&6
17289
18083
else
17290
18084
  ac_check_lib_save_LIBS=$LIBS
17318
18112
fi
17319
18113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
17320
18114
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
17321
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
18115
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
17322
18116
  gt_cv_func_dgettext_libintl=yes
17323
18117
                        libintl_extra_libs=-liconv
17324
18118
else
17343
18137
          for ac_func in bind_textdomain_codeset
17344
18138
do :
17345
18139
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17346
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
18140
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17347
18141
  cat >>confdefs.h <<_ACEOF
17348
18142
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17349
18143
_ACEOF
17381
18175
set dummy msgfmt; ac_word=$2
17382
18176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17383
18177
$as_echo_n "checking for $ac_word... " >&6; }
17384
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
18178
if ${ac_cv_path_MSGFMT+:} false; then :
17385
18179
  $as_echo_n "(cached) " >&6
17386
18180
else
17387
18181
  case "$MSGFMT" in
17418
18212
          for ac_func in dcgettext
17419
18213
do :
17420
18214
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
17421
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
18215
if test "x$ac_cv_func_dcgettext" = xyes; then :
17422
18216
  cat >>confdefs.h <<_ACEOF
17423
18217
#define HAVE_DCGETTEXT 1
17424
18218
_ACEOF
17459
18253
set dummy gmsgfmt; ac_word=$2
17460
18254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17461
18255
$as_echo_n "checking for $ac_word... " >&6; }
17462
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
18256
if ${ac_cv_path_GMSGFMT+:} false; then :
17463
18257
  $as_echo_n "(cached) " >&6
17464
18258
else
17465
18259
  case $GMSGFMT in
17500
18294
set dummy xgettext; ac_word=$2
17501
18295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17502
18296
$as_echo_n "checking for $ac_word... " >&6; }
17503
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
18297
if ${ac_cv_path_XGETTEXT+:} false; then :
17504
18298
  $as_echo_n "(cached) " >&6
17505
18299
else
17506
18300
  case "$XGETTEXT" in
17551
18345
  case $host in
17552
18346
            *-*-solaris*)
17553
18347
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17554
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
18348
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17555
18349
  CATOBJEXT=.gmo
17556
18350
               DATADIRNAME=share
17557
18351
else
17701
18495
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17702
18496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17703
18497
$as_echo_n "checking for $ac_word... " >&6; }
17704
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
18498
if ${ac_cv_path_PKG_CONFIG+:} false; then :
17705
18499
  $as_echo_n "(cached) " >&6
17706
18500
else
17707
18501
  case $PKG_CONFIG in
17744
18538
set dummy pkg-config; ac_word=$2
17745
18539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17746
18540
$as_echo_n "checking for $ac_word... " >&6; }
17747
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
18541
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17748
18542
  $as_echo_n "(cached) " >&6
17749
18543
else
17750
18544
  case $ac_pt_PKG_CONFIG in
17817
18611
            case "${enableval}" in
17818
18612
                yes) x11=yes ;;
17819
18613
                no) x11=no ;;
17820
 
                *) as_fn_error $? "bad value ${enableval} for --disable-x11" "$LINENO" 5  ;;
 
18614
                *) as_fn_error $? "bad value ${enableval} for --disable-x11" "$LINENO" 5 ;;
17821
18615
            esac
17822
18616
 
17823
18617
else
17941
18735
if test "x${with_caps}" != "xno"; then
17942
18736
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cap_init" >&5
17943
18737
$as_echo_n "checking for library containing cap_init... " >&6; }
17944
 
if test "${ac_cv_search_cap_init+set}" = set; then :
 
18738
if ${ac_cv_search_cap_init+:} false; then :
17945
18739
  $as_echo_n "(cached) " >&6
17946
18740
else
17947
18741
  ac_func_search_save_LIBS=$LIBS
17975
18769
fi
17976
18770
rm -f core conftest.err conftest.$ac_objext \
17977
18771
    conftest$ac_exeext
17978
 
  if test "${ac_cv_search_cap_init+set}" = set; then :
 
18772
  if ${ac_cv_search_cap_init+:} false; then :
17979
18773
  break
17980
18774
fi
17981
18775
done
17982
 
if test "${ac_cv_search_cap_init+set}" = set; then :
 
18776
if ${ac_cv_search_cap_init+:} false; then :
17983
18777
 
17984
18778
else
17985
18779
  ac_cv_search_cap_init=no
18003
18797
    for ac_header in sys/capability.h
18004
18798
do :
18005
18799
  ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
18006
 
if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
 
18800
if test "x$ac_cv_header_sys_capability_h" = xyes; then :
18007
18801
  cat >>confdefs.h <<_ACEOF
18008
18802
#define HAVE_SYS_CAPABILITY_H 1
18009
18803
_ACEOF
18094
18888
Alternatively, you may set the environment variables LIBSNDFILE_CFLAGS
18095
18889
and LIBSNDFILE_LIBS to avoid the need to call pkg-config.
18096
18890
See the pkg-config man page for more details." "$LINENO" 5
 
18891
 
18097
18892
elif test $pkg_failed = untried; then
18098
18893
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18099
18894
$as_echo "no" >&6; }
18108
18903
See the pkg-config man page for more details.
18109
18904
 
18110
18905
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18111
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
18906
See \`config.log' for more details" "$LINENO" 5; }
 
18907
 
18112
18908
else
18113
18909
        LIBSNDFILE_CFLAGS=$pkg_cv_LIBSNDFILE_CFLAGS
18114
18910
        LIBSNDFILE_LIBS=$pkg_cv_LIBSNDFILE_LIBS
18186
18982
Alternatively, you may set the environment variables LIBSPEEX_CFLAGS
18187
18983
and LIBSPEEX_LIBS to avoid the need to call pkg-config.
18188
18984
See the pkg-config man page for more details." "$LINENO" 5
 
18985
 
18189
18986
elif test $pkg_failed = untried; then
18190
18987
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18191
18988
$as_echo "no" >&6; }
18200
18997
See the pkg-config man page for more details.
18201
18998
 
18202
18999
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18203
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
19000
See \`config.log' for more details" "$LINENO" 5; }
 
19001
 
18204
19002
else
18205
19003
        LIBSPEEX_CFLAGS=$pkg_cv_LIBSPEEX_CFLAGS
18206
19004
        LIBSPEEX_LIBS=$pkg_cv_LIBSPEEX_LIBS
18221
19019
   for ac_header in atomic_ops.h
18222
19020
do :
18223
19021
  ac_fn_c_check_header_mongrel "$LINENO" "atomic_ops.h" "ac_cv_header_atomic_ops_h" "$ac_includes_default"
18224
 
if test "x$ac_cv_header_atomic_ops_h" = x""yes; then :
 
19022
if test "x$ac_cv_header_atomic_ops_h" = xyes; then :
18225
19023
  cat >>confdefs.h <<_ACEOF
18226
19024
#define HAVE_ATOMIC_OPS_H 1
18227
19025
_ACEOF
18252
19050
            case "${enableval}" in
18253
19051
                yes) samplerate=yes ;;
18254
19052
                no) samplerate=no ;;
18255
 
                *) as_fn_error $? "bad value ${enableval} for --disable-samplerate" "$LINENO" 5  ;;
 
19053
                *) as_fn_error $? "bad value ${enableval} for --disable-samplerate" "$LINENO" 5 ;;
18256
19054
            esac
18257
19055
 
18258
19056
else
18465
19263
 
18466
19264
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
18467
19265
$as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
18468
 
if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then :
 
19266
if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
18469
19267
  $as_echo_n "(cached) " >&6
18470
19268
else
18471
19269
  ac_check_lib_save_LIBS=$LIBS
18499
19297
fi
18500
19298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
18501
19299
$as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
18502
 
if test "x$ac_cv_lib_gdbm_gdbm_open" = x""yes; then :
 
19300
if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
18503
19301
  cat >>confdefs.h <<_ACEOF
18504
19302
#define HAVE_LIBGDBM 1
18505
19303
_ACEOF
18513
19311
   for ac_header in gdbm.h
18514
19312
do :
18515
19313
  ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
18516
 
if test "x$ac_cv_header_gdbm_h" = x""yes; then :
 
19314
if test "x$ac_cv_header_gdbm_h" = xyes; then :
18517
19315
  cat >>confdefs.h <<_ACEOF
18518
19316
#define HAVE_GDBM_H 1
18519
19317
_ACEOF
18604
19402
            case "${enableval}" in
18605
19403
                yes) oss_output=yes ;;
18606
19404
                no) oss_output=no ;;
18607
 
                *) as_fn_error $? "bad value ${enableval} for --disable-oss-output" "$LINENO" 5  ;;
 
19405
                *) as_fn_error $? "bad value ${enableval} for --disable-oss-output" "$LINENO" 5 ;;
18608
19406
            esac
18609
19407
 
18610
19408
else
18618
19416
            case "${enableval}" in
18619
19417
                yes) oss_wrapper=yes ;;
18620
19418
                no) oss_wrapper=no ;;
18621
 
                *) as_fn_error $? "bad value ${enableval} for --disable-oss-wrapper" "$LINENO" 5  ;;
 
19419
                *) as_fn_error $? "bad value ${enableval} for --disable-oss-wrapper" "$LINENO" 5 ;;
18622
19420
            esac
18623
19421
 
18624
19422
else
18630
19428
    for ac_header in sys/soundcard.h
18631
19429
do :
18632
19430
  ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18633
 
if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then :
 
19431
if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
18634
19432
  cat >>confdefs.h <<_ACEOF
18635
19433
#define HAVE_SYS_SOUNDCARD_H 1
18636
19434
_ACEOF
18688
19486
            case "${enableval}" in
18689
19487
                yes) alsa=yes ;;
18690
19488
                no) alsa=no ;;
18691
 
                *) as_fn_error $? "bad value ${enableval} for --disable-alsa" "$LINENO" 5  ;;
 
19489
                *) as_fn_error $? "bad value ${enableval} for --disable-alsa" "$LINENO" 5 ;;
18692
19490
            esac
18693
19491
 
18694
19492
else
18805
19603
            case "${enableval}" in
18806
19604
                yes) solaris=yes ;;
18807
19605
                no) solaris=no ;;
18808
 
                *) as_fn_error $? "bad value ${enableval} for --disable-solaris" "$LINENO" 5  ;;
 
19606
                *) as_fn_error $? "bad value ${enableval} for --disable-solaris" "$LINENO" 5 ;;
18809
19607
            esac
18810
19608
 
18811
19609
else
18817
19615
    for ac_header in sys/audio.h
18818
19616
do :
18819
19617
  ac_fn_c_check_header_mongrel "$LINENO" "sys/audio.h" "ac_cv_header_sys_audio_h" "$ac_includes_default"
18820
 
if test "x$ac_cv_header_sys_audio_h" = x""yes; then :
 
19618
if test "x$ac_cv_header_sys_audio_h" = xyes; then :
18821
19619
  cat >>confdefs.h <<_ACEOF
18822
19620
#define HAVE_SYS_AUDIO_H 1
18823
19621
_ACEOF
18860
19658
            case "${enableval}" in
18861
19659
                yes) glib2=yes ;;
18862
19660
                no) glib2=no ;;
18863
 
                *) as_fn_error $? "bad value ${enableval} for --disable-glib2" "$LINENO" 5  ;;
 
19661
                *) as_fn_error $? "bad value ${enableval} for --disable-glib2" "$LINENO" 5 ;;
18864
19662
            esac
18865
19663
 
18866
19664
else
18978
19776
            case "${enableval}" in
18979
19777
                yes) gtk2=yes ;;
18980
19778
                no) gtk2=no ;;
18981
 
                *) as_fn_error $? "bad value ${enableval} for --disable-gtk2" "$LINENO" 5  ;;
 
19779
                *) as_fn_error $? "bad value ${enableval} for --disable-gtk2" "$LINENO" 5 ;;
18982
19780
            esac
18983
19781
 
18984
19782
else
19096
19894
            case "${enableval}" in
19097
19895
                yes) gconf=yes ;;
19098
19896
                no) gconf=no ;;
19099
 
                *) as_fn_error $? "bad value ${enableval} for --disable-gconf" "$LINENO" 5  ;;
 
19897
                *) as_fn_error $? "bad value ${enableval} for --disable-gconf" "$LINENO" 5 ;;
19100
19898
            esac
19101
19899
 
19102
19900
else
19208
20006
            case "${enableval}" in
19209
20007
                yes) avahi=yes ;;
19210
20008
                no) avahi=no ;;
19211
 
                *) as_fn_error $? "bad value ${enableval} for --disable-avahi" "$LINENO" 5  ;;
 
20009
                *) as_fn_error $? "bad value ${enableval} for --disable-avahi" "$LINENO" 5 ;;
19212
20010
            esac
19213
20011
 
19214
20012
else
19320
20118
            case "${enableval}" in
19321
20119
                yes) jack=yes ;;
19322
20120
                no) jack=no ;;
19323
 
                *) as_fn_error $? "bad value ${enableval} for --disable-jack" "$LINENO" 5  ;;
 
20121
                *) as_fn_error $? "bad value ${enableval} for --disable-jack" "$LINENO" 5 ;;
19324
20122
            esac
19325
20123
 
19326
20124
else
19432
20230
            case "${enableval}" in
19433
20231
                yes) asyncns=yes ;;
19434
20232
                no) asyncns=no ;;
19435
 
                *) as_fn_error $? "bad value ${enableval} for --disable-asyncns" "$LINENO" 5  ;;
 
20233
                *) as_fn_error $? "bad value ${enableval} for --disable-asyncns" "$LINENO" 5 ;;
19436
20234
            esac
19437
20235
 
19438
20236
else
19550
20348
            case "${enableval}" in
19551
20349
                yes) tcpwrap=yes ;;
19552
20350
                no) tcpwrap=no ;;
19553
 
                *) as_fn_error $? "bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5  ;;
 
20351
                *) as_fn_error $? "bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;;
19554
20352
            esac
19555
20353
 
19556
20354
else
19612
20410
            case "${enableval}" in
19613
20411
                yes) lirc=yes ;;
19614
20412
                no) lirc=no ;;
19615
 
                *) as_fn_error $? "bad value ${enableval} for --disable-lirc" "$LINENO" 5  ;;
 
20413
                *) as_fn_error $? "bad value ${enableval} for --disable-lirc" "$LINENO" 5 ;;
19616
20414
            esac
19617
20415
 
19618
20416
else
19625
20423
LIRC_CFLAGS=
19626
20424
LIRC_LIBS=
19627
20425
ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
19628
 
if test "x$ac_cv_header_lirc_lirc_client_h" = x""yes; then :
 
20426
if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
19629
20427
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
19630
20428
$as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
19631
 
if test "${ac_cv_lib_lirc_client_lirc_init+set}" = set; then :
 
20429
if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
19632
20430
  $as_echo_n "(cached) " >&6
19633
20431
else
19634
20432
  ac_check_lib_save_LIBS=$LIBS
19662
20460
fi
19663
20461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
19664
20462
$as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
19665
 
if test "x$ac_cv_lib_lirc_client_lirc_init" = x""yes; then :
 
20463
if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
19666
20464
  HAVE_LIRC=1
19667
20465
LIRC_LIBS=-llirc_client
19668
20466
else
19701
20499
            case "${enableval}" in
19702
20500
                yes) hal=yes ;;
19703
20501
                no) hal=no ;;
19704
 
                *) as_fn_error $? "bad value ${enableval} for --disable-hal" "$LINENO" 5  ;;
 
20502
                *) as_fn_error $? "bad value ${enableval} for --disable-hal" "$LINENO" 5 ;;
19705
20503
            esac
19706
20504
 
19707
20505
else
19817
20615
            case "${enableval}" in
19818
20616
                yes) udev=yes ;;
19819
20617
                no) udev=no ;;
19820
 
                *) as_fn_error $? "bad value ${enableval} for --disable-udev" "$LINENO" 5  ;;
 
20618
                *) as_fn_error $? "bad value ${enableval} for --disable-udev" "$LINENO" 5 ;;
19821
20619
            esac
19822
20620
 
19823
20621
else
19933
20731
            case "${enableval}" in
19934
20732
                yes) bluez=yes ;;
19935
20733
                no) bluez=no ;;
19936
 
                *) as_fn_error $? "bad value ${enableval} for --disable-bluez" "$LINENO" 5  ;;
 
20734
                *) as_fn_error $? "bad value ${enableval} for --disable-bluez" "$LINENO" 5 ;;
19937
20735
            esac
19938
20736
 
19939
20737
else
20044
20842
            case "${enableval}" in
20045
20843
                yes) dbus=yes ;;
20046
20844
                no) dbus=no ;;
20047
 
                *) as_fn_error $? "bad value ${enableval} for --disable-dbus" "$LINENO" 5  ;;
 
20845
                *) as_fn_error $? "bad value ${enableval} for --disable-dbus" "$LINENO" 5 ;;
20048
20846
            esac
20049
20847
 
20050
20848
else
20138
20936
            for ac_func in dbus_watch_get_unix_fd
20139
20937
do :
20140
20938
  ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
20141
 
if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then :
 
20939
if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes; then :
20142
20940
  cat >>confdefs.h <<_ACEOF
20143
20941
#define HAVE_DBUS_WATCH_GET_UNIX_FD 1
20144
20942
_ACEOF
20191
20989
            case "${enableval}" in
20192
20990
                yes) halcompat=yes ;;
20193
20991
                no) halcompat=no ;;
20194
 
                *) as_fn_error $? "bad value ${enableval} for --disable-hal-compat" "$LINENO" 5  ;;
 
20992
                *) as_fn_error $? "bad value ${enableval} for --disable-hal-compat" "$LINENO" 5 ;;
20195
20993
            esac
20196
20994
 
20197
20995
else
20225
21023
            case "${enableval}" in
20226
21024
                yes) ipv6=yes ;;
20227
21025
                no) ipv6=no ;;
20228
 
                *) as_fn_error $? "bad value ${enableval} for --disable-ipv6" "$LINENO" 5  ;;
 
21026
                *) as_fn_error $? "bad value ${enableval} for --disable-ipv6" "$LINENO" 5 ;;
20229
21027
            esac
20230
21028
 
20231
21029
else
20250
21048
            case "${enableval}" in
20251
21049
                yes) openssl=yes ;;
20252
21050
                no) openssl=no ;;
20253
 
                *) as_fn_error $? "bad value ${enableval} for --disable-openssl" "$LINENO" 5  ;;
 
21051
                *) as_fn_error $? "bad value ${enableval} for --disable-openssl" "$LINENO" 5 ;;
20254
21052
            esac
20255
21053
 
20256
21054
else
20366
21164
  enableval=$enable_manpages; case "${enableval}" in
20367
21165
  yes) manpages=yes ;;
20368
21166
  no)  manpages=no ;;
20369
 
  *) as_fn_error $? "bad value ${enableval} for --disable-manpages" "$LINENO" 5  ;;
 
21167
  *) as_fn_error $? "bad value ${enableval} for --disable-manpages" "$LINENO" 5 ;;
20370
21168
esac
20371
21169
else
20372
21170
  manpages=yes
20444
21242
            case "${enableval}" in
20445
21243
                yes) per_user_esound_socket=1 ;;
20446
21244
                no) per_user_esound_socket=0 ;;
20447
 
                *) as_fn_error $? "bad value ${enableval} for --disable-per-user-esound-socket" "$LINENO" 5  ;;
 
21245
                *) as_fn_error $? "bad value ${enableval} for --disable-per-user-esound-socket" "$LINENO" 5 ;;
20448
21246
            esac
20449
21247
 
20450
21248
else
20560
21358
fi
20561
21359
 
20562
21360
 
20563
 
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile libpulse.pc libpulse-simple.pc libpulse-browse.pc libpulse-mainloop-glib.pc doxygen/Makefile doxygen/doxygen.conf src/pulse/version.h po/Makefile.in src/daemon/Makefile src/modules/Makefile src/modules/alsa/Makefile src/modules/alsa/mixer/Makefile src/modules/alsa/mixer/paths/Makefile src/modules/alsa/mixer/profile-sets/Makefile src/modules/bluetooth/Makefile src/modules/gconf/Makefile src/modules/jack/Makefile src/modules/oss/Makefile src/modules/raop/Makefile src/modules/rtp/Makefile src/modules/x11/Makefile src/pulse/Makefile src/pulsecore/Makefile src/pulsecore/ffmpeg/Makefile src/tests/Makefile src/utils/Makefile"
 
21361
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile libpulse.pc libpulse-simple.pc libpulse-browse.pc libpulse-mainloop-glib.pc doxygen/Makefile doxygen/doxygen.conf src/pulse/version.h po/Makefile.in src/daemon/Makefile src/modules/Makefile src/modules/alsa/Makefile src/modules/alsa/mixer/Makefile src/modules/alsa/mixer/paths/Makefile src/modules/alsa/mixer/profile-sets/Makefile src/modules/bluetooth/Makefile src/modules/echo-cancel/Makefile src/modules/gconf/Makefile src/modules/jack/Makefile src/modules/oss/Makefile src/modules/raop/Makefile src/modules/rtp/Makefile src/modules/x11/Makefile src/pulse/Makefile src/pulsecore/Makefile src/pulsecore/ffmpeg/Makefile src/tests/Makefile src/utils/Makefile"
20564
21362
 
20565
21363
 
20566
21364
cat >confcache <<\_ACEOF
20627
21425
     :end' >>confcache
20628
21426
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20629
21427
  if test -w "$cache_file"; then
20630
 
    test "x$cache_file" != "x/dev/null" &&
 
21428
    if test "x$cache_file" != "x/dev/null"; then
20631
21429
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20632
21430
$as_echo "$as_me: updating cache $cache_file" >&6;}
20633
 
    cat confcache >$cache_file
 
21431
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
21432
        cat confcache >"$cache_file"
 
21433
      else
 
21434
        case $cache_file in #(
 
21435
        */* | ?:*)
 
21436
          mv -f confcache "$cache_file"$$ &&
 
21437
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
21438
        *)
 
21439
          mv -f confcache "$cache_file" ;;
 
21440
        esac
 
21441
      fi
 
21442
    fi
20634
21443
  else
20635
21444
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20636
21445
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20815
21624
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20816
21625
fi
20817
21626
 
20818
 
: ${CONFIG_STATUS=./config.status}
 
21627
: "${CONFIG_STATUS=./config.status}"
20819
21628
ac_write_fail=0
20820
21629
ac_clean_files_save=$ac_clean_files
20821
21630
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20916
21725
IFS=" ""        $as_nl"
20917
21726
 
20918
21727
# Find who we are.  Look in the path if we contain no directory separator.
 
21728
as_myself=
20919
21729
case $0 in #((
20920
21730
  *[\\/]* ) as_myself=$0 ;;
20921
21731
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21222
22032
# report actual input values of CONFIG_FILES etc. instead of their
21223
22033
# values after options handling.
21224
22034
ac_log="
21225
 
This file was extended by pulseaudio $as_me 0.9.22-69-gf8e8, which was
21226
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
22035
This file was extended by pulseaudio $as_me 0.9.23, which was
 
22036
generated by GNU Autoconf 2.68.  Invocation command line was
21227
22037
 
21228
22038
  CONFIG_FILES    = $CONFIG_FILES
21229
22039
  CONFIG_HEADERS  = $CONFIG_HEADERS
21247
22057
 
21248
22058
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21249
22059
# Files that config.status was made for.
21250
 
config_files="$ac_config_files"
21251
 
config_headers="$ac_config_headers"
21252
 
config_commands="$ac_config_commands"
 
22060
config_files="`echo $ac_config_files`"
 
22061
config_headers="`echo $ac_config_headers`"
 
22062
config_commands="`echo $ac_config_commands`"
21253
22063
 
21254
22064
_ACEOF
21255
22065
 
21288
22098
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21289
22099
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21290
22100
ac_cs_version="\\
21291
 
pulseaudio config.status 0.9.22-69-gf8e8
21292
 
configured by $0, generated by GNU Autoconf 2.67,
 
22101
pulseaudio config.status 0.9.23
 
22102
configured by $0, generated by GNU Autoconf 2.68,
21293
22103
  with options \\"\$ac_cs_config\\"
21294
22104
 
21295
22105
Copyright (C) 2010 Free Software Foundation, Inc.
21417
22227
sed_quote_subst='$sed_quote_subst'
21418
22228
double_quote_subst='$double_quote_subst'
21419
22229
delay_variable_subst='$delay_variable_subst'
21420
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21421
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21422
 
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
21423
 
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21424
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
21425
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21426
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21427
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21428
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21429
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21430
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21431
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21432
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21433
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21434
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21435
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21436
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21437
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21438
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21439
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21440
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21441
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21442
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21443
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21444
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21445
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21446
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21447
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21448
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21449
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21450
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21451
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21452
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21453
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21454
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21455
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21456
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21457
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21458
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21459
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21460
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21461
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21462
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21463
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21464
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21465
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21466
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
21467
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21468
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21469
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21470
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21471
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21472
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21473
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21474
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21475
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21476
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21477
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21478
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
21479
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
21480
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
21481
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21482
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
21483
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21484
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21485
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21486
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21487
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21488
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21489
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21490
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21491
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21492
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21493
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21494
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21495
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21496
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21497
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21498
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21499
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21500
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21501
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21502
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21503
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21504
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21505
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21506
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21507
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21508
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21509
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21510
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21511
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21512
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21513
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21514
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21515
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21516
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21517
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21518
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21519
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21520
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21521
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21522
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21523
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21524
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21525
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21526
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21527
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21528
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21529
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21530
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21531
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21532
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21533
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21534
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21535
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21536
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21537
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21538
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21539
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
22230
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
22231
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
22232
AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
 
22233
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
22234
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
22235
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
22236
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
22237
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
22238
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
22239
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
22240
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
22241
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
22242
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
22243
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
22244
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
22245
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
22246
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
22247
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
22248
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
22249
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
22250
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
22251
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
22252
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
22253
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
22254
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
22255
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
22256
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
22257
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
22258
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
22259
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
22260
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
22261
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
22262
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
22263
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
22264
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
22265
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
22266
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
22267
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
22268
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
22269
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
22270
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
22271
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
22272
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
22273
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
22274
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
22275
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22276
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22277
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
22278
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
22279
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
22280
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
22281
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
22282
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
22283
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
22284
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
22285
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
22286
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
22287
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
22288
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
22289
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
22290
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
22291
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
22292
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
22293
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
22294
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
22295
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
22296
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
22297
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
22298
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
22299
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
22300
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
22301
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
22302
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
22303
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
22304
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
22305
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
22306
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
22307
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
22308
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
22309
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
22310
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
22311
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
22312
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
22313
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
22314
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
22315
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
22316
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
22317
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
22318
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
22319
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
22320
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
22321
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
22322
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
22323
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
22324
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
22325
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
22326
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
22327
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
22328
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
22329
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
22330
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
22331
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
22332
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
22333
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
22334
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
22335
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
22336
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
22337
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
22338
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
22339
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
22340
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
22341
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
22342
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
22343
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
22344
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
22345
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
22346
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
22347
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
22348
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22349
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22350
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
22351
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
22352
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
22353
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
22354
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
22355
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
22356
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
22357
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
22358
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
22359
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
22360
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21540
22361
 
21541
22362
LTCC='$LTCC'
21542
22363
LTCFLAGS='$LTCFLAGS'
21543
22364
compiler='$compiler_DEFAULT'
21544
22365
 
 
22366
# A function that is used when there is no print builtin or printf.
 
22367
func_fallback_echo ()
 
22368
{
 
22369
  eval 'cat <<_LTECHO_EOF
 
22370
\$1
 
22371
_LTECHO_EOF'
 
22372
}
 
22373
 
21545
22374
# Quote evaled strings.
21546
 
for var in SED \
 
22375
for var in AS \
 
22376
DLLTOOL \
 
22377
OBJDUMP \
 
22378
SHELL \
 
22379
ECHO \
 
22380
SED \
21547
22381
GREP \
21548
22382
EGREP \
21549
22383
FGREP \
21555
22389
reload_flag \
21556
22390
deplibs_check_method \
21557
22391
file_magic_cmd \
 
22392
file_magic_glob \
 
22393
want_nocaseglob \
 
22394
sharedlib_from_linklib_cmd \
21558
22395
AR \
21559
22396
AR_FLAGS \
 
22397
archiver_list_spec \
21560
22398
STRIP \
21561
22399
RANLIB \
21562
22400
CC \
21566
22404
lt_cv_sys_global_symbol_to_cdecl \
21567
22405
lt_cv_sys_global_symbol_to_c_name_address \
21568
22406
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21569
 
SHELL \
21570
 
ECHO \
 
22407
nm_file_list_spec \
21571
22408
lt_prog_compiler_no_builtin_flag \
 
22409
lt_prog_compiler_pic \
21572
22410
lt_prog_compiler_wl \
21573
 
lt_prog_compiler_pic \
21574
22411
lt_prog_compiler_static \
21575
22412
lt_cv_prog_compiler_c_o \
21576
22413
need_locks \
 
22414
MANIFEST_TOOL \
21577
22415
DSYMUTIL \
21578
22416
NMEDIT \
21579
22417
LIPO \
21589
22427
hardcode_libdir_flag_spec \
21590
22428
hardcode_libdir_flag_spec_ld \
21591
22429
hardcode_libdir_separator \
21592
 
fix_srcfile_path \
21593
22430
exclude_expsyms \
21594
22431
include_expsyms \
21595
22432
file_list_spec \
21597
22434
libname_spec \
21598
22435
library_names_spec \
21599
22436
soname_spec \
 
22437
install_override_mode \
21600
22438
finish_eval \
21601
22439
old_striplib \
21602
22440
striplib; do
21603
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
22441
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21604
22442
    *[\\\\\\\`\\"\\\$]*)
21605
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
22443
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21606
22444
      ;;
21607
22445
    *)
21608
22446
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21624
22462
module_expsym_cmds \
21625
22463
export_symbols_cmds \
21626
22464
prelink_cmds \
 
22465
postlink_cmds \
21627
22466
postinstall_cmds \
21628
22467
postuninstall_cmds \
21629
22468
finish_cmds \
21630
22469
sys_lib_search_path_spec \
21631
22470
sys_lib_dlsearch_path_spec; do
21632
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
22471
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21633
22472
    *[\\\\\\\`\\"\\\$]*)
21634
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
22473
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21635
22474
      ;;
21636
22475
    *)
21637
22476
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21639
22478
    esac
21640
22479
done
21641
22480
 
21642
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
21643
 
case \$lt_ECHO in
21644
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
21645
 
  ;;
21646
 
esac
21647
 
 
21648
22481
ac_aux_dir='$ac_aux_dir'
21649
22482
xsi_shell='$xsi_shell'
21650
22483
lt_shell_append='$lt_shell_append'
21696
22529
    "src/modules/alsa/mixer/paths/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa/mixer/paths/Makefile" ;;
21697
22530
    "src/modules/alsa/mixer/profile-sets/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa/mixer/profile-sets/Makefile" ;;
21698
22531
    "src/modules/bluetooth/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/bluetooth/Makefile" ;;
 
22532
    "src/modules/echo-cancel/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/echo-cancel/Makefile" ;;
21699
22533
    "src/modules/gconf/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/gconf/Makefile" ;;
21700
22534
    "src/modules/jack/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/jack/Makefile" ;;
21701
22535
    "src/modules/oss/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/oss/Makefile" ;;
21709
22543
    "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
21710
22544
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
21711
22545
 
21712
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
22546
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21713
22547
  esac
21714
22548
done
21715
22549
 
21732
22566
# after its creation but before its name has been assigned to `$tmp'.
21733
22567
$debug ||
21734
22568
{
21735
 
  tmp=
 
22569
  tmp= ac_tmp=
21736
22570
  trap 'exit_status=$?
21737
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
22571
  : "${ac_tmp:=$tmp}"
 
22572
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21738
22573
' 0
21739
22574
  trap 'as_fn_exit 1' 1 2 13 15
21740
22575
}
21742
22577
 
21743
22578
{
21744
22579
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21745
 
  test -n "$tmp" && test -d "$tmp"
 
22580
  test -d "$tmp"
21746
22581
}  ||
21747
22582
{
21748
22583
  tmp=./conf$$-$RANDOM
21749
22584
  (umask 077 && mkdir "$tmp")
21750
22585
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
22586
ac_tmp=$tmp
21751
22587
 
21752
22588
# Set up the scripts for CONFIG_FILES section.
21753
22589
# No need to generate them if there are no CONFIG_FILES.
21769
22605
  ac_cs_awk_cr=$ac_cr
21770
22606
fi
21771
22607
 
21772
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
22608
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21773
22609
_ACEOF
21774
22610
 
21775
22611
 
21797
22633
rm -f conf$$subs.sh
21798
22634
 
21799
22635
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21800
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
22636
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21801
22637
_ACEOF
21802
22638
sed -n '
21803
22639
h
21845
22681
rm -f conf$$subs.awk
21846
22682
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21847
22683
_ACAWK
21848
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
22684
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21849
22685
  for (key in S) S_is_set[key] = 1
21850
22686
  FS = ""
21851
22687
 
21877
22713
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21878
22714
else
21879
22715
  cat
21880
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
22716
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21881
22717
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21882
22718
_ACEOF
21883
22719
 
21911
22747
# No need to generate them if there are no CONFIG_HEADERS.
21912
22748
# This happens for instance with `./config.status Makefile'.
21913
22749
if test -n "$CONFIG_HEADERS"; then
21914
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
22750
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21915
22751
BEGIN {
21916
22752
_ACEOF
21917
22753
 
21923
22759
# handling of long lines.
21924
22760
ac_delim='%!_!# '
21925
22761
for ac_last_try in false false :; do
21926
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
21927
 
  if test -z "$ac_t"; then
 
22762
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
22763
  if test -z "$ac_tt"; then
21928
22764
    break
21929
22765
  elif $ac_last_try; then
21930
22766
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22025
22861
  esac
22026
22862
  case $ac_mode$ac_tag in
22027
22863
  :[FHL]*:*);;
22028
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
22864
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22029
22865
  :[FH]-) ac_tag=-:-;;
22030
22866
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22031
22867
  esac
22044
22880
    for ac_f
22045
22881
    do
22046
22882
      case $ac_f in
22047
 
      -) ac_f="$tmp/stdin";;
 
22883
      -) ac_f="$ac_tmp/stdin";;
22048
22884
      *) # Look for the file first in the build tree, then in the source tree
22049
22885
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
22050
22886
         # because $ac_f cannot contain `:'.
22053
22889
           [\\/$]*) false;;
22054
22890
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22055
22891
           esac ||
22056
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
22892
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22057
22893
      esac
22058
22894
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22059
22895
      as_fn_append ac_file_inputs " '$ac_f'"
22079
22915
    esac
22080
22916
 
22081
22917
    case $ac_tag in
22082
 
    *:-:* | *:-) cat >"$tmp/stdin" \
22083
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
22918
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
22919
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22084
22920
    esac
22085
22921
    ;;
22086
22922
  esac
22216
23052
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22217
23053
$ac_datarootdir_hack
22218
23054
"
22219
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22220
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
23055
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
23056
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22221
23057
 
22222
23058
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22223
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22224
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23059
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
23060
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
23061
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
22225
23062
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22226
23063
which seems to be undefined.  Please make sure it is defined" >&5
22227
23064
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22228
23065
which seems to be undefined.  Please make sure it is defined" >&2;}
22229
23066
 
22230
 
  rm -f "$tmp/stdin"
 
23067
  rm -f "$ac_tmp/stdin"
22231
23068
  case $ac_file in
22232
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
22233
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
23069
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
23070
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22234
23071
  esac \
22235
23072
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22236
23073
 ;;
22241
23078
  if test x"$ac_file" != x-; then
22242
23079
    {
22243
23080
      $as_echo "/* $configure_input  */" \
22244
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22245
 
    } >"$tmp/config.h" \
 
23081
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
23082
    } >"$ac_tmp/config.h" \
22246
23083
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22247
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
23084
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22248
23085
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22249
23086
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22250
23087
    else
22251
23088
      rm -f "$ac_file"
22252
 
      mv "$tmp/config.h" "$ac_file" \
 
23089
      mv "$ac_tmp/config.h" "$ac_file" \
22253
23090
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22254
23091
    fi
22255
23092
  else
22256
23093
    $as_echo "/* $configure_input  */" \
22257
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
23094
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22258
23095
      || as_fn_error $? "could not create -" "$LINENO" 5
22259
23096
  fi
22260
23097
# Compute "$ac_file"'s index in $config_headers.
22416
23253
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
22417
23254
#
22418
23255
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22419
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
23256
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
23257
#                 Inc.
22420
23258
#   Written by Gordon Matzigkeit, 1996
22421
23259
#
22422
23260
#   This file is part of GNU Libtool.
22453
23291
macro_revision=$macro_revision
22454
23292
 
22455
23293
# Assembler program.
22456
 
AS=$AS
 
23294
AS=$lt_AS
22457
23295
 
22458
23296
# DLL creation program.
22459
 
DLLTOOL=$DLLTOOL
 
23297
DLLTOOL=$lt_DLLTOOL
22460
23298
 
22461
23299
# Object dumper program.
22462
 
OBJDUMP=$OBJDUMP
 
23300
OBJDUMP=$lt_OBJDUMP
22463
23301
 
22464
23302
# Whether or not to build static libraries.
22465
23303
build_old_libs=$enable_static
22473
23311
# Whether or not to optimize for fast installation.
22474
23312
fast_install=$enable_fast_install
22475
23313
 
 
23314
# Shell to use when invoking shell scripts.
 
23315
SHELL=$lt_SHELL
 
23316
 
 
23317
# An echo program that protects backslashes.
 
23318
ECHO=$lt_ECHO
 
23319
 
22476
23320
# The host system.
22477
23321
host_alias=$host_alias
22478
23322
host=$host
22522
23366
# turn newlines into spaces.
22523
23367
NL2SP=$lt_lt_NL2SP
22524
23368
 
22525
 
# How to create reloadable object files.
22526
 
reload_flag=$lt_reload_flag
22527
 
reload_cmds=$lt_reload_cmds
 
23369
# convert \$build file names to \$host format.
 
23370
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
23371
 
 
23372
# convert \$build files to toolchain format.
 
23373
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22528
23374
 
22529
23375
# Method to check whether dependent libraries are shared objects.
22530
23376
deplibs_check_method=$lt_deplibs_check_method
22531
23377
 
22532
 
# Command to use when deplibs_check_method == "file_magic".
 
23378
# Command to use when deplibs_check_method = "file_magic".
22533
23379
file_magic_cmd=$lt_file_magic_cmd
22534
23380
 
 
23381
# How to find potential files when deplibs_check_method = "file_magic".
 
23382
file_magic_glob=$lt_file_magic_glob
 
23383
 
 
23384
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
23385
want_nocaseglob=$lt_want_nocaseglob
 
23386
 
 
23387
# Command to associate shared and link libraries.
 
23388
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
23389
 
22535
23390
# The archiver.
22536
23391
AR=$lt_AR
 
23392
 
 
23393
# Flags to create an archive.
22537
23394
AR_FLAGS=$lt_AR_FLAGS
22538
23395
 
 
23396
# How to feed a file listing to the archiver.
 
23397
archiver_list_spec=$lt_archiver_list_spec
 
23398
 
22539
23399
# A symbol stripping program.
22540
23400
STRIP=$lt_STRIP
22541
23401
 
22544
23404
old_postinstall_cmds=$lt_old_postinstall_cmds
22545
23405
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22546
23406
 
 
23407
# Whether to use a lock for old archive extraction.
 
23408
lock_old_archive_extraction=$lock_old_archive_extraction
 
23409
 
22547
23410
# A C compiler.
22548
23411
LTCC=$lt_CC
22549
23412
 
22562
23425
# Transform the output of nm in a C name address pair when lib prefix is needed.
22563
23426
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22564
23427
 
 
23428
# Specify filename containing input files for \$NM.
 
23429
nm_file_list_spec=$lt_nm_file_list_spec
 
23430
 
 
23431
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
23432
lt_sysroot=$lt_sysroot
 
23433
 
22565
23434
# The name of the directory that contains temporary libtool files.
22566
23435
objdir=$objdir
22567
23436
 
22568
 
# Shell to use when invoking shell scripts.
22569
 
SHELL=$lt_SHELL
22570
 
 
22571
 
# An echo program that does not interpret backslashes.
22572
 
ECHO=$lt_ECHO
22573
 
 
22574
23437
# Used to examine libraries when file_magic_cmd begins with "file".
22575
23438
MAGIC_CMD=$MAGIC_CMD
22576
23439
 
22577
23440
# Must we lock files when doing compilation?
22578
23441
need_locks=$lt_need_locks
22579
23442
 
 
23443
# Manifest tool.
 
23444
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
23445
 
22580
23446
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22581
23447
DSYMUTIL=$lt_DSYMUTIL
22582
23448
 
22633
23499
# The coded name of the library, if different from the real name.
22634
23500
soname_spec=$lt_soname_spec
22635
23501
 
 
23502
# Permission mode override for installation of shared libraries.
 
23503
install_override_mode=$lt_install_override_mode
 
23504
 
22636
23505
# Command to use after installation of a shared archive.
22637
23506
postinstall_cmds=$lt_postinstall_cmds
22638
23507
 
22672
23541
# The linker used to build libraries.
22673
23542
LD=$lt_LD
22674
23543
 
 
23544
# How to create reloadable object files.
 
23545
reload_flag=$lt_reload_flag
 
23546
reload_cmds=$lt_reload_cmds
 
23547
 
22675
23548
# Commands used to build an old-style archive.
22676
23549
old_archive_cmds=$lt_old_archive_cmds
22677
23550
 
22684
23557
# Compiler flag to turn off builtin functions.
22685
23558
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22686
23559
 
 
23560
# Additional compiler flags for building library objects.
 
23561
pic_flag=$lt_lt_prog_compiler_pic
 
23562
 
22687
23563
# How to pass a linker flag through the compiler.
22688
23564
wl=$lt_lt_prog_compiler_wl
22689
23565
 
22690
 
# Additional compiler flags for building library objects.
22691
 
pic_flag=$lt_lt_prog_compiler_pic
22692
 
 
22693
23566
# Compiler flag to prevent dynamic linking.
22694
23567
link_static_flag=$lt_lt_prog_compiler_static
22695
23568
 
22776
23649
# Whether libtool must link a program against all its dependency libraries.
22777
23650
link_all_deplibs=$link_all_deplibs
22778
23651
 
22779
 
# Fix the shell variable \$srcfile for the compiler.
22780
 
fix_srcfile_path=$lt_fix_srcfile_path
22781
 
 
22782
23652
# Set to "yes" if exported symbols are required.
22783
23653
always_export_symbols=$always_export_symbols
22784
23654
 
22794
23664
# Commands necessary for linking programs (against libraries) with templates.
22795
23665
prelink_cmds=$lt_prelink_cmds
22796
23666
 
 
23667
# Commands necessary for finishing linking programs.
 
23668
postlink_cmds=$lt_postlink_cmds
 
23669
 
22797
23670
# Specify filename containing input files.
22798
23671
file_list_spec=$lt_file_list_spec
22799
23672
 
22826
23699
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
22827
23700
  # text mode, it properly converts lines to CR/LF.  This bash problem
22828
23701
  # is reportedly fixed, but why not run on old versions too?
22829
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22830
 
    || (rm -f "$cfgfile"; exit 1)
22831
 
 
22832
 
  case $xsi_shell in
22833
 
  yes)
22834
 
    cat << \_LT_EOF >> "$cfgfile"
22835
 
 
22836
 
# func_dirname file append nondir_replacement
22837
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
22838
 
# otherwise set result to NONDIR_REPLACEMENT.
22839
 
func_dirname ()
22840
 
{
22841
 
  case ${1} in
22842
 
    */*) func_dirname_result="${1%/*}${2}" ;;
22843
 
    *  ) func_dirname_result="${3}" ;;
22844
 
  esac
22845
 
}
22846
 
 
22847
 
# func_basename file
22848
 
func_basename ()
22849
 
{
22850
 
  func_basename_result="${1##*/}"
22851
 
}
22852
 
 
22853
 
# func_dirname_and_basename file append nondir_replacement
22854
 
# perform func_basename and func_dirname in a single function
22855
 
# call:
22856
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
22857
 
#             add APPEND to the result, otherwise set result
22858
 
#             to NONDIR_REPLACEMENT.
22859
 
#             value returned in "$func_dirname_result"
22860
 
#   basename: Compute filename of FILE.
22861
 
#             value retuned in "$func_basename_result"
22862
 
# Implementation must be kept synchronized with func_dirname
22863
 
# and func_basename. For efficiency, we do not delegate to
22864
 
# those functions but instead duplicate the functionality here.
22865
 
func_dirname_and_basename ()
22866
 
{
22867
 
  case ${1} in
22868
 
    */*) func_dirname_result="${1%/*}${2}" ;;
22869
 
    *  ) func_dirname_result="${3}" ;;
22870
 
  esac
22871
 
  func_basename_result="${1##*/}"
22872
 
}
22873
 
 
22874
 
# func_stripname prefix suffix name
22875
 
# strip PREFIX and SUFFIX off of NAME.
22876
 
# PREFIX and SUFFIX must not contain globbing or regex special
22877
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
22878
 
# dot (in which case that matches only a dot).
22879
 
func_stripname ()
22880
 
{
22881
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22882
 
  # positional parameters, so assign one to ordinary parameter first.
22883
 
  func_stripname_result=${3}
22884
 
  func_stripname_result=${func_stripname_result#"${1}"}
22885
 
  func_stripname_result=${func_stripname_result%"${2}"}
22886
 
}
22887
 
 
22888
 
# func_opt_split
22889
 
func_opt_split ()
22890
 
{
22891
 
  func_opt_split_opt=${1%%=*}
22892
 
  func_opt_split_arg=${1#*=}
22893
 
}
22894
 
 
22895
 
# func_lo2o object
22896
 
func_lo2o ()
22897
 
{
22898
 
  case ${1} in
22899
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
22900
 
    *)    func_lo2o_result=${1} ;;
22901
 
  esac
22902
 
}
22903
 
 
22904
 
# func_xform libobj-or-source
22905
 
func_xform ()
22906
 
{
22907
 
  func_xform_result=${1%.*}.lo
22908
 
}
22909
 
 
22910
 
# func_arith arithmetic-term...
22911
 
func_arith ()
22912
 
{
22913
 
  func_arith_result=$(( $* ))
22914
 
}
22915
 
 
22916
 
# func_len string
22917
 
# STRING may not start with a hyphen.
22918
 
func_len ()
22919
 
{
22920
 
  func_len_result=${#1}
22921
 
}
22922
 
 
22923
 
_LT_EOF
22924
 
    ;;
22925
 
  *) # Bourne compatible functions.
22926
 
    cat << \_LT_EOF >> "$cfgfile"
22927
 
 
22928
 
# func_dirname file append nondir_replacement
22929
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
22930
 
# otherwise set result to NONDIR_REPLACEMENT.
22931
 
func_dirname ()
22932
 
{
22933
 
  # Extract subdirectory from the argument.
22934
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22935
 
  if test "X$func_dirname_result" = "X${1}"; then
22936
 
    func_dirname_result="${3}"
22937
 
  else
22938
 
    func_dirname_result="$func_dirname_result${2}"
22939
 
  fi
22940
 
}
22941
 
 
22942
 
# func_basename file
22943
 
func_basename ()
22944
 
{
22945
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
22946
 
}
22947
 
 
22948
 
 
22949
 
# func_stripname prefix suffix name
22950
 
# strip PREFIX and SUFFIX off of NAME.
22951
 
# PREFIX and SUFFIX must not contain globbing or regex special
22952
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
22953
 
# dot (in which case that matches only a dot).
22954
 
# func_strip_suffix prefix name
22955
 
func_stripname ()
22956
 
{
22957
 
  case ${2} in
22958
 
    .*) func_stripname_result=`$ECHO "X${3}" \
22959
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22960
 
    *)  func_stripname_result=`$ECHO "X${3}" \
22961
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22962
 
  esac
22963
 
}
22964
 
 
22965
 
# sed scripts:
22966
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
22967
 
my_sed_long_arg='1s/^-[^=]*=//'
22968
 
 
22969
 
# func_opt_split
22970
 
func_opt_split ()
22971
 
{
22972
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22973
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22974
 
}
22975
 
 
22976
 
# func_lo2o object
22977
 
func_lo2o ()
22978
 
{
22979
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22980
 
}
22981
 
 
22982
 
# func_xform libobj-or-source
22983
 
func_xform ()
22984
 
{
22985
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22986
 
}
22987
 
 
22988
 
# func_arith arithmetic-term...
22989
 
func_arith ()
22990
 
{
22991
 
  func_arith_result=`expr "$@"`
22992
 
}
22993
 
 
22994
 
# func_len string
22995
 
# STRING may not start with a hyphen.
22996
 
func_len ()
22997
 
{
22998
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22999
 
}
23000
 
 
23001
 
_LT_EOF
23002
 
esac
23003
 
 
23004
 
case $lt_shell_append in
23005
 
  yes)
23006
 
    cat << \_LT_EOF >> "$cfgfile"
23007
 
 
23008
 
# func_append var value
23009
 
# Append VALUE to the end of shell variable VAR.
23010
 
func_append ()
23011
 
{
23012
 
  eval "$1+=\$2"
23013
 
}
23014
 
_LT_EOF
23015
 
    ;;
23016
 
  *)
23017
 
    cat << \_LT_EOF >> "$cfgfile"
23018
 
 
23019
 
# func_append var value
23020
 
# Append VALUE to the end of shell variable VAR.
23021
 
func_append ()
23022
 
{
23023
 
  eval "$1=\$$1\$2"
23024
 
}
23025
 
 
23026
 
_LT_EOF
23027
 
    ;;
23028
 
  esac
23029
 
 
23030
 
 
23031
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23032
 
    || (rm -f "$cfgfile"; exit 1)
23033
 
 
23034
 
  mv -f "$cfgfile" "$ofile" ||
 
23702
  sed '$q' "$ltmain" >> "$cfgfile" \
 
23703
     || (rm -f "$cfgfile"; exit 1)
 
23704
 
 
23705
  if test x"$xsi_shell" = xyes; then
 
23706
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
23707
func_dirname ()\
 
23708
{\
 
23709
\    case ${1} in\
 
23710
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
23711
\      *  ) func_dirname_result="${3}" ;;\
 
23712
\    esac\
 
23713
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
23714
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23715
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23716
test 0 -eq $? || _lt_function_replace_fail=:
 
23717
 
 
23718
 
 
23719
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
23720
func_basename ()\
 
23721
{\
 
23722
\    func_basename_result="${1##*/}"\
 
23723
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
23724
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23725
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23726
test 0 -eq $? || _lt_function_replace_fail=:
 
23727
 
 
23728
 
 
23729
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
23730
func_dirname_and_basename ()\
 
23731
{\
 
23732
\    case ${1} in\
 
23733
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
23734
\      *  ) func_dirname_result="${3}" ;;\
 
23735
\    esac\
 
23736
\    func_basename_result="${1##*/}"\
 
23737
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
23738
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23739
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23740
test 0 -eq $? || _lt_function_replace_fail=:
 
23741
 
 
23742
 
 
23743
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
23744
func_stripname ()\
 
23745
{\
 
23746
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
23747
\    # positional parameters, so assign one to ordinary parameter first.\
 
23748
\    func_stripname_result=${3}\
 
23749
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
23750
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
23751
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
23752
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23753
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23754
test 0 -eq $? || _lt_function_replace_fail=:
 
23755
 
 
23756
 
 
23757
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
23758
func_split_long_opt ()\
 
23759
{\
 
23760
\    func_split_long_opt_name=${1%%=*}\
 
23761
\    func_split_long_opt_arg=${1#*=}\
 
23762
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
23763
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23764
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23765
test 0 -eq $? || _lt_function_replace_fail=:
 
23766
 
 
23767
 
 
23768
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
23769
func_split_short_opt ()\
 
23770
{\
 
23771
\    func_split_short_opt_arg=${1#??}\
 
23772
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
23773
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
23774
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23775
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23776
test 0 -eq $? || _lt_function_replace_fail=:
 
23777
 
 
23778
 
 
23779
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
23780
func_lo2o ()\
 
23781
{\
 
23782
\    case ${1} in\
 
23783
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
23784
\      *)    func_lo2o_result=${1} ;;\
 
23785
\    esac\
 
23786
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
23787
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23788
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23789
test 0 -eq $? || _lt_function_replace_fail=:
 
23790
 
 
23791
 
 
23792
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
23793
func_xform ()\
 
23794
{\
 
23795
    func_xform_result=${1%.*}.lo\
 
23796
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
23797
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23798
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23799
test 0 -eq $? || _lt_function_replace_fail=:
 
23800
 
 
23801
 
 
23802
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
23803
func_arith ()\
 
23804
{\
 
23805
    func_arith_result=$(( $* ))\
 
23806
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
23807
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23808
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23809
test 0 -eq $? || _lt_function_replace_fail=:
 
23810
 
 
23811
 
 
23812
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
23813
func_len ()\
 
23814
{\
 
23815
    func_len_result=${#1}\
 
23816
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
23817
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23818
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23819
test 0 -eq $? || _lt_function_replace_fail=:
 
23820
 
 
23821
fi
 
23822
 
 
23823
if test x"$lt_shell_append" = xyes; then
 
23824
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
23825
func_append ()\
 
23826
{\
 
23827
    eval "${1}+=\\${2}"\
 
23828
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
23829
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23830
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23831
test 0 -eq $? || _lt_function_replace_fail=:
 
23832
 
 
23833
 
 
23834
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
23835
func_append_quoted ()\
 
23836
{\
 
23837
\    func_quote_for_eval "${2}"\
 
23838
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
23839
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
23840
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23841
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23842
test 0 -eq $? || _lt_function_replace_fail=:
 
23843
 
 
23844
 
 
23845
  # Save a `func_append' function call where possible by direct use of '+='
 
23846
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
23847
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23848
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23849
  test 0 -eq $? || _lt_function_replace_fail=:
 
23850
else
 
23851
  # Save a `func_append' function call even when '+=' is not available
 
23852
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
23853
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
23854
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
23855
  test 0 -eq $? || _lt_function_replace_fail=:
 
23856
fi
 
23857
 
 
23858
if test x"$_lt_function_replace_fail" = x":"; then
 
23859
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
23860
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
23861
fi
 
23862
 
 
23863
 
 
23864
   mv -f "$cfgfile" "$ofile" ||
23035
23865
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23036
23866
  chmod +x "$ofile"
23037
23867