2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for libpng 1.2.40.
3
# Generated by GNU Autoconf 2.65 for libpng 1.2.41.
5
5
# Report bugs to <png-mng-implement@lists.sourceforge.net>.
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
13
# This configure script is free software; the Free Software Foundation
12
14
# gives unlimited permission to copy, distribute and modify it.
1432
1435
# Omit some internal or obsolete options to make the list less imposing.
1433
1436
# This message is too long to be a string in the A/UX 3.1 sh.
1435
\`configure' configures libpng 1.2.40 to adapt to many kinds of systems.
1438
\`configure' configures libpng 1.2.41 to adapt to many kinds of systems.
1437
1440
Usage: $0 [OPTION]... [VAR=VALUE]...
1539
1542
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1540
1543
nonstandard directory <lib dir>
1541
1544
LIBS libraries to pass to the linker, e.g. -l<library>
1542
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1545
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1543
1546
you have headers in a nonstandard directory <include dir>
1544
1547
CPP C preprocessor
1609
1612
test -n "$ac_init_help" && exit $ac_status
1610
1613
if $ac_init_version; then
1612
libpng configure 1.2.40
1613
generated by GNU Autoconf 2.64
1615
libpng configure 1.2.41
1616
generated by GNU Autoconf 2.65
1615
1618
Copyright (C) 2009 Free Software Foundation, Inc.
1616
1619
This configure script is free software; the Free Software Foundation
2034
2037
This file contains any messages produced by compilers while
2035
2038
running configure, to aid debugging if configure makes a mistake.
2037
It was created by libpng $as_me 1.2.40, which was
2038
generated by GNU Autoconf 2.64. Invocation command line was
2040
It was created by libpng $as_me 1.2.41, which was
2041
generated by GNU Autoconf 2.65. Invocation command line was
2288
2291
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2290
2293
test "x$ac_site_file" = xNONE && continue
2291
if test -r "$ac_site_file"; then
2294
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2292
2295
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2293
2296
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2294
2297
sed 's/^/| /' "$ac_site_file" >&5
2299
2302
if test -r "$cache_file"; then
2300
# Some versions of bash will fail to source /dev/null (special
2301
# files actually), so we avoid doing that.
2302
if test -f "$cache_file"; then
2303
# Some versions of bash will fail to source /dev/null (special files
2304
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2305
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2303
2306
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2304
2307
$as_echo "$as_me: loading cache $cache_file" >&6;}
2305
2308
case $cache_file in
2725
2729
# value for MKDIR_P within a source directory, because that will
2726
2730
# break other packages using the cache if that directory is
2727
2731
# removed, or if the value is a relative name.
2728
test -d ./--version && rmdir ./--version
2729
2732
MKDIR_P="$ac_install_sh -d"
3239
3242
... rest of stderr output deleted ...
3240
3243
10q' conftest.err >conftest.er1
3241
3244
cat conftest.er1 >&5
3242
rm -f conftest.er1 conftest.err
3246
rm -f conftest.er1 conftest.err
3244
3247
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245
3248
test $ac_status = 0; }
3248
3251
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249
3252
/* end confdefs.h. */
3254
FILE *f = fopen ("conftest.out", "w");
3255
return ferror (f) || fclose (f) != 0;
3261
3262
ac_clean_files_save=$ac_clean_files
3262
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3263
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3263
3264
# Try to create an executable without -o first, disregard a.out.
3264
3265
# It will help us diagnose broken compilers, and finding out an intuition
3266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3267
$as_echo_n "checking for C compiler default output file name... " >&6; }
3267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3268
$as_echo_n "checking whether the C compiler works... " >&6; }
3268
3269
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3270
3271
# The possible output files:
3329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3330
$as_echo "$ac_file" >&6; }
3331
3330
if test -z "$ac_file"; then :
3332
$as_echo "$as_me: failed program was:" >&5
3331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332
$as_echo "no" >&6; }
3333
$as_echo "$as_me: failed program was:" >&5
3333
3334
sed 's/^/| /' conftest.$ac_ext >&5
3335
3336
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337
3338
{ as_fn_set_status 77
3338
3339
as_fn_error "C compiler cannot create executables
3339
3340
See \`config.log' for more details." "$LINENO" 5; }; }
3342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3343
$as_echo "yes" >&6; }
3345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3346
$as_echo_n "checking for C compiler default output file name... " >&6; }
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3348
$as_echo "$ac_file" >&6; }
3341
3349
ac_exeext=$ac_cv_exeext
3343
# Check that the compiler produces executables we can run. If not, either
3344
# the compiler is broken, or we cross compile.
3345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3346
$as_echo_n "checking whether the C compiler works... " >&6; }
3347
# If not cross compiling, check that we can run a simple program.
3348
if test "$cross_compiling" != yes; then
3349
if { ac_try='./$ac_file'
3350
{ { case "(($ac_try" in
3351
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352
*) ac_try_echo=$ac_try;;
3354
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3355
$as_echo "$ac_try_echo"; } >&5
3356
(eval "$ac_try") 2>&5
3358
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3359
test $ac_status = 0; }; }; then
3362
if test "$cross_compiling" = maybe; then
3365
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367
as_fn_error "cannot run C compiled programs.
3368
If you meant to cross compile, use \`--host'.
3369
See \`config.log' for more details." "$LINENO" 5; }
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3374
$as_echo "yes" >&6; }
3376
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3351
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3377
3352
ac_clean_files=$ac_clean_files_save
3378
# Check that the compiler produces executables we can run. If not, either
3379
# the compiler is broken, or we cross compile.
3380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3381
$as_echo_n "checking whether we are cross compiling... " >&6; }
3382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3383
$as_echo "$cross_compiling" >&6; }
3385
3353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3386
3354
$as_echo_n "checking for suffix of executables... " >&6; }
3387
3355
if { { ac_try="$ac_link"
3414
3382
as_fn_error "cannot compute suffix of executables: cannot compile and link
3415
3383
See \`config.log' for more details." "$LINENO" 5; }
3417
rm -f conftest$ac_cv_exeext
3385
rm -f conftest conftest$ac_cv_exeext
3418
3386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3419
3387
$as_echo "$ac_cv_exeext" >&6; }
3421
3389
rm -f conftest.$ac_ext
3422
3390
EXEEXT=$ac_cv_exeext
3423
3391
ac_exeext=$EXEEXT
3392
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393
/* end confdefs.h. */
3398
FILE *f = fopen ("conftest.out", "w");
3399
return ferror (f) || fclose (f) != 0;
3405
ac_clean_files="$ac_clean_files conftest.out"
3406
# Check that the compiler produces executables we can run. If not, either
3407
# the compiler is broken, or we cross compile.
3408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3409
$as_echo_n "checking whether we are cross compiling... " >&6; }
3410
if test "$cross_compiling" != yes; then
3411
{ { ac_try="$ac_link"
3413
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
*) ac_try_echo=$ac_try;;
3416
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417
$as_echo "$ac_try_echo"; } >&5
3418
(eval "$ac_link") 2>&5
3420
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421
test $ac_status = 0; }
3422
if { ac_try='./conftest$ac_cv_exeext'
3423
{ { case "(($ac_try" in
3424
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425
*) ac_try_echo=$ac_try;;
3427
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428
$as_echo "$ac_try_echo"; } >&5
3429
(eval "$ac_try") 2>&5
3431
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3432
test $ac_status = 0; }; }; then
3435
if test "$cross_compiling" = maybe; then
3438
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440
as_fn_error "cannot run C compiled programs.
3441
If you meant to cross compile, use \`--host'.
3442
See \`config.log' for more details." "$LINENO" 5; }
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3447
$as_echo "$cross_compiling" >&6; }
3449
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3450
ac_clean_files=$ac_clean_files_save
3424
3451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3425
3452
$as_echo_n "checking for suffix of object files... " >&6; }
3426
3453
if test "${ac_cv_objext+set}" = set; then :
5129
5156
lt_cv_nm_interface="BSD nm"
5130
5157
echo "int some_variable = 0;" > conftest.$ac_ext
5131
(eval echo "\"\$as_me:5131: $ac_compile\"" >&5)
5158
(eval echo "\"\$as_me:5158: $ac_compile\"" >&5)
5132
5159
(eval "$ac_compile" 2>conftest.err)
5133
5160
cat conftest.err >&5
5134
(eval echo "\"\$as_me:5134: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5161
(eval echo "\"\$as_me:5161: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5135
5162
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5136
5163
cat conftest.err >&5
5137
(eval echo "\"\$as_me:5137: output\"" >&5)
5164
(eval echo "\"\$as_me:5164: output\"" >&5)
5138
5165
cat conftest.out >&5
5139
5166
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5140
5167
lt_cv_nm_interface="MS dumpbin"
7713
7740
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7714
7741
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7715
7742
-e 's:$: $lt_compiler_flag:'`
7716
(eval echo "\"\$as_me:7716: $lt_compile\"" >&5)
7743
(eval echo "\"\$as_me:7743: $lt_compile\"" >&5)
7717
7744
(eval "$lt_compile" 2>conftest.err)
7719
7746
cat conftest.err >&5
7720
echo "$as_me:7720: \$? = $ac_status" >&5
7747
echo "$as_me:7747: \$? = $ac_status" >&5
7721
7748
if (exit $ac_status) && test -s "$ac_outfile"; then
7722
7749
# The compiler can only warn and ignore the option if not recognized
7723
7750
# So say no if there are warnings other than the usual output.
8052
8079
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8053
8080
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8054
8081
-e 's:$: $lt_compiler_flag:'`
8055
(eval echo "\"\$as_me:8055: $lt_compile\"" >&5)
8082
(eval echo "\"\$as_me:8082: $lt_compile\"" >&5)
8056
8083
(eval "$lt_compile" 2>conftest.err)
8058
8085
cat conftest.err >&5
8059
echo "$as_me:8059: \$? = $ac_status" >&5
8086
echo "$as_me:8086: \$? = $ac_status" >&5
8060
8087
if (exit $ac_status) && test -s "$ac_outfile"; then
8061
8088
# The compiler can only warn and ignore the option if not recognized
8062
8089
# So say no if there are warnings other than the usual output.
8157
8184
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8158
8185
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8159
8186
-e 's:$: $lt_compiler_flag:'`
8160
(eval echo "\"\$as_me:8160: $lt_compile\"" >&5)
8187
(eval echo "\"\$as_me:8187: $lt_compile\"" >&5)
8161
8188
(eval "$lt_compile" 2>out/conftest.err)
8163
8190
cat out/conftest.err >&5
8164
echo "$as_me:8164: \$? = $ac_status" >&5
8191
echo "$as_me:8191: \$? = $ac_status" >&5
8165
8192
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8167
8194
# The compiler can only warn and ignore the option if not recognized
8212
8239
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8213
8240
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8214
8241
-e 's:$: $lt_compiler_flag:'`
8215
(eval echo "\"\$as_me:8215: $lt_compile\"" >&5)
8242
(eval echo "\"\$as_me:8242: $lt_compile\"" >&5)
8216
8243
(eval "$lt_compile" 2>out/conftest.err)
8218
8245
cat out/conftest.err >&5
8219
echo "$as_me:8219: \$? = $ac_status" >&5
8246
echo "$as_me:8246: \$? = $ac_status" >&5
8220
8247
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8222
8249
# The compiler can only warn and ignore the option if not recognized
12047
12074
# report actual input values of CONFIG_FILES etc. instead of their
12048
12075
# values after options handling.
12050
This file was extended by libpng $as_me 1.2.40, which was
12051
generated by GNU Autoconf 2.64. Invocation command line was
12077
This file was extended by libpng $as_me 1.2.41, which was
12078
generated by GNU Autoconf 2.65. Invocation command line was
12053
12080
CONFIG_FILES = $CONFIG_FILES
12054
12081
CONFIG_HEADERS = $CONFIG_HEADERS
12089
12116
-h, --help print this help, then exit
12090
12117
-V, --version print version number and configuration settings, then exit
12118
--config print configuration, then exit
12091
12119
-q, --quiet, --silent
12092
12120
do not print progress messages
12093
12121
-d, --debug don't remove temporary files
12112
12140
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12141
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12113
12142
ac_cs_version="\\
12114
libpng config.status 1.2.40
12115
configured by $0, generated by GNU Autoconf 2.64,
12116
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12143
libpng config.status 1.2.41
12144
configured by $0, generated by GNU Autoconf 2.65,
12145
with options \\"\$ac_cs_config\\"
12118
12147
Copyright (C) 2009 Free Software Foundation, Inc.
12119
12148
This config.status script is free software; the Free Software Foundation
12151
12180
ac_cs_recheck=: ;;
12152
12181
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12153
12182
$as_echo "$ac_cs_version"; exit ;;
12183
--config | --confi | --conf | --con | --co | --c )
12184
$as_echo "$ac_cs_config"; exit ;;
12154
12185
--debug | --debu | --deb | --de | --d | -d )
12156
12187
--file | --fil | --fi | --f )