2126
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2279
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2127
2280
Check your system clock" >&5
2128
echo "$as_me: error: newly created file is older than distributed files!
2281
$as_echo "$as_me: error: newly created file is older than distributed files!
2129
2282
Check your system clock" >&2;}
2130
2283
{ (exit 1); exit 1; }; }
2132
{ echo "$as_me:$LINENO: result: yes" >&5
2133
echo "${ECHO_T}yes" >&6; }
2285
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2286
$as_echo "yes" >&6; }
2134
2287
test "$program_prefix" != NONE &&
2135
2288
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2136
2289
# Use a double $ so make ignores it.
2137
2290
test "$program_suffix" != NONE &&
2138
2291
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2139
# Double any \ or $. echo might interpret backslashes.
2292
# Double any \ or $.
2140
2293
# By default was `s,x,x', remove it if useless.
2141
cat <<\_ACEOF >conftest.sed
2142
s/[\\$]/&&/g;s/;s,x,x,$//
2144
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2294
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2295
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2147
2297
# expand $ac_aux_dir to an absolute path
2148
2298
am_aux_dir=`cd $ac_aux_dir && pwd`
2150
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2300
if test x"${MISSING+set}" != xset; then
2303
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2305
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2151
2308
# Use eval to expand $SHELL
2152
2309
if eval "$MISSING --run true"; then
2153
2310
am_missing_run="$MISSING --run "
2155
2312
am_missing_run=
2156
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2157
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2160
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2161
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2313
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2314
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2317
if test x"${install_sh}" != xset; then
2320
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2322
install_sh="\${SHELL} $am_aux_dir/install-sh"
2326
# Installed binaries are usually stripped using `strip' when the user
2327
# run `make install-strip'. However `strip' might not be the right
2328
# tool to use in cross-compilation environments, therefore Automake
2329
# will honor the `STRIP' environment variable to overrule this program.
2330
if test "$cross_compiling" != no; then
2331
if test -n "$ac_tool_prefix"; then
2332
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2333
set dummy ${ac_tool_prefix}strip; ac_word=$2
2334
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2335
$as_echo_n "checking for $ac_word... " >&6; }
2336
if test "${ac_cv_prog_STRIP+set}" = set; then
2337
$as_echo_n "(cached) " >&6
2339
if test -n "$STRIP"; then
2340
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346
test -z "$as_dir" && as_dir=.
2347
for ac_exec_ext in '' $ac_executable_extensions; do
2348
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2350
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359
STRIP=$ac_cv_prog_STRIP
2360
if test -n "$STRIP"; then
2361
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2362
$as_echo "$STRIP" >&6; }
2364
{ $as_echo "$as_me:$LINENO: result: no" >&5
2365
$as_echo "no" >&6; }
2370
if test -z "$ac_cv_prog_STRIP"; then
2372
# Extract the first word of "strip", so it can be a program name with args.
2373
set dummy strip; ac_word=$2
2374
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2375
$as_echo_n "checking for $ac_word... " >&6; }
2376
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2377
$as_echo_n "(cached) " >&6
2379
if test -n "$ac_ct_STRIP"; then
2380
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386
test -z "$as_dir" && as_dir=.
2387
for ac_exec_ext in '' $ac_executable_extensions; do
2388
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389
ac_cv_prog_ac_ct_STRIP="strip"
2390
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2400
if test -n "$ac_ct_STRIP"; then
2401
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2402
$as_echo "$ac_ct_STRIP" >&6; }
2404
{ $as_echo "$as_me:$LINENO: result: no" >&5
2405
$as_echo "no" >&6; }
2408
if test "x$ac_ct_STRIP" = x; then
2411
case $cross_compiling:$ac_tool_warned in
2413
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2414
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2415
ac_tool_warned=yes ;;
2420
STRIP="$ac_cv_prog_STRIP"
2424
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2426
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2427
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2162
2428
if test -z "$MKDIR_P"; then
2163
2429
if test "${ac_cv_path_mkdir+set}" = set; then
2164
echo $ECHO_N "(cached) $ECHO_C" >&6
2430
$as_echo_n "(cached) " >&6
2166
2432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167
2433
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2339
2606
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2341
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2343
# Installed binaries are usually stripped using `strip' when the user
2344
# run `make install-strip'. However `strip' might not be the right
2345
# tool to use in cross-compilation environments, therefore Automake
2346
# will honor the `STRIP' environment variable to overrule this program.
2347
if test "$cross_compiling" != no; then
2348
if test -n "$ac_tool_prefix"; then
2349
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2350
set dummy ${ac_tool_prefix}strip; ac_word=$2
2351
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2352
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2353
if test "${ac_cv_prog_STRIP+set}" = set; then
2354
echo $ECHO_N "(cached) $ECHO_C" >&6
2356
if test -n "$STRIP"; then
2357
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2359
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363
test -z "$as_dir" && as_dir=.
2364
for ac_exec_ext in '' $ac_executable_extensions; do
2365
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2367
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376
STRIP=$ac_cv_prog_STRIP
2377
if test -n "$STRIP"; then
2378
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2379
echo "${ECHO_T}$STRIP" >&6; }
2381
{ echo "$as_me:$LINENO: result: no" >&5
2382
echo "${ECHO_T}no" >&6; }
2387
if test -z "$ac_cv_prog_STRIP"; then
2389
# Extract the first word of "strip", so it can be a program name with args.
2390
set dummy strip; ac_word=$2
2391
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2392
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2394
echo $ECHO_N "(cached) $ECHO_C" >&6
2396
if test -n "$ac_ct_STRIP"; then
2397
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403
test -z "$as_dir" && as_dir=.
2404
for ac_exec_ext in '' $ac_executable_extensions; do
2405
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406
ac_cv_prog_ac_ct_STRIP="strip"
2407
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2417
if test -n "$ac_ct_STRIP"; then
2418
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2419
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2421
{ echo "$as_me:$LINENO: result: no" >&5
2422
echo "${ECHO_T}no" >&6; }
2425
if test "x$ac_ct_STRIP" = x; then
2428
case $cross_compiling:$ac_tool_warned in
2430
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2431
whose name does not start with the host triplet. If you think this
2432
configuration is useful to you, please write to autoconf@gnu.org." >&5
2433
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2434
whose name does not start with the host triplet. If you think this
2435
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2436
ac_tool_warned=yes ;;
2441
STRIP="$ac_cv_prog_STRIP"
2445
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2447
2608
# We need awk for the "check" target. The system "awk" is bad on
2448
2609
# some platforms.
2449
2610
# Always define AMTAR for backward compatibility.
3162
3333
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163
3334
*) ac_try_echo=$ac_try;;
3165
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3337
$as_echo "$ac_try_echo") >&5
3166
3338
(eval "$ac_try") 2>&5
3168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169
3341
(exit $ac_status); }; }; then
3170
3342
cross_compiling=no
3172
3344
if test "$cross_compiling" = maybe; then
3173
3345
cross_compiling=yes
3175
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3347
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3348
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3176
3350
If you meant to cross compile, use \`--host'.
3177
3351
See \`config.log' for more details." >&5
3178
echo "$as_me: error: cannot run C compiled programs.
3352
$as_echo "$as_me: error: cannot run C compiled programs.
3179
3353
If you meant to cross compile, use \`--host'.
3180
3354
See \`config.log' for more details." >&2;}
3181
{ (exit 1); exit 1; }; }
3355
{ (exit 1); exit 1; }; }; }
3185
{ echo "$as_me:$LINENO: result: yes" >&5
3186
echo "${ECHO_T}yes" >&6; }
3359
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3360
$as_echo "yes" >&6; }
3188
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3362
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3189
3363
ac_clean_files=$ac_clean_files_save
3190
3364
# Check that the compiler produces executables we can run. If not, either
3191
3365
# the compiler is broken, or we cross compile.
3192
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3193
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3194
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3195
echo "${ECHO_T}$cross_compiling" >&6; }
3366
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3367
$as_echo_n "checking whether we are cross compiling... " >&6; }
3368
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3369
$as_echo "$cross_compiling" >&6; }
3197
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3198
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3371
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3372
$as_echo_n "checking for suffix of executables... " >&6; }
3199
3373
if { (ac_try="$ac_link"
3200
3374
case "(($ac_try" in
3201
3375
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202
3376
*) ac_try_echo=$ac_try;;
3204
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3378
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3379
$as_echo "$ac_try_echo") >&5
3205
3380
(eval "$ac_link") 2>&5
3207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208
3383
(exit $ac_status); }; then
3209
3384
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3210
3385
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3835
4040
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3839
$ac_path_GREP_found && break 3
4043
$ac_path_GREP_found && break 3
3844
4047
IFS=$as_save_IFS
3849
GREP="$ac_cv_path_GREP"
3850
if test -z "$GREP"; then
3851
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3852
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4048
if test -z "$ac_cv_path_GREP"; then
4049
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4050
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3853
4051
{ (exit 1); exit 1; }; }
3857
4054
ac_cv_path_GREP=$GREP
3862
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3863
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4058
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4059
$as_echo "$ac_cv_path_GREP" >&6; }
3864
4060
GREP="$ac_cv_path_GREP"
3867
{ echo "$as_me:$LINENO: checking for egrep" >&5
3868
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4063
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4064
$as_echo_n "checking for egrep... " >&6; }
3869
4065
if test "${ac_cv_path_EGREP+set}" = set; then
3870
echo $ECHO_N "(cached) $ECHO_C" >&6
4066
$as_echo_n "(cached) " >&6
3872
4068
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3873
4069
then ac_cv_path_EGREP="$GREP -E"
3875
# Extract the first word of "egrep" to use in msg output
3876
if test -z "$EGREP"; then
3877
set dummy egrep; ac_prog_name=$2
3878
if test "${ac_cv_path_EGREP+set}" = set; then
3879
echo $ECHO_N "(cached) $ECHO_C" >&6
4071
if test -z "$EGREP"; then
3881
4072
ac_path_EGREP_found=false
3882
# Loop through the user's path and test for each of PROGNAME-LIST
3883
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073
# Loop through the user's path and test for each of PROGNAME-LIST
4074
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884
4075
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3886
4077
IFS=$as_save_IFS
3887
4078
test -z "$as_dir" && as_dir=.
3888
4079
for ac_prog in egrep; do
3889
for ac_exec_ext in '' $ac_executable_extensions; do
3890
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3891
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3892
# Check for GNU ac_path_EGREP and select it if it is found.
4080
for ac_exec_ext in '' $ac_executable_extensions; do
4081
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4082
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4083
# Check for GNU ac_path_EGREP and select it if it is found.
3893
4084
# Check for GNU $ac_path_EGREP
3894
4085
case `"$ac_path_EGREP" --version 2>&1` in
3896
4087
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3899
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4090
$as_echo_n 0123456789 >"conftest.in"
3902
4093
cat "conftest.in" "conftest.in" >"conftest.tmp"
3903
4094
mv "conftest.tmp" "conftest.in"
3904
4095
cp "conftest.in" "conftest.nl"
3905
echo 'EGREP' >> "conftest.nl"
4096
$as_echo 'EGREP' >> "conftest.nl"
3906
4097
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3907
4098
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3908
4099
ac_count=`expr $ac_count + 1`
5093
5316
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094
5317
*) ac_try_echo=$ac_try;;
5096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5320
$as_echo "$ac_try_echo") >&5
5097
5321
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5099
5323
grep -v '^ *+' conftest.er1 >conftest.err
5100
5324
rm -f conftest.er1
5101
5325
cat conftest.err >&5
5102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103
5327
(exit $ac_status); } >/dev/null && {
5104
5328
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5105
5329
test ! -s conftest.err
5107
5331
ac_header_preproc=yes
5109
echo "$as_me: failed program was:" >&5
5333
$as_echo "$as_me: failed program was:" >&5
5110
5334
sed 's/^/| /' conftest.$ac_ext >&5
5112
5336
ac_header_preproc=no
5115
5339
rm -f conftest.err conftest.$ac_ext
5116
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5117
echo "${ECHO_T}$ac_header_preproc" >&6; }
5340
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5341
$as_echo "$ac_header_preproc" >&6; }
5119
5343
# So? What about this header?
5120
5344
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5122
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5123
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5124
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5125
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5346
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5347
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5348
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5349
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5126
5350
ac_header_preproc=yes
5129
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5130
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5131
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5132
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5133
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5134
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5135
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5136
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5137
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5138
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5139
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5140
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5353
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5354
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5355
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5356
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5357
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5358
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5359
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5360
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5361
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5362
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5363
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5364
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5141
5365
( cat <<\_ASBOX
5142
5366
## ---------------------------------------------------------------------- ##
5143
5367
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
7269
rhapsody* | darwin*)
7270
if test -n "$ac_tool_prefix"; then
7271
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7272
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7273
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7274
$as_echo_n "checking for $ac_word... " >&6; }
7275
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7276
$as_echo_n "(cached) " >&6
7278
if test -n "$DSYMUTIL"; then
7279
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285
test -z "$as_dir" && as_dir=.
7286
for ac_exec_ext in '' $ac_executable_extensions; do
7287
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7289
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7298
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7299
if test -n "$DSYMUTIL"; then
7300
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7301
$as_echo "$DSYMUTIL" >&6; }
7303
{ $as_echo "$as_me:$LINENO: result: no" >&5
7304
$as_echo "no" >&6; }
7309
if test -z "$ac_cv_prog_DSYMUTIL"; then
7310
ac_ct_DSYMUTIL=$DSYMUTIL
7311
# Extract the first word of "dsymutil", so it can be a program name with args.
7312
set dummy dsymutil; ac_word=$2
7313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7314
$as_echo_n "checking for $ac_word... " >&6; }
7315
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7316
$as_echo_n "(cached) " >&6
7318
if test -n "$ac_ct_DSYMUTIL"; then
7319
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325
test -z "$as_dir" && as_dir=.
7326
for ac_exec_ext in '' $ac_executable_extensions; do
7327
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7328
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7329
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7338
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7339
if test -n "$ac_ct_DSYMUTIL"; then
7340
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7341
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7343
{ $as_echo "$as_me:$LINENO: result: no" >&5
7344
$as_echo "no" >&6; }
7347
if test "x$ac_ct_DSYMUTIL" = x; then
7350
case $cross_compiling:$ac_tool_warned in
7352
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7353
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7354
ac_tool_warned=yes ;;
7356
DSYMUTIL=$ac_ct_DSYMUTIL
7359
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7362
if test -n "$ac_tool_prefix"; then
7363
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7364
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7365
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7366
$as_echo_n "checking for $ac_word... " >&6; }
7367
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7368
$as_echo_n "(cached) " >&6
7370
if test -n "$NMEDIT"; then
7371
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377
test -z "$as_dir" && as_dir=.
7378
for ac_exec_ext in '' $ac_executable_extensions; do
7379
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7381
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7390
NMEDIT=$ac_cv_prog_NMEDIT
7391
if test -n "$NMEDIT"; then
7392
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7393
$as_echo "$NMEDIT" >&6; }
7395
{ $as_echo "$as_me:$LINENO: result: no" >&5
7396
$as_echo "no" >&6; }
7401
if test -z "$ac_cv_prog_NMEDIT"; then
7402
ac_ct_NMEDIT=$NMEDIT
7403
# Extract the first word of "nmedit", so it can be a program name with args.
7404
set dummy nmedit; ac_word=$2
7405
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7406
$as_echo_n "checking for $ac_word... " >&6; }
7407
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7408
$as_echo_n "(cached) " >&6
7410
if test -n "$ac_ct_NMEDIT"; then
7411
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417
test -z "$as_dir" && as_dir=.
7418
for ac_exec_ext in '' $ac_executable_extensions; do
7419
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7420
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7421
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7430
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7431
if test -n "$ac_ct_NMEDIT"; then
7432
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7433
$as_echo "$ac_ct_NMEDIT" >&6; }
7435
{ $as_echo "$as_me:$LINENO: result: no" >&5
7436
$as_echo "no" >&6; }
7439
if test "x$ac_ct_NMEDIT" = x; then
7442
case $cross_compiling:$ac_tool_warned in
7444
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7445
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7446
ac_tool_warned=yes ;;
7448
NMEDIT=$ac_ct_NMEDIT
7451
NMEDIT="$ac_cv_prog_NMEDIT"
7455
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7456
$as_echo_n "checking for -single_module linker flag... " >&6; }
7457
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7458
$as_echo_n "(cached) " >&6
7460
lt_cv_apple_cc_single_mod=no
7461
if test -z "${LT_MULTI_MODULE}"; then
7462
# By default we will add the -single_module flag. You can override
7463
# by either setting the environment variable LT_MULTI_MODULE
7464
# non-empty at configure time, or by adding -multi_module to the
7466
echo "int foo(void){return 1;}" > conftest.c
7467
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7468
-dynamiclib ${wl}-single_module conftest.c
7469
if test -f libconftest.dylib; then
7470
lt_cv_apple_cc_single_mod=yes
7471
rm -rf libconftest.dylib*
7476
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7477
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7478
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7479
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7480
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7481
$as_echo_n "(cached) " >&6
7483
lt_cv_ld_exported_symbols_list=no
7484
save_LDFLAGS=$LDFLAGS
7485
echo "_main" > conftest.sym
7486
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7487
cat >conftest.$ac_ext <<_ACEOF
7490
cat confdefs.h >>conftest.$ac_ext
7491
cat >>conftest.$ac_ext <<_ACEOF
7492
/* end confdefs.h. */
7502
rm -f conftest.$ac_objext conftest$ac_exeext
7503
if { (ac_try="$ac_link"
7505
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7506
*) ac_try_echo=$ac_try;;
7508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7509
$as_echo "$ac_try_echo") >&5
7510
(eval "$ac_link") 2>conftest.er1
7512
grep -v '^ *+' conftest.er1 >conftest.err
7514
cat conftest.err >&5
7515
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516
(exit $ac_status); } && {
7517
test -z "$ac_c_werror_flag" ||
7518
test ! -s conftest.err
7519
} && test -s conftest$ac_exeext && {
7520
test "$cross_compiling" = yes ||
7521
$as_test_x conftest$ac_exeext
7523
lt_cv_ld_exported_symbols_list=yes
7525
$as_echo "$as_me: failed program was:" >&5
7526
sed 's/^/| /' conftest.$ac_ext >&5
7528
lt_cv_ld_exported_symbols_list=no
7531
rm -rf conftest.dSYM
7532
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7533
conftest$ac_exeext conftest.$ac_ext
7534
LDFLAGS="$save_LDFLAGS"
7537
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7538
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7540
rhapsody* | darwin1.[0123])
7541
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7543
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7545
# if running on 10.5 or later, the deployment target defaults
7546
# to the OS version, if on x86, and 10.4, the deployment
7547
# target defaults to 10.4. Don't you love it?
7548
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7549
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7550
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7552
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7554
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7558
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7559
_lt_dar_single_mod='$single_module'
7561
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7562
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7564
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7566
if test "$DSYMUTIL" != ":"; then
7567
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7010
7575
enable_dlopen=no
7011
7576
enable_win32_dll=no
8108
8727
link_all_deplibs=yes
8109
8728
if test "$GCC" = yes ; then
8110
8729
output_verbose_link_cmd='echo'
8111
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8112
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8113
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8114
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8115
module_expsym_cmds='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}'
8730
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8731
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8732
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8733
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8117
8735
case $cc_basename in
8119
8737
output_verbose_link_cmd='echo'
8120
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8738
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8121
8739
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8122
8740
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8123
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8741
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8124
8742
module_expsym_cmds='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}'
11109
11817
darwin* | rhapsody*)
11111
rhapsody* | darwin1.[012])
11112
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11115
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11116
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11118
case ${MACOSX_DEPLOYMENT_TARGET} in
11120
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11123
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11129
11818
archive_cmds_need_lc_CXX=no
11130
11819
hardcode_direct_CXX=no
11131
11820
hardcode_automatic_CXX=yes
11132
11821
hardcode_shlibpath_var_CXX=unsupported
11133
11822
whole_archive_flag_spec_CXX=''
11134
11823
link_all_deplibs_CXX=yes
11136
if test "$GXX" = yes ; then
11137
lt_int_apple_cc_single_mod=no
11824
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11825
if test "$GXX" = yes ; then
11138
11826
output_verbose_link_cmd='echo'
11139
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11140
lt_int_apple_cc_single_mod=yes
11827
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11828
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11829
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11830
module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11831
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11832
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${_lt_dsymutil}"
11833
archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
11142
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11143
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11145
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'
11147
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11148
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11149
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11150
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}'
11152
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}'
11154
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}'
11156
11836
case $cc_basename in
11158
11838
output_verbose_link_cmd='echo'
11159
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'
11839
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11160
11840
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11161
11841
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11162
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}'
11842
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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11163
11843
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}'
14610
15407
link_all_deplibs_F77=yes
14611
15408
if test "$GCC" = yes ; then
14612
15409
output_verbose_link_cmd='echo'
14613
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14614
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14615
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14616
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14617
module_expsym_cmds_F77='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}'
15410
archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15411
module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15412
archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15413
module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14619
15415
case $cc_basename in
14621
15417
output_verbose_link_cmd='echo'
14622
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15418
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14623
15419
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14624
15420
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14625
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15421
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14626
15422
module_expsym_cmds_F77='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}'
17200
18036
link_all_deplibs_GCJ=yes
17201
18037
if test "$GCC" = yes ; then
17202
18038
output_verbose_link_cmd='echo'
17203
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17204
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17205
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17206
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17207
module_expsym_cmds_GCJ='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}'
18039
archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18040
module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18041
archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18042
module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17209
18044
case $cc_basename in
17211
18046
output_verbose_link_cmd='echo'
17212
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18047
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17213
18048
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17214
18049
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17215
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18050
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17216
18051
module_expsym_cmds_GCJ='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}'
20866
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
20867
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
20868
if test "${lt_cv_path_SED+set}" = set; then
20869
$as_echo_n "(cached) " >&6
20871
# Loop through the user's path and test for sed and gsed.
20872
# Then use that list of sed's as ones to test for truncation.
20873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20874
for as_dir in $PATH
20877
test -z "$as_dir" && as_dir=.
20878
for lt_ac_prog in sed gsed; do
20879
for ac_exec_ext in '' $ac_executable_extensions; do
20880
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
20881
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
20889
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
20890
# along with /bin/sed that truncates output.
20891
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
20892
test ! -f $lt_ac_sed && continue
20893
cat /dev/null > conftest.in
20895
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
20896
# Check for GNU sed and select it if it is found.
20897
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
20898
lt_cv_path_SED=$lt_ac_sed
20902
cat conftest.in conftest.in >conftest.tmp
20903
mv conftest.tmp conftest.in
20904
cp conftest.in conftest.nl
20906
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
20907
cmp -s conftest.out conftest.nl || break
20908
# 10000 chars as input seems more than enough
20909
test $lt_ac_count -gt 10 && break
20910
lt_ac_count=`expr $lt_ac_count + 1`
20911
if test $lt_ac_count -gt $lt_ac_max; then
20912
lt_ac_max=$lt_ac_count
20913
lt_cv_path_SED=$lt_ac_sed
20920
SED=$lt_cv_path_SED
20922
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
20923
$as_echo "$SED" >&6; }
20926
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
20927
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
20928
if test "${ac_cv_prog_cc_c99+set}" = set; then
20929
$as_echo_n "(cached) " >&6
20931
ac_cv_prog_cc_c99=no
20933
cat >conftest.$ac_ext <<_ACEOF
20936
cat confdefs.h >>conftest.$ac_ext
20937
cat >>conftest.$ac_ext <<_ACEOF
20938
/* end confdefs.h. */
20939
#include <stdarg.h>
20940
#include <stdbool.h>
20941
#include <stdlib.h>
20945
// Check varargs macros. These examples are taken from C99 6.10.3.5.
20946
#define debug(...) fprintf (stderr, __VA_ARGS__)
20947
#define showlist(...) puts (#__VA_ARGS__)
20948
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
20950
test_varargs_macros (void)
20955
debug ("X = %d\n", x);
20956
showlist (The first, second, and third items.);
20957
report (x>y, "x is %d but y is %d", x, y);
20960
// Check long long types.
20961
#define BIG64 18446744073709551615ull
20962
#define BIG32 4294967295ul
20963
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
20965
your preprocessor is broken;
20969
your preprocessor is broken;
20971
static long long int bignum = -9223372036854775807LL;
20972
static unsigned long long int ubignum = BIG64;
20974
struct incomplete_array
20980
struct named_init {
20982
const wchar_t *name;
20986
typedef const char *ccp;
20989
test_restrict (ccp restrict text)
20991
// See if C++-style comments work.
20992
// Iterate through items via the restricted pointer.
20993
// Also check for declarations in for loops.
20994
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
20999
// Check varargs and va_copy.
21001
test_varargs (const char *format, ...)
21004
va_start (args, format);
21006
va_copy (args_copy, args);
21016
case 's': // string
21017
str = va_arg (args_copy, const char *);
21020
number = va_arg (args_copy, int);
21023
fnumber = va_arg (args_copy, double);
21029
va_end (args_copy);
21038
_Bool success = false;
21041
if (test_restrict ("String literal") == 0)
21043
char *restrict newvar = "Another string";
21046
test_varargs ("s, d' f .", "string", 65, 34.234);
21047
test_varargs_macros ();
21049
// Check flexible array members.
21050
struct incomplete_array *ia =
21051
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
21053
for (int i = 0; i < ia->datasize; ++i)
21054
ia->data[i] = i * 1.234;
21056
// Check named initializers.
21057
struct named_init ni = {
21059
.name = L"Test wide string",
21060
.average = 543.34343,
21065
int dynamic_array[ni.number];
21066
dynamic_array[ni.number - 1] = 543;
21068
// work around unused variable warnings
21069
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
21070
|| dynamic_array[ni.number - 1] != 543);
21076
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
21078
CC="$ac_save_CC $ac_arg"
21079
rm -f conftest.$ac_objext
21080
if { (ac_try="$ac_compile"
21081
case "(($ac_try" in
21082
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21083
*) ac_try_echo=$ac_try;;
21085
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21086
$as_echo "$ac_try_echo") >&5
21087
(eval "$ac_compile") 2>conftest.er1
21089
grep -v '^ *+' conftest.er1 >conftest.err
21091
cat conftest.err >&5
21092
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093
(exit $ac_status); } && {
21094
test -z "$ac_c_werror_flag" ||
21095
test ! -s conftest.err
21096
} && test -s conftest.$ac_objext; then
21097
ac_cv_prog_cc_c99=$ac_arg
21099
$as_echo "$as_me: failed program was:" >&5
21100
sed 's/^/| /' conftest.$ac_ext >&5
21105
rm -f core conftest.err conftest.$ac_objext
21106
test "x$ac_cv_prog_cc_c99" != "xno" && break
21108
rm -f conftest.$ac_ext
21113
case "x$ac_cv_prog_cc_c99" in
21115
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
21116
$as_echo "none needed" >&6; } ;;
21118
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
21119
$as_echo "unsupported" >&6; } ;;
21121
CC="$CC $ac_cv_prog_cc_c99"
21122
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
21123
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
21131
if test "x$GCC" = xyes ; then
21132
CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
21133
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
21134
-Wbad-function-cast"
21135
case `$CC -dumpversion` in
21137
CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
21141
{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
21142
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
21143
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
21144
$as_echo_n "(cached) " >&6
21146
cat >conftest.$ac_ext <<_ACEOF
21149
cat confdefs.h >>conftest.$ac_ext
21150
cat >>conftest.$ac_ext <<_ACEOF
21151
/* end confdefs.h. */
21152
$ac_includes_default
21164
rm -f conftest.$ac_objext
21165
if { (ac_try="$ac_compile"
21166
case "(($ac_try" in
21167
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21168
*) ac_try_echo=$ac_try;;
21170
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21171
$as_echo "$ac_try_echo") >&5
21172
(eval "$ac_compile") 2>conftest.er1
21174
grep -v '^ *+' conftest.er1 >conftest.err
21176
cat conftest.err >&5
21177
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178
(exit $ac_status); } && {
21179
test -z "$ac_c_werror_flag" ||
21180
test ! -s conftest.err
21181
} && test -s conftest.$ac_objext; then
21182
ac_cv_have_decl___SUNPRO_C=yes
21184
$as_echo "$as_me: failed program was:" >&5
21185
sed 's/^/| /' conftest.$ac_ext >&5
21187
ac_cv_have_decl___SUNPRO_C=no
21190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
21193
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
21194
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
21200
if test "x$SUNCC" = "xyes"; then
21205
# Check whether --enable-silent-rules was given.
21206
if test "${enable_silent_rules+set}" = set; then
21207
enableval=$enable_silent_rules;
21210
case $enable_silent_rules in
21211
yes) AM_DEFAULT_VERBOSITY=0;;
21212
no) AM_DEFAULT_VERBOSITY=1;;
21213
*) AM_DEFAULT_VERBOSITY=0;;
21223
# Check whether --enable-strict-compilation was given.
21224
if test "${enable_strict_compilation+set}" = set; then
21225
enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
21230
if test "x$STRICT_COMPILE" = "xyes"; then
21231
{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
21232
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
21233
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
21234
$as_echo_n "(cached) " >&6
21236
cat >conftest.$ac_ext <<_ACEOF
21239
cat confdefs.h >>conftest.$ac_ext
21240
cat >>conftest.$ac_ext <<_ACEOF
21241
/* end confdefs.h. */
21242
$ac_includes_default
21254
rm -f conftest.$ac_objext
21255
if { (ac_try="$ac_compile"
21256
case "(($ac_try" in
21257
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21258
*) ac_try_echo=$ac_try;;
21260
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21261
$as_echo "$ac_try_echo") >&5
21262
(eval "$ac_compile") 2>conftest.er1
21264
grep -v '^ *+' conftest.er1 >conftest.err
21266
cat conftest.err >&5
21267
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268
(exit $ac_status); } && {
21269
test -z "$ac_c_werror_flag" ||
21270
test ! -s conftest.err
21271
} && test -s conftest.$ac_objext; then
21272
ac_cv_have_decl___SUNPRO_C=yes
21274
$as_echo "$as_me: failed program was:" >&5
21275
sed 's/^/| /' conftest.$ac_ext >&5
21277
ac_cv_have_decl___SUNPRO_C=no
21280
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
21283
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
21284
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
21290
{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
21291
$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
21292
if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
21293
$as_echo_n "(cached) " >&6
21295
cat >conftest.$ac_ext <<_ACEOF
21298
cat confdefs.h >>conftest.$ac_ext
21299
cat >>conftest.$ac_ext <<_ACEOF
21300
/* end confdefs.h. */
21301
$ac_includes_default
21305
#ifndef __INTEL_COMPILER
21306
(void) __INTEL_COMPILER;
21313
rm -f conftest.$ac_objext
21314
if { (ac_try="$ac_compile"
21315
case "(($ac_try" in
21316
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317
*) ac_try_echo=$ac_try;;
21319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21320
$as_echo "$ac_try_echo") >&5
21321
(eval "$ac_compile") 2>conftest.er1
21323
grep -v '^ *+' conftest.er1 >conftest.err
21325
cat conftest.err >&5
21326
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327
(exit $ac_status); } && {
21328
test -z "$ac_c_werror_flag" ||
21329
test ! -s conftest.err
21330
} && test -s conftest.$ac_objext; then
21331
ac_cv_have_decl___INTEL_COMPILER=yes
21333
$as_echo "$as_me: failed program was:" >&5
21334
sed 's/^/| /' conftest.$ac_ext >&5
21336
ac_cv_have_decl___INTEL_COMPILER=no
21339
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
21342
$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
21343
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
21349
if test "x$GCC" = xyes ; then
21350
STRICT_CFLAGS="-pedantic -Werror"
21351
elif test "x$SUNCC" = "xyes"; then
21352
STRICT_CFLAGS="-errwarn"
21353
elif test "x$INTELCC" = "xyes"; then
21354
STRICT_CFLAGS="-Werror"
21357
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
21362
# Check whether --with-release-version was given.
21363
if test "${with_release_version+set}" = set; then
21364
withval=$with_release_version; RELEASE_VERSION="$withval"
21369
if test "x$RELEASE_VERSION" != "x"; then
21370
PACKAGE="$PACKAGE-$RELEASE_VERSION"
21371
PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
21372
{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
21373
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
21376
cat >>confdefs.h <<_ACEOF
21377
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
21380
PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
21381
if test "x$PVM" = "x"; then
21385
cat >>confdefs.h <<_ACEOF
21386
#define PACKAGE_VERSION_MINOR $PVM
21389
PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
21390
if test "x$PVP" = "x"; then
21394
cat >>confdefs.h <<_ACEOF
21395
#define PACKAGE_VERSION_PATCHLEVEL $PVP
21400
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
21401
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
21402
echo 'git directory not found: installing possibly empty changelog.' >&2)"
21404
distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
21410
if test x$APP_MAN_SUFFIX = x ; then
21413
if test x$APP_MAN_DIR = x ; then
21414
APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
21417
if test x$LIB_MAN_SUFFIX = x ; then
21420
if test x$LIB_MAN_DIR = x ; then
21421
LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
21424
if test x$FILE_MAN_SUFFIX = x ; then
21426
solaris*) FILE_MAN_SUFFIX=4 ;;
21427
*) FILE_MAN_SUFFIX=5 ;;
21430
if test x$FILE_MAN_DIR = x ; then
21431
FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
21434
if test x$MISC_MAN_SUFFIX = x ; then
21436
solaris*) MISC_MAN_SUFFIX=5 ;;
21437
*) MISC_MAN_SUFFIX=7 ;;
21440
if test x$MISC_MAN_DIR = x ; then
21441
MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
21444
if test x$DRIVER_MAN_SUFFIX = x ; then
21446
solaris*) DRIVER_MAN_SUFFIX=7 ;;
21447
*) DRIVER_MAN_SUFFIX=4 ;;
21450
if test x$DRIVER_MAN_DIR = x ; then
21451
DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
21454
if test x$ADMIN_MAN_SUFFIX = x ; then
21456
solaris*) ADMIN_MAN_SUFFIX=1m ;;
21457
*) ADMIN_MAN_SUFFIX=8 ;;
21460
if test x$ADMIN_MAN_DIR = x ; then
21461
ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
20014
21480
# Checks for pkg-config packages
20121
21583
if test -n "$PKG_CONFIG"; then
20122
21584
_pkg_min_version=0.9.0
20123
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20124
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21585
{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21586
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20125
21587
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20126
{ echo "$as_me:$LINENO: result: yes" >&5
20127
echo "${ECHO_T}yes" >&6; }
21588
{ $as_echo "$as_me:$LINENO: result: yes" >&5
21589
$as_echo "yes" >&6; }
20129
{ echo "$as_me:$LINENO: result: no" >&5
20130
echo "${ECHO_T}no" >&6; }
21591
{ $as_echo "$as_me:$LINENO: result: no" >&5
21592
$as_echo "no" >&6; }
20131
21593
PKG_CONFIG=""
20136
21598
pkg_failed=no
20137
{ echo "$as_me:$LINENO: checking for XPM" >&5
20138
echo $ECHO_N "checking for XPM... $ECHO_C" >&6; }
21599
{ $as_echo "$as_me:$LINENO: checking for XPM" >&5
21600
$as_echo_n "checking for XPM... " >&6; }
20140
if test -n "$PKG_CONFIG"; then
20141
if test -n "$PKG_CONFIG" && \
20142
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
21602
if test -n "$XPM_CFLAGS"; then
21603
pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
21604
elif test -n "$PKG_CONFIG"; then
21605
if test -n "$PKG_CONFIG" && \
21606
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
20143
21607
($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
20145
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146
21610
(exit $ac_status); }; then
20147
21611
pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
20149
21613
pkg_failed=yes
20154
if test -n "$PKG_CONFIG"; then
20155
if test -n "$PKG_CONFIG" && \
20156
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
21618
if test -n "$XPM_LIBS"; then
21619
pkg_cv_XPM_LIBS="$XPM_LIBS"
21620
elif test -n "$PKG_CONFIG"; then
21621
if test -n "$PKG_CONFIG" && \
21622
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11\"") >&5
20157
21623
($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
20159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160
21626
(exit $ac_status); }; then
20161
21627
pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
20163
21629
pkg_failed=yes
20169
21637
if test $pkg_failed = yes; then
20170
XPM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto x11"`
21639
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21640
_pkg_short_errors_supported=yes
21642
_pkg_short_errors_supported=no
21644
if test $_pkg_short_errors_supported = yes; then
21645
XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11" 2>&1`
21647
XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11" 2>&1`
20171
21649
# Put the nasty error message in config.log where it belongs
20172
echo "$XPM_PKG_ERRORS" 1>&5
20174
{ { echo "$as_me:$LINENO: error: Package requirements (xproto x11) were not met.
20175
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20176
installed software in a non-standard prefix.
20178
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20179
to avoid the need to call pkg-config. See the pkg-config man page for
20181
echo "$as_me: error: Package requirements (xproto x11) were not met.
20182
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20183
installed software in a non-standard prefix.
20185
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20186
to avoid the need to call pkg-config. See the pkg-config man page for
20187
more details." >&2;}
21650
echo "$XPM_PKG_ERRORS" >&5
21652
{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11) were not met:
21656
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21657
installed software in a non-standard prefix.
21659
Alternatively, you may set the environment variables XPM_CFLAGS
21660
and XPM_LIBS to avoid the need to call pkg-config.
21661
See the pkg-config man page for more details.
21663
$as_echo "$as_me: error: Package requirements (xproto x11) were not met:
21667
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21668
installed software in a non-standard prefix.
21670
Alternatively, you may set the environment variables XPM_CFLAGS
21671
and XPM_LIBS to avoid the need to call pkg-config.
21672
See the pkg-config man page for more details.
20188
21674
{ (exit 1); exit 1; }; }
20189
21675
elif test $pkg_failed = untried; then
20190
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21676
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21677
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21678
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20191
21679
is in your PATH or set the PKG_CONFIG environment variable to the full
20192
21680
path to pkg-config.
20194
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20195
to avoid the need to call pkg-config. See the pkg-config man page for
21682
Alternatively, you may set the environment variables XPM_CFLAGS
21683
and XPM_LIBS to avoid the need to call pkg-config.
21684
See the pkg-config man page for more details.
20198
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21686
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20199
21687
See \`config.log' for more details." >&5
20200
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21688
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20201
21689
is in your PATH or set the PKG_CONFIG environment variable to the full
20202
21690
path to pkg-config.
20204
Alternatively you may set the XPM_CFLAGS and XPM_LIBS environment variables
20205
to avoid the need to call pkg-config. See the pkg-config man page for
21692
Alternatively, you may set the environment variables XPM_CFLAGS
21693
and XPM_LIBS to avoid the need to call pkg-config.
21694
See the pkg-config man page for more details.
20208
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21696
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20209
21697
See \`config.log' for more details." >&2;}
20210
{ (exit 1); exit 1; }; }
21698
{ (exit 1); exit 1; }; }; }
20212
21700
XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
20213
21701
XPM_LIBS=$pkg_cv_XPM_LIBS
20214
{ echo "$as_me:$LINENO: result: yes" >&5
20215
echo "${ECHO_T}yes" >&6; }
21702
{ $as_echo "$as_me:$LINENO: result: yes" >&5
21703
$as_echo "yes" >&6; }
20221
21709
# Checks for header files.
20222
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20223
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21710
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21711
$as_echo_n "checking for ANSI C header files... " >&6; }
20224
21712
if test "${ac_cv_header_stdc+set}" = set; then
20225
echo $ECHO_N "(cached) $ECHO_C" >&6
21713
$as_echo_n "(cached) " >&6
20227
21715
cat >conftest.$ac_ext <<_ACEOF
20228
21716
/* confdefs.h. */
20455
21947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20456
21948
*) ac_try_echo=$ac_try;;
20458
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21951
$as_echo "$ac_try_echo") >&5
20459
21952
(eval "$ac_link") 2>conftest.er1
20461
21954
grep -v '^ *+' conftest.er1 >conftest.err
20462
21955
rm -f conftest.er1
20463
21956
cat conftest.err >&5
20464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465
21958
(exit $ac_status); } && {
20466
21959
test -z "$ac_c_werror_flag" ||
20467
21960
test ! -s conftest.err
20468
} && test -s conftest$ac_exeext &&
20469
$as_test_x conftest$ac_exeext; then
21961
} && test -s conftest$ac_exeext && {
21962
test "$cross_compiling" = yes ||
21963
$as_test_x conftest$ac_exeext
20470
21965
eval "$as_ac_var=yes"
20472
echo "$as_me: failed program was:" >&5
21967
$as_echo "$as_me: failed program was:" >&5
20473
21968
sed 's/^/| /' conftest.$ac_ext >&5
20475
21970
eval "$as_ac_var=no"
21973
rm -rf conftest.dSYM
20478
21974
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20479
21975
conftest$ac_exeext conftest.$ac_ext
20481
ac_res=`eval echo '${'$as_ac_var'}'`
20482
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20483
echo "${ECHO_T}$ac_res" >&6; }
20484
if test `eval echo '${'$as_ac_var'}'` = yes; then
21977
ac_res=`eval 'as_val=${'$as_ac_var'}
21978
$as_echo "$as_val"'`
21979
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21980
$as_echo "$ac_res" >&6; }
21981
as_val=`eval 'as_val=${'$as_ac_var'}
21982
$as_echo "$as_val"'`
21983
if test "x$as_val" = x""yes; then
20485
21984
cat >>confdefs.h <<_ACEOF
20486
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21985
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20493
# Checks for typedefs, structures, and compiler characteristics.
20495
if test "x$GCC" = "xyes"; then
20496
GCC_WARNINGS="-Wall -Wpointer-arith -Wstrict-prototypes \
20497
-Wmissing-prototypes -Wmissing-declarations \
20498
-Wnested-externs -fno-strict-aliasing"
20499
CFLAGS="$GCC_WARNINGS $CFLAGS"
20502
21992
# Internationalization & localization support
20503
{ echo "$as_me:$LINENO: checking for library containing gettext" >&5
20504
echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6; }
21993
{ $as_echo "$as_me:$LINENO: checking for library containing gettext" >&5
21994
$as_echo_n "checking for library containing gettext... " >&6; }
20505
21995
if test "${ac_cv_search_gettext+set}" = set; then
20506
echo $ECHO_N "(cached) $ECHO_C" >&6
21996
$as_echo_n "(cached) " >&6
20508
21998
ac_func_search_save_LIBS=$LIBS
20509
21999
cat >conftest.$ac_ext <<_ACEOF
20658
22152
pkg_failed=no
20659
{ echo "$as_me:$LINENO: checking for SXPM" >&5
20660
echo $ECHO_N "checking for SXPM... $ECHO_C" >&6; }
22153
{ $as_echo "$as_me:$LINENO: checking for SXPM" >&5
22154
$as_echo_n "checking for SXPM... " >&6; }
20662
if test -n "$PKG_CONFIG"; then
20663
if test -n "$PKG_CONFIG" && \
20664
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
22156
if test -n "$SXPM_CFLAGS"; then
22157
pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
22158
elif test -n "$PKG_CONFIG"; then
22159
if test -n "$PKG_CONFIG" && \
22160
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
20665
22161
($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
20667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668
22164
(exit $ac_status); }; then
20669
22165
pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "xt xext xextproto" 2>/dev/null`
20671
22167
pkg_failed=yes
20676
if test -n "$PKG_CONFIG"; then
20677
if test -n "$PKG_CONFIG" && \
20678
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
22172
if test -n "$SXPM_LIBS"; then
22173
pkg_cv_SXPM_LIBS="$SXPM_LIBS"
22174
elif test -n "$PKG_CONFIG"; then
22175
if test -n "$PKG_CONFIG" && \
22176
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext xextproto\"") >&5
20679
22177
($PKG_CONFIG --exists --print-errors "xt xext xextproto") 2>&5
20681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682
22180
(exit $ac_status); }; then
20683
22181
pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "xt xext xextproto" 2>/dev/null`
20685
22183
pkg_failed=yes
20691
22191
if test $pkg_failed = yes; then
20692
SXPM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt xext xextproto"`
22193
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22194
_pkg_short_errors_supported=yes
22196
_pkg_short_errors_supported=no
22198
if test $_pkg_short_errors_supported = yes; then
22199
SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt xext xextproto" 2>&1`
22201
SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt xext xextproto" 2>&1`
20693
22203
# Put the nasty error message in config.log where it belongs
20694
echo "$SXPM_PKG_ERRORS" 1>&5
22204
echo "$SXPM_PKG_ERRORS" >&5
22206
{ $as_echo "$as_me:$LINENO: result: no" >&5
22207
$as_echo "no" >&6; }
20697
22209
elif test $pkg_failed = untried; then
20698
22210
build_sxpm=false
20700
22212
SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
20701
22213
SXPM_LIBS=$pkg_cv_SXPM_LIBS
20702
{ echo "$as_me:$LINENO: result: yes" >&5
20703
echo "${ECHO_T}yes" >&6; }
22214
{ $as_echo "$as_me:$LINENO: result: yes" >&5
22215
$as_echo "yes" >&6; }
20704
22216
build_sxpm=true
20707
22218
if test x$build_sxpm = xtrue; then
20708
22219
BUILD_SXPM_TRUE=
20709
22220
BUILD_SXPM_FALSE='#'
20922
22323
LTLIBOBJS=$ac_ltlibobjs
22326
if test -n "$EXEEXT"; then
22328
am__EXEEXT_FALSE='#'
22330
am__EXEEXT_TRUE='#'
20925
22334
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20926
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22335
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20927
22336
Usually this means the macro was only invoked conditionally." >&5
20928
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22337
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20929
22338
Usually this means the macro was only invoked conditionally." >&2;}
20930
22339
{ (exit 1); exit 1; }; }
20932
22341
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20933
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22342
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20934
22343
Usually this means the macro was only invoked conditionally." >&5
20935
echo "$as_me: error: conditional \"AMDEP\" was never defined.
22344
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20936
22345
Usually this means the macro was only invoked conditionally." >&2;}
20937
22346
{ (exit 1); exit 1; }; }
20939
22348
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20940
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22349
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20941
22350
Usually this means the macro was only invoked conditionally." >&5
20942
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22351
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20943
22352
Usually this means the macro was only invoked conditionally." >&2;}
20944
22353
{ (exit 1); exit 1; }; }
20946
22355
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20947
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22356
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20948
22357
Usually this means the macro was only invoked conditionally." >&5
20949
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22358
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20950
22359
Usually this means the macro was only invoked conditionally." >&2;}
20951
22360
{ (exit 1); exit 1; }; }
20953
22362
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20954
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22363
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20955
22364
Usually this means the macro was only invoked conditionally." >&5
20956
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22365
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20957
22366
Usually this means the macro was only invoked conditionally." >&2;}
20958
22367
{ (exit 1); exit 1; }; }
20960
22369
if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
20961
{ { echo "$as_me:$LINENO: error: conditional \"USE_GETTEXT\" was never defined.
22370
{ { $as_echo "$as_me:$LINENO: error: conditional \"USE_GETTEXT\" was never defined.
20962
22371
Usually this means the macro was only invoked conditionally." >&5
20963
echo "$as_me: error: conditional \"USE_GETTEXT\" was never defined.
22372
$as_echo "$as_me: error: conditional \"USE_GETTEXT\" was never defined.
20964
22373
Usually this means the macro was only invoked conditionally." >&2;}
20965
22374
{ (exit 1); exit 1; }; }
20967
22376
if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
20968
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SXPM\" was never defined.
22377
{ { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SXPM\" was never defined.
20969
22378
Usually this means the macro was only invoked conditionally." >&5
20970
echo "$as_me: error: conditional \"BUILD_SXPM\" was never defined.
22379
$as_echo "$as_me: error: conditional \"BUILD_SXPM\" was never defined.
20971
22380
Usually this means the macro was only invoked conditionally." >&2;}
20972
22381
{ (exit 1); exit 1; }; }
20975
22384
: ${CONFIG_STATUS=./config.status}
20976
22386
ac_clean_files_save=$ac_clean_files
20977
22387
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20978
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20979
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20980
cat >$CONFIG_STATUS <<_ACEOF
22388
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22389
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22390
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20982
22392
# Generated by $as_me.
20983
22393
# Run this file to recreate the current configuration.
21488
22938
(umask 077 && mkdir "$tmp")
21491
echo "$me: cannot create a temporary directory in ." >&2
22941
$as_echo "$as_me: cannot create a temporary directory in ." >&2
21492
22942
{ (exit 1); exit 1; }
21496
# Set up the sed scripts for CONFIG_FILES section.
21499
# No need to generate the scripts if there are no CONFIG_FILES.
21500
# This happens for instance when ./config.status config.h
22945
# Set up the scripts for CONFIG_FILES section.
22946
# No need to generate them if there are no CONFIG_FILES.
22947
# This happens for instance with `./config.status config.h'.
21501
22948
if test -n "$CONFIG_FILES"; then
21508
for ac_last_try in false false false false false :; do
21509
cat >conf$$subs.sed <<_ACEOF
21510
SHELL!$SHELL$ac_delim
21511
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21512
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21513
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21514
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21515
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21516
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21517
exec_prefix!$exec_prefix$ac_delim
21518
prefix!$prefix$ac_delim
21519
program_transform_name!$program_transform_name$ac_delim
21520
bindir!$bindir$ac_delim
21521
sbindir!$sbindir$ac_delim
21522
libexecdir!$libexecdir$ac_delim
21523
datarootdir!$datarootdir$ac_delim
21524
datadir!$datadir$ac_delim
21525
sysconfdir!$sysconfdir$ac_delim
21526
sharedstatedir!$sharedstatedir$ac_delim
21527
localstatedir!$localstatedir$ac_delim
21528
includedir!$includedir$ac_delim
21529
oldincludedir!$oldincludedir$ac_delim
21530
docdir!$docdir$ac_delim
21531
infodir!$infodir$ac_delim
21532
htmldir!$htmldir$ac_delim
21533
dvidir!$dvidir$ac_delim
21534
pdfdir!$pdfdir$ac_delim
21535
psdir!$psdir$ac_delim
21536
libdir!$libdir$ac_delim
21537
localedir!$localedir$ac_delim
21538
mandir!$mandir$ac_delim
21539
DEFS!$DEFS$ac_delim
21540
ECHO_C!$ECHO_C$ac_delim
21541
ECHO_N!$ECHO_N$ac_delim
21542
ECHO_T!$ECHO_T$ac_delim
21543
LIBS!$LIBS$ac_delim
21544
build_alias!$build_alias$ac_delim
21545
host_alias!$host_alias$ac_delim
21546
target_alias!$target_alias$ac_delim
21547
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21548
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21549
INSTALL_DATA!$INSTALL_DATA$ac_delim
21550
am__isrc!$am__isrc$ac_delim
21551
CYGPATH_W!$CYGPATH_W$ac_delim
21552
PACKAGE!$PACKAGE$ac_delim
21553
VERSION!$VERSION$ac_delim
21554
ACLOCAL!$ACLOCAL$ac_delim
21555
AUTOCONF!$AUTOCONF$ac_delim
21556
AUTOMAKE!$AUTOMAKE$ac_delim
21557
AUTOHEADER!$AUTOHEADER$ac_delim
21558
MAKEINFO!$MAKEINFO$ac_delim
21559
install_sh!$install_sh$ac_delim
21560
STRIP!$STRIP$ac_delim
21561
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21562
mkdir_p!$mkdir_p$ac_delim
21564
SET_MAKE!$SET_MAKE$ac_delim
21565
am__leading_dot!$am__leading_dot$ac_delim
21566
AMTAR!$AMTAR$ac_delim
21567
am__tar!$am__tar$ac_delim
21568
am__untar!$am__untar$ac_delim
21569
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
21570
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
21571
MAINT!$MAINT$ac_delim
21572
build!$build$ac_delim
21573
build_cpu!$build_cpu$ac_delim
21574
build_vendor!$build_vendor$ac_delim
21575
build_os!$build_os$ac_delim
21576
host!$host$ac_delim
21577
host_cpu!$host_cpu$ac_delim
21578
host_vendor!$host_vendor$ac_delim
21579
host_os!$host_os$ac_delim
21581
CFLAGS!$CFLAGS$ac_delim
21582
LDFLAGS!$LDFLAGS$ac_delim
21583
CPPFLAGS!$CPPFLAGS$ac_delim
21584
ac_ct_CC!$ac_ct_CC$ac_delim
21585
EXEEXT!$EXEEXT$ac_delim
21586
OBJEXT!$OBJEXT$ac_delim
21587
DEPDIR!$DEPDIR$ac_delim
21588
am__include!$am__include$ac_delim
21589
am__quote!$am__quote$ac_delim
21590
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21591
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21592
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21593
CCDEPMODE!$CCDEPMODE$ac_delim
21594
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21595
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21596
GREP!$GREP$ac_delim
21597
EGREP!$EGREP$ac_delim
21598
LN_S!$LN_S$ac_delim
21599
ECHO!$ECHO$ac_delim
21601
RANLIB!$RANLIB$ac_delim
21604
CXXFLAGS!$CXXFLAGS$ac_delim
21605
ac_ct_CXX!$ac_ct_CXX$ac_delim
21606
CXXDEPMODE!$CXXDEPMODE$ac_delim
21609
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21611
elif $ac_last_try; then
21612
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21613
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21614
{ (exit 1); exit 1; }; }
21616
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21620
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21621
if test -n "$ac_eof"; then
21622
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21623
ac_eof=`expr $ac_eof + 1`
21626
cat >>$CONFIG_STATUS <<_ACEOF
21627
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21628
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21631
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21632
s/^/s,@/; s/!/@,|#_!!_#|/
21635
s/'"$ac_delim"'$/,g/; t
21637
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21638
' >>$CONFIG_STATUS <conf$$subs.sed
21639
rm -f conf$$subs.sed
21640
cat >>$CONFIG_STATUS <<_ACEOF
21646
for ac_last_try in false false false false false :; do
21647
cat >conf$$subs.sed <<_ACEOF
21648
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21649
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21650
CXXCPP!$CXXCPP$ac_delim
21652
FFLAGS!$FFLAGS$ac_delim
21653
ac_ct_F77!$ac_ct_F77$ac_delim
21654
LIBTOOL!$LIBTOOL$ac_delim
21655
PKG_CONFIG!$PKG_CONFIG$ac_delim
21656
XPM_CFLAGS!$XPM_CFLAGS$ac_delim
21657
XPM_LIBS!$XPM_LIBS$ac_delim
21658
LOCALEDIR!$LOCALEDIR$ac_delim
21659
USE_GETTEXT_TRUE!$USE_GETTEXT_TRUE$ac_delim
21660
USE_GETTEXT_FALSE!$USE_GETTEXT_FALSE$ac_delim
21661
SXPM_CFLAGS!$SXPM_CFLAGS$ac_delim
21662
SXPM_LIBS!$SXPM_LIBS$ac_delim
21663
BUILD_SXPM_TRUE!$BUILD_SXPM_TRUE$ac_delim
21664
BUILD_SXPM_FALSE!$BUILD_SXPM_FALSE$ac_delim
21665
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
21666
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
21667
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
21668
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
21669
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
21670
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
21671
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
21672
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
21673
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
21674
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
21675
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
21676
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
21677
LIBOBJS!$LIBOBJS$ac_delim
21678
LTLIBOBJS!$LTLIBOBJS$ac_delim
21681
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
21683
elif $ac_last_try; then
21684
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21685
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21686
{ (exit 1); exit 1; }; }
21688
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21692
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21693
if test -n "$ac_eof"; then
21694
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21695
ac_eof=`expr $ac_eof + 1`
21698
cat >>$CONFIG_STATUS <<_ACEOF
21699
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21700
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21703
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21704
s/^/s,@/; s/!/@,|#_!!_#|/
21707
s/'"$ac_delim"'$/,g/; t
21709
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21710
' >>$CONFIG_STATUS <conf$$subs.sed
21711
rm -f conf$$subs.sed
21712
cat >>$CONFIG_STATUS <<_ACEOF
22952
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22953
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22956
ac_cs_awk_cr=$ac_cr
22959
echo 'BEGIN {' >"$tmp/subs1.awk" &&
22964
echo "cat >conf$$subs.awk <<_ACEOF" &&
22965
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22967
} >conf$$subs.sh ||
22968
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22969
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22970
{ (exit 1); exit 1; }; }
22971
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22973
for ac_last_try in false false false false false :; do
22974
. ./conf$$subs.sh ||
22975
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22976
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22977
{ (exit 1); exit 1; }; }
22979
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22980
if test $ac_delim_n = $ac_delim_num; then
22982
elif $ac_last_try; then
22983
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22984
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22985
{ (exit 1); exit 1; }; }
22987
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22990
rm -f conf$$subs.sh
22992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22993
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
22997
s/^/S["/; s/!.*/"]=/
23007
s/\(.\{148\}\).*/\1/
23009
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
23014
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23021
s/\(.\{148\}\).*/\1/
23023
s/["\\]/\\&/g; s/^/"/; s/$/"/
23027
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23032
' <conf$$subs.awk | sed '
23037
' >>$CONFIG_STATUS || ac_write_fail=1
23038
rm -f conf$$subs.awk
23039
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23041
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
23042
for (key in S) S_is_set[key] = 1
23048
nfields = split(line, field, "@")
23050
len = length(field[1])
23051
for (i = 2; i < nfields; i++) {
23053
keylen = length(key)
23054
if (S_is_set[key]) {
23056
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23057
len += length(value) + length(field[++i])
23068
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23069
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23070
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23073
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
23074
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
23075
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
23076
{ (exit 1); exit 1; }; }
21719
23079
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21720
23080
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21734
cat >>$CONFIG_STATUS <<\_ACEOF
23094
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21735
23095
fi # test -n "$CONFIG_FILES"
21738
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23097
# Set up the scripts for CONFIG_HEADERS section.
23098
# No need to generate them if there are no CONFIG_HEADERS.
23099
# This happens for instance with `./config.status Makefile'.
23100
if test -n "$CONFIG_HEADERS"; then
23101
cat >"$tmp/defines.awk" <<\_ACAWK ||
23105
# Transform confdefs.h into an awk script `defines.awk', embedded as
23106
# here-document in config.status, that substitutes the proper values into
23107
# config.h.in to produce config.h.
23109
# Create a delimiter string that does not exist in confdefs.h, to ease
23110
# handling of long lines.
23112
for ac_last_try in false false :; do
23113
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
23114
if test -z "$ac_t"; then
23116
elif $ac_last_try; then
23117
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
23118
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
23119
{ (exit 1); exit 1; }; }
23121
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23125
# For the awk script, D is an array of macro values keyed by name,
23126
# likewise P contains macro parameters if any. Preserve backslash
23127
# newline sequences.
23129
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23131
s/.\{148\}/&'"$ac_delim"'/g
23134
s/^[ ]*#[ ]*define[ ][ ]*/ /
23141
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23143
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23147
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23148
D["\1"]=" \3\\\\\\n"\\/p
23150
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23155
s/.\{148\}/&'"$ac_delim"'/g
23160
s/["\\]/\\&/g; s/^/"/; s/$/"/p
23163
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23165
' <confdefs.h | sed '
23166
s/'"$ac_delim"'/"\\\
23167
"/g' >>$CONFIG_STATUS || ac_write_fail=1
23169
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23170
for (key in D) D_is_set[key] = 1
23173
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23175
split(line, arg, " ")
23176
if (arg[1] == "#") {
23180
defundef = substr(arg[1], 2)
23183
split(mac1, mac2, "(") #)
23185
prefix = substr(line, 1, index(line, defundef) - 1)
23186
if (D_is_set[macro]) {
23187
# Preserve the white space surrounding the "#".
23188
print prefix "define", macro P[macro] D[macro]
23191
# Replace #undef with comments. This is necessary, for example,
23192
# in the case of _POSIX_SOURCE, which is predefined and required
23193
# on some systems where configure will not decide to define it.
23194
if (defundef == "undef") {
23195
print "/*", prefix defundef, macro, "*/"
23203
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23204
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
23205
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
23206
{ (exit 1); exit 1; }; }
23207
fi # test -n "$CONFIG_HEADERS"
23210
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21740
23214
case $ac_tag in
21741
23215
:[FHLC]) ac_mode=$ac_tag; continue;;
21743
23217
case $ac_mode$ac_tag in
21745
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21746
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23219
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
23220
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21747
23221
{ (exit 1); exit 1; }; };;
21748
23222
:[FH]-) ac_tag=-:-;;
21749
23223
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21965
23454
s&@INSTALL@&$ac_INSTALL&;t t
21966
23455
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21967
23456
$ac_datarootdir_hack
21968
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23458
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
23459
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23460
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23461
{ (exit 1); exit 1; }; }
21970
23463
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21971
23464
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21972
23465
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21973
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23466
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21974
23467
which seems to be undefined. Please make sure it is defined." >&5
21975
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23468
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21976
23469
which seems to be undefined. Please make sure it is defined." >&2;}
21978
23471
rm -f "$tmp/stdin"
21979
23472
case $ac_file in
21980
-) cat "$tmp/out"; rm -f "$tmp/out";;
21981
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23473
-) cat "$tmp/out" && rm -f "$tmp/out";;
23474
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23476
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23477
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23478
{ (exit 1); exit 1; }; }
21986
23482
# CONFIG_HEADER
21990
# Transform confdefs.h into a sed script `conftest.defines', that
21991
# substitutes the proper values into config.h.in to produce config.h.
21992
rm -f conftest.defines conftest.tail
21993
# First, append a space to every undef/define line, to ease matching.
21994
echo 's/$/ /' >conftest.defines
21995
# Then, protect against being on the right side of a sed subst, or in
21996
# an unquoted here document, in config.status. If some macros were
21997
# called several times there might be several #defines for the same
21998
# symbol, which is useless. But do not sort them, since the last
21999
# AC_DEFINE must be honored.
22000
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22001
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22002
# NAME is the cpp macro being defined, VALUE is the value it is being given.
22003
# PARAMS is the parameter list in the macro definition--in most cases, it's
22004
# just an empty string.
22005
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22006
ac_dB='\\)[ (].*,\\1define\\2'
22014
s/^[ ]*#[ ]*define[ ][ ]*//
22019
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22020
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22021
' >>conftest.defines
22023
# Remove the space that was appended to ease matching.
22024
# Then replace #undef with comments. This is necessary, for
22025
# example, in the case of _POSIX_SOURCE, which is predefined and required
22026
# on some systems where configure will not decide to define it.
22027
# (The regexp can be short, since the line contains either #define or #undef.)
22029
s,^[ #]*u.*,/* & */,' >>conftest.defines
22031
# Break up conftest.defines:
22032
ac_max_sed_lines=50
22034
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22035
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22036
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22038
ac_in='$ac_file_inputs'
22039
ac_out='"$tmp/out1"'
22040
ac_nxt='"$tmp/out2"'
22044
# Write a here document:
22045
cat >>$CONFIG_STATUS <<_ACEOF
22046
# First, check the format of the line:
22047
cat >"\$tmp/defines.sed" <<\\CEOF
22048
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22049
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22053
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22055
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22056
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22057
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22058
grep . conftest.tail >/dev/null || break
22059
rm -f conftest.defines
22060
mv conftest.tail conftest.defines
22062
rm -f conftest.defines conftest.tail
22064
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22065
cat >>$CONFIG_STATUS <<\_ACEOF
22066
23484
if test x"$ac_file" != x-; then
22067
echo "/* $configure_input */" >"$tmp/config.h"
22068
cat "$ac_result" >>"$tmp/config.h"
22069
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22070
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22071
echo "$as_me: $ac_file is unchanged" >&6;}
23486
$as_echo "/* $configure_input */" \
23487
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23488
} >"$tmp/config.h" \
23489
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23490
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23491
{ (exit 1); exit 1; }; }
23492
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23493
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23494
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22074
mv "$tmp/config.h" $ac_file
23497
mv "$tmp/config.h" "$ac_file" \
23498
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23499
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23500
{ (exit 1); exit 1; }; }
22077
echo "/* $configure_input */"
23503
$as_echo "/* $configure_input */" \
23504
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23505
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
23506
$as_echo "$as_me: error: could not create -" >&2;}
23507
{ (exit 1); exit 1; }; }
22081
# Compute $ac_file's index in $config_headers.
23509
# Compute "$ac_file"'s index in $config_headers.
22082
23511
_am_stamp_count=1
22083
23512
for _am_header in $config_headers :; do
22084
23513
case $_am_header in
22085
$ac_file | $ac_file:* )
23514
$_am_arg | $_am_arg:* )
22088
23517
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
22091
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22092
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22093
X$ac_file : 'X\(//\)[^/]' \| \
22094
X$ac_file : 'X\(//\)$' \| \
22095
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23520
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23521
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23522
X"$_am_arg" : 'X\(//\)[^/]' \| \
23523
X"$_am_arg" : 'X\(//\)$' \| \
23524
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23525
$as_echo X"$_am_arg" |
22097
23526
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{