configure 898 KB
Newer Older
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
	  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
2011
2012
2013
2014
2015
      fi;;
  esac
  # Pass precious variables to config.status.
  if test "$ac_new_set" = set; then
    case $ac_new_val in
2016
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2017
2018
2019
2020
2021
2022
2023
2024
2025
    *) 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
2026
2027
2028
2029
2030
2031
  { $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
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
   { (exit 1); exit 1; }; }
fi

























Emmanuel Bertin's avatar
Emmanuel Bertin committed
2059
2060
2061
2062
2063
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
2064
2065
2066
2067



ac_aux_dir=
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2068
2069
for ac_dir in autoconf "$srcdir"/autoconf; do
  if test -f "$ac_dir/install-sh"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2070
2071
2072
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2073
  elif test -f "$ac_dir/install.sh"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2074
2075
2076
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2077
  elif test -f "$ac_dir/shtool"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2078
2079
2080
2081
2082
2083
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/shtool install -c"
    break
  fi
done
if test -z "$ac_aux_dir"; then
2084
2085
  { { $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
2086
2087
2088
   { (exit 1); exit 1; }; }
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
# 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
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114

# 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.
2115
2116
2117
# 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
2118
2119
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
2120
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
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
2139
	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
2140
2141
2142
2143
2144
2145
2146
2147
2148
	  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
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
	    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
2161
2162
2163
2164
2165
2166
	  fi
	fi
      done
    done
    ;;
esac
2167

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2168
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2169
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2170

2171
rm -rf conftest.one conftest.two conftest.dir
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2172
2173
2174
2175
2176

fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2177
2178
    # 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
2179
    # break other packages using the cache if that directory is
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2180
    # removed, or if the value is a relative name.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2181
2182
2183
    INSTALL=$ac_install_sh
  fi
fi
2184
2185
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
$as_echo "$INSTALL" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2186
2187
2188
2189
2190
2191
2192
2193
2194

# 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'

2195
2196
{ $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
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
# 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".
2219
      { { $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
2220
alias in your environment" >&5
2221
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
alias in your environment" >&2;}
   { (exit 1); exit 1; }; }
   fi

   test "$2" = conftest.file
   )
then
   # Ok.
   :
else
2232
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2233
Check your system clock" >&5
2234
$as_echo "$as_me: error: newly created file is older than distributed files!
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2235
2236
2237
Check your system clock" >&2;}
   { (exit 1); exit 1; }; }
fi
2238
2239
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2240
test "$program_prefix" != NONE &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2241
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2242
2243
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2244
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2245
# Double any \ or $.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2246
# By default was `s,x,x', remove it if useless.
2247
2248
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
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258

# 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=
2259
2260
  { $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
2261
2262
fi

2263
2264
{ $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
2265
2266
if test -z "$MKDIR_P"; then
  if test "${ac_cv_path_mkdir+set}" = set; then
2267
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
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
2293
  else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2294
2295
2296
2297
2298
2299
    # 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
2300
2301
  fi
fi
2302
2303
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2304
2305
2306
2307
2308
2309

mkdir_p="$MKDIR_P"
case $mkdir_p in
  [\\/$]* | ?:[\\/]*) ;;
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2310
2311
2312
2313
2314

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
2315
2316
{ $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
2317
if test "${ac_cv_prog_AWK+set}" = set; then
2318
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
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
2329
  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
2330
    ac_cv_prog_AWK="$ac_prog"
2331
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2332
2333
2334
2335
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2336
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2337
2338
2339
2340
2341

fi
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
2342
2343
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
$as_echo "$AWK" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2344
else
2345
2346
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2347
2348
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2349

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2350
2351
2352
  test -n "$AWK" && break
done

2353
2354
2355
2356
{ $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
2357
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2358
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2359
2360
else
  cat >conftest.make <<\_ACEOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2361
SHELL = /bin/sh
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2362
all:
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2363
	@echo '@@@%%%=$(MAKE)=@@@%%%'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2364
2365
_ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2366
2367
2368
2369
2370
2371
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
2372
2373
rm -f conftest.make
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2374
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2375
2376
  { $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2377
2378
  SET_MAKE=
else
2379
2380
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
  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
2393
2394
2395
2396
2397
2398
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
2399
2400
    { { $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
2401
   { (exit 1); exit 1; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2402
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
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'
2417
 VERSION='2.8.8'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444


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
2445
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2446
2447
2448
2449
2450
2451
2452
2453
2454

# 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
2455
2456
{ $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
2457
if test "${ac_cv_prog_STRIP+set}" = set; then
2458
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
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
2469
  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
2470
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2471
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2472
2473
2474
2475
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2476
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2477
2478
2479
2480
2481

fi
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
2482
2483
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
$as_echo "$STRIP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2484
else
2485
2486
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2487
2488
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2489

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2490
2491
2492
2493
2494
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
2495
2496
{ $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
2497
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2498
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
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
2509
  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
2510
    ac_cv_prog_ac_ct_STRIP="strip"
2511
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2512
2513
2514
2515
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2516
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2517
2518
2519
2520
2521

fi
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
2522
2523
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
$as_echo "$ac_ct_STRIP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2524
else
2525
2526
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2527
2528
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2529
2530
2531
2532
2533
  if test "x$ac_ct_STRIP" = x; then
    STRIP=":"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
2534
2535
{ $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
2536
2537
2538
2539
ac_tool_warned=yes ;;
esac
    STRIP=$ac_ct_STRIP
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2540
2541
2542
2543
2544
else
  STRIP="$ac_cv_prog_STRIP"
fi

fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2545
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576

# 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
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601








# 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
2602
# Display pakage and version number
2603
2604
{ $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
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615

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

# Backup and reset the input CFLAGS and LDFLAGS
mycflags="$CFLAGS"
CFLAGS=""
myldflags="$LDFLAGS"
LDFLAGS=""

# Provide special option for the Linux Intel C compiler
2616
2617
{ $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
2618
# Check whether --enable-icc was given.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2619
if test "${enable_icc+set}" = set; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2620
  enableval=$enable_icc; use_icc="yes"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2621
        cclist="icc $cclist"
2622
2623
	{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2624
2625
else
  use_icc="no"
2626
2627
	{ $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2628
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2629
2630
2631
2632


# Checks for programs.
# GCC is chosen last because it is likely to yield less optimized code
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2633
2634
2635
2636
2637
2638
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
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
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
2649
2650
{ $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
2651
if test "${ac_cv_prog_CC+set}" = set; then
2652
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
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
2663
  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
2664
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2665
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2666
2667
2668
2669
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2670
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2671
2672
2673
2674
2675

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
2676
2677
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
$as_echo "$CC" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2678
else
2679
2680
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2681
2682
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2683

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2684
2685
2686
2687
2688
2689
2690
2691
2692
    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
2693
2694
{ $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
2695
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2696
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
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
2707
  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
2708
    ac_cv_prog_ac_ct_CC="$ac_prog"
2709
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2710
2711
2712
2713
    break 2
  fi
done
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2714
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2715
2716
2717
2718
2719

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
2720
2721
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
$as_echo "$ac_ct_CC" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2722
else
2723
2724
  { $as_echo "$as_me:$LINENO: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2725
2726
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2727

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2728
2729
2730
  test -n "$ac_ct_CC" && break
done

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2731
2732
2733
2734
2735
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
2736
2737
{ $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
2738
2739
2740
2741
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2742
2743
2744
fi


2745
2746
2747
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
2748
See \`config.log' for more details." >&5
2749
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2750
See \`config.log' for more details." >&2;}
2751
   { (exit 1); exit 1; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2752
2753

# Provide some information about the compiler.
2754
2755
2756
$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
2757
2758
2759
2760
2761
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2762
2763
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2764
  (eval "$ac_compiler --version >&5") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2765
  ac_status=$?
2766
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2767
  (exit $ac_status); }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2768
2769
2770
2771
2772
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2773
2774
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2775
  (eval "$ac_compiler -v >&5") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2776
  ac_status=$?
2777
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2778
  (exit $ac_status); }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2779
2780
2781
2782
2783
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2784
2785
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2786
  (eval "$ac_compiler -V >&5") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2787
  ac_status=$?
2788
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
  (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
2807
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2808
2809
2810
# 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.
2811
2812
2813
2814
2815
2816
2817
{ $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
2818
2819
2820
2821
ac_rmfiles=
for ac_file in $ac_files
do
  case $ac_file in
2822
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
    * ) 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
2833
2834
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2835
  (eval "$ac_link_default") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2836
  ac_status=$?
2837
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2838
  (exit $ac_status); }; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2839
2840
2841
2842
2843
2844
  # 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
2845
2846
2847
do
  test -f "$ac_file" || continue
  case $ac_file in
2848
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2849
2850
2851
2852
2853
2854
	;;
    [ab].out )
	# We found the default executable, but exeext='' is most
	# certainly right.
	break;;
    *.* )
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2855
2856
2857
2858
2859
2860
2861
2862
2863
        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
2864
2865
2866
2867
2868
	break;;
    * )
	break;;
  esac
done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2869
2870
test "$ac_cv_exeext" = no && ac_cv_exeext=

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2871
else
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2872
2873
2874
  ac_file=''
fi

2875
2876
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
$as_echo "$ac_file" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2877
if test -z "$ac_file"; then
2878
  $as_echo "$as_me: failed program was:" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2879
2880
sed 's/^/| /' conftest.$ac_ext >&5

2881
2882
2883
{ { $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
2884
See \`config.log' for more details." >&5
2885
$as_echo "$as_me: error: C compiler cannot create executables
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2886
See \`config.log' for more details." >&2;}
2887
   { (exit 77); exit 77; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2888
2889
2890
2891
fi

ac_exeext=$ac_cv_exeext

Emmanuel Bertin's avatar
Emmanuel Bertin committed
2892
# Check that the compiler produces executables we can run.  If not, either
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2893
# the compiler is broken, or we cross compile.
2894
2895
{ $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
2896
2897
2898
2899
# 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
2900
2901
2902
2903
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2904
2905
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2906
  (eval "$ac_try") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2907
  ac_status=$?
2908
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2909
2910
2911
2912
2913
2914
  (exit $ac_status); }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
	cross_compiling=yes
    else
2915
2916
2917
	{ { $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
2918
2919
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
2920
$as_echo "$as_me: error: cannot run C compiled programs.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2921
2922
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
2923
   { (exit 1); exit 1; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2924
2925
2926
    fi
  fi
fi
2927
2928
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2929

2930
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2931
ac_clean_files=$ac_clean_files_save
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2932
# Check that the compiler produces executables we can run.  If not, either
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2933
# the compiler is broken, or we cross compile.
2934
2935
2936
2937
{ $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
2938

2939
2940
{ $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
2941
2942
2943
2944
2945
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
2946
2947
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2948
  (eval "$ac_link") 2>&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2949
  ac_status=$?
2950
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2951
2952
2953
2954
2955
2956
2957
2958
  (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
2959
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2960
2961
2962
2963
2964
2965
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	  break;;
    * ) break;;
  esac
done
else
2966
2967
2968
  { { $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
2969
See \`config.log' for more details." >&5
2970
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2971
See \`config.log' for more details." >&2;}
2972
   { (exit 1); exit 1; }; }; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2973
2974
2975
fi

rm -f conftest$ac_cv_exeext
2976
2977
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
$as_echo "$ac_cv_exeext" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2978
2979
2980
2981

rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
2982
2983
{ $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
2984
if test "${ac_cv_objext+set}" = set; then
2985
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
else
  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;
}
For faster browsing, not all history is shown. View entire blame