65
126
# Name of the executable.
66
as_me=`$as_basename "$0" ||
127
as_me=`$as_basename -- "$0" ||
67
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
129
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
130
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
132
sed '/^.*\/\([^/][^/]*\)\/*$/{
150
if test "x$CONFIG_SHELL" = x; then
151
if (eval ":") 2>/dev/null; then
157
if test $as_have_required = yes && (eval ":
167
as_func_ret_success () {
170
as_func_ret_failure () {
175
if as_func_success; then
179
echo as_func_success failed.
182
if as_func_failure; then
184
echo as_func_failure succeeded.
187
if as_func_ret_success; then
191
echo as_func_ret_success failed.
194
if as_func_ret_failure; then
196
echo as_func_ret_failure succeeded.
199
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203
echo positional parameters were not saved.
206
test \$exitcode = 0) || { (exit 1); exit 1; }
211
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213
") 2> /dev/null; then
130
217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
224
for as_base in sh bash ksh sh5; do
225
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
for as_shell in $as_candidate_shells $SHELL; do
233
# Try only shells that exist, to save several forks.
234
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235
{ ("$as_shell") 2> /dev/null <<\_ASEOF
236
# Be Bourne compatible
237
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241
# is contrary to our usage. Disable this feature.
242
alias -g '${1+"$@"}'='"$@"'
245
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247
BIN_SH=xpg4; export BIN_SH # for Tru64
248
DUALCASE=1; export DUALCASE # for MKS sh
253
CONFIG_SHELL=$as_shell
255
if { "$as_shell" 2> /dev/null <<\_ASEOF
256
# Be Bourne compatible
257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261
# is contrary to our usage. Disable this feature.
262
alias -g '${1+"$@"}'='"$@"'
265
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267
BIN_SH=xpg4; export BIN_SH # for Tru64
268
DUALCASE=1; export DUALCASE # for MKS sh
280
as_func_ret_success () {
283
as_func_ret_failure () {
288
if as_func_success; then
292
echo as_func_success failed.
295
if as_func_failure; then
297
echo as_func_failure succeeded.
300
if as_func_ret_success; then
304
echo as_func_ret_success failed.
307
if as_func_ret_failure; then
309
echo as_func_ret_failure succeeded.
312
if ( set x; as_func_ret_success y && test x = "$1" ); then
316
echo positional parameters were not saved.
319
test $exitcode = 0) || { (exit 1); exit 1; }
324
test "x$as_lineno_1" != "x$as_lineno_2" &&
325
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336
if test "x$CONFIG_SHELL" != x; then
337
for as_var in BASH_ENV ENV
338
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345
if test $as_have_required = no; then
346
echo This script requires a shell more modern than all the
347
echo shells that I found on your system. Please install a
348
echo modern shell, or manually run the script under such a
349
echo shell if you do have one.
350
{ (exit 1); exit 1; }
360
(eval "as_func_return () {
369
as_func_ret_success () {
372
as_func_ret_failure () {
377
if as_func_success; then
381
echo as_func_success failed.
384
if as_func_failure; then
386
echo as_func_failure succeeded.
389
if as_func_ret_success; then
393
echo as_func_ret_success failed.
396
if as_func_ret_failure; then
398
echo as_func_ret_failure succeeded.
401
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405
echo positional parameters were not saved.
408
test \$exitcode = 0") || {
409
echo No shell found that supports shell functions.
410
echo Please tell autoconf@gnu.org about your system,
411
echo including any error possibly output before this
419
test "x$as_lineno_1" != "x$as_lineno_2" &&
420
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
422
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
423
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
424
# line-number line after each line using $LINENO; the second 'sed'
425
# does the real work. The second script uses 'N' to pair each
426
# line-number line with the line containing $LINENO, and appends
427
# trailing '-' during substitution so that $LINENO is not a special
162
429
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
430
# scripts with optimization help from Paolo Bonzini. Blame Lee
431
# E. McMahon (1931-1989) for sed's syntax. :-)
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
443
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
s,^['$as_cr_digits']*\n,,
173
446
' >$as_me.lineno &&
174
chmod +x $as_me.lineno ||
447
chmod +x "$as_me.lineno" ||
175
448
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
449
{ (exit 1); exit 1; }; }
178
451
# Don't try to exec as it changes $[0], causing all sort of problems
179
452
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
453
# original and so on. Autoconf is especially sensitive to this).
182
455
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
460
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466
ECHO_C= ECHO_N= ECHO_T=
470
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
194
if expr a : '\(a\)' >/dev/null 2>&1; then
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
478
test "X`expr 00001 : '.*\(...\)'`" = X001; then
200
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
201
491
echo >conf$$.file
202
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
211
500
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
218
508
if mkdir -p . 2>/dev/null; then
1487
1950
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1511
am__api_version="1.6"
1513
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1514
if test -f $ac_dir/install-sh; then
1954
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1955
if test -f "$ac_dir/install-sh"; then
1515
1956
ac_aux_dir=$ac_dir
1516
1957
ac_install_sh="$ac_aux_dir/install-sh -c"
1518
elif test -f $ac_dir/install.sh; then
1959
elif test -f "$ac_dir/install.sh"; then
1519
1960
ac_aux_dir=$ac_dir
1520
1961
ac_install_sh="$ac_aux_dir/install.sh -c"
1522
elif test -f $ac_dir/shtool; then
1963
elif test -f "$ac_dir/shtool"; then
1523
1964
ac_aux_dir=$ac_dir
1524
1965
ac_install_sh="$ac_aux_dir/shtool install -c"
1528
1969
if test -z "$ac_aux_dir"; then
1529
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1530
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1531
{ (exit 1); exit 1; }; }
1533
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1534
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1535
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1970
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1971
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1972
{ (exit 1); exit 1; }; }
1975
# These three variables are undocumented and unsupported,
1976
# and are intended to be withdrawn in a future Autoconf release.
1977
# They can cause serious problems if a builder's source tree is in a directory
1978
# whose full name contains unusual characters.
1979
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1980
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1981
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1984
# Make sure we can run config.sub.
1985
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1986
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1987
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1988
{ (exit 1); exit 1; }; }
1990
{ echo "$as_me:$LINENO: checking build system type" >&5
1991
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1992
if test "${ac_cv_build+set}" = set; then
1993
echo $ECHO_N "(cached) $ECHO_C" >&6
1995
ac_build_alias=$build_alias
1996
test "x$ac_build_alias" = x &&
1997
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1998
test "x$ac_build_alias" = x &&
1999
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2000
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2001
{ (exit 1); exit 1; }; }
2002
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2003
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2004
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2005
{ (exit 1); exit 1; }; }
2008
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2009
echo "${ECHO_T}$ac_cv_build" >&6; }
2010
case $ac_cv_build in
2012
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2013
echo "$as_me: error: invalid value of canonical build" >&2;}
2014
{ (exit 1); exit 1; }; };;
2017
ac_save_IFS=$IFS; IFS='-'
2023
# Remember, the first character of IFS is used to create $*,
2024
# except with old shells:
2027
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2030
{ echo "$as_me:$LINENO: checking host system type" >&5
2031
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2032
if test "${ac_cv_host+set}" = set; then
2033
echo $ECHO_N "(cached) $ECHO_C" >&6
2035
if test "x$host_alias" = x; then
2036
ac_cv_host=$ac_cv_build
2038
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2039
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2040
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2041
{ (exit 1); exit 1; }; }
2045
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2046
echo "${ECHO_T}$ac_cv_host" >&6; }
2049
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2050
echo "$as_me: error: invalid value of canonical host" >&2;}
2051
{ (exit 1); exit 1; }; };;
2054
ac_save_IFS=$IFS; IFS='-'
2060
# Remember, the first character of IFS is used to create $*,
2061
# except with old shells:
2064
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2067
{ echo "$as_me:$LINENO: checking target system type" >&5
2068
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2069
if test "${ac_cv_target+set}" = set; then
2070
echo $ECHO_N "(cached) $ECHO_C" >&6
2072
if test "x$target_alias" = x; then
2073
ac_cv_target=$ac_cv_host
2075
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2076
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2077
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2078
{ (exit 1); exit 1; }; }
2082
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2083
echo "${ECHO_T}$ac_cv_target" >&6; }
2084
case $ac_cv_target in
2086
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2087
echo "$as_me: error: invalid value of canonical target" >&2;}
2088
{ (exit 1); exit 1; }; };;
2090
target=$ac_cv_target
2091
ac_save_IFS=$IFS; IFS='-'
2097
# Remember, the first character of IFS is used to create $*,
2098
# except with old shells:
2101
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2104
# The aliases save the names the user supplied, while $host etc.
2105
# will get canonicalized.
2106
test -n "$target_alias" &&
2107
test "$program_prefix$program_suffix$program_transform_name" = \
2109
program_prefix=${target_alias}-
2111
ORTP_MAJOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f1)
2112
ORTP_MINOR_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f2)
2113
ORTP_MICRO_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f3)
2114
ORTP_EXTRA_VERSION=$(echo $PACKAGE_VERSION | cut -d. -f4)
2116
LIBORTP_SO_CURRENT=5 LIBORTP_SO_REVISION=0 LIBORTP_SO_AGE=0
2117
LIBORTP_SO_VERSION=$LIBORTP_SO_CURRENT:$LIBORTP_SO_REVISION:$LIBORTP_SO_AGE
2118
ORTP_VERSION=${ORTP_MAJOR_VERSION}.${ORTP_MINOR_VERSION}.${ORTP_MICRO_VERSION}
2120
if test -n "$ORTP_EXTRA_VERSION" ; then
2121
ORTP_VERSION="${ORTP_VERSION}.${ORTP_EXTRA_VERSION}"
2124
ORTP_PKGCONFIG_VERSION=${ORTP_VERSION}
2133
am__api_version="1.9"
1537
2134
# Find a good install program. We prefer a C program (faster),
1538
2135
# so one script is as good as another. But avoid the broken or
1539
2136
# incompatible versions:
1879
2553
# We need awk for the "check" target. The system "awk" is bad on
1880
2554
# some platforms.
1884
# Add the stamp file to the list of files AC keeps track of,
1885
# along with our hook.
1886
ac_config_headers="$ac_config_headers ortp-config.h"
1891
# Make sure we can run config.sub.
1892
$ac_config_sub sun4 >/dev/null 2>&1 ||
1893
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1894
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1895
{ (exit 1); exit 1; }; }
1897
echo "$as_me:$LINENO: checking build system type" >&5
1898
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1899
if test "${ac_cv_build+set}" = set; then
1900
echo $ECHO_N "(cached) $ECHO_C" >&6
1902
ac_cv_build_alias=$build_alias
1903
test -z "$ac_cv_build_alias" &&
1904
ac_cv_build_alias=`$ac_config_guess`
1905
test -z "$ac_cv_build_alias" &&
1906
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1907
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1908
{ (exit 1); exit 1; }; }
1909
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1910
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1911
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1912
{ (exit 1); exit 1; }; }
1915
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1916
echo "${ECHO_T}$ac_cv_build" >&6
1918
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1919
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1920
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1923
echo "$as_me:$LINENO: checking host system type" >&5
1924
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1925
if test "${ac_cv_host+set}" = set; then
1926
echo $ECHO_N "(cached) $ECHO_C" >&6
1928
ac_cv_host_alias=$host_alias
1929
test -z "$ac_cv_host_alias" &&
1930
ac_cv_host_alias=$ac_cv_build_alias
1931
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1932
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1933
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1934
{ (exit 1); exit 1; }; }
1937
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1938
echo "${ECHO_T}$ac_cv_host" >&6
1940
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1941
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1942
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1946
# Check whether --enable-ipv6 or --disable-ipv6 was given.
2555
# Always define AMTAR for backward compatibility.
2557
AMTAR=${AMTAR-"${am_missing_run}tar"}
2560
{ echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2561
echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2562
# Loop over all known methods to create a tar archive until one works.
2563
_am_tools='gnutar plaintar pax cpio none'
2564
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2565
# Do not fold the above two line into one, because Tru64 sh and
2566
# Solaris sh will not grok spaces in the rhs of `-'.
2567
for _am_tool in $_am_tools
2571
for _am_tar in tar gnutar gtar;
2573
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
2574
($_am_tar --version) >&5 2>&5
2576
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577
(exit $ac_status); } && break
2579
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2580
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2581
am__untar="$_am_tar -xf -"
2584
# Must skip GNU tar: if it does not support --format= it doesn't create
2585
# ustar tarball either.
2586
(tar --version) >/dev/null 2>&1 && continue
2587
am__tar='tar chf - "$$tardir"'
2588
am__tar_='tar chf - "$tardir"'
2589
am__untar='tar xf -'
2592
am__tar='pax -L -x ustar -w "$$tardir"'
2593
am__tar_='pax -L -x ustar -w "$tardir"'
2597
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2598
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2599
am__untar='cpio -i -H ustar -d'
2608
# If the value was cached, stop now. We just wanted to have am__tar
2609
# and am__untar set.
2610
test -n "${am_cv_prog_tar_ustar}" && break
2612
# tar/untar a dummy directory, and stop if the command works
2615
echo GrepMe > conftest.dir/file
2616
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2617
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620
(exit $ac_status); }
2622
if test -s conftest.tar; then
2623
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2624
($am__untar <conftest.tar) >&5 2>&5
2626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627
(exit $ac_status); }
2628
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2633
if test "${am_cv_prog_tar_ustar+set}" = set; then
2634
echo $ECHO_N "(cached) $ECHO_C" >&6
2636
am_cv_prog_tar_ustar=$_am_tool
2639
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2640
echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2646
ac_config_headers="$ac_config_headers ortp-config.h"
2649
cat >>confdefs.h <<_ACEOF
2650
#define ORTP_MAJOR_VERSION $ORTP_MAJOR_VERSION
2654
cat >>confdefs.h <<_ACEOF
2655
#define ORTP_MINOR_VERSION $ORTP_MINOR_VERSION
2659
cat >>confdefs.h <<_ACEOF
2660
#define ORTP_MICRO_VERSION $ORTP_MICRO_VERSION
2664
cat >>confdefs.h <<_ACEOF
2665
#define ORTP_VERSION "$ORTP_VERSION"
2671
{ echo "$as_me:$LINENO: checking warning make an error on compilation" >&5
2672
echo $ECHO_N "checking warning make an error on compilation... $ECHO_C" >&6; }
2673
# Check whether --enable-strict was given.
2674
if test "${enable_strict+set}" = set; then
2675
enableval=$enable_strict; wall_werror=$enableval
2684
# Check whether --enable-ipv6 was given.
1947
2685
if test "${enable_ipv6+set}" = set; then
1948
enableval="$enable_ipv6"
1949
case "${enableval}" in
2686
enableval=$enable_ipv6; case "${enableval}" in
1950
2687
yes) ipv6=true;;
1951
2688
no) ipv6=false;;
1952
2689
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ipv6" >&5
2619
3403
echo "$as_me: failed program was:" >&5
2620
3404
sed 's/^/| /' conftest.$ac_ext >&5
2624
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3409
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2625
3410
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2628
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2629
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3413
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3414
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2630
3415
GCC=`test $ac_compiler_gnu = yes && echo yes`
2631
3416
ac_test_CFLAGS=${CFLAGS+set}
2632
3417
ac_save_CFLAGS=$CFLAGS
2634
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3418
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3419
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2636
3420
if test "${ac_cv_prog_cc_g+set}" = set; then
2637
3421
echo $ECHO_N "(cached) $ECHO_C" >&6
2639
cat >conftest.$ac_ext <<_ACEOF
2642
cat confdefs.h >>conftest.$ac_ext
2643
cat >>conftest.$ac_ext <<_ACEOF
2644
/* end confdefs.h. */
2654
rm -f conftest.$ac_objext
2655
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656
(eval $ac_compile) 2>conftest.er1
2658
grep -v '^ *+' conftest.er1 >conftest.err
2660
cat conftest.err >&5
2661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662
(exit $ac_status); } &&
2663
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2664
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668
(exit $ac_status); }; } &&
2669
{ ac_try='test -s conftest.$ac_objext'
2670
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674
(exit $ac_status); }; }; then
2677
echo "$as_me: failed program was:" >&5
2678
sed 's/^/| /' conftest.$ac_ext >&5
2682
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2684
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2685
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3423
ac_save_c_werror_flag=$ac_c_werror_flag
3424
ac_c_werror_flag=yes
3427
cat >conftest.$ac_ext <<_ACEOF
3430
cat confdefs.h >>conftest.$ac_ext
3431
cat >>conftest.$ac_ext <<_ACEOF
3432
/* end confdefs.h. */
3442
rm -f conftest.$ac_objext
3443
if { (ac_try="$ac_compile"
3445
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446
*) ac_try_echo=$ac_try;;
3448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449
(eval "$ac_compile") 2>conftest.er1
3451
grep -v '^ *+' conftest.er1 >conftest.err
3453
cat conftest.err >&5
3454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455
(exit $ac_status); } &&
3456
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3457
{ (case "(($ac_try" in
3458
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459
*) ac_try_echo=$ac_try;;
3461
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3462
(eval "$ac_try") 2>&5
3464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
(exit $ac_status); }; } &&
3466
{ ac_try='test -s conftest.$ac_objext'
3467
{ (case "(($ac_try" in
3468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469
*) ac_try_echo=$ac_try;;
3471
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3472
(eval "$ac_try") 2>&5
3474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475
(exit $ac_status); }; }; then
3478
echo "$as_me: failed program was:" >&5
3479
sed 's/^/| /' conftest.$ac_ext >&5
3482
cat >conftest.$ac_ext <<_ACEOF
3485
cat confdefs.h >>conftest.$ac_ext
3486
cat >>conftest.$ac_ext <<_ACEOF
3487
/* end confdefs.h. */
3497
rm -f conftest.$ac_objext
3498
if { (ac_try="$ac_compile"
3500
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501
*) ac_try_echo=$ac_try;;
3503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3504
(eval "$ac_compile") 2>conftest.er1
3506
grep -v '^ *+' conftest.er1 >conftest.err
3508
cat conftest.err >&5
3509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510
(exit $ac_status); } &&
3511
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3512
{ (case "(($ac_try" in
3513
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514
*) ac_try_echo=$ac_try;;
3516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3517
(eval "$ac_try") 2>&5
3519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520
(exit $ac_status); }; } &&
3521
{ ac_try='test -s conftest.$ac_objext'
3522
{ (case "(($ac_try" in
3523
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524
*) ac_try_echo=$ac_try;;
3526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3527
(eval "$ac_try") 2>&5
3529
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530
(exit $ac_status); }; }; then
3533
echo "$as_me: failed program was:" >&5
3534
sed 's/^/| /' conftest.$ac_ext >&5
3536
ac_c_werror_flag=$ac_save_c_werror_flag
3538
cat >conftest.$ac_ext <<_ACEOF
3541
cat confdefs.h >>conftest.$ac_ext
3542
cat >>conftest.$ac_ext <<_ACEOF
3543
/* end confdefs.h. */
3553
rm -f conftest.$ac_objext
3554
if { (ac_try="$ac_compile"
3556
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557
*) ac_try_echo=$ac_try;;
3559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3560
(eval "$ac_compile") 2>conftest.er1
3562
grep -v '^ *+' conftest.er1 >conftest.err
3564
cat conftest.err >&5
3565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566
(exit $ac_status); } &&
3567
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3568
{ (case "(($ac_try" in
3569
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570
*) ac_try_echo=$ac_try;;
3572
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3573
(eval "$ac_try") 2>&5
3575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576
(exit $ac_status); }; } &&
3577
{ ac_try='test -s conftest.$ac_objext'
3578
{ (case "(($ac_try" in
3579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580
*) ac_try_echo=$ac_try;;
3582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3583
(eval "$ac_try") 2>&5
3585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586
(exit $ac_status); }; }; then
3589
echo "$as_me: failed program was:" >&5
3590
sed 's/^/| /' conftest.$ac_ext >&5
3595
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602
ac_c_werror_flag=$ac_save_c_werror_flag
3604
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3605
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2686
3606
if test "$ac_test_CFLAGS" = set; then
2687
3607
CFLAGS=$ac_save_CFLAGS
2688
3608
elif test $ac_cv_prog_cc_g = yes; then
2760
# Don't try gcc -ansi; that turns off useful extensions and
2761
# breaks some systems' header files.
2762
# AIX -qlanglvl=ansi
2763
# Ultrix and OSF/1 -std1
2764
# HP-UX 10.20 and later -Ae
2765
# HP-UX older versions -Aa -D_HPUX_SOURCE
2766
# SVR4 -Xc -D__EXTENSIONS__
2767
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3686
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2769
3688
CC="$ac_save_CC $ac_arg"
2770
3689
rm -f conftest.$ac_objext
2771
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2772
(eval $ac_compile) 2>conftest.er1
3690
if { (ac_try="$ac_compile"
3692
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693
*) ac_try_echo=$ac_try;;
3695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3696
(eval "$ac_compile") 2>conftest.er1
2774
3698
grep -v '^ *+' conftest.er1 >conftest.err
2775
3699
rm -f conftest.er1
2776
3700
cat conftest.err >&5
2777
3701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
3702
(exit $ac_status); } &&
2779
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3704
{ (case "(($ac_try" in
3705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706
*) ac_try_echo=$ac_try;;
3708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3709
(eval "$ac_try") 2>&5
2783
3711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784
3712
(exit $ac_status); }; } &&
2785
3713
{ ac_try='test -s conftest.$ac_objext'
2786
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3714
{ (case "(($ac_try" in
3715
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716
*) ac_try_echo=$ac_try;;
3718
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3719
(eval "$ac_try") 2>&5
2789
3721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790
3722
(exit $ac_status); }; }; then
2791
ac_cv_prog_cc_stdc=$ac_arg
3723
ac_cv_prog_cc_c89=$ac_arg
2794
3725
echo "$as_me: failed program was:" >&5
2795
3726
sed 's/^/| /' conftest.$ac_ext >&5
2798
rm -f conftest.err conftest.$ac_objext
3731
rm -f core conftest.err conftest.$ac_objext
3732
test "x$ac_cv_prog_cc_c89" != "xno" && break
2800
rm -f conftest.$ac_ext conftest.$ac_objext
3734
rm -f conftest.$ac_ext
2805
case "x$ac_cv_prog_cc_stdc" in
2807
echo "$as_me:$LINENO: result: none needed" >&5
2808
echo "${ECHO_T}none needed" >&6 ;;
3739
case "x$ac_cv_prog_cc_c89" in
3741
{ echo "$as_me:$LINENO: result: none needed" >&5
3742
echo "${ECHO_T}none needed" >&6; } ;;
3744
{ echo "$as_me:$LINENO: result: unsupported" >&5
3745
echo "${ECHO_T}unsupported" >&6; } ;;
2810
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2811
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2812
CC="$CC $ac_cv_prog_cc_stdc" ;;
3747
CC="$CC $ac_cv_prog_cc_c89"
3748
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3749
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2815
# Some people use a C++ compiler to compile C. Since we use `exit',
2816
# in C++ we need to declare it. In case someone uses the same compiler
2817
# for both compiling C and C++ we need to have the C++ compiler decide
2818
# the declaration of exit, since it's the most demanding environment.
2819
cat >conftest.$ac_ext <<_ACEOF
2824
rm -f conftest.$ac_objext
2825
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826
(eval $ac_compile) 2>conftest.er1
2828
grep -v '^ *+' conftest.er1 >conftest.err
2830
cat conftest.err >&5
2831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832
(exit $ac_status); } &&
2833
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2834
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838
(exit $ac_status); }; } &&
2839
{ ac_try='test -s conftest.$ac_objext'
2840
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844
(exit $ac_status); }; }; then
2845
for ac_declaration in \
2847
'extern "C" void std::exit (int) throw (); using std::exit;' \
2848
'extern "C" void std::exit (int); using std::exit;' \
2849
'extern "C" void exit (int) throw ();' \
2850
'extern "C" void exit (int);' \
2853
cat >conftest.$ac_ext <<_ACEOF
2856
cat confdefs.h >>conftest.$ac_ext
2857
cat >>conftest.$ac_ext <<_ACEOF
2858
/* end confdefs.h. */
2869
rm -f conftest.$ac_objext
2870
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871
(eval $ac_compile) 2>conftest.er1
2873
grep -v '^ *+' conftest.er1 >conftest.err
2875
cat conftest.err >&5
2876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877
(exit $ac_status); } &&
2878
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2879
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883
(exit $ac_status); }; } &&
2884
{ ac_try='test -s conftest.$ac_objext'
2885
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889
(exit $ac_status); }; }; then
2892
echo "$as_me: failed program was:" >&5
2893
sed 's/^/| /' conftest.$ac_ext >&5
2897
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2898
cat >conftest.$ac_ext <<_ACEOF
2901
cat confdefs.h >>conftest.$ac_ext
2902
cat >>conftest.$ac_ext <<_ACEOF
2903
/* end confdefs.h. */
2913
rm -f conftest.$ac_objext
2914
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2915
(eval $ac_compile) 2>conftest.er1
2917
grep -v '^ *+' conftest.er1 >conftest.err
2919
cat conftest.err >&5
2920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921
(exit $ac_status); } &&
2922
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2923
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927
(exit $ac_status); }; } &&
2928
{ ac_try='test -s conftest.$ac_objext'
2929
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933
(exit $ac_status); }; }; then
2936
echo "$as_me: failed program was:" >&5
2937
sed 's/^/| /' conftest.$ac_ext >&5
2940
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2943
if test -n "$ac_declaration"; then
2944
echo '#ifdef __cplusplus' >>confdefs.h
2945
echo $ac_declaration >>confdefs.h
2946
echo '#endif' >>confdefs.h
2950
echo "$as_me: failed program was:" >&5
2951
sed 's/^/| /' conftest.$ac_ext >&5
2954
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956
3754
ac_cpp='$CPP $CPPFLAGS'
2957
3755
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958
3756
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959
3757
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960
rm -f .deps 2>/dev/null
2961
mkdir .deps 2>/dev/null
2962
if test -d .deps; then
2965
# MS-DOS does not allow filenames that begin with a dot.
2968
rmdir .deps 2>/dev/null
2971
ac_config_commands="$ac_config_commands depfiles"
3758
DEPDIR="${am__leading_dot}deps"
3760
ac_config_commands="$ac_config_commands depfiles"
2974
3763
am_make=${MAKE-make}
2975
3764
cat > confinc << 'END'
2979
3769
# If we don't find an include directive, just comment out the code.
2980
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2981
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3770
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3771
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2982
3772
am__include="#"
2984
3774
_am_result=none
3225
4058
SED=$lt_cv_path_SED
3229
echo "$as_me:$LINENO: result: $SED" >&5
3230
echo "${ECHO_T}$SED" >&6
3232
echo "$as_me:$LINENO: checking for egrep" >&5
3233
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3234
if test "${ac_cv_prog_egrep+set}" = set; then
3235
echo $ECHO_N "(cached) $ECHO_C" >&6
3237
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3238
then ac_cv_prog_egrep='grep -E'
3239
else ac_cv_prog_egrep='egrep'
3242
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3243
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3244
EGREP=$ac_cv_prog_egrep
3248
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4059
{ echo "$as_me:$LINENO: result: $SED" >&5
4060
echo "${ECHO_T}$SED" >&6; }
4062
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4063
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4064
if test "${ac_cv_path_GREP+set}" = set; then
4065
echo $ECHO_N "(cached) $ECHO_C" >&6
4067
# Extract the first word of "grep ggrep" to use in msg output
4068
if test -z "$GREP"; then
4069
set dummy grep ggrep; ac_prog_name=$2
4070
if test "${ac_cv_path_GREP+set}" = set; then
4071
echo $ECHO_N "(cached) $ECHO_C" >&6
4073
ac_path_GREP_found=false
4074
# Loop through the user's path and test for each of PROGNAME-LIST
4075
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4079
test -z "$as_dir" && as_dir=.
4080
for ac_prog in grep ggrep; do
4081
for ac_exec_ext in '' $ac_executable_extensions; do
4082
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4083
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4084
# Check for GNU ac_path_GREP and select it if it is found.
4085
# Check for GNU $ac_path_GREP
4086
case `"$ac_path_GREP" --version 2>&1` in
4088
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4091
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4094
cat "conftest.in" "conftest.in" >"conftest.tmp"
4095
mv "conftest.tmp" "conftest.in"
4096
cp "conftest.in" "conftest.nl"
4097
echo 'GREP' >> "conftest.nl"
4098
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4099
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4100
ac_count=`expr $ac_count + 1`
4101
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4102
# Best one so far, save it but keep looking for a better one
4103
ac_cv_path_GREP="$ac_path_GREP"
4104
ac_path_GREP_max=$ac_count
4106
# 10*(2^10) chars as input seems more than enough
4107
test $ac_count -gt 10 && break
4109
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4113
$ac_path_GREP_found && break 3
4123
GREP="$ac_cv_path_GREP"
4124
if test -z "$GREP"; then
4125
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4126
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4127
{ (exit 1); exit 1; }; }
4131
ac_cv_path_GREP=$GREP
4136
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4137
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4138
GREP="$ac_cv_path_GREP"
4141
{ echo "$as_me:$LINENO: checking for egrep" >&5
4142
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4143
if test "${ac_cv_path_EGREP+set}" = set; then
4144
echo $ECHO_N "(cached) $ECHO_C" >&6
4146
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4147
then ac_cv_path_EGREP="$GREP -E"
4149
# Extract the first word of "egrep" to use in msg output
4150
if test -z "$EGREP"; then
4151
set dummy egrep; ac_prog_name=$2
4152
if test "${ac_cv_path_EGREP+set}" = set; then
4153
echo $ECHO_N "(cached) $ECHO_C" >&6
4155
ac_path_EGREP_found=false
4156
# Loop through the user's path and test for each of PROGNAME-LIST
4157
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4161
test -z "$as_dir" && as_dir=.
4162
for ac_prog in egrep; do
4163
for ac_exec_ext in '' $ac_executable_extensions; do
4164
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4165
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4166
# Check for GNU ac_path_EGREP and select it if it is found.
4167
# Check for GNU $ac_path_EGREP
4168
case `"$ac_path_EGREP" --version 2>&1` in
4170
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4173
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4176
cat "conftest.in" "conftest.in" >"conftest.tmp"
4177
mv "conftest.tmp" "conftest.in"
4178
cp "conftest.in" "conftest.nl"
4179
echo 'EGREP' >> "conftest.nl"
4180
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4181
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4182
ac_count=`expr $ac_count + 1`
4183
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4184
# Best one so far, save it but keep looking for a better one
4185
ac_cv_path_EGREP="$ac_path_EGREP"
4186
ac_path_EGREP_max=$ac_count
4188
# 10*(2^10) chars as input seems more than enough
4189
test $ac_count -gt 10 && break
4191
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4195
$ac_path_EGREP_found && break 3
4205
EGREP="$ac_cv_path_EGREP"
4206
if test -z "$EGREP"; then
4207
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4208
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4209
{ (exit 1); exit 1; }; }
4213
ac_cv_path_EGREP=$EGREP
4219
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4220
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4221
EGREP="$ac_cv_path_EGREP"
4225
# Check whether --with-gnu-ld was given.
3249
4226
if test "${with_gnu_ld+set}" = set; then
3250
withval="$with_gnu_ld"
3251
test "$withval" = no || with_gnu_ld=yes
4227
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3256
4233
if test "$GCC" = yes; then
3257
4234
# Check if gcc -print-prog-name=ld gives a path.
3258
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3259
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4235
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4236
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3262
4239
# gcc leaves a trailing carriage return which upsets mingw
4588
5749
echo "$as_me: failed program was:" >&5
4589
5750
sed 's/^/| /' conftest.$ac_ext >&5
4593
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594
5756
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4597
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4598
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5759
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5760
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4599
5761
GXX=`test $ac_compiler_gnu = yes && echo yes`
4600
5762
ac_test_CXXFLAGS=${CXXFLAGS+set}
4601
5763
ac_save_CXXFLAGS=$CXXFLAGS
4603
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4604
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5764
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5765
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4605
5766
if test "${ac_cv_prog_cxx_g+set}" = set; then
4606
5767
echo $ECHO_N "(cached) $ECHO_C" >&6
4608
cat >conftest.$ac_ext <<_ACEOF
4611
cat confdefs.h >>conftest.$ac_ext
4612
cat >>conftest.$ac_ext <<_ACEOF
4613
/* end confdefs.h. */
4623
rm -f conftest.$ac_objext
4624
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4625
(eval $ac_compile) 2>conftest.er1
4627
grep -v '^ *+' conftest.er1 >conftest.err
4629
cat conftest.err >&5
4630
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631
(exit $ac_status); } &&
4632
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4633
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637
(exit $ac_status); }; } &&
4638
{ ac_try='test -s conftest.$ac_objext'
4639
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643
(exit $ac_status); }; }; then
4644
ac_cv_prog_cxx_g=yes
4646
echo "$as_me: failed program was:" >&5
4647
sed 's/^/| /' conftest.$ac_ext >&5
4651
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4653
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4654
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5769
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5770
ac_cxx_werror_flag=yes
5773
cat >conftest.$ac_ext <<_ACEOF
5776
cat confdefs.h >>conftest.$ac_ext
5777
cat >>conftest.$ac_ext <<_ACEOF
5778
/* end confdefs.h. */
5788
rm -f conftest.$ac_objext
5789
if { (ac_try="$ac_compile"
5791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5792
*) ac_try_echo=$ac_try;;
5794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5795
(eval "$ac_compile") 2>conftest.er1
5797
grep -v '^ *+' conftest.er1 >conftest.err
5799
cat conftest.err >&5
5800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801
(exit $ac_status); } &&
5802
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5803
{ (case "(($ac_try" in
5804
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5805
*) ac_try_echo=$ac_try;;
5807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5808
(eval "$ac_try") 2>&5
5810
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811
(exit $ac_status); }; } &&
5812
{ ac_try='test -s conftest.$ac_objext'
5813
{ (case "(($ac_try" in
5814
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5815
*) ac_try_echo=$ac_try;;
5817
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818
(eval "$ac_try") 2>&5
5820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821
(exit $ac_status); }; }; then
5822
ac_cv_prog_cxx_g=yes
5824
echo "$as_me: failed program was:" >&5
5825
sed 's/^/| /' conftest.$ac_ext >&5
5828
cat >conftest.$ac_ext <<_ACEOF
5831
cat confdefs.h >>conftest.$ac_ext
5832
cat >>conftest.$ac_ext <<_ACEOF
5833
/* end confdefs.h. */
5843
rm -f conftest.$ac_objext
5844
if { (ac_try="$ac_compile"
5846
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5847
*) ac_try_echo=$ac_try;;
5849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5850
(eval "$ac_compile") 2>conftest.er1
5852
grep -v '^ *+' conftest.er1 >conftest.err
5854
cat conftest.err >&5
5855
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856
(exit $ac_status); } &&
5857
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5858
{ (case "(($ac_try" in
5859
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5860
*) ac_try_echo=$ac_try;;
5862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5863
(eval "$ac_try") 2>&5
5865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866
(exit $ac_status); }; } &&
5867
{ ac_try='test -s conftest.$ac_objext'
5868
{ (case "(($ac_try" in
5869
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5870
*) ac_try_echo=$ac_try;;
5872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5873
(eval "$ac_try") 2>&5
5875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876
(exit $ac_status); }; }; then
5879
echo "$as_me: failed program was:" >&5
5880
sed 's/^/| /' conftest.$ac_ext >&5
5882
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5884
cat >conftest.$ac_ext <<_ACEOF
5887
cat confdefs.h >>conftest.$ac_ext
5888
cat >>conftest.$ac_ext <<_ACEOF
5889
/* end confdefs.h. */
5899
rm -f conftest.$ac_objext
5900
if { (ac_try="$ac_compile"
5902
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5903
*) ac_try_echo=$ac_try;;
5905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5906
(eval "$ac_compile") 2>conftest.er1
5908
grep -v '^ *+' conftest.er1 >conftest.err
5910
cat conftest.err >&5
5911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912
(exit $ac_status); } &&
5913
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5914
{ (case "(($ac_try" in
5915
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5916
*) ac_try_echo=$ac_try;;
5918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5919
(eval "$ac_try") 2>&5
5921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922
(exit $ac_status); }; } &&
5923
{ ac_try='test -s conftest.$ac_objext'
5924
{ (case "(($ac_try" in
5925
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5926
*) ac_try_echo=$ac_try;;
5928
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5929
(eval "$ac_try") 2>&5
5931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932
(exit $ac_status); }; }; then
5933
ac_cv_prog_cxx_g=yes
5935
echo "$as_me: failed program was:" >&5
5936
sed 's/^/| /' conftest.$ac_ext >&5
5941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5944
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5947
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5948
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5950
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5951
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4655
5952
if test "$ac_test_CXXFLAGS" = set; then
4656
5953
CXXFLAGS=$ac_save_CXXFLAGS
4657
5954
elif test $ac_cv_prog_cxx_g = yes; then
9969
11768
echo EXPORTS > $output_objdir/$soname.def;
9970
11769
cat $export_symbols >> $output_objdir/$soname.def;
9972
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11771
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9974
11773
ld_shlibs_CXX=no
9978
darwin* | rhapsody*)
9979
if test "$GXX" = yes; then
9980
archive_cmds_need_lc_CXX=no
9982
rhapsody* | darwin1.[012])
9983
allow_undefined_flag_CXX='-undefined suppress'
9986
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9987
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9989
case ${MACOSX_DEPLOYMENT_TARGET} in
9991
allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9994
allow_undefined_flag_CXX='-undefined dynamic_lookup'
11776
darwin* | rhapsody*)
11778
rhapsody* | darwin1.[012])
11779
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11782
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11783
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11785
case ${MACOSX_DEPLOYMENT_TARGET} in
11787
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11790
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10000
lt_int_apple_cc_single_mod=no
10001
output_verbose_link_cmd='echo'
10002
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10003
lt_int_apple_cc_single_mod=yes
10005
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10006
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10008
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10010
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11796
archive_cmds_need_lc_CXX=no
11797
hardcode_direct_CXX=no
11798
hardcode_automatic_CXX=yes
11799
hardcode_shlibpath_var_CXX=unsupported
11800
whole_archive_flag_spec_CXX=''
11801
link_all_deplibs_CXX=yes
10012
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10013
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10014
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10016
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10018
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10019
hardcode_direct_CXX=no
10020
hardcode_automatic_CXX=yes
10021
hardcode_shlibpath_var_CXX=unsupported
10022
whole_archive_flag_spec_CXX='-all_load $convenience'
10023
link_all_deplibs_CXX=yes
11803
if test "$GXX" = yes ; then
11804
lt_int_apple_cc_single_mod=no
11805
output_verbose_link_cmd='echo'
11806
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11807
lt_int_apple_cc_single_mod=yes
11809
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11810
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11812
archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11814
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11815
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11816
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11817
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11819
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11821
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11823
case $cc_basename in
11825
output_verbose_link_cmd='echo'
11826
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11827
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11828
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11829
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11830
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10030
11840
case $cc_basename in
10032
11842
# FIXME: insert proper C++ library support
10033
11843
ld_shlibs_CXX=no
10036
11846
# Green Hills C++ Compiler
10037
11847
# FIXME: insert proper C++ library support
10038
11848
ld_shlibs_CXX=no
11731
13756
enable_fast_install=needless
11736
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11737
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11738
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11739
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11740
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11741
echo "$as_me:$LINENO: result: yes" >&5
11742
echo "${ECHO_T}yes" >&6
11744
# FIXME - insert some real tests, host_os isn't really good enough
11747
if test -n "$STRIP" ; then
11748
striplib="$STRIP -x"
11749
echo "$as_me:$LINENO: result: yes" >&5
11750
echo "${ECHO_T}yes" >&6
11752
echo "$as_me:$LINENO: result: no" >&5
11753
echo "${ECHO_T}no" >&6
11757
echo "$as_me:$LINENO: result: no" >&5
11758
echo "${ECHO_T}no" >&6
11763
if test "x$enable_dlopen" != xyes; then
11764
enable_dlopen=unknown
11765
enable_dlopen_self=unknown
11766
enable_dlopen_self_static=unknown
11773
lt_cv_dlopen="load_add_on"
11775
lt_cv_dlopen_self=yes
11779
lt_cv_dlopen="LoadLibrary"
11784
lt_cv_dlopen="dlopen"
11789
# if libdl is installed we need to link against it
11790
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11791
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11792
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11793
echo $ECHO_N "(cached) $ECHO_C" >&6
11795
ac_check_lib_save_LIBS=$LIBS
11797
cat >conftest.$ac_ext <<_ACEOF
11800
cat confdefs.h >>conftest.$ac_ext
11801
cat >>conftest.$ac_ext <<_ACEOF
11802
/* end confdefs.h. */
11804
/* Override any gcc2 internal prototype to avoid an error. */
11808
/* We use char because int might match the return type of a gcc2
11809
builtin and then its argument prototype would still apply. */
11819
rm -f conftest.$ac_objext conftest$ac_exeext
11820
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11821
(eval $ac_link) 2>conftest.er1
11823
grep -v '^ *+' conftest.er1 >conftest.err
11825
cat conftest.err >&5
11826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827
(exit $ac_status); } &&
11828
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11829
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830
(eval $ac_try) 2>&5
11832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833
(exit $ac_status); }; } &&
11834
{ ac_try='test -s conftest$ac_exeext'
11835
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836
(eval $ac_try) 2>&5
11838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839
(exit $ac_status); }; }; then
11840
ac_cv_lib_dl_dlopen=yes
11842
echo "$as_me: failed program was:" >&5
11843
sed 's/^/| /' conftest.$ac_ext >&5
11845
ac_cv_lib_dl_dlopen=no
11847
rm -f conftest.err conftest.$ac_objext \
11848
conftest$ac_exeext conftest.$ac_ext
11849
LIBS=$ac_check_lib_save_LIBS
11851
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11852
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11853
if test $ac_cv_lib_dl_dlopen = yes; then
11854
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11857
lt_cv_dlopen="dyld"
11859
lt_cv_dlopen_self=yes
11866
echo "$as_me:$LINENO: checking for shl_load" >&5
11867
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11868
if test "${ac_cv_func_shl_load+set}" = set; then
11869
echo $ECHO_N "(cached) $ECHO_C" >&6
11871
cat >conftest.$ac_ext <<_ACEOF
11874
cat confdefs.h >>conftest.$ac_ext
11875
cat >>conftest.$ac_ext <<_ACEOF
11876
/* end confdefs.h. */
11877
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11878
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11879
#define shl_load innocuous_shl_load
11881
/* System header to define __stub macros and hopefully few prototypes,
11882
which can conflict with char shl_load (); below.
11883
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11884
<limits.h> exists even on freestanding compilers. */
11887
# include <limits.h>
11889
# include <assert.h>
11894
/* Override any gcc2 internal prototype to avoid an error. */
11899
/* We use char because int might match the return type of a gcc2
11900
builtin and then its argument prototype would still apply. */
11902
/* The GNU C library defines this for functions which it implements
11903
to always fail with ENOSYS. Some functions are actually named
11904
something starting with __ and the normal name is an alias. */
11905
#if defined (__stub_shl_load) || defined (__stub___shl_load)
11908
char (*f) () = shl_load;
11917
return f != shl_load;
11922
rm -f conftest.$ac_objext conftest$ac_exeext
11923
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11924
(eval $ac_link) 2>conftest.er1
11926
grep -v '^ *+' conftest.er1 >conftest.err
11928
cat conftest.err >&5
11929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930
(exit $ac_status); } &&
11931
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11932
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11933
(eval $ac_try) 2>&5
11935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936
(exit $ac_status); }; } &&
11937
{ ac_try='test -s conftest$ac_exeext'
11938
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939
(eval $ac_try) 2>&5
11941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942
(exit $ac_status); }; }; then
11943
ac_cv_func_shl_load=yes
11945
echo "$as_me: failed program was:" >&5
11946
sed 's/^/| /' conftest.$ac_ext >&5
11948
ac_cv_func_shl_load=no
11950
rm -f conftest.err conftest.$ac_objext \
11951
conftest$ac_exeext conftest.$ac_ext
11953
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11954
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11955
if test $ac_cv_func_shl_load = yes; then
11956
lt_cv_dlopen="shl_load"
11958
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11959
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11960
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11961
echo $ECHO_N "(cached) $ECHO_C" >&6
11963
ac_check_lib_save_LIBS=$LIBS
11965
cat >conftest.$ac_ext <<_ACEOF
11968
cat confdefs.h >>conftest.$ac_ext
11969
cat >>conftest.$ac_ext <<_ACEOF
11970
/* end confdefs.h. */
11972
/* Override any gcc2 internal prototype to avoid an error. */
11976
/* We use char because int might match the return type of a gcc2
11977
builtin and then its argument prototype would still apply. */
11987
rm -f conftest.$ac_objext conftest$ac_exeext
11988
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11989
(eval $ac_link) 2>conftest.er1
11991
grep -v '^ *+' conftest.er1 >conftest.err
11993
cat conftest.err >&5
11994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995
(exit $ac_status); } &&
11996
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11997
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998
(eval $ac_try) 2>&5
12000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001
(exit $ac_status); }; } &&
12002
{ ac_try='test -s conftest$ac_exeext'
12003
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004
(eval $ac_try) 2>&5
12006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007
(exit $ac_status); }; }; then
12008
ac_cv_lib_dld_shl_load=yes
12010
echo "$as_me: failed program was:" >&5
12011
sed 's/^/| /' conftest.$ac_ext >&5
12013
ac_cv_lib_dld_shl_load=no
12015
rm -f conftest.err conftest.$ac_objext \
12016
conftest$ac_exeext conftest.$ac_ext
12017
LIBS=$ac_check_lib_save_LIBS
12019
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12020
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12021
if test $ac_cv_lib_dld_shl_load = yes; then
12022
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12024
echo "$as_me:$LINENO: checking for dlopen" >&5
12025
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12026
if test "${ac_cv_func_dlopen+set}" = set; then
12027
echo $ECHO_N "(cached) $ECHO_C" >&6
12029
cat >conftest.$ac_ext <<_ACEOF
12032
cat confdefs.h >>conftest.$ac_ext
12033
cat >>conftest.$ac_ext <<_ACEOF
12034
/* end confdefs.h. */
12035
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12036
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12037
#define dlopen innocuous_dlopen
12039
/* System header to define __stub macros and hopefully few prototypes,
12040
which can conflict with char dlopen (); below.
12041
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12042
<limits.h> exists even on freestanding compilers. */
12045
# include <limits.h>
12047
# include <assert.h>
12052
/* Override any gcc2 internal prototype to avoid an error. */
12057
/* We use char because int might match the return type of a gcc2
12058
builtin and then its argument prototype would still apply. */
12060
/* The GNU C library defines this for functions which it implements
12061
to always fail with ENOSYS. Some functions are actually named
12062
something starting with __ and the normal name is an alias. */
12063
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12066
char (*f) () = dlopen;
12075
return f != dlopen;
12080
rm -f conftest.$ac_objext conftest$ac_exeext
12081
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12082
(eval $ac_link) 2>conftest.er1
12084
grep -v '^ *+' conftest.er1 >conftest.err
12086
cat conftest.err >&5
12087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088
(exit $ac_status); } &&
12089
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12090
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091
(eval $ac_try) 2>&5
12093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094
(exit $ac_status); }; } &&
12095
{ ac_try='test -s conftest$ac_exeext'
12096
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12097
(eval $ac_try) 2>&5
12099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100
(exit $ac_status); }; }; then
12101
ac_cv_func_dlopen=yes
12103
echo "$as_me: failed program was:" >&5
12104
sed 's/^/| /' conftest.$ac_ext >&5
12106
ac_cv_func_dlopen=no
12108
rm -f conftest.err conftest.$ac_objext \
12109
conftest$ac_exeext conftest.$ac_ext
12111
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12112
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12113
if test $ac_cv_func_dlopen = yes; then
12114
lt_cv_dlopen="dlopen"
12116
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12117
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12118
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12119
echo $ECHO_N "(cached) $ECHO_C" >&6
12121
ac_check_lib_save_LIBS=$LIBS
12123
cat >conftest.$ac_ext <<_ACEOF
12126
cat confdefs.h >>conftest.$ac_ext
12127
cat >>conftest.$ac_ext <<_ACEOF
12128
/* end confdefs.h. */
12130
/* Override any gcc2 internal prototype to avoid an error. */
12134
/* We use char because int might match the return type of a gcc2
12135
builtin and then its argument prototype would still apply. */
12145
rm -f conftest.$ac_objext conftest$ac_exeext
12146
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12147
(eval $ac_link) 2>conftest.er1
12149
grep -v '^ *+' conftest.er1 >conftest.err
12151
cat conftest.err >&5
12152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153
(exit $ac_status); } &&
12154
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12155
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156
(eval $ac_try) 2>&5
12158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159
(exit $ac_status); }; } &&
12160
{ ac_try='test -s conftest$ac_exeext'
12161
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162
(eval $ac_try) 2>&5
12164
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165
(exit $ac_status); }; }; then
12166
ac_cv_lib_dl_dlopen=yes
12168
echo "$as_me: failed program was:" >&5
12169
sed 's/^/| /' conftest.$ac_ext >&5
12171
ac_cv_lib_dl_dlopen=no
12173
rm -f conftest.err conftest.$ac_objext \
12174
conftest$ac_exeext conftest.$ac_ext
12175
LIBS=$ac_check_lib_save_LIBS
12177
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12178
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12179
if test $ac_cv_lib_dl_dlopen = yes; then
12180
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12182
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12183
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12184
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12185
echo $ECHO_N "(cached) $ECHO_C" >&6
12187
ac_check_lib_save_LIBS=$LIBS
12188
LIBS="-lsvld $LIBS"
12189
cat >conftest.$ac_ext <<_ACEOF
12192
cat confdefs.h >>conftest.$ac_ext
12193
cat >>conftest.$ac_ext <<_ACEOF
12194
/* end confdefs.h. */
12196
/* Override any gcc2 internal prototype to avoid an error. */
12200
/* We use char because int might match the return type of a gcc2
12201
builtin and then its argument prototype would still apply. */
12211
rm -f conftest.$ac_objext conftest$ac_exeext
12212
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12213
(eval $ac_link) 2>conftest.er1
12215
grep -v '^ *+' conftest.er1 >conftest.err
12217
cat conftest.err >&5
12218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219
(exit $ac_status); } &&
12220
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12221
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222
(eval $ac_try) 2>&5
12224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225
(exit $ac_status); }; } &&
12226
{ ac_try='test -s conftest$ac_exeext'
12227
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228
(eval $ac_try) 2>&5
12230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231
(exit $ac_status); }; }; then
12232
ac_cv_lib_svld_dlopen=yes
12234
echo "$as_me: failed program was:" >&5
12235
sed 's/^/| /' conftest.$ac_ext >&5
12237
ac_cv_lib_svld_dlopen=no
12239
rm -f conftest.err conftest.$ac_objext \
12240
conftest$ac_exeext conftest.$ac_ext
12241
LIBS=$ac_check_lib_save_LIBS
12243
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12244
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12245
if test $ac_cv_lib_svld_dlopen = yes; then
12246
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12248
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12249
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12250
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12251
echo $ECHO_N "(cached) $ECHO_C" >&6
12253
ac_check_lib_save_LIBS=$LIBS
12255
cat >conftest.$ac_ext <<_ACEOF
12258
cat confdefs.h >>conftest.$ac_ext
12259
cat >>conftest.$ac_ext <<_ACEOF
12260
/* end confdefs.h. */
12262
/* Override any gcc2 internal prototype to avoid an error. */
12266
/* We use char because int might match the return type of a gcc2
12267
builtin and then its argument prototype would still apply. */
12277
rm -f conftest.$ac_objext conftest$ac_exeext
12278
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12279
(eval $ac_link) 2>conftest.er1
12281
grep -v '^ *+' conftest.er1 >conftest.err
12283
cat conftest.err >&5
12284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285
(exit $ac_status); } &&
12286
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12287
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288
(eval $ac_try) 2>&5
12290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291
(exit $ac_status); }; } &&
12292
{ ac_try='test -s conftest$ac_exeext'
12293
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12294
(eval $ac_try) 2>&5
12296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297
(exit $ac_status); }; }; then
12298
ac_cv_lib_dld_dld_link=yes
12300
echo "$as_me: failed program was:" >&5
12301
sed 's/^/| /' conftest.$ac_ext >&5
12303
ac_cv_lib_dld_dld_link=no
12305
rm -f conftest.err conftest.$ac_objext \
12306
conftest$ac_exeext conftest.$ac_ext
12307
LIBS=$ac_check_lib_save_LIBS
12309
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12310
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12311
if test $ac_cv_lib_dld_dld_link = yes; then
12312
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12333
if test "x$lt_cv_dlopen" != xno; then
12339
case $lt_cv_dlopen in
12341
save_CPPFLAGS="$CPPFLAGS"
12342
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12344
save_LDFLAGS="$LDFLAGS"
12345
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12348
LIBS="$lt_cv_dlopen_libs $LIBS"
12350
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12351
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12352
if test "${lt_cv_dlopen_self+set}" = set; then
12353
echo $ECHO_N "(cached) $ECHO_C" >&6
12355
if test "$cross_compiling" = yes; then :
12356
lt_cv_dlopen_self=cross
12358
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12359
lt_status=$lt_dlunknown
12360
cat > conftest.$ac_ext <<EOF
12361
#line 12361 "configure"
12362
#include "confdefs.h"
12371
# define LT_DLGLOBAL RTLD_GLOBAL
12374
# define LT_DLGLOBAL DL_GLOBAL
12376
# define LT_DLGLOBAL 0
12380
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12381
find out it does not work in some platform. */
12382
#ifndef LT_DLLAZY_OR_NOW
12384
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12387
# define LT_DLLAZY_OR_NOW DL_LAZY
12390
# define LT_DLLAZY_OR_NOW RTLD_NOW
12393
# define LT_DLLAZY_OR_NOW DL_NOW
12395
# define LT_DLLAZY_OR_NOW 0
12403
extern "C" void exit (int);
12406
void fnord() { int i=42;}
12409
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12410
int status = $lt_dlunknown;
12414
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12415
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12416
/* dlclose (self); */
12422
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12423
(eval $ac_link) 2>&5
12425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12427
(./conftest; exit; ) 2>/dev/null
12429
case x$lt_status in
12430
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12431
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12432
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12435
# compilation failed
12436
lt_cv_dlopen_self=no
12443
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12444
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12446
if test "x$lt_cv_dlopen_self" = xyes; then
12447
LDFLAGS="$LDFLAGS $link_static_flag"
12448
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12449
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12450
if test "${lt_cv_dlopen_self_static+set}" = set; then
12451
echo $ECHO_N "(cached) $ECHO_C" >&6
12453
if test "$cross_compiling" = yes; then :
12454
lt_cv_dlopen_self_static=cross
12456
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12457
lt_status=$lt_dlunknown
12458
cat > conftest.$ac_ext <<EOF
12459
#line 12459 "configure"
12460
#include "confdefs.h"
12469
# define LT_DLGLOBAL RTLD_GLOBAL
12472
# define LT_DLGLOBAL DL_GLOBAL
12474
# define LT_DLGLOBAL 0
12478
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12479
find out it does not work in some platform. */
12480
#ifndef LT_DLLAZY_OR_NOW
12482
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12485
# define LT_DLLAZY_OR_NOW DL_LAZY
12488
# define LT_DLLAZY_OR_NOW RTLD_NOW
12491
# define LT_DLLAZY_OR_NOW DL_NOW
12493
# define LT_DLLAZY_OR_NOW 0
12501
extern "C" void exit (int);
12504
void fnord() { int i=42;}
12507
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12508
int status = $lt_dlunknown;
12512
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12513
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12514
/* dlclose (self); */
12520
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12521
(eval $ac_link) 2>&5
12523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12525
(./conftest; exit; ) 2>/dev/null
12527
case x$lt_status in
12528
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12529
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12530
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12533
# compilation failed
12534
lt_cv_dlopen_self_static=no
12541
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12542
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12545
CPPFLAGS="$save_CPPFLAGS"
12546
LDFLAGS="$save_LDFLAGS"
12551
case $lt_cv_dlopen_self in
12552
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12553
*) enable_dlopen_self=unknown ;;
12556
case $lt_cv_dlopen_self_static in
12557
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12558
*) enable_dlopen_self_static=unknown ;;
12563
13760
# The else clause should only fire when bootstrapping the
12564
13761
# libtool distribution, otherwise you forgot to ship ltmain.sh
17216
18971
enable_fast_install=needless
17221
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17222
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17223
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17224
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17225
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17226
echo "$as_me:$LINENO: result: yes" >&5
17227
echo "${ECHO_T}yes" >&6
17229
# FIXME - insert some real tests, host_os isn't really good enough
17232
if test -n "$STRIP" ; then
17233
striplib="$STRIP -x"
17234
echo "$as_me:$LINENO: result: yes" >&5
17235
echo "${ECHO_T}yes" >&6
17237
echo "$as_me:$LINENO: result: no" >&5
17238
echo "${ECHO_T}no" >&6
17242
echo "$as_me:$LINENO: result: no" >&5
17243
echo "${ECHO_T}no" >&6
17248
if test "x$enable_dlopen" != xyes; then
17249
enable_dlopen=unknown
17250
enable_dlopen_self=unknown
17251
enable_dlopen_self_static=unknown
17258
lt_cv_dlopen="load_add_on"
17260
lt_cv_dlopen_self=yes
17264
lt_cv_dlopen="LoadLibrary"
17269
lt_cv_dlopen="dlopen"
17274
# if libdl is installed we need to link against it
17275
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17276
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17277
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17278
echo $ECHO_N "(cached) $ECHO_C" >&6
17280
ac_check_lib_save_LIBS=$LIBS
17282
cat >conftest.$ac_ext <<_ACEOF
17285
cat confdefs.h >>conftest.$ac_ext
17286
cat >>conftest.$ac_ext <<_ACEOF
17287
/* end confdefs.h. */
17289
/* Override any gcc2 internal prototype to avoid an error. */
17293
/* We use char because int might match the return type of a gcc2
17294
builtin and then its argument prototype would still apply. */
17304
rm -f conftest.$ac_objext conftest$ac_exeext
17305
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17306
(eval $ac_link) 2>conftest.er1
17308
grep -v '^ *+' conftest.er1 >conftest.err
17310
cat conftest.err >&5
17311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312
(exit $ac_status); } &&
17313
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17314
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315
(eval $ac_try) 2>&5
17317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318
(exit $ac_status); }; } &&
17319
{ ac_try='test -s conftest$ac_exeext'
17320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321
(eval $ac_try) 2>&5
17323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324
(exit $ac_status); }; }; then
17325
ac_cv_lib_dl_dlopen=yes
17327
echo "$as_me: failed program was:" >&5
17328
sed 's/^/| /' conftest.$ac_ext >&5
17330
ac_cv_lib_dl_dlopen=no
17332
rm -f conftest.err conftest.$ac_objext \
17333
conftest$ac_exeext conftest.$ac_ext
17334
LIBS=$ac_check_lib_save_LIBS
17336
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17337
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17338
if test $ac_cv_lib_dl_dlopen = yes; then
17339
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17342
lt_cv_dlopen="dyld"
17344
lt_cv_dlopen_self=yes
17351
echo "$as_me:$LINENO: checking for shl_load" >&5
17352
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17353
if test "${ac_cv_func_shl_load+set}" = set; then
17354
echo $ECHO_N "(cached) $ECHO_C" >&6
17356
cat >conftest.$ac_ext <<_ACEOF
17359
cat confdefs.h >>conftest.$ac_ext
17360
cat >>conftest.$ac_ext <<_ACEOF
17361
/* end confdefs.h. */
17362
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17363
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17364
#define shl_load innocuous_shl_load
17366
/* System header to define __stub macros and hopefully few prototypes,
17367
which can conflict with char shl_load (); below.
17368
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17369
<limits.h> exists even on freestanding compilers. */
17372
# include <limits.h>
17374
# include <assert.h>
17379
/* Override any gcc2 internal prototype to avoid an error. */
17384
/* We use char because int might match the return type of a gcc2
17385
builtin and then its argument prototype would still apply. */
17387
/* The GNU C library defines this for functions which it implements
17388
to always fail with ENOSYS. Some functions are actually named
17389
something starting with __ and the normal name is an alias. */
17390
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17393
char (*f) () = shl_load;
17402
return f != shl_load;
17407
rm -f conftest.$ac_objext conftest$ac_exeext
17408
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17409
(eval $ac_link) 2>conftest.er1
17411
grep -v '^ *+' conftest.er1 >conftest.err
17413
cat conftest.err >&5
17414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415
(exit $ac_status); } &&
17416
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17417
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418
(eval $ac_try) 2>&5
17420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421
(exit $ac_status); }; } &&
17422
{ ac_try='test -s conftest$ac_exeext'
17423
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424
(eval $ac_try) 2>&5
17426
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427
(exit $ac_status); }; }; then
17428
ac_cv_func_shl_load=yes
17430
echo "$as_me: failed program was:" >&5
17431
sed 's/^/| /' conftest.$ac_ext >&5
17433
ac_cv_func_shl_load=no
17435
rm -f conftest.err conftest.$ac_objext \
17436
conftest$ac_exeext conftest.$ac_ext
17438
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17439
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17440
if test $ac_cv_func_shl_load = yes; then
17441
lt_cv_dlopen="shl_load"
17443
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17444
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17445
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17446
echo $ECHO_N "(cached) $ECHO_C" >&6
17448
ac_check_lib_save_LIBS=$LIBS
17450
cat >conftest.$ac_ext <<_ACEOF
17453
cat confdefs.h >>conftest.$ac_ext
17454
cat >>conftest.$ac_ext <<_ACEOF
17455
/* end confdefs.h. */
17457
/* Override any gcc2 internal prototype to avoid an error. */
17461
/* We use char because int might match the return type of a gcc2
17462
builtin and then its argument prototype would still apply. */
17472
rm -f conftest.$ac_objext conftest$ac_exeext
17473
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17474
(eval $ac_link) 2>conftest.er1
17476
grep -v '^ *+' conftest.er1 >conftest.err
17478
cat conftest.err >&5
17479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480
(exit $ac_status); } &&
17481
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17482
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483
(eval $ac_try) 2>&5
17485
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486
(exit $ac_status); }; } &&
17487
{ ac_try='test -s conftest$ac_exeext'
17488
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489
(eval $ac_try) 2>&5
17491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492
(exit $ac_status); }; }; then
17493
ac_cv_lib_dld_shl_load=yes
17495
echo "$as_me: failed program was:" >&5
17496
sed 's/^/| /' conftest.$ac_ext >&5
17498
ac_cv_lib_dld_shl_load=no
17500
rm -f conftest.err conftest.$ac_objext \
17501
conftest$ac_exeext conftest.$ac_ext
17502
LIBS=$ac_check_lib_save_LIBS
17504
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17505
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17506
if test $ac_cv_lib_dld_shl_load = yes; then
17507
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17509
echo "$as_me:$LINENO: checking for dlopen" >&5
17510
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17511
if test "${ac_cv_func_dlopen+set}" = set; then
17512
echo $ECHO_N "(cached) $ECHO_C" >&6
17514
cat >conftest.$ac_ext <<_ACEOF
17517
cat confdefs.h >>conftest.$ac_ext
17518
cat >>conftest.$ac_ext <<_ACEOF
17519
/* end confdefs.h. */
17520
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17521
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17522
#define dlopen innocuous_dlopen
17524
/* System header to define __stub macros and hopefully few prototypes,
17525
which can conflict with char dlopen (); below.
17526
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17527
<limits.h> exists even on freestanding compilers. */
17530
# include <limits.h>
17532
# include <assert.h>
17537
/* Override any gcc2 internal prototype to avoid an error. */
17542
/* We use char because int might match the return type of a gcc2
17543
builtin and then its argument prototype would still apply. */
17545
/* The GNU C library defines this for functions which it implements
17546
to always fail with ENOSYS. Some functions are actually named
17547
something starting with __ and the normal name is an alias. */
17548
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17551
char (*f) () = dlopen;
17560
return f != dlopen;
17565
rm -f conftest.$ac_objext conftest$ac_exeext
17566
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17567
(eval $ac_link) 2>conftest.er1
17569
grep -v '^ *+' conftest.er1 >conftest.err
17571
cat conftest.err >&5
17572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573
(exit $ac_status); } &&
17574
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17575
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576
(eval $ac_try) 2>&5
17578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579
(exit $ac_status); }; } &&
17580
{ ac_try='test -s conftest$ac_exeext'
17581
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582
(eval $ac_try) 2>&5
17584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585
(exit $ac_status); }; }; then
17586
ac_cv_func_dlopen=yes
17588
echo "$as_me: failed program was:" >&5
17589
sed 's/^/| /' conftest.$ac_ext >&5
17591
ac_cv_func_dlopen=no
17593
rm -f conftest.err conftest.$ac_objext \
17594
conftest$ac_exeext conftest.$ac_ext
17596
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17597
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17598
if test $ac_cv_func_dlopen = yes; then
17599
lt_cv_dlopen="dlopen"
17601
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17602
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17603
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17604
echo $ECHO_N "(cached) $ECHO_C" >&6
17606
ac_check_lib_save_LIBS=$LIBS
17608
cat >conftest.$ac_ext <<_ACEOF
17611
cat confdefs.h >>conftest.$ac_ext
17612
cat >>conftest.$ac_ext <<_ACEOF
17613
/* end confdefs.h. */
17615
/* Override any gcc2 internal prototype to avoid an error. */
17619
/* We use char because int might match the return type of a gcc2
17620
builtin and then its argument prototype would still apply. */
17630
rm -f conftest.$ac_objext conftest$ac_exeext
17631
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17632
(eval $ac_link) 2>conftest.er1
17634
grep -v '^ *+' conftest.er1 >conftest.err
17636
cat conftest.err >&5
17637
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638
(exit $ac_status); } &&
17639
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17640
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641
(eval $ac_try) 2>&5
17643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644
(exit $ac_status); }; } &&
17645
{ ac_try='test -s conftest$ac_exeext'
17646
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17647
(eval $ac_try) 2>&5
17649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650
(exit $ac_status); }; }; then
17651
ac_cv_lib_dl_dlopen=yes
17653
echo "$as_me: failed program was:" >&5
17654
sed 's/^/| /' conftest.$ac_ext >&5
17656
ac_cv_lib_dl_dlopen=no
17658
rm -f conftest.err conftest.$ac_objext \
17659
conftest$ac_exeext conftest.$ac_ext
17660
LIBS=$ac_check_lib_save_LIBS
17662
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17663
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17664
if test $ac_cv_lib_dl_dlopen = yes; then
17665
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17667
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17668
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17669
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17670
echo $ECHO_N "(cached) $ECHO_C" >&6
17672
ac_check_lib_save_LIBS=$LIBS
17673
LIBS="-lsvld $LIBS"
17674
cat >conftest.$ac_ext <<_ACEOF
17677
cat confdefs.h >>conftest.$ac_ext
17678
cat >>conftest.$ac_ext <<_ACEOF
17679
/* end confdefs.h. */
17681
/* Override any gcc2 internal prototype to avoid an error. */
17685
/* We use char because int might match the return type of a gcc2
17686
builtin and then its argument prototype would still apply. */
17696
rm -f conftest.$ac_objext conftest$ac_exeext
17697
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17698
(eval $ac_link) 2>conftest.er1
17700
grep -v '^ *+' conftest.er1 >conftest.err
17702
cat conftest.err >&5
17703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704
(exit $ac_status); } &&
17705
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17706
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707
(eval $ac_try) 2>&5
17709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710
(exit $ac_status); }; } &&
17711
{ ac_try='test -s conftest$ac_exeext'
17712
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713
(eval $ac_try) 2>&5
17715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716
(exit $ac_status); }; }; then
17717
ac_cv_lib_svld_dlopen=yes
17719
echo "$as_me: failed program was:" >&5
17720
sed 's/^/| /' conftest.$ac_ext >&5
17722
ac_cv_lib_svld_dlopen=no
17724
rm -f conftest.err conftest.$ac_objext \
17725
conftest$ac_exeext conftest.$ac_ext
17726
LIBS=$ac_check_lib_save_LIBS
17728
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17729
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17730
if test $ac_cv_lib_svld_dlopen = yes; then
17731
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17733
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17734
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17735
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17736
echo $ECHO_N "(cached) $ECHO_C" >&6
17738
ac_check_lib_save_LIBS=$LIBS
17740
cat >conftest.$ac_ext <<_ACEOF
17743
cat confdefs.h >>conftest.$ac_ext
17744
cat >>conftest.$ac_ext <<_ACEOF
17745
/* end confdefs.h. */
17747
/* Override any gcc2 internal prototype to avoid an error. */
17751
/* We use char because int might match the return type of a gcc2
17752
builtin and then its argument prototype would still apply. */
17762
rm -f conftest.$ac_objext conftest$ac_exeext
17763
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17764
(eval $ac_link) 2>conftest.er1
17766
grep -v '^ *+' conftest.er1 >conftest.err
17768
cat conftest.err >&5
17769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770
(exit $ac_status); } &&
17771
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17772
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773
(eval $ac_try) 2>&5
17775
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776
(exit $ac_status); }; } &&
17777
{ ac_try='test -s conftest$ac_exeext'
17778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779
(eval $ac_try) 2>&5
17781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782
(exit $ac_status); }; }; then
17783
ac_cv_lib_dld_dld_link=yes
17785
echo "$as_me: failed program was:" >&5
17786
sed 's/^/| /' conftest.$ac_ext >&5
17788
ac_cv_lib_dld_dld_link=no
17790
rm -f conftest.err conftest.$ac_objext \
17791
conftest$ac_exeext conftest.$ac_ext
17792
LIBS=$ac_check_lib_save_LIBS
17794
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17795
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17796
if test $ac_cv_lib_dld_dld_link = yes; then
17797
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17818
if test "x$lt_cv_dlopen" != xno; then
17824
case $lt_cv_dlopen in
17826
save_CPPFLAGS="$CPPFLAGS"
17827
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17829
save_LDFLAGS="$LDFLAGS"
17830
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17833
LIBS="$lt_cv_dlopen_libs $LIBS"
17835
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17836
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17837
if test "${lt_cv_dlopen_self+set}" = set; then
17838
echo $ECHO_N "(cached) $ECHO_C" >&6
17840
if test "$cross_compiling" = yes; then :
17841
lt_cv_dlopen_self=cross
17843
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17844
lt_status=$lt_dlunknown
17845
cat > conftest.$ac_ext <<EOF
17846
#line 17846 "configure"
17847
#include "confdefs.h"
17856
# define LT_DLGLOBAL RTLD_GLOBAL
17859
# define LT_DLGLOBAL DL_GLOBAL
17861
# define LT_DLGLOBAL 0
17865
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17866
find out it does not work in some platform. */
17867
#ifndef LT_DLLAZY_OR_NOW
17869
# define LT_DLLAZY_OR_NOW RTLD_LAZY
17872
# define LT_DLLAZY_OR_NOW DL_LAZY
17875
# define LT_DLLAZY_OR_NOW RTLD_NOW
17878
# define LT_DLLAZY_OR_NOW DL_NOW
17880
# define LT_DLLAZY_OR_NOW 0
17888
extern "C" void exit (int);
17891
void fnord() { int i=42;}
17894
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17895
int status = $lt_dlunknown;
17899
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17900
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17901
/* dlclose (self); */
17907
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17908
(eval $ac_link) 2>&5
17910
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17912
(./conftest; exit; ) 2>/dev/null
17914
case x$lt_status in
17915
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17916
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17917
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17920
# compilation failed
17921
lt_cv_dlopen_self=no
17928
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17929
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17931
if test "x$lt_cv_dlopen_self" = xyes; then
17932
LDFLAGS="$LDFLAGS $link_static_flag"
17933
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17934
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17935
if test "${lt_cv_dlopen_self_static+set}" = set; then
17936
echo $ECHO_N "(cached) $ECHO_C" >&6
17938
if test "$cross_compiling" = yes; then :
17939
lt_cv_dlopen_self_static=cross
17941
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17942
lt_status=$lt_dlunknown
17943
cat > conftest.$ac_ext <<EOF
17944
#line 17944 "configure"
17945
#include "confdefs.h"
17954
# define LT_DLGLOBAL RTLD_GLOBAL
17957
# define LT_DLGLOBAL DL_GLOBAL
17959
# define LT_DLGLOBAL 0
17963
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17964
find out it does not work in some platform. */
17965
#ifndef LT_DLLAZY_OR_NOW
17967
# define LT_DLLAZY_OR_NOW RTLD_LAZY
17970
# define LT_DLLAZY_OR_NOW DL_LAZY
17973
# define LT_DLLAZY_OR_NOW RTLD_NOW
17976
# define LT_DLLAZY_OR_NOW DL_NOW
17978
# define LT_DLLAZY_OR_NOW 0
17986
extern "C" void exit (int);
17989
void fnord() { int i=42;}
17992
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17993
int status = $lt_dlunknown;
17997
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17998
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17999
/* dlclose (self); */
18005
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18006
(eval $ac_link) 2>&5
18008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18010
(./conftest; exit; ) 2>/dev/null
18012
case x$lt_status in
18013
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18014
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18015
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18018
# compilation failed
18019
lt_cv_dlopen_self_static=no
18026
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18027
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18030
CPPFLAGS="$save_CPPFLAGS"
18031
LDFLAGS="$save_LDFLAGS"
18036
case $lt_cv_dlopen_self in
18037
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18038
*) enable_dlopen_self=unknown ;;
18041
case $lt_cv_dlopen_self_static in
18042
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18043
*) enable_dlopen_self_static=unknown ;;
18048
18975
# The else clause should only fire when bootstrapping the
18049
18976
# libtool distribution, otherwise you forgot to ship ltmain.sh
19003
19973
enable_static=no
19009
# Check whether --enable-glib or --disable-glib was given.
19010
if test "${enable_glib+set}" = set; then
19011
enableval="$enable_glib"
19012
use_glib=$enableval
19017
if test "x$use_glib" = "xyes"; then
19018
# Check whether --enable-glibtest or --disable-glibtest was given.
19019
if test "${enable_glibtest+set}" = set; then
19020
enableval="$enable_glibtest"
19023
enable_glibtest=yes
19026
pkg_config_args=glib-2.0
19027
for module in . gthread
19031
pkg_config_args="$pkg_config_args gmodule-2.0"
19034
pkg_config_args="$pkg_config_args gobject-2.0"
19037
pkg_config_args="$pkg_config_args gthread-2.0"
19042
# Extract the first word of "pkg-config", so it can be a program name with args.
19043
set dummy pkg-config; ac_word=$2
19044
echo "$as_me:$LINENO: checking for $ac_word" >&5
19045
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19046
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19047
echo $ECHO_N "(cached) $ECHO_C" >&6
19049
case $PKG_CONFIG in
19051
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19055
for as_dir in $PATH
19058
test -z "$as_dir" && as_dir=.
19059
for ac_exec_ext in '' $ac_executable_extensions; do
19060
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19061
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19062
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19068
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19072
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19074
if test -n "$PKG_CONFIG"; then
19075
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19076
echo "${ECHO_T}$PKG_CONFIG" >&6
19078
echo "$as_me:$LINENO: result: no" >&5
19079
echo "${ECHO_T}no" >&6
19085
if test x$PKG_CONFIG != xno ; then
19086
if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
19089
echo *** pkg-config too old; version 0.7 or better required.
19097
min_glib_version=2.0.0
19098
echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
19099
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
19101
if test x$PKG_CONFIG != xno ; then
19102
## don't try to run the test against uninstalled libtool libs
19103
if $PKG_CONFIG --uninstalled $pkg_config_args; then
19104
echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
19108
if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
19115
if test x"$no_glib" = x ; then
19116
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
19117
GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
19118
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
19120
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
19121
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
19122
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
19123
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19124
glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
19125
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19126
glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
19127
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19128
if test "x$enable_glibtest" = "xyes" ; then
19129
ac_save_CFLAGS="$CFLAGS"
19130
ac_save_LIBS="$LIBS"
19131
CFLAGS="$CFLAGS $GLIB_CFLAGS"
19132
LIBS="$GLIB_LIBS $LIBS"
19133
rm -f conf.glibtest
19134
if test "$cross_compiling" = yes; then
19135
echo $ac_n "cross compiling; assumed OK... $ac_c"
19137
cat >conftest.$ac_ext <<_ACEOF
19140
cat confdefs.h >>conftest.$ac_ext
19141
cat >>conftest.$ac_ext <<_ACEOF
19142
/* end confdefs.h. */
19146
#include <stdlib.h>
19151
int major, minor, micro;
19154
system ("touch conf.glibtest");
19156
/* HP/UX 9 (%@#!) writes to sscanf strings */
19157
tmp_version = g_strdup("$min_glib_version");
19158
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19159
printf("%s, bad version string\n", "$min_glib_version");
19163
if ((glib_major_version != $glib_config_major_version) ||
19164
(glib_minor_version != $glib_config_minor_version) ||
19165
(glib_micro_version != $glib_config_micro_version))
19167
printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
19168
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
19169
glib_major_version, glib_minor_version, glib_micro_version);
19170
printf ("*** was found! If pkg-config was correct, then it is best\n");
19171
printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
19172
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19173
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19174
printf("*** required on your system.\n");
19175
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19176
printf("*** to point to the correct configuration files\n");
19178
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
19179
(glib_minor_version != GLIB_MINOR_VERSION) ||
19180
(glib_micro_version != GLIB_MICRO_VERSION))
19182
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
19183
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
19184
printf("*** library (version %d.%d.%d)\n",
19185
glib_major_version, glib_minor_version, glib_micro_version);
19189
if ((glib_major_version > major) ||
19190
((glib_major_version == major) && (glib_minor_version > minor)) ||
19191
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
19197
printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
19198
glib_major_version, glib_minor_version, glib_micro_version);
19199
printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
19200
major, minor, micro);
19201
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
19203
printf("*** If you have already installed a sufficiently new version, this error\n");
19204
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19205
printf("*** being found. The easiest way to fix this is to remove the old version\n");
19206
printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
19207
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19208
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19209
printf("*** so that the correct libraries are found at run-time))\n");
19216
rm -f conftest$ac_exeext
19217
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19218
(eval $ac_link) 2>&5
19220
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19222
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223
(eval $ac_try) 2>&5
19225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226
(exit $ac_status); }; }; then
19229
echo "$as_me: program exited with status $ac_status" >&5
19230
echo "$as_me: failed program was:" >&5
19231
sed 's/^/| /' conftest.$ac_ext >&5
19233
( exit $ac_status )
19236
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19238
CFLAGS="$ac_save_CFLAGS"
19239
LIBS="$ac_save_LIBS"
19242
if test "x$no_glib" = x ; then
19243
echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
19244
echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6
19246
cat >>confdefs.h <<\_ACEOF
19247
#define HAVE_GLIB 1
19251
echo "$as_me:$LINENO: result: no" >&5
19252
echo "${ECHO_T}no" >&6
19253
if test "$PKG_CONFIG" = "no" ; then
19254
echo "*** A new enough version of pkg-config was not found."
19255
echo "*** See http://www.freedesktop.org/software/pkgconfig/"
19257
if test -f conf.glibtest ; then
19260
echo "*** Could not run GLIB test program, checking why..."
19261
ac_save_CFLAGS="$CFLAGS"
19262
ac_save_LIBS="$LIBS"
19263
CFLAGS="$CFLAGS $GLIB_CFLAGS"
19264
LIBS="$LIBS $GLIB_LIBS"
19265
cat >conftest.$ac_ext <<_ACEOF
19268
cat confdefs.h >>conftest.$ac_ext
19269
cat >>conftest.$ac_ext <<_ACEOF
19270
/* end confdefs.h. */
19278
return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
19283
rm -f conftest.$ac_objext conftest$ac_exeext
19284
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19285
(eval $ac_link) 2>conftest.er1
19287
grep -v '^ *+' conftest.er1 >conftest.err
19289
cat conftest.err >&5
19290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291
(exit $ac_status); } &&
19292
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19293
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294
(eval $ac_try) 2>&5
19296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297
(exit $ac_status); }; } &&
19298
{ ac_try='test -s conftest$ac_exeext'
19299
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300
(eval $ac_try) 2>&5
19302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303
(exit $ac_status); }; }; then
19304
echo "*** The test program compiled, but did not run. This usually means"
19305
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
19306
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
19307
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19308
echo "*** to the installed location Also, make sure you have run ldconfig if that"
19309
echo "*** is required on your system"
19311
echo "*** If you have an old version installed, it is best to remove it, although"
19312
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19314
echo "$as_me: failed program was:" >&5
19315
sed 's/^/| /' conftest.$ac_ext >&5
19317
echo "*** The test program failed to compile or link. See the file config.log for the"
19318
echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
19320
rm -f conftest.err conftest.$ac_objext \
19321
conftest$ac_exeext conftest.$ac_ext
19322
CFLAGS="$ac_save_CFLAGS"
19323
LIBS="$ac_save_LIBS"
19338
rm -f conf.glibtest
19342
if test "x$use_glib" != "xyes" ; then
19345
if test $rtcp_enabled = "yes"; then
19347
cat >>confdefs.h <<\_ACEOF
19356
if test "x$use_glib" = "xyes"; then
19358
GLIB_SUPPORT_FALSE='#'
19360
GLIB_SUPPORT_TRUE='#'
19361
GLIB_SUPPORT_FALSE=
19365
19978
if test "$GCC" != "yes" ; then
19366
19979
if test "$hpux_host" = "yes" ; then
19980
CFLAGS="$CFLAGS +O2 -g "
19368
19981
if test x$mode64bit_enabled = xyes ; then
19369
19982
CFLAGS="$CFLAGS +DA2.0W +DS2.0"
19373
CFLAGS="-O2 -g -Wall"
19986
CFLAGS="$CFLAGS -Wall"
19376
19989
build_scheduler=yes
20840
21887
# Name of the executable.
20841
as_me=`$as_basename "$0" ||
21888
as_me=`$as_basename -- "$0" ||
20842
21889
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20843
21890
X"$0" : 'X\(//\)$' \| \
20844
X"$0" : 'X\(/\)$' \| \
20845
. : '\(.\)' 2>/dev/null ||
21891
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20846
21892
echo X/"$0" |
20847
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20848
/^X\/\(\/\/\)$/{ s//\1/; q; }
20849
/^X\/\(\/\).*/{ s//\1/; q; }
20853
# PATH needs CR, and LINENO needs CR and PATH.
20854
# Avoid depending upon Character Ranges.
20855
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20856
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20857
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20858
as_cr_digits='0123456789'
20859
as_cr_alnum=$as_cr_Letters$as_cr_digits
20861
# The user is always right.
20862
if test "${PATH_SEPARATOR+set}" != set; then
20863
echo "#! /bin/sh" >conf$$.sh
20864
echo "exit 0" >>conf$$.sh
20866
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20875
as_lineno_1=$LINENO
20876
as_lineno_2=$LINENO
20877
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20878
test "x$as_lineno_1" != "x$as_lineno_2" &&
20879
test "x$as_lineno_3" = "x$as_lineno_2" || {
20880
# Find who we are. Look in the path if we contain no path at all
20883
*[\\/]* ) as_myself=$0 ;;
20884
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20885
for as_dir in $PATH
20888
test -z "$as_dir" && as_dir=.
20889
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20894
# We did not find ourselves, most probably we were run as `sh COMMAND'
20895
# in which case we are not to be found in the path.
20896
if test "x$as_myself" = x; then
20899
if test ! -f "$as_myself"; then
20900
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20901
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20902
{ (exit 1); exit 1; }; }
20904
case $CONFIG_SHELL in
20906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20907
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20910
test -z "$as_dir" && as_dir=.
20911
for as_base in sh bash ksh sh5; do
20914
if ("$as_dir/$as_base" -c '
20915
as_lineno_1=$LINENO
20916
as_lineno_2=$LINENO
20917
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20918
test "x$as_lineno_1" != "x$as_lineno_2" &&
20919
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20920
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20921
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20922
CONFIG_SHELL=$as_dir/$as_base
20923
export CONFIG_SHELL
20924
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21893
sed '/^.*\/\([^/][^/]*\)\/*$/{
21912
as_lineno_1=$LINENO
21913
as_lineno_2=$LINENO
21914
test "x$as_lineno_1" != "x$as_lineno_2" &&
21915
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20932
21917
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20933
21918
# uniformly replaced by the line number. The first 'sed' inserts a
20934
# line-number line before each line; the second 'sed' does the real
20935
# work. The second script uses 'N' to pair each line-number line
20936
# with the numbered line, and appends trailing '-' during
20937
# substitution so that $LINENO is not a special case at line end.
21919
# line-number line after each line using $LINENO; the second 'sed'
21920
# does the real work. The second script uses 'N' to pair each
21921
# line-number line with the line containing $LINENO, and appends
21922
# trailing '-' during substitution so that $LINENO is not a special
21923
# case at line end.
20938
21924
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20939
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20940
sed '=' <$as_myself |
21925
# scripts with optimization help from Paolo Bonzini. Blame Lee
21926
# E. McMahon (1931-1989) for sed's syntax. :-)
20945
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21938
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20948
s,^['$as_cr_digits']*\n,,
20949
21941
' >$as_me.lineno &&
20950
chmod +x $as_me.lineno ||
20951
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20952
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21942
chmod +x "$as_me.lineno" ||
21943
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20953
21944
{ (exit 1); exit 1; }; }
20955
21946
# Don't try to exec as it changes $[0], causing all sort of problems
20956
21947
# (the dirname of $[0] is not the place where we might find the
20957
# original and so on. Autoconf is especially sensible to this).
21948
# original and so on. Autoconf is especially sensitive to this).
21949
. "./$as_me.lineno"
20959
21950
# Exit status is that of the last command.
20964
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20965
*c*,-n*) ECHO_N= ECHO_C='
20967
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20968
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21955
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21961
ECHO_C= ECHO_N= ECHO_T=
21962
case `echo -n x` in
21964
case `echo 'x\c'` in
21965
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
20971
if expr a : '\(a\)' >/dev/null 2>&1; then
21972
if expr a : '\(a\)' >/dev/null 2>&1 &&
21973
test "X`expr 00001 : '.*\(...\)'`" = X001; then
20974
21976
as_expr=false
20977
21979
rm -f conf$$ conf$$.exe conf$$.file
21980
if test -d conf$$.dir; then
21981
rm -f conf$$.dir/conf$$.file
20978
21986
echo >conf$$.file
20979
21987
if ln -s conf$$.file conf$$ 2>/dev/null; then
20980
# We could just check for DJGPP; but this test a) works b) is more generic
20981
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20982
if test -f conf$$.exe; then
20983
# Don't use ln at all; we don't have any links
21989
# ... but there are two gotchas:
21990
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21991
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21992
# In both cases, we have to default to `cp -p'.
21993
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20984
21994
as_ln_s='cp -p'
20988
21995
elif ln conf$$.file conf$$ 2>/dev/null; then
20991
21998
as_ln_s='cp -p'
20993
rm -f conf$$ conf$$.exe conf$$.file
22000
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22001
rmdir conf$$.dir 2>/dev/null
20995
22003
if mkdir -p . 2>/dev/null; then
21230
22236
# Have a temporary directory for convenience. Make it in the build tree
21231
# simply because there is no reason to put it here, and in addition,
22237
# simply because there is no reason against having it here, and in addition,
21232
22238
# creating and moving files from /tmp can sometimes cause problems.
21233
# Create a temporary directory, and hook for its removal unless debugging.
22239
# Hook for its removal unless debugging.
22240
# Note that there is a small window in which the directory will not be cleaned:
22241
# after its creation but before its name has been assigned to `$tmp'.
21236
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22245
trap 'exit_status=$?
22246
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21237
22248
trap '{ (exit 1); exit 1; }' 1 2 13 15
21240
22250
# Create a (secure) tmp directory for tmp files.
21243
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22253
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21244
22254
test -n "$tmp" && test -d "$tmp"
21247
tmp=./confstat$$-$RANDOM
21248
(umask 077 && mkdir $tmp)
22257
tmp=./conf$$-$RANDOM
22258
(umask 077 && mkdir "$tmp")
21251
22261
echo "$me: cannot create a temporary directory in ." >&2
21252
22262
{ (exit 1); exit 1; }
21257
cat >>$CONFIG_STATUS <<_ACEOF
21260
# CONFIG_FILES section.
22266
# Set up the sed scripts for CONFIG_FILES section.
21263
22269
# No need to generate the scripts if there are no CONFIG_FILES.
21264
22270
# This happens for instance when ./config.status config.h
21265
if test -n "\$CONFIG_FILES"; then
21266
# Protect against being on the right side of a sed subst in config.status.
21267
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21268
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21269
s,@SHELL@,$SHELL,;t t
21270
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21271
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21272
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21273
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21274
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21275
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21276
s,@exec_prefix@,$exec_prefix,;t t
21277
s,@prefix@,$prefix,;t t
21278
s,@program_transform_name@,$program_transform_name,;t t
21279
s,@bindir@,$bindir,;t t
21280
s,@sbindir@,$sbindir,;t t
21281
s,@libexecdir@,$libexecdir,;t t
21282
s,@datadir@,$datadir,;t t
21283
s,@sysconfdir@,$sysconfdir,;t t
21284
s,@sharedstatedir@,$sharedstatedir,;t t
21285
s,@localstatedir@,$localstatedir,;t t
21286
s,@libdir@,$libdir,;t t
21287
s,@includedir@,$includedir,;t t
21288
s,@oldincludedir@,$oldincludedir,;t t
21289
s,@infodir@,$infodir,;t t
21290
s,@mandir@,$mandir,;t t
21291
s,@build_alias@,$build_alias,;t t
21292
s,@host_alias@,$host_alias,;t t
21293
s,@target_alias@,$target_alias,;t t
21294
s,@DEFS@,$DEFS,;t t
21295
s,@ECHO_C@,$ECHO_C,;t t
21296
s,@ECHO_N@,$ECHO_N,;t t
21297
s,@ECHO_T@,$ECHO_T,;t t
21298
s,@LIBS@,$LIBS,;t t
21299
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21300
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21301
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21302
s,@PACKAGE@,$PACKAGE,;t t
21303
s,@VERSION@,$VERSION,;t t
21304
s,@ACLOCAL@,$ACLOCAL,;t t
21305
s,@AUTOCONF@,$AUTOCONF,;t t
21306
s,@AUTOMAKE@,$AUTOMAKE,;t t
21307
s,@AUTOHEADER@,$AUTOHEADER,;t t
21308
s,@MAKEINFO@,$MAKEINFO,;t t
21309
s,@AMTAR@,$AMTAR,;t t
21310
s,@install_sh@,$install_sh,;t t
21311
s,@STRIP@,$STRIP,;t t
21312
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21313
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21315
s,@SET_MAKE@,$SET_MAKE,;t t
21316
s,@build@,$build,;t t
21317
s,@build_cpu@,$build_cpu,;t t
21318
s,@build_vendor@,$build_vendor,;t t
21319
s,@build_os@,$build_os,;t t
21320
s,@host@,$host,;t t
21321
s,@host_cpu@,$host_cpu,;t t
21322
s,@host_vendor@,$host_vendor,;t t
21323
s,@host_os@,$host_os,;t t
21324
s,@IPV6_CFLAGS@,$IPV6_CFLAGS,;t t
21326
s,@CFLAGS@,$CFLAGS,;t t
21327
s,@LDFLAGS@,$LDFLAGS,;t t
21328
s,@CPPFLAGS@,$CPPFLAGS,;t t
21329
s,@ac_ct_CC@,$ac_ct_CC,;t t
21330
s,@EXEEXT@,$EXEEXT,;t t
21331
s,@OBJEXT@,$OBJEXT,;t t
21332
s,@DEPDIR@,$DEPDIR,;t t
21333
s,@am__include@,$am__include,;t t
21334
s,@am__quote@,$am__quote,;t t
21335
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21336
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21337
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21338
s,@CCDEPMODE@,$CCDEPMODE,;t t
21339
s,@EGREP@,$EGREP,;t t
21340
s,@LN_S@,$LN_S,;t t
21341
s,@ECHO@,$ECHO,;t t
21343
s,@ac_ct_AR@,$ac_ct_AR,;t t
21344
s,@RANLIB@,$RANLIB,;t t
21345
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21348
s,@CXXFLAGS@,$CXXFLAGS,;t t
21349
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21350
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21351
s,@CXXCPP@,$CXXCPP,;t t
21353
s,@FFLAGS@,$FFLAGS,;t t
21354
s,@ac_ct_F77@,$ac_ct_F77,;t t
21355
s,@LIBTOOL@,$LIBTOOL,;t t
21356
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21357
s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
21358
s,@GLIB_LIBS@,$GLIB_LIBS,;t t
21359
s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
21360
s,@GOBJECT_QUERY@,$GOBJECT_QUERY,;t t
21361
s,@GLIB_MKENUMS@,$GLIB_MKENUMS,;t t
21362
s,@GLIB_SUPPORT_TRUE@,$GLIB_SUPPORT_TRUE,;t t
21363
s,@GLIB_SUPPORT_FALSE@,$GLIB_SUPPORT_FALSE,;t t
21364
s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
21365
s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
21366
s,@PTHREAD_LDFLAGS@,$PTHREAD_LDFLAGS,;t t
21367
s,@HPUXKERNEL_TRUE@,$HPUXKERNEL_TRUE,;t t
21368
s,@HPUXKERNEL_FALSE@,$HPUXKERNEL_FALSE,;t t
21369
s,@HTML_DIR@,$HTML_DIR,;t t
21370
s,@GTKDOC@,$GTKDOC,;t t
21371
s,@ENABLE_GTK_DOC_TRUE@,$ENABLE_GTK_DOC_TRUE,;t t
21372
s,@ENABLE_GTK_DOC_FALSE@,$ENABLE_GTK_DOC_FALSE,;t t
21373
s,@LIBOBJS@,$LIBOBJS,;t t
21374
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21379
cat >>$CONFIG_STATUS <<\_ACEOF
21380
# Split the substitutions into bite-sized pieces for seds with
21381
# small command number limits, like on Digital OSF/1 and HP-UX.
21382
ac_max_sed_lines=48
21383
ac_sed_frag=1 # Number of current file.
21384
ac_beg=1 # First line for current file.
21385
ac_end=$ac_max_sed_lines # Line after last line for current file.
21388
while $ac_more_lines; do
21389
if test $ac_beg -gt 1; then
21390
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21392
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21394
if test ! -s $tmp/subs.frag; then
21395
ac_more_lines=false
21397
# The purpose of the label and of the branching condition is to
21398
# speed up the sed processing (if there are no `@' at all, there
21399
# is no need to browse any of the substitutions).
21400
# These are the two extra sed commands mentioned above.
21402
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21403
if test -z "$ac_sed_cmds"; then
21404
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21406
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21408
ac_sed_frag=`expr $ac_sed_frag + 1`
21410
ac_end=`expr $ac_end + $ac_max_sed_lines`
21413
if test -z "$ac_sed_cmds"; then
22271
if test -n "$CONFIG_FILES"; then
22278
for ac_last_try in false false false false false :; do
22279
cat >conf$$subs.sed <<_ACEOF
22280
SHELL!$SHELL$ac_delim
22281
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22282
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22283
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22284
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22285
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22286
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22287
exec_prefix!$exec_prefix$ac_delim
22288
prefix!$prefix$ac_delim
22289
program_transform_name!$program_transform_name$ac_delim
22290
bindir!$bindir$ac_delim
22291
sbindir!$sbindir$ac_delim
22292
libexecdir!$libexecdir$ac_delim
22293
datarootdir!$datarootdir$ac_delim
22294
datadir!$datadir$ac_delim
22295
sysconfdir!$sysconfdir$ac_delim
22296
sharedstatedir!$sharedstatedir$ac_delim
22297
localstatedir!$localstatedir$ac_delim
22298
includedir!$includedir$ac_delim
22299
oldincludedir!$oldincludedir$ac_delim
22300
docdir!$docdir$ac_delim
22301
infodir!$infodir$ac_delim
22302
htmldir!$htmldir$ac_delim
22303
dvidir!$dvidir$ac_delim
22304
pdfdir!$pdfdir$ac_delim
22305
psdir!$psdir$ac_delim
22306
libdir!$libdir$ac_delim
22307
localedir!$localedir$ac_delim
22308
mandir!$mandir$ac_delim
22309
DEFS!$DEFS$ac_delim
22310
ECHO_C!$ECHO_C$ac_delim
22311
ECHO_N!$ECHO_N$ac_delim
22312
ECHO_T!$ECHO_T$ac_delim
22313
LIBS!$LIBS$ac_delim
22314
build_alias!$build_alias$ac_delim
22315
host_alias!$host_alias$ac_delim
22316
target_alias!$target_alias$ac_delim
22317
build!$build$ac_delim
22318
build_cpu!$build_cpu$ac_delim
22319
build_vendor!$build_vendor$ac_delim
22320
build_os!$build_os$ac_delim
22321
host!$host$ac_delim
22322
host_cpu!$host_cpu$ac_delim
22323
host_vendor!$host_vendor$ac_delim
22324
host_os!$host_os$ac_delim
22325
target!$target$ac_delim
22326
target_cpu!$target_cpu$ac_delim
22327
target_vendor!$target_vendor$ac_delim
22328
target_os!$target_os$ac_delim
22329
LIBORTP_SO_VERSION!$LIBORTP_SO_VERSION$ac_delim
22330
ORTP_VERSION!$ORTP_VERSION$ac_delim
22331
ORTP_PKGCONFIG_VERSION!$ORTP_PKGCONFIG_VERSION$ac_delim
22332
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22333
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22334
INSTALL_DATA!$INSTALL_DATA$ac_delim
22335
CYGPATH_W!$CYGPATH_W$ac_delim
22336
PACKAGE!$PACKAGE$ac_delim
22337
VERSION!$VERSION$ac_delim
22338
ACLOCAL!$ACLOCAL$ac_delim
22339
AUTOCONF!$AUTOCONF$ac_delim
22340
AUTOMAKE!$AUTOMAKE$ac_delim
22341
AUTOHEADER!$AUTOHEADER$ac_delim
22342
MAKEINFO!$MAKEINFO$ac_delim
22343
install_sh!$install_sh$ac_delim
22344
STRIP!$STRIP$ac_delim
22345
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22346
mkdir_p!$mkdir_p$ac_delim
22348
SET_MAKE!$SET_MAKE$ac_delim
22349
am__leading_dot!$am__leading_dot$ac_delim
22350
AMTAR!$AMTAR$ac_delim
22351
am__tar!$am__tar$ac_delim
22352
am__untar!$am__untar$ac_delim
22354
CFLAGS!$CFLAGS$ac_delim
22355
LDFLAGS!$LDFLAGS$ac_delim
22356
CPPFLAGS!$CPPFLAGS$ac_delim
22357
ac_ct_CC!$ac_ct_CC$ac_delim
22358
EXEEXT!$EXEEXT$ac_delim
22359
OBJEXT!$OBJEXT$ac_delim
22360
DEPDIR!$DEPDIR$ac_delim
22361
am__include!$am__include$ac_delim
22362
am__quote!$am__quote$ac_delim
22363
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22364
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22365
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22366
CCDEPMODE!$CCDEPMODE$ac_delim
22367
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22368
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22369
GREP!$GREP$ac_delim
22370
EGREP!$EGREP$ac_delim
22371
LN_S!$LN_S$ac_delim
22372
ECHO!$ECHO$ac_delim
22374
RANLIB!$RANLIB$ac_delim
22379
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22381
elif $ac_last_try; then
22382
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22383
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22384
{ (exit 1); exit 1; }; }
22386
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22390
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22391
if test -n "$ac_eof"; then
22392
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22393
ac_eof=`expr $ac_eof + 1`
22396
cat >>$CONFIG_STATUS <<_ACEOF
22397
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22398
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22401
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22402
s/^/s,@/; s/!/@,|#_!!_#|/
22405
s/'"$ac_delim"'$/,g/; t
22407
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22408
' >>$CONFIG_STATUS <conf$$subs.sed
22409
rm -f conf$$subs.sed
22410
cat >>$CONFIG_STATUS <<_ACEOF
22416
for ac_last_try in false false false false false :; do
22417
cat >conf$$subs.sed <<_ACEOF
22418
CXXFLAGS!$CXXFLAGS$ac_delim
22419
ac_ct_CXX!$ac_ct_CXX$ac_delim
22420
CXXDEPMODE!$CXXDEPMODE$ac_delim
22421
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22422
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22423
CXXCPP!$CXXCPP$ac_delim
22425
FFLAGS!$FFLAGS$ac_delim
22426
ac_ct_F77!$ac_ct_F77$ac_delim
22427
LIBTOOL!$LIBTOOL$ac_delim
22428
PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
22429
PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
22430
PTHREAD_LDFLAGS!$PTHREAD_LDFLAGS$ac_delim
22431
HAVE_GTK_DOC_TRUE!$HAVE_GTK_DOC_TRUE$ac_delim
22432
HAVE_GTK_DOC_FALSE!$HAVE_GTK_DOC_FALSE$ac_delim
22433
HTML_DIR!$HTML_DIR$ac_delim
22434
PKG_CONFIG!$PKG_CONFIG$ac_delim
22435
ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
22436
ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim
22437
GTK_DOC_USE_LIBTOOL_TRUE!$GTK_DOC_USE_LIBTOOL_TRUE$ac_delim
22438
GTK_DOC_USE_LIBTOOL_FALSE!$GTK_DOC_USE_LIBTOOL_FALSE$ac_delim
22440
MKEPMLIST!$MKEPMLIST$ac_delim
22441
EPMINSTALL!$EPMINSTALL$ac_delim
22442
WITH_EPM_TRUE!$WITH_EPM_TRUE$ac_delim
22443
WITH_EPM_FALSE!$WITH_EPM_FALSE$ac_delim
22444
EPM_PKG_EXT!$EPM_PKG_EXT$ac_delim
22445
SYS_USER!$SYS_USER$ac_delim
22446
SYS_GROUP!$SYS_GROUP$ac_delim
22447
ARCH!$ARCH$ac_delim
22448
SUMMARY!$SUMMARY$ac_delim
22449
PACKAGER!$PACKAGER$ac_delim
22450
LICENSE!$LICENSE$ac_delim
22451
VENDOR!$VENDOR$ac_delim
22452
RELEASE!$RELEASE$ac_delim
22453
ORTPDEPS_CFLAGS!$ORTPDEPS_CFLAGS$ac_delim
22454
ORTPDEPS_LIBS!$ORTPDEPS_LIBS$ac_delim
22455
ORTPDEPS_LDFLAGS!$ORTPDEPS_LDFLAGS$ac_delim
22456
LIBOBJS!$LIBOBJS$ac_delim
22457
LTLIBOBJS!$LTLIBOBJS$ac_delim
22460
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
22462
elif $ac_last_try; then
22463
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22464
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22465
{ (exit 1); exit 1; }; }
22467
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22471
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22472
if test -n "$ac_eof"; then
22473
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22474
ac_eof=`expr $ac_eof + 1`
22477
cat >>$CONFIG_STATUS <<_ACEOF
22478
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22479
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22482
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22483
s/^/s,@/; s/!/@,|#_!!_#|/
22486
s/'"$ac_delim"'$/,g/; t
22488
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22489
' >>$CONFIG_STATUS <conf$$subs.sed
22490
rm -f conf$$subs.sed
22491
cat >>$CONFIG_STATUS <<_ACEOF
22498
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22499
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22500
# trailing colons and then remove the whole line if VPATH becomes empty
22501
# (actually we leave an empty line to preserve line numbers).
22502
if test "x$srcdir" = x.; then
22503
ac_vpsub='/^[ ]*VPATH[ ]*=/{
22504
s/:*\$(srcdir):*/:/
22505
s/:*\${srcdir}:*/:/
22507
s/^\([^=]*=[ ]*\):*/\1/
22513
cat >>$CONFIG_STATUS <<\_ACEOF
21416
22514
fi # test -n "$CONFIG_FILES"
21419
cat >>$CONFIG_STATUS <<\_ACEOF
21420
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21421
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21423
- | *:- | *:-:* ) # input from stdin
21425
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21426
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21427
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21428
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21429
* ) ac_file_in=$ac_file.in ;;
21432
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21433
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22517
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22520
:[FHLC]) ac_mode=$ac_tag; continue;;
22522
case $ac_mode$ac_tag in
22524
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22525
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22526
{ (exit 1); exit 1; }; };;
22527
:[FH]-) ac_tag=-:-;;
22528
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22545
-) ac_f="$tmp/stdin";;
22546
*) # Look for the file first in the build tree, then in the source tree
22547
# (if the path is not absolute). The absolute path cannot be DOS-style,
22548
# because $ac_f cannot contain `:'.
22552
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22554
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22555
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22556
{ (exit 1); exit 1; }; };;
22558
ac_file_inputs="$ac_file_inputs $ac_f"
22561
# Let's still pretend it is `configure' which instantiates (i.e., don't
22562
# use $as_me), people would be surprised to read:
22563
# /* config.h. Generated by config.status. */
22564
configure_input="Generated from "`IFS=:
22565
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22566
if test x"$ac_file" != x-; then
22567
configure_input="$ac_file. $configure_input"
22568
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22569
echo "$as_me: creating $ac_file" >&6;}
22573
*:-:* | *:-) cat >"$tmp/stdin";;
22578
ac_dir=`$as_dirname -- "$ac_file" ||
21434
22579
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21435
22580
X"$ac_file" : 'X\(//\)[^/]' \| \
21436
22581
X"$ac_file" : 'X\(//\)$' \| \
21437
X"$ac_file" : 'X\(/\)' \| \
21438
. : '\(.\)' 2>/dev/null ||
22582
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21439
22583
echo X"$ac_file" |
21440
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21441
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21442
/^X\(\/\/\)$/{ s//\1/; q; }
21443
/^X\(\/\).*/{ s//\1/; q; }
21445
{ if $as_mkdir_p; then
22584
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22588
/^X\(\/\/\)[^/].*/{
22603
-*) as_dir=./$as_dir;;
22605
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21450
while test ! -d "$as_dir"; do
21451
as_dirs="$as_dir $as_dirs"
21452
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22609
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22610
*) as_qdir=$as_dir;;
22612
as_dirs="'$as_qdir' $as_dirs"
22613
as_dir=`$as_dirname -- "$as_dir" ||
21453
22614
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21454
22615
X"$as_dir" : 'X\(//\)[^/]' \| \
21455
22616
X"$as_dir" : 'X\(//\)$' \| \
21456
X"$as_dir" : 'X\(/\)' \| \
21457
. : '\(.\)' 2>/dev/null ||
22617
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21458
22618
echo X"$as_dir" |
21459
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21460
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21461
/^X\(\/\/\)$/{ s//\1/; q; }
21462
/^X\(\/\).*/{ s//\1/; q; }
22619
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22623
/^X\(\/\/\)[^/].*/{
22636
test -d "$as_dir" && break
21465
test ! -n "$as_dirs" || mkdir $as_dirs
21466
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21467
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22638
test -z "$as_dirs" || eval "mkdir $as_dirs"
22639
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22640
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21468
22641
{ (exit 1); exit 1; }; }; }
21470
22642
ac_builddir=.
21472
if test "$ac_dir" != .; then
22645
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21473
22647
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21474
# A "../" for each directory in $ac_dir_suffix.
21475
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21477
ac_dir_suffix= ac_top_builddir=
22648
# A ".." for each directory in $ac_dir_suffix.
22649
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22650
case $ac_top_builddir_sub in
22651
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22652
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22655
ac_abs_top_builddir=$ac_pwd
22656
ac_abs_builddir=$ac_pwd$ac_dir_suffix
22657
# for backward compatibility:
22658
ac_top_builddir=$ac_top_build_prefix
21480
22660
case $srcdir in
21481
.) # No --srcdir option. We are building in place.
22661
.) # We are building in place.
21483
if test -z "$ac_top_builddir"; then
21486
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21488
[\\/]* | ?:[\\/]* ) # Absolute path.
22663
ac_top_srcdir=$ac_top_builddir_sub
22664
ac_abs_top_srcdir=$ac_pwd ;;
22665
[\\/]* | ?:[\\/]* ) # Absolute name.
21489
22666
ac_srcdir=$srcdir$ac_dir_suffix;
21490
ac_top_srcdir=$srcdir ;;
21491
*) # Relative path.
21492
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21493
ac_top_srcdir=$ac_top_builddir$srcdir ;;
21496
# Do not use `cd foo && pwd` to compute absolute paths, because
21497
# the directories may not exist.
21499
.) ac_abs_builddir="$ac_dir";;
21502
.) ac_abs_builddir=`pwd`;;
21503
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21504
*) ac_abs_builddir=`pwd`/"$ac_dir";;
21507
case $ac_abs_builddir in
21508
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21510
case ${ac_top_builddir}. in
21511
.) ac_abs_top_builddir=$ac_abs_builddir;;
21512
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21513
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21516
case $ac_abs_builddir in
21517
.) ac_abs_srcdir=$ac_srcdir;;
21520
.) ac_abs_srcdir=$ac_abs_builddir;;
21521
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21522
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21525
case $ac_abs_builddir in
21526
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21528
case $ac_top_srcdir in
21529
.) ac_abs_top_srcdir=$ac_abs_builddir;;
21530
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21531
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22667
ac_top_srcdir=$srcdir
22668
ac_abs_top_srcdir=$srcdir ;;
22669
*) # Relative name.
22670
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22671
ac_top_srcdir=$ac_top_build_prefix$srcdir
22672
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22674
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21536
22683
case $INSTALL in
21537
22684
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21538
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22685
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21541
# Let's still pretend it is `configure' which instantiates (i.e., don't
21542
# use $as_me), people would be surprised to read:
21543
# /* config.h. Generated by config.status. */
21544
if test x"$ac_file" = x-; then
21547
configure_input="$ac_file. "
21549
configure_input=$configure_input"Generated from `echo $ac_file_in |
21550
sed 's,.*/,,'` by configure."
21552
# First look for the input files in the build tree, otherwise in the
21554
ac_file_inputs=`IFS=:
21555
for f in $ac_file_in; do
21557
-) echo $tmp/stdin ;;
21559
# Absolute (can't be DOS-style, as IFS=:)
21560
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21561
echo "$as_me: error: cannot find input file: $f" >&2;}
21562
{ (exit 1); exit 1; }; }
21565
if test -f "$f"; then
21568
elif test -f "$srcdir/$f"; then
21573
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21574
echo "$as_me: error: cannot find input file: $f" >&2;}
21575
{ (exit 1); exit 1; }; }
21578
done` || { (exit 1); exit 1; }
21580
if test x"$ac_file" != x-; then
21581
{ echo "$as_me:$LINENO: creating $ac_file" >&5
21582
echo "$as_me: creating $ac_file" >&6;}
22689
cat >>$CONFIG_STATUS <<\_ACEOF
22690
# If the template does not know about datarootdir, expand it.
22691
# FIXME: This hack should be removed a few years after 2.60.
22692
ac_datarootdir_hack=; ac_datarootdir_seen=
22694
case `sed -n '/datarootdir/ {
22703
' $ac_file_inputs` in
22704
*datarootdir*) ac_datarootdir_seen=yes;;
22705
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22706
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22707
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22709
cat >>$CONFIG_STATUS <<_ACEOF
22710
ac_datarootdir_hack='
22711
s&@datadir@&$datadir&g
22712
s&@docdir@&$docdir&g
22713
s&@infodir@&$infodir&g
22714
s&@localedir@&$localedir&g
22715
s&@mandir@&$mandir&g
22716
s&\\\${datarootdir}&$datarootdir&g' ;;
22720
# Neutralize VPATH when `$srcdir' = `.'.
22721
# Shell code in configure.ac might set extrasub.
22722
# FIXME: do we really want to maintain this feature?
21586
22723
cat >>$CONFIG_STATUS <<_ACEOF
21587
22724
sed "$ac_vpsub
21590
22727
cat >>$CONFIG_STATUS <<\_ACEOF
21592
22729
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21593
s,@configure_input@,$configure_input,;t t
21594
s,@srcdir@,$ac_srcdir,;t t
21595
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21596
s,@top_srcdir@,$ac_top_srcdir,;t t
21597
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21598
s,@builddir@,$ac_builddir,;t t
21599
s,@abs_builddir@,$ac_abs_builddir,;t t
21600
s,@top_builddir@,$ac_top_builddir,;t t
21601
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21602
s,@INSTALL@,$ac_INSTALL,;t t
21603
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21605
if test x"$ac_file" != x-; then
21606
mv $tmp/out $ac_file
22730
s&@configure_input@&$configure_input&;t t
22731
s&@top_builddir@&$ac_top_builddir_sub&;t t
22732
s&@srcdir@&$ac_srcdir&;t t
22733
s&@abs_srcdir@&$ac_abs_srcdir&;t t
22734
s&@top_srcdir@&$ac_top_srcdir&;t t
22735
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22736
s&@builddir@&$ac_builddir&;t t
22737
s&@abs_builddir@&$ac_abs_builddir&;t t
22738
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22739
s&@INSTALL@&$ac_INSTALL&;t t
22740
$ac_datarootdir_hack
22741
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22743
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22744
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22745
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22746
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22747
which seems to be undefined. Please make sure it is defined." >&5
22748
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22749
which seems to be undefined. Please make sure it is defined." >&2;}
22753
-) cat "$tmp/out"; rm -f "$tmp/out";;
22754
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21614
cat >>$CONFIG_STATUS <<\_ACEOF
21617
# CONFIG_HEADER section.
21620
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21621
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21623
# ac_d sets the value in "#define NAME VALUE" lines.
21624
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21625
ac_dB='[ ].*$,\1#\2'
22763
# Transform confdefs.h into a sed script `conftest.defines', that
22764
# substitutes the proper values into config.h.in to produce config.h.
22765
rm -f conftest.defines conftest.tail
22766
# First, append a space to every undef/define line, to ease matching.
22767
echo 's/$/ /' >conftest.defines
22768
# Then, protect against being on the right side of a sed subst, or in
22769
# an unquoted here document, in config.status. If some macros were
22770
# called several times there might be several #defines for the same
22771
# symbol, which is useless. But do not sort them, since the last
22772
# AC_DEFINE must be honored.
22773
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22774
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22775
# NAME is the cpp macro being defined, VALUE is the value it is being given.
22776
# PARAMS is the parameter list in the macro definition--in most cases, it's
22777
# just an empty string.
22778
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22779
ac_dB='\\)[ (].*,\\1define\\2'
21628
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21629
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21630
ac_uB='$,\1#\2define\3'
21634
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21635
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21637
- | *:- | *:-:* ) # input from stdin
21639
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21640
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21641
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21642
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21643
* ) ac_file_in=$ac_file.in ;;
21646
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21647
echo "$as_me: creating $ac_file" >&6;}
21649
# First look for the input files in the build tree, otherwise in the
21651
ac_file_inputs=`IFS=:
21652
for f in $ac_file_in; do
21654
-) echo $tmp/stdin ;;
21656
# Absolute (can't be DOS-style, as IFS=:)
21657
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21658
echo "$as_me: error: cannot find input file: $f" >&2;}
21659
{ (exit 1); exit 1; }; }
21660
# Do quote $f, to prevent DOS paths from being IFS'd.
21663
if test -f "$f"; then
21666
elif test -f "$srcdir/$f"; then
21671
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21672
echo "$as_me: error: cannot find input file: $f" >&2;}
21673
{ (exit 1); exit 1; }; }
21676
done` || { (exit 1); exit 1; }
21677
# Remove the trailing spaces.
21678
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21682
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21683
# `conftest.undefs', that substitutes the proper values into
21684
# config.h.in to produce config.h. The first handles `#define'
21685
# templates, and the second `#undef' templates.
21686
# And first: Protect against being on the right side of a sed subst in
21687
# config.status. Protect against being in an unquoted here document
21688
# in config.status.
21689
rm -f conftest.defines conftest.undefs
21690
# Using a here document instead of a string reduces the quoting nightmare.
21691
# Putting comments in sed scripts is not portable.
21693
# `end' is used to avoid that the second main sed command (meant for
21694
# 0-ary CPP macros) applies to n-ary macro definitions.
21695
# See the Autoconf documentation for `clear'.
21696
cat >confdef2sed.sed <<\_ACEOF
21701
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21703
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21706
# If some macros were called several times there might be several times
21707
# the same #defines, which is useless. Nevertheless, we may not want to
21708
# sort them, since we want the *last* AC-DEFINE to be honored.
21709
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21710
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21711
rm -f confdef2sed.sed
21713
# This sed command replaces #undef with comments. This is necessary, for
22787
s/^[ ]*#[ ]*define[ ][ ]*//
22792
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22793
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22794
' >>conftest.defines
22796
# Remove the space that was appended to ease matching.
22797
# Then replace #undef with comments. This is necessary, for
21714
22798
# example, in the case of _POSIX_SOURCE, which is predefined and required
21715
22799
# on some systems where configure will not decide to define it.
21716
cat >>conftest.undefs <<\_ACEOF
21717
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22800
# (The regexp can be short, since the line contains either #define or #undef.)
22802
s,^[ #]*u.*,/* & */,' >>conftest.defines
22804
# Break up conftest.defines:
22805
ac_max_sed_lines=50
22807
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22808
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22809
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22811
ac_in='$ac_file_inputs'
22812
ac_out='"$tmp/out1"'
22813
ac_nxt='"$tmp/out2"'
22817
# Write a here document:
22818
cat >>$CONFIG_STATUS <<_ACEOF
22819
# First, check the format of the line:
22820
cat >"\$tmp/defines.sed" <<\\CEOF
22821
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22822
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21720
# Break up conftest.defines because some shells have a limit on the size
21721
# of here documents, and old seds have small limits too (100 cmds).
21722
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21723
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21724
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21725
echo ' :' >>$CONFIG_STATUS
21726
rm -f conftest.tail
21727
while grep . conftest.defines >/dev/null
21729
# Write a limited-size here document to $tmp/defines.sed.
21730
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21731
# Speed up: don't consider the non `#define' lines.
21732
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21733
# Work around the forget-to-reset-the-flag bug.
21734
echo 't clr' >>$CONFIG_STATUS
21735
echo ': clr' >>$CONFIG_STATUS
21736
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22826
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21738
sed -f $tmp/defines.sed $tmp/in >$tmp/out
21740
mv $tmp/out $tmp/in
21742
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22828
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22829
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22830
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22831
grep . conftest.tail >/dev/null || break
21743
22832
rm -f conftest.defines
21744
22833
mv conftest.tail conftest.defines
21746
rm -f conftest.defines
21747
echo ' fi # grep' >>$CONFIG_STATUS
21748
echo >>$CONFIG_STATUS
21750
# Break up conftest.undefs because some shells have a limit on the size
21751
# of here documents, and old seds have small limits too (100 cmds).
21752
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21753
rm -f conftest.tail
21754
while grep . conftest.undefs >/dev/null
21756
# Write a limited-size here document to $tmp/undefs.sed.
21757
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21758
# Speed up: don't consider the non `#undef'
21759
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21760
# Work around the forget-to-reset-the-flag bug.
21761
echo 't clr' >>$CONFIG_STATUS
21762
echo ': clr' >>$CONFIG_STATUS
21763
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21765
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21767
mv $tmp/out $tmp/in
21769
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21770
rm -f conftest.undefs
21771
mv conftest.tail conftest.undefs
21773
rm -f conftest.undefs
22835
rm -f conftest.defines conftest.tail
22837
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21775
22838
cat >>$CONFIG_STATUS <<\_ACEOF
21776
# Let's still pretend it is `configure' which instantiates (i.e., don't
21777
# use $as_me), people would be surprised to read:
21778
# /* config.h. Generated by config.status. */
21779
if test x"$ac_file" = x-; then
21780
echo "/* Generated by configure. */" >$tmp/config.h
21782
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21784
cat $tmp/in >>$tmp/config.h
21786
22839
if test x"$ac_file" != x-; then
21787
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22840
echo "/* $configure_input */" >"$tmp/config.h"
22841
cat "$ac_result" >>"$tmp/config.h"
22842
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21788
22843
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21789
22844
echo "$as_me: $ac_file is unchanged" >&6;}
21791
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21792
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21793
X"$ac_file" : 'X\(//\)[^/]' \| \
21794
X"$ac_file" : 'X\(//\)$' \| \
21795
X"$ac_file" : 'X\(/\)' \| \
21796
. : '\(.\)' 2>/dev/null ||
21798
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21799
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21800
/^X\(\/\/\)$/{ s//\1/; q; }
21801
/^X\(\/\).*/{ s//\1/; q; }
21803
{ if $as_mkdir_p; then
21808
while test ! -d "$as_dir"; do
21809
as_dirs="$as_dir $as_dirs"
21810
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21811
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21812
X"$as_dir" : 'X\(//\)[^/]' \| \
21813
X"$as_dir" : 'X\(//\)$' \| \
21814
X"$as_dir" : 'X\(/\)' \| \
21815
. : '\(.\)' 2>/dev/null ||
21817
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21818
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21819
/^X\(\/\/\)$/{ s//\1/; q; }
21820
/^X\(\/\).*/{ s//\1/; q; }
21823
test ! -n "$as_dirs" || mkdir $as_dirs
21824
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21825
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21826
{ (exit 1); exit 1; }; }; }
21828
22846
rm -f $ac_file
21829
mv $tmp/config.h $ac_file
22847
mv "$tmp/config.h" $ac_file
21833
rm -f $tmp/config.h
22850
echo "/* $configure_input */"
21835
# Run the commands associated with the file.
21837
ortp-config.h ) # update the timestamp
21838
echo 'timestamp for ortp-config.h' >"./stamp-h1"
22854
# Compute $ac_file's index in $config_headers.
22856
for _am_header in $config_headers :; do
22857
case $_am_header in
22858
$ac_file | $ac_file:* )
22861
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
21843
cat >>$CONFIG_STATUS <<\_ACEOF
21846
# CONFIG_COMMANDS section.
21848
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21849
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21850
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21851
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21852
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21853
X"$ac_dest" : 'X\(//\)[^/]' \| \
21854
X"$ac_dest" : 'X\(//\)$' \| \
21855
X"$ac_dest" : 'X\(/\)' \| \
21856
. : '\(.\)' 2>/dev/null ||
21858
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21859
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21860
/^X\(\/\/\)$/{ s//\1/; q; }
21861
/^X\(\/\).*/{ s//\1/; q; }
21863
{ if $as_mkdir_p; then
21868
while test ! -d "$as_dir"; do
21869
as_dirs="$as_dir $as_dirs"
21870
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21871
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21872
X"$as_dir" : 'X\(//\)[^/]' \| \
21873
X"$as_dir" : 'X\(//\)$' \| \
21874
X"$as_dir" : 'X\(/\)' \| \
21875
. : '\(.\)' 2>/dev/null ||
21877
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21878
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21879
/^X\(\/\/\)$/{ s//\1/; q; }
21880
/^X\(\/\).*/{ s//\1/; q; }
21883
test ! -n "$as_dirs" || mkdir $as_dirs
21884
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21885
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21886
{ (exit 1); exit 1; }; }; }
21890
if test "$ac_dir" != .; then
21891
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21892
# A "../" for each directory in $ac_dir_suffix.
21893
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21895
ac_dir_suffix= ac_top_builddir=
21899
.) # No --srcdir option. We are building in place.
21901
if test -z "$ac_top_builddir"; then
21904
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21906
[\\/]* | ?:[\\/]* ) # Absolute path.
21907
ac_srcdir=$srcdir$ac_dir_suffix;
21908
ac_top_srcdir=$srcdir ;;
21909
*) # Relative path.
21910
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21911
ac_top_srcdir=$ac_top_builddir$srcdir ;;
21914
# Do not use `cd foo && pwd` to compute absolute paths, because
21915
# the directories may not exist.
21917
.) ac_abs_builddir="$ac_dir";;
21920
.) ac_abs_builddir=`pwd`;;
21921
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21922
*) ac_abs_builddir=`pwd`/"$ac_dir";;
21925
case $ac_abs_builddir in
21926
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21928
case ${ac_top_builddir}. in
21929
.) ac_abs_top_builddir=$ac_abs_builddir;;
21930
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21931
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21934
case $ac_abs_builddir in
21935
.) ac_abs_srcdir=$ac_srcdir;;
21938
.) ac_abs_srcdir=$ac_abs_builddir;;
21939
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21940
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21943
case $ac_abs_builddir in
21944
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21946
case $ac_top_srcdir in
21947
.) ac_abs_top_srcdir=$ac_abs_builddir;;
21948
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21949
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21954
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21955
echo "$as_me: executing $ac_dest commands" >&6;}
21957
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22864
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22865
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22866
X$ac_file : 'X\(//\)[^/]' \| \
22867
X$ac_file : 'X\(//\)$' \| \
22868
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22870
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22874
/^X\(\/\/\)[^/].*/{
22886
s/.*/./; q'`/stamp-h$_am_stamp_count
22889
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22890
echo "$as_me: executing $ac_file commands" >&6;}
22895
case $ac_file$ac_mode in
22896
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21958
22897
# Strip MF so we end up with the name of the file.
21959
22898
mf=`echo "$mf" | sed -e 's/:.*$//'`
21960
22899
# Check whether this is an Automake generated Makefile or not.