version 1.1, 2009/02/08 04:56:59 |
version 1.3, 2012/12/26 06:17:23 |
|
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.61. |
# Generated by GNU Autoconf 2.62. |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
## --------------------- ## |
## --------------------- ## |
Line 15 DUALCASE=1; export DUALCASE # for MKS sh |
|
Line 15 DUALCASE=1; export DUALCASE # for MKS sh |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
emulate sh |
NULLCMD=: |
NULLCMD=: |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
# is contrary to our usage. Disable this feature. |
# is contrary to our usage. Disable this feature. |
alias -g '${1+"$@"}'='"$@"' |
alias -g '${1+"$@"}'='"$@"' |
setopt NO_GLOB_SUBST |
setopt NO_GLOB_SUBST |
Line 37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
Line 37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
as_cr_digits='0123456789' |
as_cr_digits='0123456789' |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
# The user is always right. |
as_nl=' |
if test "${PATH_SEPARATOR+set}" != set; then |
' |
echo "#! /bin/sh" >conf$$.sh |
export as_nl |
echo "exit 0" >>conf$$.sh |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
chmod +x conf$$.sh |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
PATH_SEPARATOR=';' |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
as_echo='printf %s\n' |
|
as_echo_n='printf %s' |
|
else |
|
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
as_echo_n='/usr/ucb/echo -n' |
else |
else |
PATH_SEPARATOR=: |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
as_echo_n_body='eval |
|
arg=$1; |
|
case $arg in |
|
*"$as_nl"*) |
|
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
esac; |
|
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
' |
|
export as_echo_n_body |
|
as_echo_n='sh -c $as_echo_n_body as_echo' |
fi |
fi |
rm -f conf$$.sh |
export as_echo_body |
|
as_echo='sh -c $as_echo_body as_echo' |
fi |
fi |
|
|
|
# The user is always right. |
|
if test "${PATH_SEPARATOR+set}" != set; then |
|
PATH_SEPARATOR=: |
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
PATH_SEPARATOR=';' |
|
} |
|
fi |
|
|
# Support unset when possible. |
# Support unset when possible. |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
as_unset=unset |
as_unset=unset |
|
|
# there to prevent editors from complaining about space-tab. |
# there to prevent editors from complaining about space-tab. |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
# splitting by setting IFS to empty value.) |
# splitting by setting IFS to empty value.) |
as_nl=' |
|
' |
|
IFS=" "" $as_nl" |
IFS=" "" $as_nl" |
|
|
# Find who we are. Look in the path if we contain no directory separator. |
# Find who we are. Look in the path if we contain no directory separator. |
Line 87 if test "x$as_myself" = x; then |
|
Line 113 if test "x$as_myself" = x; then |
|
as_myself=$0 |
as_myself=$0 |
fi |
fi |
if test ! -f "$as_myself"; then |
if test ! -f "$as_myself"; then |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
{ (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
fi |
fi |
|
|
|
|
PS4='+ ' |
PS4='+ ' |
|
|
# NLS nuisances. |
# NLS nuisances. |
for as_var in \ |
LC_ALL=C |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
export LC_ALL |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LANGUAGE=C |
LC_TELEPHONE LC_TIME |
export LANGUAGE |
do |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
else |
|
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
fi |
|
done |
|
|
|
# Required to use basename. |
# Required to use basename. |
if expr a : '\(a\)' >/dev/null 2>&1 && |
if expr a : '\(a\)' >/dev/null 2>&1 && |
Line 132 as_me=`$as_basename -- "$0" || |
|
Line 151 as_me=`$as_basename -- "$0" || |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
echo X/"$0" | |
$as_echo X/"$0" | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
|
|
as_have_required=no |
as_have_required=no |
fi |
fi |
|
|
if test $as_have_required = yes && (eval ": |
if test $as_have_required = yes && (eval ": |
(as_func_return () { |
(as_func_return () { |
(exit \$1) |
(exit \$1) |
} |
} |
Line 240 IFS=$as_save_IFS |
|
Line 259 IFS=$as_save_IFS |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
emulate sh |
NULLCMD=: |
NULLCMD=: |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
# is contrary to our usage. Disable this feature. |
# is contrary to our usage. Disable this feature. |
alias -g '${1+"$@"}'='"$@"' |
alias -g '${1+"$@"}'='"$@"' |
setopt NO_GLOB_SUBST |
setopt NO_GLOB_SUBST |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
emulate sh |
NULLCMD=: |
NULLCMD=: |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
# is contrary to our usage. Disable this feature. |
# is contrary to our usage. Disable this feature. |
alias -g '${1+"$@"}'='"$@"' |
alias -g '${1+"$@"}'='"$@"' |
setopt NO_GLOB_SUBST |
setopt NO_GLOB_SUBST |
|
|
|
|
if test "x$CONFIG_SHELL" != x; then |
if test "x$CONFIG_SHELL" != x; then |
for as_var in BASH_ENV ENV |
for as_var in BASH_ENV ENV |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
done |
done |
export CONFIG_SHELL |
export CONFIG_SHELL |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
fi |
fi |
|
|
|
|
|
|
|
|
test \$exitcode = 0") || { |
test \$exitcode = 0") || { |
echo No shell found that supports shell functions. |
echo No shell found that supports shell functions. |
echo Please tell autoconf@gnu.org about your system, |
echo Please tell bug-autoconf@gnu.org about your system, |
echo including any error possibly output before this |
echo including any error possibly output before this message. |
echo message |
echo This can help us improve future autoconf versions. |
|
echo Configuration will now proceed without shell functions. |
} |
} |
|
|
|
|
Line 451 test \$exitcode = 0") || { |
|
Line 471 test \$exitcode = 0") || { |
|
s/-\n.*// |
s/-\n.*// |
' >$as_me.lineno && |
' >$as_me.lineno && |
chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
Line 479 case `echo -n x` in |
|
Line 499 case `echo -n x` in |
|
*) |
*) |
ECHO_N='-n';; |
ECHO_N='-n';; |
esac |
esac |
|
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
if expr a : '\(a\)' >/dev/null 2>&1 && |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
as_expr=expr |
as_expr=expr |
Line 492 if test -d conf$$.dir; then |
|
Line 511 if test -d conf$$.dir; then |
|
rm -f conf$$.dir/conf$$.file |
rm -f conf$$.dir/conf$$.file |
else |
else |
rm -f conf$$.dir |
rm -f conf$$.dir |
mkdir conf$$.dir |
mkdir conf$$.dir 2>/dev/null |
fi |
fi |
echo >conf$$.file |
if (echo >conf$$.file) 2>/dev/null; then |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
as_ln_s='ln -s' |
as_ln_s='ln -s' |
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. |
# In both cases, we have to default to `cp -p'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
as_ln_s='cp -p' |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
as_ln_s=ln |
|
else |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
fi |
as_ln_s=ln |
|
else |
else |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
fi |
fi |
|
|
as_test_x=' |
as_test_x=' |
eval sh -c '\'' |
eval sh -c '\'' |
if test -d "$1"; then |
if test -d "$1"; then |
test -d "$1/."; |
test -d "$1/."; |
else |
else |
case $1 in |
case $1 in |
-*)set "./$1";; |
-*)set "./$1";; |
esac; |
esac; |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
???[sx]*):;;*)false;;esac;fi |
???[sx]*):;;*)false;;esac;fi |
Line 576 PACKAGE_VERSION= |
|
Line 598 PACKAGE_VERSION= |
|
PACKAGE_STRING= |
PACKAGE_STRING= |
PACKAGE_BUGREPORT= |
PACKAGE_BUGREPORT= |
|
|
ac_unique_file="graph.c" |
|
# Factoring default headers for most tests. |
# Factoring default headers for most tests. |
ac_includes_default="\ |
ac_includes_default="\ |
#include <stdio.h> |
#include <stdio.h> |
|
|
build_alias |
build_alias |
host_alias |
host_alias |
target_alias |
target_alias |
CC |
|
CFLAGS |
|
LDFLAGS |
|
CPPFLAGS |
|
ac_ct_CC |
|
EXEEXT |
|
OBJEXT |
|
RANLIB |
|
MYTARGET |
|
CPP |
|
GREP |
|
EGREP |
|
MYTARGET2 |
|
build |
build |
build_cpu |
build_cpu |
build_vendor |
build_vendor |
|
|
target_cpu |
target_cpu |
target_vendor |
target_vendor |
target_os |
target_os |
CFLAG2 |
CC |
LFLAG2 |
CFLAGS |
|
LDFLAGS |
|
CPPFLAGS |
|
ac_ct_CC |
|
EXEEXT |
|
OBJEXT |
|
INSTALL_PROGRAM |
|
INSTALL_SCRIPT |
|
INSTALL_DATA |
|
LN_S |
|
XMKMF |
|
CPP |
|
X_CFLAGS |
|
X_PRE_LIBS |
|
X_LIBS |
|
X_EXTRA_LIBS |
|
GREP |
|
EGREP |
|
TARGET |
LIBOBJS |
LIBOBJS |
LTLIBOBJS' |
LTLIBOBJS' |
ac_subst_files='' |
ac_subst_files='' |
|
ac_user_opts=' |
|
enable_option_checking |
|
with_x |
|
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
target_alias |
target_alias |
|
|
LDFLAGS |
LDFLAGS |
LIBS |
LIBS |
CPPFLAGS |
CPPFLAGS |
|
XMKMF |
CPP' |
CPP' |
|
|
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
ac_init_help= |
ac_init_help= |
ac_init_version=false |
ac_init_version=false |
|
ac_unrecognized_opts= |
|
ac_unrecognized_sep= |
# The variables have the same names as the options, with |
# The variables have the same names as the options, with |
# dashes changed to underlines. |
# dashes changed to underlines. |
cache_file=/dev/null |
cache_file=/dev/null |
|
|
datarootdir=$ac_optarg ;; |
datarootdir=$ac_optarg ;; |
|
|
-disable-* | --disable-*) |
-disable-* | --disable-*) |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
ac_useropt_orig=$ac_useropt |
eval enable_$ac_feature=no ;; |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
case $ac_user_opts in |
|
*" |
|
"enable_$ac_useropt" |
|
"*) ;; |
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
ac_unrecognized_sep=', ';; |
|
esac |
|
eval enable_$ac_useropt=no ;; |
|
|
-docdir | --docdir | --docdi | --doc | --do) |
-docdir | --docdir | --docdi | --doc | --do) |
ac_prev=docdir ;; |
ac_prev=docdir ;; |
|
|
dvidir=$ac_optarg ;; |
dvidir=$ac_optarg ;; |
|
|
-enable-* | --enable-*) |
-enable-* | --enable-*) |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
ac_useropt_orig=$ac_useropt |
eval enable_$ac_feature=\$ac_optarg ;; |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
case $ac_user_opts in |
|
*" |
|
"enable_$ac_useropt" |
|
"*) ;; |
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
ac_unrecognized_sep=', ';; |
|
esac |
|
eval enable_$ac_useropt=\$ac_optarg ;; |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
|
ac_init_version=: ;; |
ac_init_version=: ;; |
|
|
-with-* | --with-*) |
-with-* | --with-*) |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
ac_useropt_orig=$ac_useropt |
eval with_$ac_package=\$ac_optarg ;; |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
case $ac_user_opts in |
|
*" |
|
"with_$ac_useropt" |
|
"*) ;; |
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
ac_unrecognized_sep=', ';; |
|
esac |
|
eval with_$ac_useropt=\$ac_optarg ;; |
|
|
-without-* | --without-*) |
-without-* | --without-*) |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
ac_useropt_orig=$ac_useropt |
eval with_$ac_package=no ;; |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
case $ac_user_opts in |
|
*" |
|
"with_$ac_useropt" |
|
"*) ;; |
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
ac_unrecognized_sep=', ';; |
|
esac |
|
eval with_$ac_useropt=no ;; |
|
|
--x) |
--x) |
# Obsolete; use --with-x. |
# Obsolete; use --with-x. |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
x_libraries=$ac_optarg ;; |
x_libraries=$ac_optarg ;; |
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
Try \`$0 --help' for more information." >&2 |
Try \`$0 --help' for more information." >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
Line 1052 Try \`$0 --help' for more information." >&2 |
|
Line 1117 Try \`$0 --help' for more information." >&2 |
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
eval $ac_envvar=\$ac_optarg |
eval $ac_envvar=\$ac_optarg |
export $ac_envvar ;; |
export $ac_envvar ;; |
|
|
*) |
*) |
# FIXME: should be removed in autoconf 3.0. |
# FIXME: should be removed in autoconf 3.0. |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
;; |
;; |
|
|
|
|
|
|
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
# Be sure to have absolute directory names. |
if test -n "$ac_unrecognized_opts"; then |
|
case $enable_option_checking in |
|
no) ;; |
|
fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
|
{ (exit 1); exit 1; }; } ;; |
|
*) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
esac |
|
fi |
|
|
|
# Check all directory arguments for consistency. |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
libdir localedir mandir |
libdir localedir mandir |
do |
do |
eval ac_val=\$$ac_var |
eval ac_val=\$$ac_var |
|
# Remove trailing slashes. |
case $ac_val in |
case $ac_val in |
|
*/ ) |
|
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
eval $ac_var=\$ac_val;; |
|
esac |
|
# Be sure to have absolute directory names. |
|
case $ac_val in |
[\\/$]* | ?:[\\/]* ) continue;; |
[\\/$]* | ?:[\\/]* ) continue;; |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
esac |
esac |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
done |
done |
|
|
Line 1100 target=$target_alias |
|
Line 1181 target=$target_alias |
|
if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
cross_compiling=maybe |
cross_compiling=maybe |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
If a cross compiler is detected then cross compile mode will be used." >&2 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
elif test "x$build_alias" != "x$host_alias"; then |
elif test "x$build_alias" != "x$host_alias"; then |
cross_compiling=yes |
cross_compiling=yes |
Line 1116 test "$silent" = yes && exec 6>/dev/null |
|
Line 1197 test "$silent" = yes && exec 6>/dev/null |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
ac_ls_di=`ls -di .` && |
ac_ls_di=`ls -di .` && |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
{ echo "$as_me: error: Working directory cannot be determined" >&2 |
{ $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
{ echo "$as_me: error: pwd does not report name of working directory" >&2 |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
|
|
Line 1127 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
Line 1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
if test -z "$srcdir"; then |
if test -z "$srcdir"; then |
ac_srcdir_defaulted=yes |
ac_srcdir_defaulted=yes |
# Try the directory containing this script, then the parent directory. |
# Try the directory containing this script, then the parent directory. |
ac_confdir=`$as_dirname -- "$0" || |
ac_confdir=`$as_dirname -- "$as_myself" || |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$0" : 'X\(//\)[^/]' \| \ |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$as_myself" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
echo X"$0" | |
$as_echo X"$as_myself" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
|
|
fi |
fi |
if test ! -r "$srcdir/$ac_unique_file"; then |
if test ! -r "$srcdir/$ac_unique_file"; then |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
ac_abs_confdir=`( |
ac_abs_confdir=`( |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
pwd)` |
pwd)` |
# When building in place, set srcdir=. |
# When building in place, set srcdir=. |
|
|
|
|
Installation directories: |
Installation directories: |
--prefix=PREFIX install architecture-independent files in PREFIX |
--prefix=PREFIX install architecture-independent files in PREFIX |
[$ac_default_prefix] |
[$ac_default_prefix] |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
[PREFIX] |
[PREFIX] |
|
|
By default, \`make install' will install all the files in |
By default, \`make install' will install all the files in |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
Line 1225 for instance \`--prefix=\$HOME'. |
|
Line 1306 for instance \`--prefix=\$HOME'. |
|
For better control, use the options below. |
For better control, use the options below. |
|
|
Fine tuning of the installation directories: |
Fine tuning of the installation directories: |
--bindir=DIR user executables [EPREFIX/bin] |
--bindir=DIR user executables [EPREFIX/bin] |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
--libexecdir=DIR program executables [EPREFIX/libexec] |
--libexecdir=DIR program executables [EPREFIX/libexec] |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--includedir=DIR C header files [PREFIX/include] |
--includedir=DIR C header files [PREFIX/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
--infodir=DIR info documentation [DATAROOTDIR/info] |
--infodir=DIR info documentation [DATAROOTDIR/info] |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
--mandir=DIR man documentation [DATAROOTDIR/man] |
--mandir=DIR man documentation [DATAROOTDIR/man] |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
--htmldir=DIR html documentation [DOCDIR] |
--htmldir=DIR html documentation [DOCDIR] |
--dvidir=DIR dvi documentation [DOCDIR] |
--dvidir=DIR dvi documentation [DOCDIR] |
--pdfdir=DIR pdf documentation [DOCDIR] |
--pdfdir=DIR pdf documentation [DOCDIR] |
--psdir=DIR ps documentation [DOCDIR] |
--psdir=DIR ps documentation [DOCDIR] |
_ACEOF |
_ACEOF |
|
|
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
|
X features: |
|
--x-includes=DIR X include files are in DIR |
|
--x-libraries=DIR X library files are in DIR |
|
|
System types: |
System types: |
--build=BUILD configure for building on BUILD [guessed] |
--build=BUILD configure for building on BUILD [guessed] |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
Line 1259 if test -n "$ac_init_help"; then |
|
Line 1344 if test -n "$ac_init_help"; then |
|
|
|
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
|
Optional Packages: |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
--with-x use the X Window System |
|
|
Some influential environment variables: |
Some influential environment variables: |
CC C compiler command |
CC C compiler command |
CFLAGS C compiler flags |
CFLAGS C compiler flags |
Line 1267 Some influential environment variables: |
|
Line 1357 Some influential environment variables: |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
LIBS libraries to pass to the linker, e.g. -l<library> |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
you have headers in a nonstandard directory <include dir> |
you have headers in a nonstandard directory <include dir> |
|
XMKMF Path to xmkmf, Makefile generator for X Window System |
CPP C preprocessor |
CPP C preprocessor |
|
|
Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
|
|
if test "$ac_init_help" = "recursive"; then |
if test "$ac_init_help" = "recursive"; then |
# If there are subdirs, report their specific --help. |
# If there are subdirs, report their specific --help. |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
test -d "$ac_dir" || continue |
test -d "$ac_dir" || |
|
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
continue |
ac_builddir=. |
ac_builddir=. |
|
|
case "$ac_dir" in |
case "$ac_dir" in |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
*) |
*) |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
# A ".." for each directory in $ac_dir_suffix. |
# A ".." for each directory in $ac_dir_suffix. |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
case $ac_top_builddir_sub in |
case $ac_top_builddir_sub in |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
Line 1323 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
Line 1416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
echo && |
echo && |
$SHELL "$ac_srcdir/configure" --help=recursive |
$SHELL "$ac_srcdir/configure" --help=recursive |
else |
else |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
fi || ac_status=$? |
fi || ac_status=$? |
cd "$ac_pwd" || { ac_status=$?; break; } |
cd "$ac_pwd" || { ac_status=$?; break; } |
done |
done |
Line 1333 test -n "$ac_init_help" && exit $ac_status |
|
Line 1426 test -n "$ac_init_help" && exit $ac_status |
|
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
configure |
configure |
generated by GNU Autoconf 2.61 |
generated by GNU Autoconf 2.62 |
|
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
_ACEOF |
_ACEOF |
Line 1347 This file contains any messages produced by compilers |
|
Line 1440 This file contains any messages produced by compilers |
|
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by $as_me, which was |
It was created by $as_me, which was |
generated by GNU Autoconf 2.61. Invocation command line was |
generated by GNU Autoconf 2.62. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
Line 1383 for as_dir in $PATH |
|
Line 1476 for as_dir in $PATH |
|
do |
do |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
echo "PATH: $as_dir" |
$as_echo "PATH: $as_dir" |
done |
done |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
|
|
|
|
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
continue ;; |
continue ;; |
*\'*) |
*\'*) |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
esac |
esac |
case $ac_pass in |
case $ac_pass in |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
|
case $ac_val in #( |
case $ac_val in #( |
*${as_nl}*) |
*${as_nl}*) |
case $ac_var in #( |
case $ac_var in #( |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
esac |
esac |
case $ac_var in #( |
case $ac_var in #( |
_ | IFS | as_nl) ;; #( |
_ | IFS | as_nl) ;; #( |
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
*) $as_unset $ac_var ;; |
*) $as_unset $ac_var ;; |
esac ;; |
esac ;; |
esac |
esac |
|
|
do |
do |
eval ac_val=\$$ac_var |
eval ac_val=\$$ac_var |
case $ac_val in |
case $ac_val in |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
esac |
esac |
echo "$ac_var='\''$ac_val'\''" |
$as_echo "$ac_var='\''$ac_val'\''" |
done | sort |
done | sort |
echo |
echo |
|
|
|
|
do |
do |
eval ac_val=\$$ac_var |
eval ac_val=\$$ac_var |
case $ac_val in |
case $ac_val in |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
esac |
esac |
echo "$ac_var='\''$ac_val'\''" |
$as_echo "$ac_var='\''$ac_val'\''" |
done | sort |
done | sort |
echo |
echo |
fi |
fi |
|
|
echo |
echo |
fi |
fi |
test "$ac_signal" != 0 && |
test "$ac_signal" != 0 && |
echo "$as_me: caught signal $ac_signal" |
$as_echo "$as_me: caught signal $ac_signal" |
echo "$as_me: exit $exit_status" |
$as_echo "$as_me: exit $exit_status" |
} >&5 |
} >&5 |
rm -f core *.core core.conftest.* && |
rm -f core *.core core.conftest.* && |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
|
|
|
|
|
# Let the site file select an alternate cache file if it wants to. |
# Let the site file select an alternate cache file if it wants to. |
# Prefer explicitly selected file to automatically selected ones. |
# Prefer an explicitly selected file to automatically selected ones. |
|
ac_site_file1=NONE |
|
ac_site_file2=NONE |
if test -n "$CONFIG_SITE"; then |
if test -n "$CONFIG_SITE"; then |
set x "$CONFIG_SITE" |
ac_site_file1=$CONFIG_SITE |
elif test "x$prefix" != xNONE; then |
elif test "x$prefix" != xNONE; then |
set x "$prefix/share/config.site" "$prefix/etc/config.site" |
ac_site_file1=$prefix/share/config.site |
|
ac_site_file2=$prefix/etc/config.site |
else |
else |
set x "$ac_default_prefix/share/config.site" \ |
ac_site_file1=$ac_default_prefix/share/config.site |
"$ac_default_prefix/etc/config.site" |
ac_site_file2=$ac_default_prefix/etc/config.site |
fi |
fi |
shift |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
for ac_site_file |
|
do |
do |
|
test "x$ac_site_file" = xNONE && continue |
if test -r "$ac_site_file"; then |
if test -r "$ac_site_file"; then |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
sed 's/^/| /' "$ac_site_file" >&5 |
sed 's/^/| /' "$ac_site_file" >&5 |
. "$ac_site_file" |
. "$ac_site_file" |
fi |
fi |
Line 1606 if test -r "$cache_file"; then |
|
Line 1703 if test -r "$cache_file"; then |
|
# Some versions of bash will fail to source /dev/null (special |
# Some versions of bash will fail to source /dev/null (special |
# files actually), so we avoid doing that. |
# files actually), so we avoid doing that. |
if test -f "$cache_file"; then |
if test -f "$cache_file"; then |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
echo "$as_me: loading cache $cache_file" >&6;} |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
case $cache_file in |
case $cache_file in |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
*) . "./$cache_file";; |
*) . "./$cache_file";; |
esac |
esac |
fi |
fi |
else |
else |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
echo "$as_me: creating cache $cache_file" >&6;} |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
>$cache_file |
>$cache_file |
fi |
fi |
|
|
Line 1629 for ac_var in $ac_precious_vars; do |
|
Line 1726 for ac_var in $ac_precious_vars; do |
|
eval ac_new_val=\$ac_env_${ac_var}_value |
eval ac_new_val=\$ac_env_${ac_var}_value |
case $ac_old_set,$ac_new_set in |
case $ac_old_set,$ac_new_set in |
set,) |
set,) |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
ac_cache_corrupted=: ;; |
ac_cache_corrupted=: ;; |
,set) |
,set) |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
ac_cache_corrupted=: ;; |
ac_cache_corrupted=: ;; |
,);; |
,);; |
*) |
*) |
if test "x$ac_old_val" != "x$ac_new_val"; then |
if test "x$ac_old_val" != "x$ac_new_val"; then |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
# differences in whitespace do not lead to failure. |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
ac_old_val_w=`echo x $ac_old_val` |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
ac_new_val_w=`echo x $ac_new_val` |
echo "$as_me: former value: $ac_old_val" >&2;} |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
echo "$as_me: current value: $ac_new_val" >&2;} |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
ac_cache_corrupted=: |
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;} |
fi;; |
fi;; |
esac |
esac |
# Pass precious variables to config.status. |
# Pass precious variables to config.status. |
if test "$ac_new_set" = set; then |
if test "$ac_new_set" = set; then |
case $ac_new_val in |
case $ac_new_val in |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
*) ac_arg=$ac_var=$ac_new_val ;; |
*) ac_arg=$ac_var=$ac_new_val ;; |
esac |
esac |
case " $ac_configure_args " in |
case " $ac_configure_args " in |
Line 1661 echo "$as_me: current value: $ac_new_val" >&2;} |
|
Line 1767 echo "$as_me: current value: $ac_new_val" >&2;} |
|
fi |
fi |
done |
done |
if $ac_cache_corrupted; then |
if $ac_cache_corrupted; then |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
Line 1691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $ |
|
Line 1797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $ |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
ac_aux_dir= |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
if test -f "$ac_dir/install-sh"; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
break |
|
elif test -f "$ac_dir/install.sh"; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
break |
|
elif test -f "$ac_dir/shtool"; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
break |
|
fi |
|
done |
|
if test -z "$ac_aux_dir"; then |
|
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
|
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
# 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. |
|
|
|
|
|
# Make sure we can run config.sub. |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
|
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
|
$as_echo_n "checking build system type... " >&6; } |
|
if test "${ac_cv_build+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_build_alias=$build_alias |
|
test "x$ac_build_alias" = x && |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
test "x$ac_build_alias" = x && |
|
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
|
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
$as_echo "$ac_cv_build" >&6; } |
|
case $ac_cv_build in |
|
*-*-*) ;; |
|
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|
$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
build=$ac_cv_build |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_build |
|
shift |
|
build_cpu=$1 |
|
build_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
build_os=$* |
|
IFS=$ac_save_IFS |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
|
{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
|
$as_echo_n "checking host system type... " >&6; } |
|
if test "${ac_cv_host+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test "x$host_alias" = x; then |
|
ac_cv_host=$ac_cv_build |
|
else |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
|
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
$as_echo "$ac_cv_host" >&6; } |
|
case $ac_cv_host in |
|
*-*-*) ;; |
|
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|
$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
host=$ac_cv_host |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_host |
|
shift |
|
host_cpu=$1 |
|
host_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
host_os=$* |
|
IFS=$ac_save_IFS |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
|
{ $as_echo "$as_me:$LINENO: checking target system type" >&5 |
|
$as_echo_n "checking target system type... " >&6; } |
|
if test "${ac_cv_target+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test "x$target_alias" = x; then |
|
ac_cv_target=$ac_cv_host |
|
else |
|
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
|
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 |
|
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
|
$as_echo "$ac_cv_target" >&6; } |
|
case $ac_cv_target in |
|
*-*-*) ;; |
|
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 |
|
$as_echo "$as_me: error: invalid value of canonical target" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
target=$ac_cv_target |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_target |
|
shift |
|
target_cpu=$1 |
|
target_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
target_os=$* |
|
IFS=$ac_save_IFS |
|
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
|
# The aliases save the names the user supplied, while $host etc. |
|
# will get canonicalized. |
|
test -n "$target_alias" && |
|
test "$program_prefix$program_suffix$program_transform_name" = \ |
|
NONENONEs,x,x, && |
|
program_prefix=${target_alias}- |
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 1699 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
Line 1964 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
|
|
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6; } |
$as_echo "$CC" >&6; } |
else |
else |
{ echo "$as_me:$LINENO: result: no" >&5 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
Line 1739 if test -z "$ac_cv_prog_CC"; then |
|
Line 2004 if test -z "$ac_cv_prog_CC"; then |
|
ac_ct_CC=$CC |
ac_ct_CC=$CC |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
|
|
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
$as_echo "$ac_ct_CC" >&6; } |
else |
else |
{ echo "$as_me:$LINENO: result: no" >&5 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
if test "x$ac_ct_CC" = x; then |
if test "x$ac_ct_CC" = x; then |
|
|
else |
else |
case $cross_compiling:$ac_tool_warned in |
case $cross_compiling:$ac_tool_warned in |
yes:) |
yes:) |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
whose name does not start with the host triplet. If you think this |
whose name does not start with the host triplet. If you think this |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
whose name does not start with the host triplet. If you think this |
whose name does not start with the host triplet. If you think this |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
ac_tool_warned=yes ;; |
ac_tool_warned=yes ;; |
Line 1796 if test -z "$CC"; then |
|
Line 2061 if test -z "$CC"; then |
|
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
|
|
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6; } |
$as_echo "$CC" >&6; } |
else |
else |
{ echo "$as_me:$LINENO: result: no" >&5 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
|
|
if test -z "$CC"; then |
if test -z "$CC"; then |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
continue |
continue |
fi |
fi |
ac_cv_prog_CC="cc" |
ac_cv_prog_CC="cc" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
|
|
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6; } |
$as_echo "$CC" >&6; } |
else |
else |
{ echo "$as_me:$LINENO: result: no" >&5 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
Line 1895 if test -z "$CC"; then |
|
Line 2160 if test -z "$CC"; then |
|
do |
do |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# 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 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$CC"; then |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
|
|
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6; } |
$as_echo "$CC" >&6; } |
else |
else |
{ echo "$as_me:$LINENO: result: no" >&5 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
Line 1939 if test -z "$CC"; then |
|
Line 2204 if test -z "$CC"; then |
|
do |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
|
|
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
$as_echo "$ac_ct_CC" >&6; } |
else |
else |
{ echo "$as_me:$LINENO: result: no" >&5 |
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
|
|
|
|
|
|
else |
else |
case $cross_compiling:$ac_tool_warned in |
case $cross_compiling:$ac_tool_warned in |
yes:) |
yes:) |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
whose name does not start with the host triplet. If you think this |
whose name does not start with the host triplet. If you think this |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
whose name does not start with the host triplet. If you think this |
whose name does not start with the host triplet. If you think this |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
ac_tool_warned=yes ;; |
ac_tool_warned=yes ;; |
|
|
fi |
fi |
|
|
|
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Provide some information about the compiler. |
# Provide some information about the compiler. |
echo "$as_me:$LINENO: checking for C compiler version" >&5 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
ac_compiler=`set X $ac_compile; echo $2` |
set X $ac_compile |
|
ac_compiler=$2 |
{ (ac_try="$ac_compiler --version >&5" |
{ (ac_try="$ac_compiler --version >&5" |
case "(($ac_try" in |
case "(($ac_try" in |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compiler --version >&5") 2>&5 |
(eval "$ac_compiler --version >&5") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
{ (ac_try="$ac_compiler -v >&5" |
{ (ac_try="$ac_compiler -v >&5" |
case "(($ac_try" in |
case "(($ac_try" in |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compiler -v >&5") 2>&5 |
(eval "$ac_compiler -v >&5") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
{ (ac_try="$ac_compiler -V >&5" |
{ (ac_try="$ac_compiler -V >&5" |
case "(($ac_try" in |
case "(($ac_try" in |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compiler -V >&5") 2>&5 |
(eval "$ac_compiler -V >&5") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
# of exeext. |
# of exeext. |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
# |
|
# List of possible output files, starting from the most likely. |
# The possible output files: |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
# only as a last resort. b.out is created by i960 compilers. |
|
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|
# |
|
# The IRIX 6 linker writes into existing files which may not be |
|
# executable, retaining their permissions. Remove them first so a |
|
# subsequent execution test works. |
|
ac_rmfiles= |
ac_rmfiles= |
for ac_file in $ac_files |
for ac_file in $ac_files |
do |
do |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
esac |
esac |
done |
done |
Line 2084 case "(($ac_try" in |
|
Line 2348 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_link_default") 2>&5 |
(eval "$ac_link_default") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
# 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' |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
Line 2098 for ac_file in $ac_files '' |
|
Line 2363 for ac_file in $ac_files '' |
|
do |
do |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
;; |
;; |
[ab].out ) |
[ab].out ) |
# We found the default executable, but exeext='' is most |
# We found the default executable, but exeext='' is most |
|
|
ac_file='' |
ac_file='' |
fi |
fi |
|
|
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
echo "${ECHO_T}$ac_file" >&6; } |
$as_echo "$ac_file" >&6; } |
if test -z "$ac_file"; then |
if test -z "$ac_file"; then |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: C compiler cannot create executables |
$as_echo "$as_me: error: C compiler cannot create executables |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
fi |
fi |
Line 2142 ac_exeext=$ac_cv_exeext |
|
Line 2407 ac_exeext=$ac_cv_exeext |
|
|
|
# Check that the compiler produces executables we can run. If not, either |
# Check that the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
$as_echo_n "checking whether the C compiler works... " >&6; } |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# 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 not cross compiling, check that we can run a simple program. |
if test "$cross_compiling" != yes; then |
if test "$cross_compiling" != yes; then |
Line 2152 if test "$cross_compiling" != yes; then |
|
Line 2417 if test "$cross_compiling" != yes; then |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_try") 2>&5 |
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
cross_compiling=no |
cross_compiling=no |
else |
else |
if test "$cross_compiling" = maybe; then |
if test "$cross_compiling" = maybe; then |
cross_compiling=yes |
cross_compiling=yes |
else |
else |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: cannot run C compiled programs. |
$as_echo "$as_me: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
If you meant to cross compile, use \`--host'. |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
fi |
fi |
fi |
fi |
{ echo "$as_me:$LINENO: result: yes" >&5 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6; } |
$as_echo "yes" >&6; } |
|
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
# Check that the compiler produces executables we can run. If not, either |
# Check that the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
echo "${ECHO_T}$cross_compiling" >&6; } |
$as_echo "$cross_compiling" >&6; } |
|
|
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
$as_echo_n "checking for suffix of executables... " >&6; } |
if { (ac_try="$ac_link" |
if { (ac_try="$ac_link" |
case "(($ac_try" in |
case "(($ac_try" in |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_link") 2>&5 |
(eval "$ac_link") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
Line 2203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
Line 2470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
for ac_file in conftest.exe conftest conftest.*; do |
for ac_file in conftest.exe conftest conftest.*; do |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
break;; |
break;; |
* ) break;; |
* ) break;; |
esac |
esac |
done |
done |
else |
else |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
rm -f conftest$ac_cv_exeext |
rm -f conftest$ac_cv_exeext |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
echo "${ECHO_T}$ac_cv_exeext" >&6; } |
$as_echo "$ac_cv_exeext" >&6; } |
|
|
rm -f conftest.$ac_ext |
rm -f conftest.$ac_ext |
EXEEXT=$ac_cv_exeext |
EXEEXT=$ac_cv_exeext |
ac_exeext=$EXEEXT |
ac_exeext=$EXEEXT |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
$as_echo_n "checking for suffix of object files... " >&6; } |
if test "${ac_cv_objext+set}" = set; then |
if test "${ac_cv_objext+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
Line 2250 case "(($ac_try" in |
|
Line 2517 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>&5 |
(eval "$ac_compile") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
for ac_file in conftest.o conftest.obj conftest.*; do |
for ac_file in conftest.o conftest.obj conftest.*; do |
test -f "$ac_file" || continue; |
test -f "$ac_file" || continue; |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
break;; |
break;; |
esac |
esac |
done |
done |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
echo "${ECHO_T}$ac_cv_objext" >&6; } |
$as_echo "$ac_cv_objext" >&6; } |
OBJEXT=$ac_cv_objext |
OBJEXT=$ac_cv_objext |
ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
Line 2309 case "(($ac_try" in |
|
Line 2577 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
ac_compiler_gnu=yes |
ac_compiler_gnu=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_compiler_gnu=no |
ac_compiler_gnu=no |
Line 2332 rm -f core conftest.err conftest.$ac_objext conftest.$ |
|
Line 2601 rm -f core conftest.err conftest.$ac_objext conftest.$ |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
if test $ac_compiler_gnu = yes; then |
|
GCC=yes |
|
else |
|
GCC= |
|
fi |
ac_test_CFLAGS=${CFLAGS+set} |
ac_test_CFLAGS=${CFLAGS+set} |
ac_save_CFLAGS=$CFLAGS |
ac_save_CFLAGS=$CFLAGS |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
if test "${ac_cv_prog_cc_g+set}" = set; then |
if test "${ac_cv_prog_cc_g+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_save_c_werror_flag=$ac_c_werror_flag |
ac_save_c_werror_flag=$ac_c_werror_flag |
ac_c_werror_flag=yes |
ac_c_werror_flag=yes |
Line 2367 case "(($ac_try" in |
|
Line 2640 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
CFLAGS="" |
CFLAGS="" |
Line 2405 case "(($ac_try" in |
|
Line 2679 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_c_werror_flag=$ac_save_c_werror_flag |
ac_c_werror_flag=$ac_save_c_werror_flag |
Line 2444 case "(($ac_try" in |
|
Line 2719 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
ac_c_werror_flag=$ac_save_c_werror_flag |
ac_c_werror_flag=$ac_save_c_werror_flag |
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
CFLAGS=$ac_save_CFLAGS |
CFLAGS=$ac_save_CFLAGS |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
|
|
CFLAGS= |
CFLAGS= |
fi |
fi |
fi |
fi |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_cv_prog_cc_c89=no |
ac_cv_prog_cc_c89=no |
ac_save_CC=$CC |
ac_save_CC=$CC |
Line 2563 case "(($ac_try" in |
|
Line 2839 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
ac_cv_prog_cc_c89=$ac_arg |
ac_cv_prog_cc_c89=$ac_arg |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
|
# AC_CACHE_VAL |
# AC_CACHE_VAL |
case "x$ac_cv_prog_cc_c89" in |
case "x$ac_cv_prog_cc_c89" in |
x) |
x) |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5 |
echo "${ECHO_T}none needed" >&6; } ;; |
$as_echo "none needed" >&6; } ;; |
xno) |
xno) |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
echo "${ECHO_T}unsupported" >&6; } ;; |
$as_echo "unsupported" >&6; } ;; |
*) |
*) |
CC="$CC $ac_cv_prog_cc_c89" |
CC="$CC $ac_cv_prog_cc_c89" |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
esac |
esac |
|
|
|
|
Line 2610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext |
|
Line 2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
if test -n "$ac_tool_prefix"; then |
# Find a good install program. We prefer a C program (faster), |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
# so one script is as good as another. But avoid the broken or |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
# incompatible versions: |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
# SysV /etc/install, /usr/sbin/install |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
# SunOS /usr/etc/install |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
# IRIX /sbin/install |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
# 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. |
|
# 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; } |
|
if test -z "$INSTALL"; then |
|
if test "${ac_cv_path_install+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$RANLIB"; then |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
for as_dir in $PATH |
do |
do |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
# Account for people who put trailing slashes in PATH elements. |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
case $as_dir/ in |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
./ | .// | /cC/* | \ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
break 2 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
fi |
/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 |
|
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|
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 |
|
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 |
|
fi |
|
fi |
|
done |
|
done |
|
;; |
|
esac |
|
|
done |
done |
done |
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
|
|
|
rm -rf conftest.one conftest.two conftest.dir |
|
|
fi |
fi |
|
if test "${ac_cv_path_install+set}" = set; then |
|
INSTALL=$ac_cv_path_install |
|
else |
|
# As a last resort, use the slow shell script. Don't cache a |
|
# value for INSTALL 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. |
|
INSTALL=$ac_install_sh |
|
fi |
fi |
fi |
RANLIB=$ac_cv_prog_RANLIB |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
if test -n "$RANLIB"; then |
$as_echo "$INSTALL" >&6; } |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
echo "${ECHO_T}$RANLIB" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
# 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}' |
|
|
fi |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
if test -z "$ac_cv_prog_RANLIB"; then |
|
ac_ct_RANLIB=$RANLIB |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
set dummy ranlib; ac_word=$2 |
|
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_RANLIB"; then |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
fi |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
if test -n "$ac_ct_RANLIB"; then |
|
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_RANLIB" = x; then |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
RANLIB=":" |
$as_echo_n "checking whether ln -s works... " >&6; } |
else |
LN_S=$as_ln_s |
case $cross_compiling:$ac_tool_warned in |
if test "$LN_S" = "ln -s"; then |
yes:) |
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
$as_echo "yes" >&6; } |
whose name does not start with the host triplet. If you think this |
|
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
whose name does not start with the host triplet. If you think this |
|
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
RANLIB=$ac_ct_RANLIB |
|
fi |
|
else |
else |
RANLIB="$ac_cv_prog_RANLIB" |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
|
$as_echo "no, using $LN_S" >&6; } |
fi |
fi |
|
|
|
|
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
CPP= |
CPP= |
fi |
fi |
if test -z "$CPP"; then |
if test -z "$CPP"; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
if test "${ac_cv_prog_CPP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
# Double quotes because CPP needs to be expanded |
# Double quotes because CPP needs to be expanded |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
Line 2753 case "(($ac_try" in |
|
Line 3037 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null && { |
(exit $ac_status); } >/dev/null && { |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
}; then |
}; then |
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
Line 2790 case "(($ac_try" in |
|
Line 3075 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null && { |
(exit $ac_status); } >/dev/null && { |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
Line 2804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
Line 3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
# Broken: success on invalid input. |
# Broken: success on invalid input. |
continue |
continue |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Passes both tests. |
# Passes both tests. |
|
|
else |
else |
ac_cv_prog_CPP=$CPP |
ac_cv_prog_CPP=$CPP |
fi |
fi |
{ echo "$as_me:$LINENO: result: $CPP" >&5 |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
echo "${ECHO_T}$CPP" >&6; } |
$as_echo "$CPP" >&6; } |
ac_preproc_ok=false |
ac_preproc_ok=false |
for ac_c_preproc_warn_flag in '' yes |
for ac_c_preproc_warn_flag in '' yes |
do |
do |
Line 2858 case "(($ac_try" in |
|
Line 3144 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null && { |
(exit $ac_status); } >/dev/null && { |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
}; then |
}; then |
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
Line 2895 case "(($ac_try" in |
|
Line 3182 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null && { |
(exit $ac_status); } >/dev/null && { |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
Line 2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
Line 3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
# Broken: success on invalid input. |
# Broken: success on invalid input. |
continue |
continue |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Passes both tests. |
# Passes both tests. |
Line 2925 rm -f conftest.err conftest.$ac_ext |
|
Line 3213 rm -f conftest.err conftest.$ac_ext |
|
if $ac_preproc_ok; then |
if $ac_preproc_ok; then |
: |
: |
else |
else |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
See \`config.log' for more details." >&5 |
See \`config.log' for more details." >&5 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
See \`config.log' for more details." >&2;} |
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
Line 2939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $ |
|
Line 3227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $ |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
{ $as_echo "$as_me:$LINENO: checking for X" >&5 |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
$as_echo_n "checking for X... " >&6; } |
if test "${ac_cv_path_GREP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
# Check whether --with-x was given. |
|
if test "${with_x+set}" = set; then |
|
withval=$with_x; |
|
fi |
|
|
|
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
|
if test "x$with_x" = xno; then |
|
# The user explicitly disabled X. |
|
have_x=disabled |
else |
else |
# Extract the first word of "grep ggrep" to use in msg output |
case $x_includes,$x_libraries in #( |
if test -z "$GREP"; then |
*\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
set dummy grep ggrep; ac_prog_name=$2 |
$as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
|
{ (exit 1); exit 1; }; };; #( |
|
*,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
# One or both of the vars are not set, and there is no cached value. |
|
ac_x_includes=no ac_x_libraries=no |
|
rm -f -r conftest.dir |
|
if mkdir conftest.dir; then |
|
cd conftest.dir |
|
cat >Imakefile <<'_ACEOF' |
|
incroot: |
|
@echo incroot='${INCROOT}' |
|
usrlibdir: |
|
@echo usrlibdir='${USRLIBDIR}' |
|
libdir: |
|
@echo libdir='${LIBDIR}' |
|
_ACEOF |
|
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
for ac_var in incroot usrlibdir libdir; do |
|
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
|
done |
|
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
|
for ac_extension in a so sl dylib la dll; do |
|
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
|
test -f "$ac_im_libdir/libX11.$ac_extension"; then |
|
ac_im_usrlibdir=$ac_im_libdir; break |
|
fi |
|
done |
|
# Screen out bogus values from the imake configuration. They are |
|
# bogus both because they are the default anyway, and because |
|
# using them would break gcc on systems where it needs fixed includes. |
|
case $ac_im_incroot in |
|
/usr/include) ac_x_includes= ;; |
|
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
|
esac |
|
case $ac_im_usrlibdir in |
|
/usr/lib | /lib) ;; |
|
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
|
esac |
|
fi |
|
cd .. |
|
rm -f -r conftest.dir |
|
fi |
|
|
|
# Standard set of common directories for X headers. |
|
# Check X11 before X11Rn because it is often a symlink to the current release. |
|
ac_x_header_dirs=' |
|
/usr/X11/include |
|
/usr/X11R6/include |
|
/usr/X11R5/include |
|
/usr/X11R4/include |
|
|
|
/usr/include/X11 |
|
/usr/include/X11R6 |
|
/usr/include/X11R5 |
|
/usr/include/X11R4 |
|
|
|
/usr/local/X11/include |
|
/usr/local/X11R6/include |
|
/usr/local/X11R5/include |
|
/usr/local/X11R4/include |
|
|
|
/usr/local/include/X11 |
|
/usr/local/include/X11R6 |
|
/usr/local/include/X11R5 |
|
/usr/local/include/X11R4 |
|
|
|
/usr/X386/include |
|
/usr/x386/include |
|
/usr/XFree86/include/X11 |
|
|
|
/usr/include |
|
/usr/local/include |
|
/usr/unsupported/include |
|
/usr/athena/include |
|
/usr/local/x11r5/include |
|
/usr/lpp/Xamples/include |
|
|
|
/usr/openwin/include |
|
/usr/openwin/share/include' |
|
|
|
if test "$ac_x_includes" = no; then |
|
# Guess where to find include files, by looking for Xlib.h. |
|
# First, try using that file with no special directory specified. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <X11/Xlib.h> |
|
_ACEOF |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } >/dev/null && { |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
}; then |
|
# We can compile using X headers with no special include directory. |
|
ac_x_includes= |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
for ac_dir in $ac_x_header_dirs; do |
|
if test -r "$ac_dir/X11/Xlib.h"; then |
|
ac_x_includes=$ac_dir |
|
break |
|
fi |
|
done |
|
fi |
|
|
|
rm -f conftest.err conftest.$ac_ext |
|
fi # $ac_x_includes = no |
|
|
|
if test "$ac_x_libraries" = no; then |
|
# Check for the libraries. |
|
# See if we find them without any special options. |
|
# Don't add to $LIBS permanently. |
|
ac_save_LIBS=$LIBS |
|
LIBS="-lX11 $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <X11/Xlib.h> |
|
int |
|
main () |
|
{ |
|
XrmInitialize () |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
LIBS=$ac_save_LIBS |
|
# We can link X programs with no special library path. |
|
ac_x_libraries= |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
LIBS=$ac_save_LIBS |
|
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
|
do |
|
# Don't even attempt the hair of trying to link an X program! |
|
for ac_extension in a so sl dylib la dll; do |
|
if test -r "$ac_dir/libX11.$ac_extension"; then |
|
ac_x_libraries=$ac_dir |
|
break 2 |
|
fi |
|
done |
|
done |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi # $ac_x_libraries = no |
|
|
|
case $ac_x_includes,$ac_x_libraries in #( |
|
no,* | *,no | *\'*) |
|
# Didn't find X, or a directory has "'" in its name. |
|
ac_cv_have_x="have_x=no";; #( |
|
*) |
|
# Record where we found X for the cache. |
|
ac_cv_have_x="have_x=yes\ |
|
ac_x_includes='$ac_x_includes'\ |
|
ac_x_libraries='$ac_x_libraries'" |
|
esac |
|
fi |
|
;; #( |
|
*) have_x=yes;; |
|
esac |
|
eval "$ac_cv_have_x" |
|
fi # $with_x != no |
|
|
|
if test "$have_x" != yes; then |
|
{ $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
|
$as_echo "$have_x" >&6; } |
|
no_x=yes |
|
else |
|
# If each of the values was on the command line, it overrides each guess. |
|
test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
|
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
|
# Update the cache value to reflect the command line values. |
|
ac_cv_have_x="have_x=yes\ |
|
ac_x_includes='$x_includes'\ |
|
ac_x_libraries='$x_libraries'" |
|
{ $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
|
$as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
|
fi |
|
|
|
if test "$no_x" = yes; then |
|
# Not all programs may use this symbol, but it does not hurt to define it. |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
#define X_DISPLAY_MISSING 1 |
|
_ACEOF |
|
|
|
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
|
else |
|
if test -n "$x_includes"; then |
|
X_CFLAGS="$X_CFLAGS -I$x_includes" |
|
fi |
|
|
|
# It would also be nice to do this for all -L options, not just this one. |
|
if test -n "$x_libraries"; then |
|
X_LIBS="$X_LIBS -L$x_libraries" |
|
# For Solaris; some versions of Sun CC require a space after -R and |
|
# others require no space. Words are not sufficient . . . . |
|
{ $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
|
$as_echo_n "checking whether -R must be followed by a space... " >&6; } |
|
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
|
ac_xsave_c_werror_flag=$ac_c_werror_flag |
|
ac_c_werror_flag=yes |
|
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 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
{ $as_echo "$as_me:$LINENO: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
X_LIBS="$X_LIBS -R$x_libraries" |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
LIBS="$ac_xsave_LIBS -R $x_libraries" |
|
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 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
X_LIBS="$X_LIBS -R $x_libraries" |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
{ $as_echo "$as_me:$LINENO: result: neither works" >&5 |
|
$as_echo "neither works" >&6; } |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
ac_c_werror_flag=$ac_xsave_c_werror_flag |
|
LIBS=$ac_xsave_LIBS |
|
fi |
|
|
|
# Check for system-dependent libraries X programs must link with. |
|
# Do this before checking for the system-independent R6 libraries |
|
# (-lICE), since we may need -lsocket or whatever for X linking. |
|
|
|
if test "$ISC" = yes; then |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
|
else |
|
# Martyn Johnson says this is needed for Ultrix, if the X |
|
# libraries were built with DECnet support. And Karl Berry says |
|
# the Alpha needs dnet_stub (dnet does not exist). |
|
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char XOpenDisplay (); |
|
int |
|
main () |
|
{ |
|
return XOpenDisplay (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
: |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
|
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
|
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldnet $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char dnet_ntoa (); |
|
int |
|
main () |
|
{ |
|
return dnet_ntoa (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_dnet_dnet_ntoa=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dnet_dnet_ntoa=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
|
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
|
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
|
fi |
|
|
|
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
|
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
|
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } |
|
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldnet_stub $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char dnet_ntoa (); |
|
int |
|
main () |
|
{ |
|
return dnet_ntoa (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_dnet_stub_dnet_ntoa=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dnet_stub_dnet_ntoa=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
|
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } |
|
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
|
fi |
|
|
|
fi |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS="$ac_xsave_LIBS" |
|
|
|
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
|
# to get the SysV transport functions. |
|
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
|
# needs -lnsl. |
|
# The nsl library prevents programs from opening the X display |
|
# on Irix 5.2, according to T.E. Dickey. |
|
# The functions gethostbyname, getservbyname, and inet_addr are |
|
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
|
{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
|
$as_echo_n "checking for gethostbyname... " >&6; } |
|
if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define gethostbyname innocuous_gethostbyname |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char gethostbyname (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
|
|
#undef gethostbyname |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char gethostbyname (); |
|
/* The GNU C library defines this for functions which it implements |
|
to always fail with ENOSYS. Some functions are actually named |
|
something starting with __ and the normal name is an alias. */ |
|
#if defined __stub_gethostbyname || defined __stub___gethostbyname |
|
choke me |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return gethostbyname (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_func_gethostbyname=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_gethostbyname=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
|
$as_echo "$ac_cv_func_gethostbyname" >&6; } |
|
|
|
if test $ac_cv_func_gethostbyname = no; then |
|
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
|
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
|
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lnsl $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char gethostbyname (); |
|
int |
|
main () |
|
{ |
|
return gethostbyname (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_nsl_gethostbyname=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_nsl_gethostbyname=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
|
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
|
if test $ac_cv_lib_nsl_gethostbyname = yes; then |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
|
fi |
|
|
|
if test $ac_cv_lib_nsl_gethostbyname = no; then |
|
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
|
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } |
|
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lbsd $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char gethostbyname (); |
|
int |
|
main () |
|
{ |
|
return gethostbyname (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_bsd_gethostbyname=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_bsd_gethostbyname=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
|
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } |
|
if test $ac_cv_lib_bsd_gethostbyname = yes; then |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
|
fi |
|
|
|
fi |
|
fi |
|
|
|
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
|
# socket/setsockopt and other routines are undefined under SCO ODT |
|
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
|
# on later versions), says Simon Leinen: it contains gethostby* |
|
# variants that don't use the name server (or something). -lsocket |
|
# must be given before -lnsl if both are needed. We assume that |
|
# if connect needs -lnsl, so does gethostbyname. |
|
{ $as_echo "$as_me:$LINENO: checking for connect" >&5 |
|
$as_echo_n "checking for connect... " >&6; } |
|
if test "${ac_cv_func_connect+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define connect to an innocuous variant, in case <limits.h> declares connect. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define connect innocuous_connect |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char connect (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
|
|
#undef connect |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char connect (); |
|
/* The GNU C library defines this for functions which it implements |
|
to always fail with ENOSYS. Some functions are actually named |
|
something starting with __ and the normal name is an alias. */ |
|
#if defined __stub_connect || defined __stub___connect |
|
choke me |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return connect (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_func_connect=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_connect=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
|
$as_echo "$ac_cv_func_connect" >&6; } |
|
|
|
if test $ac_cv_func_connect = no; then |
|
{ $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
|
$as_echo_n "checking for connect in -lsocket... " >&6; } |
|
if test "${ac_cv_lib_socket_connect+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char connect (); |
|
int |
|
main () |
|
{ |
|
return connect (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_socket_connect=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_socket_connect=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
|
$as_echo "$ac_cv_lib_socket_connect" >&6; } |
|
if test $ac_cv_lib_socket_connect = yes; then |
|
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
|
fi |
|
|
|
fi |
|
|
|
# Guillermo Gomez says -lposix is necessary on A/UX. |
|
{ $as_echo "$as_me:$LINENO: checking for remove" >&5 |
|
$as_echo_n "checking for remove... " >&6; } |
|
if test "${ac_cv_func_remove+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define remove to an innocuous variant, in case <limits.h> declares remove. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define remove innocuous_remove |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char remove (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
|
|
#undef remove |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char remove (); |
|
/* The GNU C library defines this for functions which it implements |
|
to always fail with ENOSYS. Some functions are actually named |
|
something starting with __ and the normal name is an alias. */ |
|
#if defined __stub_remove || defined __stub___remove |
|
choke me |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return remove (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_func_remove=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_remove=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
|
$as_echo "$ac_cv_func_remove" >&6; } |
|
|
|
if test $ac_cv_func_remove = no; then |
|
{ $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
|
$as_echo_n "checking for remove in -lposix... " >&6; } |
|
if test "${ac_cv_lib_posix_remove+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lposix $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char remove (); |
|
int |
|
main () |
|
{ |
|
return remove (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_posix_remove=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_posix_remove=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
|
$as_echo "$ac_cv_lib_posix_remove" >&6; } |
|
if test $ac_cv_lib_posix_remove = yes; then |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
|
fi |
|
|
|
fi |
|
|
|
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
|
{ $as_echo "$as_me:$LINENO: checking for shmat" >&5 |
|
$as_echo_n "checking for shmat... " >&6; } |
|
if test "${ac_cv_func_shmat+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define shmat innocuous_shmat |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char shmat (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
|
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
|
|
#undef shmat |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char shmat (); |
|
/* The GNU C library defines this for functions which it implements |
|
to always fail with ENOSYS. Some functions are actually named |
|
something starting with __ and the normal name is an alias. */ |
|
#if defined __stub_shmat || defined __stub___shmat |
|
choke me |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return shmat (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_func_shmat=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_shmat=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
|
$as_echo "$ac_cv_func_shmat" >&6; } |
|
|
|
if test $ac_cv_func_shmat = no; then |
|
{ $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
|
$as_echo_n "checking for shmat in -lipc... " >&6; } |
|
if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lipc $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char shmat (); |
|
int |
|
main () |
|
{ |
|
return shmat (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_ipc_shmat=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_ipc_shmat=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
|
$as_echo "$ac_cv_lib_ipc_shmat" >&6; } |
|
if test $ac_cv_lib_ipc_shmat = yes; then |
|
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
|
fi |
|
|
|
fi |
|
fi |
|
|
|
# Check for libraries that X11R6 Xt/Xaw programs need. |
|
ac_save_LDFLAGS=$LDFLAGS |
|
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
|
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
|
# check for ICE first), but we must link in the order -lSM -lICE or |
|
# we get undefined symbols. So assume we have SM if we have ICE. |
|
# These have to be linked with before -lX11, unlike the other |
|
# libraries we check for below, so use a different variable. |
|
# John Interrante, Karl Berry |
|
{ $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
|
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } |
|
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char IceConnectionNumber (); |
|
int |
|
main () |
|
{ |
|
return IceConnectionNumber (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && { |
|
test "$cross_compiling" = yes || |
|
$as_test_x conftest$ac_exeext |
|
}; then |
|
ac_cv_lib_ICE_IceConnectionNumber=yes |
|
else |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_ICE_IceConnectionNumber=no |
|
fi |
|
|
|
rm -rf conftest.dSYM |
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
|
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } |
|
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then |
|
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
|
fi |
|
|
|
LDFLAGS=$ac_save_LDFLAGS |
|
|
|
fi |
|
|
|
|
|
TARGET=oxmgraph |
|
case "${host}" in |
|
*-apple-darwin*) |
|
LIBS="-framework GLUT -framework OpenGL" |
|
;; |
|
*) |
|
CPPFLAGS="${CPPFLAGS} -I /usr/local/include" |
|
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
if test "${ac_cv_path_GREP+set}" = set; then |
if test "${ac_cv_path_GREP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
|
if test -z "$GREP"; then |
ac_path_GREP_found=false |
ac_path_GREP_found=false |
# Loop through the user's path and test for each of PROGNAME-LIST |
# Loop through the user's path and test for each of PROGNAME-LIST |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
do |
do |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_prog in grep ggrep; do |
for ac_prog in grep ggrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU $ac_path_GREP |
# Check for GNU $ac_path_GREP |
case `"$ac_path_GREP" --version 2>&1` in |
case `"$ac_path_GREP" --version 2>&1` in |
*GNU*) |
*GNU*) |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
*) |
*) |
ac_count=0 |
ac_count=0 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
$as_echo_n 0123456789 >"conftest.in" |
while : |
while : |
do |
do |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
mv "conftest.tmp" "conftest.in" |
mv "conftest.tmp" "conftest.in" |
cp "conftest.in" "conftest.nl" |
cp "conftest.in" "conftest.nl" |
echo 'GREP' >> "conftest.nl" |
$as_echo 'GREP' >> "conftest.nl" |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
ac_count=`expr $ac_count + 1` |
ac_count=`expr $ac_count + 1` |
Line 2989 case `"$ac_path_GREP" --version 2>&1` in |
|
Line 4659 case `"$ac_path_GREP" --version 2>&1` in |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
esac |
esac |
|
|
|
$ac_path_GREP_found && break 3 |
$ac_path_GREP_found && break 3 |
done |
done |
done |
done |
done |
|
|
done |
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
|
if test -z "$ac_cv_path_GREP"; then |
|
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
fi |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
GREP="$ac_cv_path_GREP" |
|
if test -z "$GREP"; then |
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
else |
else |
ac_cv_path_GREP=$GREP |
ac_cv_path_GREP=$GREP |
fi |
fi |
|
|
|
|
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
$as_echo "$ac_cv_path_GREP" >&6; } |
GREP="$ac_cv_path_GREP" |
GREP="$ac_cv_path_GREP" |
|
|
|
|
{ echo "$as_me:$LINENO: checking for egrep" >&5 |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
$as_echo_n "checking for egrep... " >&6; } |
if test "${ac_cv_path_EGREP+set}" = set; then |
if test "${ac_cv_path_EGREP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
then ac_cv_path_EGREP="$GREP -E" |
then ac_cv_path_EGREP="$GREP -E" |
else |
else |
# Extract the first word of "egrep" to use in msg output |
if test -z "$EGREP"; then |
if test -z "$EGREP"; then |
|
set dummy egrep; ac_prog_name=$2 |
|
if test "${ac_cv_path_EGREP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_path_EGREP_found=false |
ac_path_EGREP_found=false |
# Loop through the user's path and test for each of PROGNAME-LIST |
# Loop through the user's path and test for each of PROGNAME-LIST |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
do |
do |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_prog in egrep; do |
for ac_prog in egrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU $ac_path_EGREP |
# Check for GNU $ac_path_EGREP |
case `"$ac_path_EGREP" --version 2>&1` in |
case `"$ac_path_EGREP" --version 2>&1` in |
*GNU*) |
*GNU*) |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
*) |
*) |
ac_count=0 |
ac_count=0 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
$as_echo_n 0123456789 >"conftest.in" |
while : |
while : |
do |
do |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
mv "conftest.tmp" "conftest.in" |
mv "conftest.tmp" "conftest.in" |
cp "conftest.in" "conftest.nl" |
cp "conftest.in" "conftest.nl" |
echo 'EGREP' >> "conftest.nl" |
$as_echo 'EGREP' >> "conftest.nl" |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
ac_count=`expr $ac_count + 1` |
ac_count=`expr $ac_count + 1` |
Line 3071 case `"$ac_path_EGREP" --version 2>&1` in |
|
Line 4727 case `"$ac_path_EGREP" --version 2>&1` in |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
esac |
esac |
|
|
|
$ac_path_EGREP_found && break 3 |
$ac_path_EGREP_found && break 3 |
done |
done |
done |
done |
done |
|
|
done |
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
|
if test -z "$ac_cv_path_EGREP"; then |
|
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
fi |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
EGREP="$ac_cv_path_EGREP" |
|
if test -z "$EGREP"; then |
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
else |
else |
ac_cv_path_EGREP=$EGREP |
ac_cv_path_EGREP=$EGREP |
fi |
fi |
|
|
|
|
fi |
fi |
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
$as_echo "$ac_cv_path_EGREP" >&6; } |
EGREP="$ac_cv_path_EGREP" |
EGREP="$ac_cv_path_EGREP" |
|
|
|
|
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
$as_echo_n "checking for ANSI C header files... " >&6; } |
if test "${ac_cv_header_stdc+set}" = set; then |
if test "${ac_cv_header_stdc+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
Line 3131 case "(($ac_try" in |
|
Line 4778 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
ac_cv_header_stdc=yes |
ac_cv_header_stdc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
Line 3236 case "(($ac_try" in |
|
Line 4884 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_link") 2>&5 |
(eval "$ac_link") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (case "(($ac_try" in |
{ (case "(($ac_try" in |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_try") 2>&5 |
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
: |
: |
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
fi |
fi |
|
rm -rf conftest.dSYM |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
|
|
|
|
fi |
fi |
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
$as_echo "$ac_cv_header_stdc" >&6; } |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
|
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
inttypes.h stdint.h unistd.h |
inttypes.h stdint.h unistd.h |
do |
do |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
$as_echo_n "checking for $ac_header... " >&6; } |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
Line 3310 case "(($ac_try" in |
|
Line 4961 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
eval "$as_ac_Header=yes" |
eval "$as_ac_Header=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_Header=no" |
eval "$as_ac_Header=no" |
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
ac_res=`eval echo '${'$as_ac_Header'}'` |
ac_res=`eval 'as_val=${'$as_ac_Header'} |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
$as_echo "$as_val"'` |
echo "${ECHO_T}$ac_res" >&6; } |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
$as_echo "$ac_res" >&6; } |
|
if test `eval 'as_val=${'$as_ac_Header'} |
|
$as_echo "$as_val"'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
fi |
fi |
|
|
|
|
|
|
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; } |
$as_echo_n "checking for GL/glut.h... " >&6; } |
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; } |
$as_echo "$ac_cv_header_GL_glut_h" >&6; } |
else |
else |
# Is the header compilable? |
# Is the header compilable? |
{ echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 |
{ $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 |
echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; } |
$as_echo_n "checking GL/glut.h usability... " >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
Line 3371 case "(($ac_try" in |
|
Line 5025 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_compile") 2>conftest.er1 |
(eval "$ac_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { |
(exit $ac_status); } && { |
test -z "$ac_c_werror_flag" || |
test -z "$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest.$ac_objext; then |
} && test -s conftest.$ac_objext; then |
ac_header_compiler=yes |
ac_header_compiler=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_header_compiler=no |
ac_header_compiler=no |
fi |
fi |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
$as_echo "$ac_header_compiler" >&6; } |
|
|
# Is the header present? |
# Is the header present? |
{ echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 |
{ $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 |
echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; } |
$as_echo_n "checking GL/glut.h presence... " >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
Line 3410 case "(($ac_try" in |
|
Line 5065 case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
*) ac_try_echo=$ac_try;; |
*) ac_try_echo=$ac_try;; |
esac |
esac |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo") >&5 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null && { |
(exit $ac_status); } >/dev/null && { |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
test ! -s conftest.err |
test ! -s conftest.err |
}; then |
}; then |
ac_header_preproc=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_header_preproc=no |
ac_header_preproc=no |
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
$as_echo "$ac_header_preproc" >&6; } |
|
|
# So? What about this header? |
# So? What about this header? |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
yes:no: ) |
yes:no: ) |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 |
echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} |
ac_header_preproc=yes |
ac_header_preproc=yes |
;; |
;; |
no:yes:* ) |
no:yes:* ) |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 |
echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 |
echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 |
echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 |
echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 |
echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} |
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 |
echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} |
$as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} |
|
|
;; |
;; |
esac |
esac |
{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; } |
$as_echo_n "checking for GL/glut.h... " >&6; } |
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_cv_header_GL_glut_h=$ac_header_preproc |
ac_cv_header_GL_glut_h=$ac_header_preproc |
fi |
fi |
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; } |
$as_echo "$ac_cv_header_GL_glut_h" >&6; } |
|
|
fi |
fi |
if test $ac_cv_header_GL_glut_h = yes; then |
if test $ac_cv_header_GL_glut_h = yes; then |
MYTARGET="oxmgraph" |
: |
|
|
else |
else |
MYTARGET="" |
TARGET="" |
|
|
fi |
fi |
|
|
|
|
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
LIBS="-L /usr/local/lib -lGLU -lglut" |
{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
|
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; } |
|
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
|
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; } |
|
else |
|
# Is the header compilable? |
|
{ echo "$as_me:$LINENO: checking GL/glut.h usability" >&5 |
|
echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; } |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
#include <GL/glut.h> |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (ac_try="$ac_compile" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_compile") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest.$ac_objext; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
|
# Is the header present? |
|
{ echo "$as_me:$LINENO: checking GL/glut.h presence" >&5 |
|
echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; } |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <GL/glut.h> |
|
_ACEOF |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } >/dev/null && { |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
}; then |
|
ac_header_preproc=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_preproc=no |
|
fi |
|
|
|
rm -f conftest.err conftest.$ac_ext |
|
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
yes:no: ) |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
;; |
no:yes:* ) |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: check for missing prerequisite headers?" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: check for missing prerequisite headers?" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: section \"Present But Cannot Be Compiled\"" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;} |
|
|
|
;; |
|
esac |
esac |
{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5 |
|
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; } |
|
if test "${ac_cv_header_GL_glut_h+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_header_GL_glut_h=$ac_header_preproc |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5 |
|
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; } |
|
|
|
fi |
|
if test $ac_cv_header_GL_glut_h = yes; then |
|
MYTARGET2="install2" |
|
|
|
else |
|
MYTARGET2="" |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
ac_aux_dir= |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
if test -f "$ac_dir/install-sh"; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
break |
|
elif test -f "$ac_dir/install.sh"; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
break |
|
elif test -f "$ac_dir/shtool"; then |
|
ac_aux_dir=$ac_dir |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
break |
|
fi |
|
done |
|
if test -z "$ac_aux_dir"; then |
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
|
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
# 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. |
|
|
|
|
|
# Make sure we can run config.sub. |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
|
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
{ echo "$as_me:$LINENO: checking build system type" >&5 |
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
|
if test "${ac_cv_build+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_build_alias=$build_alias |
|
test "x$ac_build_alias" = x && |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
test "x$ac_build_alias" = x && |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
|
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
echo "${ECHO_T}$ac_cv_build" >&6; } |
|
case $ac_cv_build in |
|
*-*-*) ;; |
|
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|
echo "$as_me: error: invalid value of canonical build" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
build=$ac_cv_build |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_build |
|
shift |
|
build_cpu=$1 |
|
build_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
build_os=$* |
|
IFS=$ac_save_IFS |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking host system type" >&5 |
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
|
if test "${ac_cv_host+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test "x$host_alias" = x; then |
|
ac_cv_host=$ac_cv_build |
|
else |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
|
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
echo "${ECHO_T}$ac_cv_host" >&6; } |
|
case $ac_cv_host in |
|
*-*-*) ;; |
|
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|
echo "$as_me: error: invalid value of canonical host" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
host=$ac_cv_host |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_host |
|
shift |
|
host_cpu=$1 |
|
host_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
host_os=$* |
|
IFS=$ac_save_IFS |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking target system type" >&5 |
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6; } |
|
if test "${ac_cv_target+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test "x$target_alias" = x; then |
|
ac_cv_target=$ac_cv_host |
|
else |
|
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
|
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 |
|
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
|
echo "${ECHO_T}$ac_cv_target" >&6; } |
|
case $ac_cv_target in |
|
*-*-*) ;; |
|
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 |
|
echo "$as_me: error: invalid value of canonical target" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
target=$ac_cv_target |
|
ac_save_IFS=$IFS; IFS='-' |
|
set x $ac_cv_target |
|
shift |
|
target_cpu=$1 |
|
target_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
target_os=$* |
|
IFS=$ac_save_IFS |
|
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
|
# The aliases save the names the user supplied, while $host etc. |
|
# will get canonicalized. |
|
test -n "$target_alias" && |
|
test "$program_prefix$program_suffix$program_transform_name" = \ |
|
NONENONEs,x,x, && |
|
program_prefix=${target_alias}- |
|
case $target_os in |
|
darwin*) |
|
CFLAG2="-DMAC_OS_X" |
|
|
|
LFLAG2="-framework GLUT -framework OpenGL" |
|
|
|
MYTARGET="oxmgraph" |
|
|
|
MYTARGET2="install2" |
|
|
|
;; |
|
*) |
|
CFLAG2="" |
|
|
|
LFLAG2="-lglut" |
|
|
|
;; |
|
esac |
|
|
|
|
|
|
|
ac_config_files="$ac_config_files Makefile" |
ac_config_files="$ac_config_files Makefile" |
|
|
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
|
|
case $ac_val in #( |
case $ac_val in #( |
*${as_nl}*) |
*${as_nl}*) |
case $ac_var in #( |
case $ac_var in #( |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
esac |
esac |
case $ac_var in #( |
case $ac_var in #( |
_ | IFS | as_nl) ;; #( |
_ | IFS | as_nl) ;; #( |
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
*) $as_unset $ac_var ;; |
*) $as_unset $ac_var ;; |
esac ;; |
esac ;; |
esac |
esac |
Line 3858 echo "$as_me: WARNING: Cache variable $ac_var contains |
|
Line 5205 echo "$as_me: WARNING: Cache variable $ac_var contains |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
if test -w "$cache_file"; then |
if test -w "$cache_file"; then |
test "x$cache_file" != "x/dev/null" && |
test "x$cache_file" != "x/dev/null" && |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
echo "$as_me: updating cache $cache_file" >&6;} |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
cat confcache >$cache_file |
cat confcache >$cache_file |
else |
else |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
fi |
fi |
fi |
fi |
rm -f confcache |
rm -f confcache |
Line 3880 test "x$exec_prefix" = xNONE && exec_prefix='${prefix} |
|
Line 5227 test "x$exec_prefix" = xNONE && exec_prefix='${prefix} |
|
# take arguments), then branch to the quote section. Otherwise, |
# take arguments), then branch to the quote section. Otherwise, |
# look for a macro that doesn't take arguments. |
# look for a macro that doesn't take arguments. |
ac_script=' |
ac_script=' |
|
:mline |
|
/\\$/{ |
|
N |
|
s,\\\n,, |
|
b mline |
|
} |
t clear |
t clear |
:clear |
:clear |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
# 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
ac_i=`echo "$ac_i" | sed "$ac_script"` |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
# will be set to the directory where LIBOBJS objects are built. |
# will be set to the directory where LIBOBJS objects are built. |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
Line 3922 LTLIBOBJS=$ac_ltlibobjs |
|
Line 5275 LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
: ${CONFIG_STATUS=./config.status} |
: ${CONFIG_STATUS=./config.status} |
|
ac_write_fail=0 |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
cat >$CONFIG_STATUS <<_ACEOF |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
#! $SHELL |
#! $SHELL |
# Generated by $as_me. |
# Generated by $as_me. |
# Run this file to recreate the current configuration. |
# Run this file to recreate the current configuration. |
Line 3939 ac_cs_silent=false |
|
Line 5293 ac_cs_silent=false |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
SHELL=\${CONFIG_SHELL-$SHELL} |
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
## --------------------- ## |
## --------------------- ## |
## M4sh Initialization. ## |
## M4sh Initialization. ## |
## --------------------- ## |
## --------------------- ## |
Line 3949 DUALCASE=1; export DUALCASE # for MKS sh |
|
Line 5303 DUALCASE=1; export DUALCASE # for MKS sh |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
emulate sh |
NULLCMD=: |
NULLCMD=: |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
# is contrary to our usage. Disable this feature. |
# is contrary to our usage. Disable this feature. |
alias -g '${1+"$@"}'='"$@"' |
alias -g '${1+"$@"}'='"$@"' |
setopt NO_GLOB_SUBST |
setopt NO_GLOB_SUBST |
Line 3971 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
Line 5325 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
as_cr_digits='0123456789' |
as_cr_digits='0123456789' |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
# The user is always right. |
as_nl=' |
if test "${PATH_SEPARATOR+set}" != set; then |
' |
echo "#! /bin/sh" >conf$$.sh |
export as_nl |
echo "exit 0" >>conf$$.sh |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
chmod +x conf$$.sh |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
PATH_SEPARATOR=';' |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
as_echo='printf %s\n' |
|
as_echo_n='printf %s' |
|
else |
|
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
as_echo_n='/usr/ucb/echo -n' |
else |
else |
PATH_SEPARATOR=: |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
as_echo_n_body='eval |
|
arg=$1; |
|
case $arg in |
|
*"$as_nl"*) |
|
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
esac; |
|
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
' |
|
export as_echo_n_body |
|
as_echo_n='sh -c $as_echo_n_body as_echo' |
fi |
fi |
rm -f conf$$.sh |
export as_echo_body |
|
as_echo='sh -c $as_echo_body as_echo' |
fi |
fi |
|
|
|
# The user is always right. |
|
if test "${PATH_SEPARATOR+set}" != set; then |
|
PATH_SEPARATOR=: |
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
PATH_SEPARATOR=';' |
|
} |
|
fi |
|
|
# Support unset when possible. |
# Support unset when possible. |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
as_unset=unset |
as_unset=unset |
|
|
# there to prevent editors from complaining about space-tab. |
# there to prevent editors from complaining about space-tab. |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
# splitting by setting IFS to empty value.) |
# splitting by setting IFS to empty value.) |
as_nl=' |
|
' |
|
IFS=" "" $as_nl" |
IFS=" "" $as_nl" |
|
|
# Find who we are. Look in the path if we contain no directory separator. |
# Find who we are. Look in the path if we contain no directory separator. |
Line 4021 if test "x$as_myself" = x; then |
|
Line 5401 if test "x$as_myself" = x; then |
|
as_myself=$0 |
as_myself=$0 |
fi |
fi |
if test ! -f "$as_myself"; then |
if test ! -f "$as_myself"; then |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
{ (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
fi |
fi |
|
|
|
|
PS4='+ ' |
PS4='+ ' |
|
|
# NLS nuisances. |
# NLS nuisances. |
for as_var in \ |
LC_ALL=C |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
export LC_ALL |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
LANGUAGE=C |
LC_TELEPHONE LC_TIME |
export LANGUAGE |
do |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
else |
|
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
fi |
|
done |
|
|
|
# Required to use basename. |
# Required to use basename. |
if expr a : '\(a\)' >/dev/null 2>&1 && |
if expr a : '\(a\)' >/dev/null 2>&1 && |
Line 4066 as_me=`$as_basename -- "$0" || |
|
Line 5439 as_me=`$as_basename -- "$0" || |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
echo X/"$0" | |
$as_echo X/"$0" | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
Line 4117 $as_unset CDPATH |
|
Line 5490 $as_unset CDPATH |
|
s/-\n.*// |
s/-\n.*// |
' >$as_me.lineno && |
' >$as_me.lineno && |
chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
Line 4145 case `echo -n x` in |
|
Line 5518 case `echo -n x` in |
|
*) |
*) |
ECHO_N='-n';; |
ECHO_N='-n';; |
esac |
esac |
|
|
if expr a : '\(a\)' >/dev/null 2>&1 && |
if expr a : '\(a\)' >/dev/null 2>&1 && |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
as_expr=expr |
as_expr=expr |
Line 4158 if test -d conf$$.dir; then |
|
Line 5530 if test -d conf$$.dir; then |
|
rm -f conf$$.dir/conf$$.file |
rm -f conf$$.dir/conf$$.file |
else |
else |
rm -f conf$$.dir |
rm -f conf$$.dir |
mkdir conf$$.dir |
mkdir conf$$.dir 2>/dev/null |
fi |
fi |
echo >conf$$.file |
if (echo >conf$$.file) 2>/dev/null; then |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
as_ln_s='ln -s' |
as_ln_s='ln -s' |
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. |
# In both cases, we have to default to `cp -p'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
as_ln_s='cp -p' |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
as_ln_s=ln |
|
else |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
fi |
as_ln_s=ln |
|
else |
else |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
fi |
fi |
|
|
as_test_x=' |
as_test_x=' |
eval sh -c '\'' |
eval sh -c '\'' |
if test -d "$1"; then |
if test -d "$1"; then |
test -d "$1/."; |
test -d "$1/."; |
else |
else |
case $1 in |
case $1 in |
-*)set "./$1";; |
-*)set "./$1";; |
esac; |
esac; |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
???[sx]*):;;*)false;;esac;fi |
???[sx]*):;;*)false;;esac;fi |
|
|
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by $as_me, which was |
This file was extended by $as_me, which was |
generated by GNU Autoconf 2.61. Invocation command line was |
generated by GNU Autoconf 2.62. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
Line 4234 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
Line 5609 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
|
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
# Files that config.status was made for. |
# Files that config.status was made for. |
config_files="$ac_config_files" |
config_files="$ac_config_files" |
|
|
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
ac_cs_usage="\ |
ac_cs_usage="\ |
\`$as_me' instantiates files from templates according to the |
\`$as_me' instantiates files from templates according to the |
current configuration. |
current configuration. |
Line 4253 Usage: $0 [OPTIONS] [FILE]... |
|
Line 5628 Usage: $0 [OPTIONS] [FILE]... |
|
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
instantiate the configuration file FILE |
instantiate the configuration file FILE |
|
|
Configuration files: |
Configuration files: |
$config_files |
$config_files |
|
|
Report bugs to <bug-autoconf@gnu.org>." |
Report bugs to <bug-autoconf@gnu.org>." |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_version="\\ |
ac_cs_version="\\ |
config.status |
config.status |
configured by $0, generated by GNU Autoconf 2.61, |
configured by $0, generated by GNU Autoconf 2.62, |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
Copyright (C) 2006 Free Software Foundation, Inc. |
Copyright (C) 2008 Free Software Foundation, Inc. |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
|
|
ac_pwd='$ac_pwd' |
ac_pwd='$ac_pwd' |
srcdir='$srcdir' |
srcdir='$srcdir' |
|
INSTALL='$INSTALL' |
|
test -n "\$AWK" || AWK=awk |
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
# If no file are specified by the user, then we need to provide default |
# The default lists apply if the user does not specify any file. |
# value. By we need to know if files were specified by the user. |
|
ac_need_defaults=: |
ac_need_defaults=: |
while test $# != 0 |
while test $# != 0 |
do |
do |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
ac_cs_recheck=: ;; |
ac_cs_recheck=: ;; |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
echo "$ac_cs_version"; exit ;; |
$as_echo "$ac_cs_version"; exit ;; |
--debug | --debu | --deb | --de | --d | -d ) |
--debug | --debu | --deb | --de | --d | -d ) |
debug=: ;; |
debug=: ;; |
--file | --fil | --fi | --f ) |
--file | --fil | --fi | --f ) |
$ac_shift |
$ac_shift |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
case $ac_optarg in |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
esac |
|
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
--he | --h | --help | --hel | -h ) |
--he | --h | --help | --hel | -h ) |
echo "$ac_cs_usage"; exit ;; |
$as_echo "$ac_cs_usage"; exit ;; |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
ac_cs_silent=: ;; |
ac_cs_silent=: ;; |
|
|
# This is an error. |
# This is an error. |
-*) { echo "$as_me: error: unrecognized option: $1 |
-*) { $as_echo "$as_me: error: unrecognized option: $1 |
Try \`$0 --help' for more information." >&2 |
Try \`$0 --help' for more information." >&2 |
{ (exit 1); exit 1; }; } ;; |
{ (exit 1); exit 1; }; } ;; |
|
|
Line 4332 if $ac_cs_silent; then |
|
Line 5711 if $ac_cs_silent; then |
|
fi |
fi |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
CONFIG_SHELL=$SHELL |
shift |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
CONFIG_SHELL='$SHELL' |
export CONFIG_SHELL |
export CONFIG_SHELL |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
exec "\$@" |
fi |
fi |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
exec 5>>config.log |
exec 5>>config.log |
{ |
{ |
echo |
echo |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
## Running $as_me. ## |
## Running $as_me. ## |
_ASBOX |
_ASBOX |
echo "$ac_log" |
$as_echo "$ac_log" |
} >&5 |
} >&5 |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
# Handling of arguments. |
# Handling of arguments. |
for ac_config_target in $ac_config_targets |
for ac_config_target in $ac_config_targets |
|
|
case $ac_config_target in |
case $ac_config_target in |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
{ (exit 1); exit 1; }; };; |
{ (exit 1); exit 1; }; };; |
esac |
esac |
done |
done |
|
|
(umask 077 && mkdir "$tmp") |
(umask 077 && mkdir "$tmp") |
} || |
} || |
{ |
{ |
echo "$me: cannot create a temporary directory in ." >&2 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2 |
{ (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
} |
} |
|
|
# |
# Set up the scripts for CONFIG_FILES section. |
# Set up the sed scripts for CONFIG_FILES section. |
# No need to generate them if there are no CONFIG_FILES. |
# |
# This happens for instance with `./config.status config.h'. |
|
|
# No need to generate the scripts if there are no CONFIG_FILES. |
|
# This happens for instance when ./config.status config.h |
|
if test -n "$CONFIG_FILES"; then |
if test -n "$CONFIG_FILES"; then |
|
|
_ACEOF |
|
|
|
|
ac_cr='
' |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
ac_cs_awk_cr='\\r' |
|
else |
|
ac_cs_awk_cr=$ac_cr |
|
fi |
|
|
|
echo 'BEGIN {' >"$tmp/subs1.awk" && |
|
_ACEOF |
|
|
|
|
|
{ |
|
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
echo "_ACEOF" |
|
} >conf$$subs.sh || |
|
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
ac_delim='%!_!# ' |
ac_delim='%!_!# ' |
for ac_last_try in false false false false false :; do |
for ac_last_try in false false false false false :; do |
cat >conf$$subs.sed <<_ACEOF |
. ./conf$$subs.sh || |
SHELL!$SHELL$ac_delim |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
{ (exit 1); exit 1; }; } |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
|
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
|
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
|
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
|
exec_prefix!$exec_prefix$ac_delim |
|
prefix!$prefix$ac_delim |
|
program_transform_name!$program_transform_name$ac_delim |
|
bindir!$bindir$ac_delim |
|
sbindir!$sbindir$ac_delim |
|
libexecdir!$libexecdir$ac_delim |
|
datarootdir!$datarootdir$ac_delim |
|
datadir!$datadir$ac_delim |
|
sysconfdir!$sysconfdir$ac_delim |
|
sharedstatedir!$sharedstatedir$ac_delim |
|
localstatedir!$localstatedir$ac_delim |
|
includedir!$includedir$ac_delim |
|
oldincludedir!$oldincludedir$ac_delim |
|
docdir!$docdir$ac_delim |
|
infodir!$infodir$ac_delim |
|
htmldir!$htmldir$ac_delim |
|
dvidir!$dvidir$ac_delim |
|
pdfdir!$pdfdir$ac_delim |
|
psdir!$psdir$ac_delim |
|
libdir!$libdir$ac_delim |
|
localedir!$localedir$ac_delim |
|
mandir!$mandir$ac_delim |
|
DEFS!$DEFS$ac_delim |
|
ECHO_C!$ECHO_C$ac_delim |
|
ECHO_N!$ECHO_N$ac_delim |
|
ECHO_T!$ECHO_T$ac_delim |
|
LIBS!$LIBS$ac_delim |
|
build_alias!$build_alias$ac_delim |
|
host_alias!$host_alias$ac_delim |
|
target_alias!$target_alias$ac_delim |
|
CC!$CC$ac_delim |
|
CFLAGS!$CFLAGS$ac_delim |
|
LDFLAGS!$LDFLAGS$ac_delim |
|
CPPFLAGS!$CPPFLAGS$ac_delim |
|
ac_ct_CC!$ac_ct_CC$ac_delim |
|
EXEEXT!$EXEEXT$ac_delim |
|
OBJEXT!$OBJEXT$ac_delim |
|
RANLIB!$RANLIB$ac_delim |
|
MYTARGET!$MYTARGET$ac_delim |
|
CPP!$CPP$ac_delim |
|
GREP!$GREP$ac_delim |
|
EGREP!$EGREP$ac_delim |
|
MYTARGET2!$MYTARGET2$ac_delim |
|
build!$build$ac_delim |
|
build_cpu!$build_cpu$ac_delim |
|
build_vendor!$build_vendor$ac_delim |
|
build_os!$build_os$ac_delim |
|
host!$host$ac_delim |
|
host_cpu!$host_cpu$ac_delim |
|
host_vendor!$host_vendor$ac_delim |
|
host_os!$host_os$ac_delim |
|
target!$target$ac_delim |
|
target_cpu!$target_cpu$ac_delim |
|
target_vendor!$target_vendor$ac_delim |
|
target_os!$target_os$ac_delim |
|
CFLAG2!$CFLAG2$ac_delim |
|
LFLAG2!$LFLAG2$ac_delim |
|
LIBOBJS!$LIBOBJS$ac_delim |
|
LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
_ACEOF |
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then |
break |
break |
elif $ac_last_try; then |
elif $ac_last_try; then |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
else |
else |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
fi |
fi |
done |
done |
|
rm -f conf$$subs.sh |
|
|
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
if test -n "$ac_eof"; then |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
_ACEOF |
ac_eof=`expr $ac_eof + 1` |
sed -n ' |
fi |
h |
|
s/^/S["/; s/!.*/"]=/ |
|
p |
|
g |
|
s/^[^!]*!// |
|
:repl |
|
t repl |
|
s/'"$ac_delim"'$// |
|
t delim |
|
:nl |
|
h |
|
s/\(.\{148\}\).*/\1/ |
|
t more1 |
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
p |
|
n |
|
b repl |
|
:more1 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
p |
|
g |
|
s/.\{148\}// |
|
t nl |
|
:delim |
|
h |
|
s/\(.\{148\}\).*/\1/ |
|
t more2 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
p |
|
b |
|
:more2 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
p |
|
g |
|
s/.\{148\}// |
|
t delim |
|
' <conf$$subs.awk | sed ' |
|
/^[^""]/{ |
|
N |
|
s/\n// |
|
} |
|
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
rm -f conf$$subs.awk |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
_ACAWK |
|
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
|
for (key in S) S_is_set[key] = 1 |
|
FS = "" |
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
} |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
{ |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
line = $ 0 |
|
nfields = split(line, field, "@") |
|
substed = 0 |
|
len = length(field[1]) |
|
for (i = 2; i < nfields; i++) { |
|
key = field[i] |
|
keylen = length(key) |
|
if (S_is_set[key]) { |
|
value = S[key] |
|
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
len += length(value) + length(field[++i]) |
|
substed = 1 |
|
} else |
|
len += 1 + keylen |
|
} |
|
|
|
print line |
|
} |
|
|
|
_ACAWK |
_ACEOF |
_ACEOF |
sed ' |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
s/^/s,@/; s/!/@,|#_!!_#|/ |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
:n |
else |
t n |
cat |
s/'"$ac_delim"'$/,g/; t |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
s/$/\\/; p |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
' >>$CONFIG_STATUS <conf$$subs.sed |
{ (exit 1); exit 1; }; } |
rm -f conf$$subs.sed |
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
:end |
|
s/|#_!!_#|//g |
|
CEOF$ac_eof |
|
_ACEOF |
_ACEOF |
|
|
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
# trailing colons and then remove the whole line if VPATH becomes empty |
# trailing colons and then remove the whole line if VPATH becomes empty |
Line 4543 s/^[^=]*=[ ]*$// |
|
Line 5936 s/^[^=]*=[ ]*$// |
|
}' |
}' |
fi |
fi |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
fi # test -n "$CONFIG_FILES" |
fi # test -n "$CONFIG_FILES" |
|
|
|
|
for ac_tag in :F $CONFIG_FILES |
eval set X " :F $CONFIG_FILES " |
|
shift |
|
for ac_tag |
do |
do |
case $ac_tag in |
case $ac_tag in |
:[FHLC]) ac_mode=$ac_tag; continue;; |
:[FHLC]) ac_mode=$ac_tag; continue;; |
esac |
esac |
case $ac_mode$ac_tag in |
case $ac_mode$ac_tag in |
:[FHL]*:*);; |
:[FHL]*:*);; |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
{ (exit 1); exit 1; }; };; |
{ (exit 1); exit 1; }; };; |
:[FH]-) ac_tag=-:-;; |
:[FH]-) ac_tag=-:-;; |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
Line 4584 echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|
Line 5979 echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|
[\\/$]*) false;; |
[\\/$]*) false;; |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
esac || |
esac || |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
{ (exit 1); exit 1; }; };; |
{ (exit 1); exit 1; }; };; |
esac |
esac |
ac_file_inputs="$ac_file_inputs $ac_f" |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
ac_file_inputs="$ac_file_inputs '$ac_f'" |
done |
done |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# use $as_me), people would be surprised to read: |
# use $as_me), people would be surprised to read: |
# /* config.h. Generated by config.status. */ |
# /* config.h. Generated by config.status. */ |
configure_input="Generated from "`IFS=: |
configure_input='Generated from '` |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
`' by configure.' |
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
configure_input="$ac_file. $configure_input" |
configure_input="$ac_file. $configure_input" |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
echo "$as_me: creating $ac_file" >&6;} |
$as_echo "$as_me: creating $ac_file" >&6;} |
fi |
fi |
|
# Neutralize special characters interpreted by sed in replacement strings. |
|
case $configure_input in #( |
|
*\&* | *\|* | *\\* ) |
|
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
*) ac_sed_conf_input=$configure_input;; |
|
esac |
|
|
case $ac_tag in |
case $ac_tag in |
*:-:* | *:-) cat >"$tmp/stdin";; |
*:-:* | *:-) cat >"$tmp/stdin" \ |
|
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
{ (exit 1); exit 1; }; } ;; |
esac |
esac |
;; |
;; |
esac |
esac |
Line 4613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| |
|
Line 6020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
echo X"$ac_file" | |
$as_echo X"$ac_file" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
Line 4639 echo X"$ac_file" | |
|
Line 6046 echo X"$ac_file" | |
|
as_dirs= |
as_dirs= |
while :; do |
while :; do |
case $as_dir in #( |
case $as_dir in #( |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
*) as_qdir=$as_dir;; |
*) as_qdir=$as_dir;; |
esac |
esac |
as_dirs="'$as_qdir' $as_dirs" |
as_dirs="'$as_qdir' $as_dirs" |
Line 4648 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| |
|
Line 6055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
echo X"$as_dir" | |
$as_echo X"$as_dir" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
Line 4669 echo X"$as_dir" | |
|
Line 6076 echo X"$as_dir" | |
|
test -d "$as_dir" && break |
test -d "$as_dir" && break |
done |
done |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
echo "$as_me: error: cannot create directory $as_dir" >&2;} |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
{ (exit 1); exit 1; }; }; } |
{ (exit 1); exit 1; }; }; } |
ac_builddir=. |
ac_builddir=. |
|
|
case "$ac_dir" in |
case "$ac_dir" in |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
*) |
*) |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
# A ".." for each directory in $ac_dir_suffix. |
# A ".." for each directory in $ac_dir_suffix. |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
case $ac_top_builddir_sub in |
case $ac_top_builddir_sub in |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
Line 4713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
Line 6120 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
# CONFIG_FILE |
# CONFIG_FILE |
# |
# |
|
|
|
case $INSTALL in |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
esac |
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
# If the template does not know about datarootdir, expand it. |
# If the template does not know about datarootdir, expand it. |
# FIXME: This hack should be removed a few years after 2.60. |
# FIXME: This hack should be removed a few years after 2.60. |
ac_datarootdir_hack=; ac_datarootdir_seen= |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
|
case `sed -n '/datarootdir/ { |
ac_sed_dataroot=' |
|
/datarootdir/ { |
p |
p |
q |
q |
} |
} |
Line 4729 case `sed -n '/datarootdir/ { |
|
Line 6141 case `sed -n '/datarootdir/ { |
|
/@infodir@/p |
/@infodir@/p |
/@localedir@/p |
/@localedir@/p |
/@mandir@/p |
/@mandir@/p |
' $ac_file_inputs` in |
' |
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
*datarootdir*) ac_datarootdir_seen=yes;; |
*datarootdir*) ac_datarootdir_seen=yes;; |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_datarootdir_hack=' |
ac_datarootdir_hack=' |
s&@datadir@&$datadir&g |
s&@datadir@&$datadir&g |
s&@docdir@&$docdir&g |
s&@docdir@&$docdir&g |
|
|
# Neutralize VPATH when `$srcdir' = `.'. |
# Neutralize VPATH when `$srcdir' = `.'. |
# Shell code in configure.ac might set extrasub. |
# Shell code in configure.ac might set extrasub. |
# FIXME: do we really want to maintain this feature? |
# FIXME: do we really want to maintain this feature? |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
sed "$ac_vpsub |
ac_sed_extra="$ac_vpsub |
$extrasub |
$extrasub |
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
:t |
:t |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
s&@configure_input@&$configure_input&;t t |
s|@configure_input@|$ac_sed_conf_input|;t t |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
s&@srcdir@&$ac_srcdir&;t t |
s&@srcdir@&$ac_srcdir&;t t |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
s&@top_srcdir@&$ac_top_srcdir&;t t |
s&@top_srcdir@&$ac_top_srcdir&;t t |
Line 4765 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
Line 6179 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
s&@builddir@&$ac_builddir&;t t |
s&@builddir@&$ac_builddir&;t t |
s&@abs_builddir@&$ac_abs_builddir&;t t |
s&@abs_builddir@&$ac_abs_builddir&;t t |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
s&@INSTALL@&$ac_INSTALL&;t t |
$ac_datarootdir_hack |
$ac_datarootdir_hack |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
" |
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
|
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
which seems to be undefined. Please make sure it is defined." >&5 |
which seems to be undefined. Please make sure it is defined." >&5 |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
which seems to be undefined. Please make sure it is defined." >&2;} |
which seems to be undefined. Please make sure it is defined." >&2;} |
|
|
rm -f "$tmp/stdin" |
rm -f "$tmp/stdin" |
case $ac_file in |
case $ac_file in |
-) cat "$tmp/out"; rm -f "$tmp/out";; |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
esac |
esac \ |
|
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|
$as_echo "$as_me: error: could not create $ac_file" >&2;} |
|
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
|
|
|
|
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |
ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
|
|
|
test $ac_write_fail = 0 || |
|
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
|
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
|
# configure is writing to config.log, and then calls config.status. |
# configure is writing to config.log, and then calls config.status. |
# config.status does its own redirection, appending to config.log. |
# config.status does its own redirection, appending to config.log. |
# Unfortunately, on DOS this fails, as config.log is still kept open |
# Unfortunately, on DOS this fails, as config.log is still kept open |
Line 4815 if test "$no_create" != yes; then |
|
Line 6242 if test "$no_create" != yes; then |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# would make configure fail if this is the last instruction. |
# would make configure fail if this is the last instruction. |
$ac_cs_success || { (exit 1); exit 1; } |
$ac_cs_success || { (exit 1); exit 1; } |
|
fi |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
{ $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
|
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
fi |
fi |
|
|