configure 899 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2001
      if test "x$ac_old_val" != "x$ac_new_val"; then
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
	# differences in whitespace do not lead to failure.
	ac_old_val_w=`echo x $ac_old_val`
	ac_new_val_w=`echo x $ac_new_val`
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
	  ac_cache_corrupted=:
	else
	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
	  eval $ac_var=\$ac_old_val
	fi
	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2018
2019
2020
2021
2022
      fi;;
  esac
  # Pass precious variables to config.status.
  if test "$ac_new_set" = set; then
    case $ac_new_val in
2023
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2024
2025
2026
2027
2028
2029
2030
2031
2032
    *) ac_arg=$ac_var=$ac_new_val ;;
    esac
    case " $ac_configure_args " in
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    esac
  fi
done
if $ac_cache_corrupted; then
2033
2034
2035
2036
2037
2038
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
   { (exit 1); exit 1; }; }
fi

























Emmanuel Bertin's avatar
Emmanuel Bertin committed
2066
2067
2068
2069
2070
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2071
2072
2073
2074



ac_aux_dir=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2075
2076
for ac_dir in autoconf "$srcdir"/autoconf; do
  if test -f "$ac_dir/install-sh"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2077
2078
2079
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2080
  elif test -f "$ac_dir/install.sh"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2081
2082
2083
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2084
  elif test -f "$ac_dir/shtool"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2085
2086
2087
2088
2089
2090
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/shtool install -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
2091
2092
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
$as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2093
2094
2095
   { (exit 1); exit 1; }; }
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.


ac_config_headers="$ac_config_headers config.h"

am__api_version='1.10'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121

# Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# OS/2's system install, which has a completely different semantic
# ./install, which can be erroneously created by make from ./install.sh.
2122
2123
2124
# Reject install programs that cannot install multiple files.
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
$as_echo_n "checking for a BSD-compatible install... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2125
2126
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
2127
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
else
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  # Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
  ./ | .// | /cC/* | \
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  /usr/ucb/* ) ;;
  *)
    # OSF1 and SCO ODT 3.0 have their own names for install.
    # Don't use installbsd from OSF since it installs stuff as root
    # by default.
    for ac_prog in ginstall scoinst install; do
      for ac_exec_ext in '' $ac_executable_extensions; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2146
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2147
2148
2149
2150
2151
2152
2153
2154
2155
	  if test $ac_prog = install &&
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  elif test $ac_prog = install &&
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
	    # program-specific install script used by HP pwplus--don't use.
	    :
	  else
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
	    rm -rf conftest.one conftest.two conftest.dir
	    echo one > conftest.one
	    echo two > conftest.two
	    mkdir conftest.dir
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
	      test -s conftest.one && test -s conftest.two &&
	      test -s conftest.dir/conftest.one &&
	      test -s conftest.dir/conftest.two
	    then
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
	      break 3
	    fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2168
2169
2170
2171
2172
2173
	  fi
	fi
      done
    done
    ;;
esac
2174

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2175
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2176
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2177

2178
rm -rf conftest.one conftest.two conftest.dir
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2179
2180
2181
2182
2183

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2184
2185
    # As a last resort, use the slow shell script.  Don't cache a
    # value for INSTALL within a source directory, because that will
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2186
    # break other packages using the cache if that directory is
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2187
    # removed, or if the value is a relative name.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2188
2189
2190
    INSTALL=$ac_install_sh
  fi
fi
2191
2192
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
$as_echo "$INSTALL" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2193
2194
2195
2196
2197
2198
2199
2200
2201

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

2202
2203
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
$as_echo_n "checking whether build environment is sane... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
# Just in case
sleep 1
echo timestamp > conftest.file
# Do `set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   if test "$*" = "X"; then
      # -L didn't work.
      set X `ls -t $srcdir/configure conftest.file`
   fi
   rm -f conftest.file
   if test "$*" != "X $srcdir/configure conftest.file" \
      && test "$*" != "X conftest.file $srcdir/configure"; then

      # If neither matched, then we have a broken ls.  This can happen
      # if, for instance, CONFIG_SHELL is bash and it inherits a
      # broken ls alias from the environment.  This has actually
      # happened.  Such a system could not be considered "sane".
2226
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2227
alias in your environment" >&5
2228
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
alias in your environment" >&2;}
   { (exit 1); exit 1; }; }
   fi

   test "$2" = conftest.file
   )
then
   # Ok.
   :
else
2239
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2240
Check your system clock" >&5
2241
$as_echo "$as_me: error: newly created file is older than distributed files!
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2242
2243
2244
Check your system clock" >&2;}
   { (exit 1); exit 1; }; }
fi
2245
2246
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2247
test "$program_prefix" != NONE &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2248
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2249
2250
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2251
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2252
# Double any \ or $.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2253
# By default was `s,x,x', remove it if useless.
2254
2255
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265

# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`

test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
  am_missing_run="$MISSING --run "
else
  am_missing_run=
2266
2267
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2268
2269
fi

2270
2271
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2272
2273
if test -z "$MKDIR_P"; then
  if test "${ac_cv_path_mkdir+set}" = set; then
2274
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
else
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in mkdir gmkdir; do
	 for ac_exec_ext in '' $ac_executable_extensions; do
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
	     'mkdir (GNU coreutils) '* | \
	     'mkdir (coreutils) '* | \
	     'mkdir (fileutils) '4.1*)
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
	       break 3;;
	   esac
	 done
       done
done
IFS=$as_save_IFS

fi

  if test "${ac_cv_path_mkdir+set}" = set; then
    MKDIR_P="$ac_cv_path_mkdir -p"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2300
  else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2301
2302
2303
2304
2305
2306
    # As a last resort, use the slow shell script.  Don't cache a
    # value for MKDIR_P within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the value is a relative name.
    test -d ./--version && rmdir ./--version
    MKDIR_P="$ac_install_sh -d"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2307
2308
  fi
fi
2309
2310
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2311
2312
2313
2314
2315
2316

mkdir_p="$MKDIR_P"
case $mkdir_p in
  [\\/$]* | ?:[\\/]*) ;;
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2317
2318
2319
2320
2321

for ac_prog in gawk mawk nawk awk
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
2322
2323
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2324
if test "${ac_cv_prog_AWK+set}" = set; then
2325
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
else
  if test -n "$AWK"; then
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2336
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2337
    ac_cv_prog_AWK="$ac_prog"
2338
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2339
2340
2341
2342
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2343
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2344
2345
2346
2347
2348

fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
2349
2350
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
$as_echo "$AWK" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2351
else
2352
2353
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2354
2355
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2356

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2357
2358
2359
  test -n "$AWK" && break
done

2360
2361
2362
2363
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make}
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2364
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2365
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2366
2367
else
  cat >conftest.make <<\_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2368
SHELL = /bin/sh
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2369
all:
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2370
	@echo '@@@%%%=$(MAKE)=@@@%%%'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2371
2372
_ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2373
2374
2375
2376
2377
2378
case `${MAKE-make} -f conftest.make 2>/dev/null` in
  *@@@%%%=?*=@@@%%%*)
    eval ac_cv_prog_make_${ac_make}_set=yes;;
  *)
    eval ac_cv_prog_make_${ac_make}_set=no;;
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2379
2380
rm -f conftest.make
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2381
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2382
2383
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2384
2385
  SET_MAKE=
else
2386
2387
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
  SET_MAKE="MAKE=${MAKE-make}"
fi

rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
  am__leading_dot=.
else
  am__leading_dot=_
fi
rmdir .tst 2>/dev/null

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2400
2401
2402
2403
2404
2405
if test "`cd $srcdir && pwd`" != "`pwd`"; then
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  # is not polluted with repeated "-I."
  am__isrc=' -I$(srcdir)'
  # test to see if srcdir already configured
  if test -f $srcdir/config.status; then
2406
2407
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2408
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2409
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
fi

# test whether we have cygpath
if test -z "$CYGPATH_W"; then
  if (cygpath --version) >/dev/null 2>/dev/null; then
    CYGPATH_W='cygpath -w'
  else
    CYGPATH_W=echo
  fi
fi


# Define the identity of the package.
 PACKAGE='sextractor'
2424
 VERSION='2.9.0'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451


cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define VERSION "$VERSION"
_ACEOF

# Some tools Automake needs.

ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}


AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}


AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}


AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}


MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2452
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2453
2454
2455
2456
2457
2458
2459
2460
2461

# Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'.  However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program.
if test "$cross_compiling" != no; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
2462
2463
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2464
if test "${ac_cv_prog_STRIP+set}" = set; then
2465
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
else
  if test -n "$STRIP"; then
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2477
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2478
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2479
2480
2481
2482
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2483
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2484
2485
2486
2487
2488

fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
2489
2490
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
$as_echo "$STRIP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2491
else
2492
2493
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2494
2495
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2496

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2497
2498
2499
2500
2501
fi
if test -z "$ac_cv_prog_STRIP"; then
  ac_ct_STRIP=$STRIP
  # Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
2502
2503
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2504
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2505
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
else
  if test -n "$ac_ct_STRIP"; then
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2516
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2517
    ac_cv_prog_ac_ct_STRIP="strip"
2518
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2519
2520
2521
2522
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2523
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2524
2525
2526
2527
2528

fi
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
2529
2530
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
$as_echo "$ac_ct_STRIP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2531
else
2532
2533
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2534
2535
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2536
2537
2538
2539
2540
  if test "x$ac_ct_STRIP" = x; then
    STRIP=":"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
2541
2542
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2543
2544
2545
2546
ac_tool_warned=yes ;;
esac
    STRIP=$ac_ct_STRIP
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2547
2548
2549
2550
2551
else
  STRIP="$ac_cv_prog_STRIP"
fi

fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2552
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583

# We need awk for the "check" target.  The system "awk" is bad on
# some platforms.
# Always define AMTAR for backward compatibility.

AMTAR=${AMTAR-"${am_missing_run}tar"}

am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'





date=`date +%Y-%m-%d`
date2=`date +"%a %b %d %Y"`
date3=`date +"%B %Y"`

cat >>confdefs.h <<_ACEOF
#define DATE "$date"
_ACEOF

PACKAGER="Emmanuel Bertin"

DATE2="$date2"

DATE3="$date3"


# Include macros


Emmanuel Bertin's avatar
Emmanuel Bertin committed
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608








# URBI_RESOLVE_DIR_PREPARE
# ------------------------
# Define urbi_resolve_dir.



# PATH URBI_RESOLVE_DIR(DIR)
# --------------------------
# Return the DIR with all inner variables expanded.



## Local Variables:
## mode: autoconf
## End:


Emmanuel Bertin's avatar
Emmanuel Bertin committed
2609
# Display pakage and version number
2610
2611
{ $as_echo "$as_me:$LINENO: result: *********** Configuring:  $PACKAGE $VERSION ($date) **********" >&5
$as_echo "*********** Configuring:  $PACKAGE $VERSION ($date) **********" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2612
2613
2614
2615

# Initialize the list of compilers to consider
cclist="cc gcc"

2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
# Provide special option for choosing automatically the compilation flags.
{ $as_echo "$as_me:$LINENO: checking if compilation flags are set automatically" >&5
$as_echo_n "checking if compilation flags are set automatically... " >&6; }
# Check whether --enable-automatic-flags was given.
if test "${enable_automatic_flags+set}" = set; then
  enableval=$enable_automatic_flags; use_autoflag="yes"
	{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
else
  use_autoflag="no"
	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2630
2631

# Provide special option for the Linux Intel C compiler
2632
2633
{ $as_echo "$as_me:$LINENO: checking for Linux Intel C compiler mode" >&5
$as_echo_n "checking for Linux Intel C compiler mode... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2634
# Check whether --enable-icc was given.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2635
if test "${enable_icc+set}" = set; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2636
  enableval=$enable_icc; use_icc="yes"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2637
        cclist="icc $cclist"
2638
2639
	{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2640
2641
else
  use_icc="no"
2642
2643
	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2644
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2645
2646
2647
2648


# Checks for programs.
# GCC is chosen last because it is likely to yield less optimized code
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2649
2650
2651
2652
2653
2654
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
  for ac_prog in $cclist
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2665
2666
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2667
if test "${ac_cv_prog_CC+set}" = set; then
2668
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2679
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2680
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2681
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2682
2683
2684
2685
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2686
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2687
2688
2689
2690
2691

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
2692
2693
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2694
else
2695
2696
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2697
2698
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2699

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2700
2701
2702
2703
2704
2705
2706
2707
2708
    test -n "$CC" && break
  done
fi
if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in $cclist
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
2709
2710
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2711
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2712
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2724
    ac_cv_prog_ac_ct_CC="$ac_prog"
2725
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2726
2727
2728
2729
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2730
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2731
2732
2733
2734
2735

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
2736
2737
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2738
else
2739
2740
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2741
2742
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2743

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2744
2745
2746
  test -n "$ac_ct_CC" && break
done

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2747
2748
2749
2750
2751
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
2752
2753
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2754
2755
2756
2757
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2758
2759
2760
fi


2761
2762
2763
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2764
See \`config.log' for more details." >&5
2765
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2766
See \`config.log' for more details." >&2;}
2767
   { (exit 1); exit 1; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2768
2769

# Provide some information about the compiler.
2770
2771
2772
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2773
2774
2775
2776
2777
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2778
2779
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2780
  (eval "$ac_compiler --version >&5") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2781
  ac_status=$?
2782
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2783
  (exit $ac_status); }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2784
2785
2786
2787
2788
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2789
2790
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2791
  (eval "$ac_compiler -v >&5") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2792
  ac_status=$?
2793
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2794
  (exit $ac_status); }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2795
2796
2797
2798
2799
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2800
2801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2802
  (eval "$ac_compiler -V >&5") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2803
  ac_status=$?
2804
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
  (exit $ac_status); }

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
2823
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2824
2825
2826
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
2827
2828
2829
2830
2831
2832
2833
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
$as_echo_n "checking for C compiler default output file name... " >&6; }
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`

# The possible output files:
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2834
2835
2836
2837
ac_rmfiles=
for ac_file in $ac_files
do
  case $ac_file in
2838
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  esac
done
rm -f $ac_rmfiles

if { (ac_try="$ac_link_default"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2849
2850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2851
  (eval "$ac_link_default") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2852
  ac_status=$?
2853
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2854
  (exit $ac_status); }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2855
2856
2857
2858
2859
2860
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2861
2862
2863
do
  test -f "$ac_file" || continue
  case $ac_file in
2864
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2865
2866
2867
2868
2869
2870
	;;
    [ab].out )
	# We found the default executable, but exeext='' is most
	# certainly right.
	break;;
    *.* )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2871
2872
2873
2874
2875
2876
2877
2878
2879
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
	then :; else
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	fi
	# We set ac_cv_exeext here because the later test for it is not
	# safe: cross compilers may not add the suffix if given an `-o'
	# argument, so we may need to know it at that point already.
	# Even if this section looks crufty: it has the advantage of
	# actually working.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2880
2881
2882
2883
2884
	break;;
    * )
	break;;
  esac
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2885
2886
test "$ac_cv_exeext" = no && ac_cv_exeext=

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2887
else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2888
2889
2890
  ac_file=''
fi

2891
2892
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
$as_echo "$ac_file" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2893
if test -z "$ac_file"; then
2894
  $as_echo "$as_me: failed program was:" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2895
2896
sed 's/^/| /' conftest.$ac_ext >&5

2897
2898
2899
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2900
See \`config.log' for more details." >&5
2901
$as_echo "$as_me: error: C compiler cannot create executables
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2902
See \`config.log' for more details." >&2;}
2903
   { (exit 77); exit 77; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2904
2905
2906
2907
fi

ac_exeext=$ac_cv_exeext

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2908
# Check that the compiler produces executables we can run.  If not, either
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2909
# the compiler is broken, or we cross compile.
2910
2911
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
$as_echo_n "checking whether the C compiler works... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2912
2913
2914
2915
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
  if { ac_try='./$ac_file'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2916
2917
2918
2919
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2920
2921
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2922
  (eval "$ac_try") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2923
  ac_status=$?
2924
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2925
2926
2927
2928
2929
2930
  (exit $ac_status); }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
	cross_compiling=yes
    else
2931
2932
2933
	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2934
2935
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
2936
$as_echo "$as_me: error: cannot run C compiled programs.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2937
2938
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
2939
   { (exit 1); exit 1; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2940
2941
2942
    fi
  fi
fi
2943
2944
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2945

2946
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2947
ac_clean_files=$ac_clean_files_save
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2948
# Check that the compiler produces executables we can run.  If not, either
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2949
# the compiler is broken, or we cross compile.
2950
2951
2952
2953
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
$as_echo_n "checking whether we are cross compiling... " >&6; }
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
$as_echo "$cross_compiling" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2954

2955
2956
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
$as_echo_n "checking for suffix of executables... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2957
2958
2959
2960
2961
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2962
2963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2964
  (eval "$ac_link") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2965
  ac_status=$?
2966
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2967
2968
2969
2970
2971
2972
2973
2974
  (exit $ac_status); }; then
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in conftest.exe conftest conftest.*; do
  test -f "$ac_file" || continue
  case $ac_file in
2975
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2976
2977
2978
2979
2980
2981
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	  break;;
    * ) break;;
  esac
done
else
2982
2983
2984
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2985
See \`config.log' for more details." >&5
2986
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2987
See \`config.log' for more details." >&2;}
2988
   { (exit 1); exit 1; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2989
2990
2991
fi

rm -f conftest$ac_cv_exeext
2992
2993
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
$as_echo "$ac_cv_exeext" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2994
2995
2996
2997

rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
2998
2999
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
$as_echo_n "checking for suffix of object files... " >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
3000
if test "${ac_cv_objext+set}" = set; then
For faster browsing, not all history is shown. View entire blame