annotate lib/swig/swigwin-2.0.11/CCache/configure @ 1899:b3009adc0e2f

Adding swig, gitignore, hgignore
author Nomad
date Mon, 21 Oct 2013 10:42:27 +0200
parents
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 #! /bin/sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 # Generated by GNU Autoconf 2.68 for ccache-swig 0.0.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 # Foundation, Inc.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11 # This configure script is free software; the Free Software Foundation
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12 # gives unlimited permission to copy, distribute and modify it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13 ## -------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14 ## M4sh Initialization. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 ## -------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 # Be more Bourne compatible
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 DUALCASE=1; export DUALCASE # for MKS sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 emulate sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 NULLCMD=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
23 # is contrary to our usage. Disable this feature.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
24 alias -g '${1+"$@"}'='"$@"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
25 setopt NO_GLOB_SUBST
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
26 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
27 case `(set -o) 2>/dev/null` in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
28 *posix*) :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
29 set -o posix ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
30 *) :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
31 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
32 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
33 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
34
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
35
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
36 as_nl='
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
37 '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
38 export as_nl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
44 # but without wasting forks for bash or zsh.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
47 as_echo='print -r --'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
48 as_echo_n='print -rn --'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
50 as_echo='printf %s\n'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
51 as_echo_n='printf %s'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
52 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
55 as_echo_n='/usr/ucb/echo -n'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
56 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
58 as_echo_n_body='eval
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
59 arg=$1;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
60 case $arg in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
61 *"$as_nl"*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
62 expr "X$arg" : "X\\(.*\\)$as_nl";
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
64 esac;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
66 '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
67 export as_echo_n_body
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
68 as_echo_n='sh -c $as_echo_n_body as_echo'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
69 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
70 export as_echo_body
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
71 as_echo='sh -c $as_echo_body as_echo'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
72 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
73
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
74 # The user is always right.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
75 if test "${PATH_SEPARATOR+set}" != set; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
76 PATH_SEPARATOR=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
79 PATH_SEPARATOR=';'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
80 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
81 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
82
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
83
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
84 # IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
85 # We need space, tab and new line, in precisely that order. Quoting is
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
86 # there to prevent editors from complaining about space-tab.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
88 # splitting by setting IFS to empty value.)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
89 IFS=" "" $as_nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
90
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
91 # Find who we are. Look in the path if we contain no directory separator.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
92 as_myself=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
93 case $0 in #((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
94 *[\\/]* ) as_myself=$0 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
96 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
97 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
98 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
99 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
101 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
102 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
103
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
104 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
105 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
107 # in which case we are not to be found in the path.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
108 if test "x$as_myself" = x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
109 as_myself=$0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
110 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
111 if test ! -f "$as_myself"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
113 exit 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
114 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
115
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
116 # Unset variables that we do not need and which cause bugs (e.g. in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
118 # suppresses any "Segmentation fault" message there. '((' could
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
119 # trigger a bug in pdksh 5.2.14.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
120 for as_var in BASH_ENV ENV MAIL MAILPATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
121 do eval test x\${$as_var+set} = xset \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
123 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
124 PS1='$ '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
125 PS2='> '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
126 PS4='+ '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
127
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
128 # NLS nuisances.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
129 LC_ALL=C
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
130 export LC_ALL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
131 LANGUAGE=C
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
132 export LANGUAGE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
133
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
134 # CDPATH.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
136
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
137 if test "x$CONFIG_SHELL" = x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
139 emulate sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
140 NULLCMD=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
142 # is contrary to our usage. Disable this feature.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
144 setopt NO_GLOB_SUBST
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
145 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
146 case \`(set -o) 2>/dev/null\` in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
147 *posix*) :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
148 set -o posix ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
149 *) :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
150 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
151 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
152 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
153 "
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
154 as_required="as_fn_return () { (exit \$1); }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
155 as_fn_success () { as_fn_return 0; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
156 as_fn_failure () { as_fn_return 1; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
157 as_fn_ret_success () { return 0; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
158 as_fn_ret_failure () { return 1; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
159
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
160 exitcode=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
166
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
167 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
168 exitcode=1; echo positional parameters were not saved.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
169 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
170 test x\$exitcode = x0 || exit 1"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
175 test \$(( 1 + 1 )) = 2 || exit 1"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
176 if (eval "$as_required") 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
177 as_have_required=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
178 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
179 as_have_required=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
180 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
182
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
183 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
185 as_found=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
187 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
188 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
189 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
190 as_found=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
191 case $as_dir in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
192 /*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
193 for as_base in sh bash ksh sh5; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
194 # Try only shells that exist, to save several forks.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
195 as_shell=$as_dir/$as_base
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
198 CONFIG_SHELL=$as_shell as_have_required=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
200 break 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
201 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
202 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
203 done;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
204 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
205 as_found=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
206 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
209 CONFIG_SHELL=$SHELL as_have_required=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
210 fi; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
211 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
212
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
213
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
214 if test "x$CONFIG_SHELL" != x; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
215 # We cannot yet assume a decent shell, so we have to provide a
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
216 # neutralization value for shells without unset; and this also
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
217 # works around shells that cannot unset nonexistent variables.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
218 # Preserve -v and -x to the replacement shell.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
219 BASH_ENV=/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
220 ENV=/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
222 export CONFIG_SHELL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
223 case $- in # ((((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
224 *v*x* | *x*v* ) as_opts=-vx ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
225 *v* ) as_opts=-v ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
226 *x* ) as_opts=-x ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
227 * ) as_opts= ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
228 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
230 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
231
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
232 if test x$as_have_required = xno; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
233 $as_echo "$0: This script requires a shell more modern than all"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
234 $as_echo "$0: the shells that I found on your system."
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
235 if test x${ZSH_VERSION+set} = xset ; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
238 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
240 $0: including any error possibly output before this
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
241 $0: message. Then install a modern shell, or manually run
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
242 $0: the script under such a shell if you do have one."
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
243 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
244 exit 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
245 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
246 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
247 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
248 SHELL=${CONFIG_SHELL-/bin/sh}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
249 export SHELL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
250 # Unset more variables known to interfere with behavior of common tools.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
251 CLICOLOR_FORCE= GREP_OPTIONS=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
252 unset CLICOLOR_FORCE GREP_OPTIONS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
253
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
254 ## --------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
255 ## M4sh Shell Functions. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
256 ## --------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
257 # as_fn_unset VAR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
258 # ---------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
259 # Portably unset VAR.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
260 as_fn_unset ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
261 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
262 { eval $1=; unset $1;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
263 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
264 as_unset=as_fn_unset
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
265
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
266 # as_fn_set_status STATUS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
267 # -----------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
268 # Set $? to STATUS, without forking.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
269 as_fn_set_status ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
270 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
271 return $1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
272 } # as_fn_set_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
273
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
274 # as_fn_exit STATUS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
275 # -----------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
277 as_fn_exit ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
278 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
279 set +e
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
280 as_fn_set_status $1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
281 exit $1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
282 } # as_fn_exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
283
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
284 # as_fn_mkdir_p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
285 # -------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
286 # Create "$as_dir" as a directory, including parents if necessary.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
287 as_fn_mkdir_p ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
288 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
289
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
290 case $as_dir in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
291 -*) as_dir=./$as_dir;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
292 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
293 test -d "$as_dir" || eval $as_mkdir_p || {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
294 as_dirs=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
295 while :; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
296 case $as_dir in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
298 *) as_qdir=$as_dir;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
299 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
300 as_dirs="'$as_qdir' $as_dirs"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
301 as_dir=`$as_dirname -- "$as_dir" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
303 X"$as_dir" : 'X\(//\)[^/]' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
304 X"$as_dir" : 'X\(//\)$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
306 $as_echo X"$as_dir" |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
308 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
309 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
310 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
311 /^X\(\/\/\)[^/].*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
312 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
313 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
314 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
315 /^X\(\/\/\)$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
316 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
317 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
318 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
319 /^X\(\/\).*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
320 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
321 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
322 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
323 s/.*/./; q'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
324 test -d "$as_dir" && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
325 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
328
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
329
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
330 } # as_fn_mkdir_p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
331 # as_fn_append VAR VALUE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
332 # ----------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
334 # advantage of any shell optimizations that allow amortized linear growth over
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
335 # repeated appends, instead of the typical quadratic growth present in naive
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
336 # implementations.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
338 eval 'as_fn_append ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
339 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
340 eval $1+=\$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
341 }'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
342 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
343 as_fn_append ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
344 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
345 eval $1=\$$1\$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
346 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
347 fi # as_fn_append
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
348
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
349 # as_fn_arith ARG...
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
350 # ------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
353 # must be portable across $(()) and expr.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
355 eval 'as_fn_arith ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
356 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
357 as_val=$(( $* ))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
358 }'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
359 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
360 as_fn_arith ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
361 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
362 as_val=`expr "$@" || test $? -eq 1`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
363 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
364 fi # as_fn_arith
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
365
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
366
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
368 # ----------------------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
371 # script with STATUS, using 1 if that was 0.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
372 as_fn_error ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
373 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
374 as_status=$1; test $as_status -eq 0 && as_status=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
375 if test "$4"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
378 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
379 $as_echo "$as_me: error: $2" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
380 as_fn_exit $as_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
381 } # as_fn_error
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
382
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
385 as_expr=expr
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
386 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
387 as_expr=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
388 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
389
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
391 as_basename=basename
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
392 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
393 as_basename=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
394 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
395
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
397 as_dirname=dirname
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
398 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
399 as_dirname=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
400 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
401
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
402 as_me=`$as_basename -- "$0" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
404 X"$0" : 'X\(//\)$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
406 $as_echo X/"$0" |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
408 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
409 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
410 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
411 /^X\/\(\/\/\)$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
412 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
413 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
414 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
415 /^X\/\(\/\).*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
416 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
417 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
418 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
419 s/.*/./; q'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
420
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
421 # Avoid depending upon Character Ranges.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
425 as_cr_digits='0123456789'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
427
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
428
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
434 sed -n '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
435 p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
436 /[$]LINENO/=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
437 ' <$as_myself |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
438 sed '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
439 s/[$]LINENO.*/&-/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
440 t lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
441 b
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
442 :lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
443 N
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
444 :loop
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
446 t loop
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
447 s/-\n.*//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
448 ' >$as_me.lineno &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
449 chmod +x "$as_me.lineno" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
451
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
452 # Don't try to exec as it changes $[0], causing all sort of problems
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
453 # (the dirname of $[0] is not the place where we might find the
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
454 # original and so on. Autoconf is especially sensitive to this).
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
455 . "./$as_me.lineno"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
456 # Exit status is that of the last command.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
457 exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
458 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
459
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
460 ECHO_C= ECHO_N= ECHO_T=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
461 case `echo -n x` in #(((((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
462 -n*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
463 case `echo 'xy\c'` in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
465 xy) ECHO_C='\c';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
467 ECHO_T=' ';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
468 esac;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
469 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
470 ECHO_N='-n';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
471 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
472
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
473 rm -f conf$$ conf$$.exe conf$$.file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
474 if test -d conf$$.dir; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
475 rm -f conf$$.dir/conf$$.file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
476 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
477 rm -f conf$$.dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
478 mkdir conf$$.dir 2>/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
479 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
480 if (echo >conf$$.file) 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
482 as_ln_s='ln -s'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
483 # ... but there are two gotchas:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
486 # In both cases, we have to default to `cp -p'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
488 as_ln_s='cp -p'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
489 elif ln conf$$.file conf$$ 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
490 as_ln_s=ln
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
491 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
492 as_ln_s='cp -p'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
493 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
494 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
495 as_ln_s='cp -p'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
496 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
498 rmdir conf$$.dir 2>/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
499
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
500 if mkdir -p . 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
501 as_mkdir_p='mkdir -p "$as_dir"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
502 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
503 test -d ./-p && rmdir ./-p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
504 as_mkdir_p=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
505 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
506
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
507 if test -x / >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
508 as_test_x='test -x'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
509 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
510 if ls -dL / >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
511 as_ls_L_option=L
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
512 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
513 as_ls_L_option=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
514 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
515 as_test_x='
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
516 eval sh -c '\''
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
517 if test -d "$1"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
518 test -d "$1/.";
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
519 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
520 case $1 in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
521 -*)set "./$1";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
522 esac;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
524 ???[sx]*):;;*)false;;esac;fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
525 '\'' sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
526 '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
527 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
528 as_executable_p=$as_test_x
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
529
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
530 # Sed expression to map a string onto a valid CPP name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
532
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
533 # Sed expression to map a string onto a valid variable name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
535
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
536
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
537 test -n "$DJDIR" || exec 7<&0 </dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
538 exec 6>&1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
539
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
540 # Name of the host.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
542 # so uname gets run too.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
544
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
545 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
546 # Initializations.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
547 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
548 ac_default_prefix=/usr/local
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
549 ac_clean_files=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
550 ac_config_libobj_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
551 LIBOBJS=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
552 cross_compiling=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
553 subdirs=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
554 MFLAGS=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
555 MAKEFLAGS=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
556
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
557 # Identity of this package.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
558 PACKAGE_NAME='ccache-swig'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
559 PACKAGE_TARNAME='ccache-swig'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
560 PACKAGE_VERSION='0.0'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
561 PACKAGE_STRING='ccache-swig 0.0'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
562 PACKAGE_BUGREPORT=''
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
563 PACKAGE_URL=''
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
564
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
565 ac_unique_file="ccache.h"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
566 # Factoring default headers for most tests.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
567 ac_includes_default="\
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
568 #include <stdio.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
569 #ifdef HAVE_SYS_TYPES_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
570 # include <sys/types.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
571 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
572 #ifdef HAVE_SYS_STAT_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
573 # include <sys/stat.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
574 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
575 #ifdef STDC_HEADERS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
576 # include <stdlib.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
577 # include <stddef.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
578 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
579 # ifdef HAVE_STDLIB_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
580 # include <stdlib.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
581 # endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
582 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
583 #ifdef HAVE_STRING_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
585 # include <memory.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
586 # endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
587 # include <string.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
588 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
589 #ifdef HAVE_STRINGS_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
590 # include <strings.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
591 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
592 #ifdef HAVE_INTTYPES_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
593 # include <inttypes.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
594 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
595 #ifdef HAVE_STDINT_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
596 # include <stdint.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
597 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
598 #ifdef HAVE_UNISTD_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
599 # include <unistd.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
600 #endif"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
601
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
602 ac_subst_vars='LTLIBOBJS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
603 LIBOBJS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
604 EGREP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
605 GREP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
606 INSTALL_DATA
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
607 INSTALL_SCRIPT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
608 INSTALL_PROGRAM
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
609 CPP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
610 OBJEXT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
611 EXEEXT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
612 ac_ct_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
613 CPPFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
614 LDFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
615 CFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
616 CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
617 target_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
618 host_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
619 build_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
620 LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
621 ECHO_T
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
622 ECHO_N
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
623 ECHO_C
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
624 DEFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
625 mandir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
626 localedir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
627 libdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
628 psdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
629 pdfdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
630 dvidir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
631 htmldir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
632 infodir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
633 docdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
634 oldincludedir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
635 includedir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
636 localstatedir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
637 sharedstatedir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
638 sysconfdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
639 datadir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
640 datarootdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
641 libexecdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
642 sbindir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
643 bindir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
644 program_transform_name
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
645 prefix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
646 exec_prefix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
647 PACKAGE_URL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
648 PACKAGE_BUGREPORT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
649 PACKAGE_STRING
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
650 PACKAGE_VERSION
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
651 PACKAGE_TARNAME
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
652 PACKAGE_NAME
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
653 PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
654 SHELL'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
655 ac_subst_files=''
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
656 ac_user_opts='
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
657 enable_option_checking
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
658 enable_zlib
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
659 '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
660 ac_precious_vars='build_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
661 host_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
662 target_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
663 CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
664 CFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
665 LDFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
666 LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
667 CPPFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
668 CPP'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
669
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
670
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
671 # Initialize some variables set by options.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
672 ac_init_help=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
673 ac_init_version=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
674 ac_unrecognized_opts=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
675 ac_unrecognized_sep=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
676 # The variables have the same names as the options, with
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
677 # dashes changed to underlines.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
678 cache_file=/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
679 exec_prefix=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
680 no_create=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
681 no_recursion=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
682 prefix=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
683 program_prefix=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
684 program_suffix=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
685 program_transform_name=s,x,x,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
686 silent=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
687 site=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
688 srcdir=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
689 verbose=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
690 x_includes=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
691 x_libraries=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
692
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
693 # Installation directory options.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
694 # These are left unexpanded so users can "make install exec_prefix=/foo"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
695 # and all the variables that are supposed to be based on exec_prefix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
696 # by default will actually change.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
697 # Use braces instead of parens because sh, perl, etc. also accept them.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
698 # (The list follows the same order as the GNU Coding Standards.)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
699 bindir='${exec_prefix}/bin'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
700 sbindir='${exec_prefix}/sbin'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
701 libexecdir='${exec_prefix}/libexec'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
702 datarootdir='${prefix}/share'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
703 datadir='${datarootdir}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
704 sysconfdir='${prefix}/etc'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
705 sharedstatedir='${prefix}/com'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
706 localstatedir='${prefix}/var'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
707 includedir='${prefix}/include'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
708 oldincludedir='/usr/include'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
709 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
710 infodir='${datarootdir}/info'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
711 htmldir='${docdir}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
712 dvidir='${docdir}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
713 pdfdir='${docdir}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
714 psdir='${docdir}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
715 libdir='${exec_prefix}/lib'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
716 localedir='${datarootdir}/locale'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
717 mandir='${datarootdir}/man'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
718
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
719 ac_prev=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
720 ac_dashdash=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
721 for ac_option
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
722 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
723 # If the previous option needs an argument, assign it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
724 if test -n "$ac_prev"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
725 eval $ac_prev=\$ac_option
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
726 ac_prev=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
727 continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
728 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
729
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
730 case $ac_option in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
731 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
732 *=) ac_optarg= ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
733 *) ac_optarg=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
734 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
735
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
736 # Accept the important Cygnus configure options, so we can diagnose typos.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
737
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
738 case $ac_dashdash$ac_option in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
739 --)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
740 ac_dashdash=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
741
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
743 ac_prev=bindir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
745 bindir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
746
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
747 -build | --build | --buil | --bui | --bu)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
748 ac_prev=build_alias ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
750 build_alias=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
751
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
752 -cache-file | --cache-file | --cache-fil | --cache-fi \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
753 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
754 ac_prev=cache_file ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
755 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
756 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
757 cache_file=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
758
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
759 --config-cache | -C)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
760 cache_file=config.cache ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
761
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
762 -datadir | --datadir | --datadi | --datad)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
763 ac_prev=datadir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
765 datadir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
766
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
767 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
768 | --dataroo | --dataro | --datar)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
769 ac_prev=datarootdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
770 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
771 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
772 datarootdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
773
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
774 -disable-* | --disable-*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
775 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
776 # Reject names that are not valid shell variable names.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
778 as_fn_error $? "invalid feature name: $ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
779 ac_useropt_orig=$ac_useropt
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
781 case $ac_user_opts in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
782 *"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
783 "enable_$ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
784 "*) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
786 ac_unrecognized_sep=', ';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
787 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
788 eval enable_$ac_useropt=no ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
789
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
790 -docdir | --docdir | --docdi | --doc | --do)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
791 ac_prev=docdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
792 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
793 docdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
794
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
795 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
796 ac_prev=dvidir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
797 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
798 dvidir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
799
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
800 -enable-* | --enable-*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
801 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
802 # Reject names that are not valid shell variable names.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
804 as_fn_error $? "invalid feature name: $ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
805 ac_useropt_orig=$ac_useropt
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
807 case $ac_user_opts in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
808 *"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
809 "enable_$ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
810 "*) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
812 ac_unrecognized_sep=', ';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
813 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
814 eval enable_$ac_useropt=\$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
815
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
816 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
817 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
818 | --exec | --exe | --ex)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
819 ac_prev=exec_prefix ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
820 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
821 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
822 | --exec=* | --exe=* | --ex=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
823 exec_prefix=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
824
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
825 -gas | --gas | --ga | --g)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
826 # Obsolete; use --with-gas.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
827 with_gas=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
828
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
829 -help | --help | --hel | --he | -h)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
830 ac_init_help=long ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
831 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
832 ac_init_help=recursive ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
833 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
834 ac_init_help=short ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
835
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
836 -host | --host | --hos | --ho)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
837 ac_prev=host_alias ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
838 -host=* | --host=* | --hos=* | --ho=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
839 host_alias=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
840
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
841 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
842 ac_prev=htmldir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
843 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
844 | --ht=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
845 htmldir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
846
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
847 -includedir | --includedir | --includedi | --included | --include \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
848 | --includ | --inclu | --incl | --inc)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
849 ac_prev=includedir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
850 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
851 | --includ=* | --inclu=* | --incl=* | --inc=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
852 includedir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
853
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
854 -infodir | --infodir | --infodi | --infod | --info | --inf)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
855 ac_prev=infodir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
857 infodir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
858
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
859 -libdir | --libdir | --libdi | --libd)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
860 ac_prev=libdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
861 -libdir=* | --libdir=* | --libdi=* | --libd=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
862 libdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
863
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
864 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
865 | --libexe | --libex | --libe)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
866 ac_prev=libexecdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
867 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
868 | --libexe=* | --libex=* | --libe=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
869 libexecdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
870
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
871 -localedir | --localedir | --localedi | --localed | --locale)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
872 ac_prev=localedir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
873 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
874 localedir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
875
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
876 -localstatedir | --localstatedir | --localstatedi | --localstated \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
877 | --localstate | --localstat | --localsta | --localst | --locals)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
878 ac_prev=localstatedir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
879 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
880 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
881 localstatedir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
882
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
884 ac_prev=mandir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
886 mandir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
887
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
888 -nfp | --nfp | --nf)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
889 # Obsolete; use --without-fp.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
890 with_fp=no ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
891
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
892 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
893 | --no-cr | --no-c | -n)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
894 no_create=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
895
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
896 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
897 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
898 no_recursion=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
900 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
901 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
902 | --oldin | --oldi | --old | --ol | --o)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
903 ac_prev=oldincludedir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
904 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
905 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
906 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
907 oldincludedir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
908
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
910 ac_prev=prefix ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
912 prefix=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
913
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
914 -program-prefix | --program-prefix | --program-prefi | --program-pref \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
915 | --program-pre | --program-pr | --program-p)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
916 ac_prev=program_prefix ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
917 -program-prefix=* | --program-prefix=* | --program-prefi=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
918 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
919 program_prefix=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
920
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
921 -program-suffix | --program-suffix | --program-suffi | --program-suff \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
922 | --program-suf | --program-su | --program-s)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
923 ac_prev=program_suffix ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
924 -program-suffix=* | --program-suffix=* | --program-suffi=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
925 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
926 program_suffix=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
927
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
928 -program-transform-name | --program-transform-name \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
929 | --program-transform-nam | --program-transform-na \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
930 | --program-transform-n | --program-transform- \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
931 | --program-transform | --program-transfor \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
932 | --program-transfo | --program-transf \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
933 | --program-trans | --program-tran \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
934 | --progr-tra | --program-tr | --program-t)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
935 ac_prev=program_transform_name ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
936 -program-transform-name=* | --program-transform-name=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
937 | --program-transform-nam=* | --program-transform-na=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
938 | --program-transform-n=* | --program-transform-=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
939 | --program-transform=* | --program-transfor=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
940 | --program-transfo=* | --program-transf=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
941 | --program-trans=* | --program-tran=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
942 | --progr-tra=* | --program-tr=* | --program-t=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
943 program_transform_name=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
944
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
945 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
946 ac_prev=pdfdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
947 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
948 pdfdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
949
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
950 -psdir | --psdir | --psdi | --psd | --ps)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
951 ac_prev=psdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
952 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
953 psdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
954
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
956 | -silent | --silent | --silen | --sile | --sil)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
957 silent=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
958
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
959 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
960 ac_prev=sbindir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
961 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
962 | --sbi=* | --sb=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
963 sbindir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
964
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
965 -sharedstatedir | --sharedstatedir | --sharedstatedi \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
966 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
967 | --sharedst | --shareds | --shared | --share | --shar \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
968 | --sha | --sh)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
969 ac_prev=sharedstatedir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
970 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
971 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
972 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
973 | --sha=* | --sh=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
974 sharedstatedir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
975
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
976 -site | --site | --sit)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
977 ac_prev=site ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
978 -site=* | --site=* | --sit=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
979 site=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
980
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
981 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
982 ac_prev=srcdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
983 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
984 srcdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
985
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
986 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
987 | --syscon | --sysco | --sysc | --sys | --sy)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
988 ac_prev=sysconfdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
989 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
990 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
991 sysconfdir=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
992
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
993 -target | --target | --targe | --targ | --tar | --ta | --t)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
994 ac_prev=target_alias ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
995 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
996 target_alias=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
997
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
998 -v | -verbose | --verbose | --verbos | --verbo | --verb)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
999 verbose=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1000
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1001 -version | --version | --versio | --versi | --vers | -V)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1002 ac_init_version=: ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1003
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1004 -with-* | --with-*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1005 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1006 # Reject names that are not valid shell variable names.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1008 as_fn_error $? "invalid package name: $ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1009 ac_useropt_orig=$ac_useropt
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1011 case $ac_user_opts in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1012 *"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1013 "with_$ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1014 "*) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1016 ac_unrecognized_sep=', ';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1017 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1018 eval with_$ac_useropt=\$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1019
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1020 -without-* | --without-*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1021 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1022 # Reject names that are not valid shell variable names.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1024 as_fn_error $? "invalid package name: $ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1025 ac_useropt_orig=$ac_useropt
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1027 case $ac_user_opts in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1028 *"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1029 "with_$ac_useropt"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1030 "*) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1032 ac_unrecognized_sep=', ';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1033 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1034 eval with_$ac_useropt=no ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1035
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1036 --x)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1037 # Obsolete; use --with-x.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1038 with_x=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1039
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1040 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1041 | --x-incl | --x-inc | --x-in | --x-i)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1042 ac_prev=x_includes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1043 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1044 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1045 x_includes=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1046
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1047 -x-libraries | --x-libraries | --x-librarie | --x-librari \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1048 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1049 ac_prev=x_libraries ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1050 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1051 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1052 x_libraries=$ac_optarg ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1053
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1054 -*) as_fn_error $? "unrecognized option: \`$ac_option'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1055 Try \`$0 --help' for more information"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1056 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1057
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1058 *=*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1059 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1060 # Reject names that are not valid shell variable names.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1061 case $ac_envvar in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1062 '' | [0-9]* | *[!_$as_cr_alnum]* )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1063 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1064 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1065 eval $ac_envvar=\$ac_optarg
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1066 export $ac_envvar ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1067
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1068 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1069 # FIXME: should be removed in autoconf 3.0.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1070 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1071 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1072 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1073 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1074 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1075
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1076 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1077 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1078
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1079 if test -n "$ac_prev"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1080 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1081 as_fn_error $? "missing argument to $ac_option"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1082 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1083
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1084 if test -n "$ac_unrecognized_opts"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1085 case $enable_option_checking in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1086 no) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1087 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1088 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1089 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1090 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1091
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1092 # Check all directory arguments for consistency.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1093 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1094 datadir sysconfdir sharedstatedir localstatedir includedir \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1095 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1096 libdir localedir mandir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1097 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1098 eval ac_val=\$$ac_var
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1099 # Remove trailing slashes.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1100 case $ac_val in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1101 */ )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1102 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1103 eval $ac_var=\$ac_val;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1104 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1105 # Be sure to have absolute directory names.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1106 case $ac_val in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1107 [\\/$]* | ?:[\\/]* ) continue;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1108 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1109 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1110 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1111 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1112
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1113 # There might be people who depend on the old broken behavior: `$host'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1114 # used to hold the argument of --host etc.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1115 # FIXME: To remove some day.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1116 build=$build_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1117 host=$host_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1118 target=$target_alias
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1119
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1120 # FIXME: To remove some day.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1121 if test "x$host_alias" != x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1122 if test "x$build_alias" = x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1123 cross_compiling=maybe
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1124 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1125 If a cross compiler is detected then cross compile mode will be used" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1126 elif test "x$build_alias" != "x$host_alias"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1127 cross_compiling=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1128 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1129 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1130
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1131 ac_tool_prefix=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1133
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1134 test "$silent" = yes && exec 6>/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1135
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1136
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1137 ac_pwd=`pwd` && test -n "$ac_pwd" &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1138 ac_ls_di=`ls -di .` &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1140 as_fn_error $? "working directory cannot be determined"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1142 as_fn_error $? "pwd does not report name of working directory"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1143
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1144
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1145 # Find the source files, if location was not specified.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1146 if test -z "$srcdir"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1147 ac_srcdir_defaulted=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1148 # Try the directory containing this script, then the parent directory.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1149 ac_confdir=`$as_dirname -- "$as_myself" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1150 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1151 X"$as_myself" : 'X\(//\)[^/]' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1152 X"$as_myself" : 'X\(//\)$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1153 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1154 $as_echo X"$as_myself" |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1156 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1157 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1158 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1159 /^X\(\/\/\)[^/].*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1160 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1161 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1162 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1163 /^X\(\/\/\)$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1164 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1165 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1166 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1167 /^X\(\/\).*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1168 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1169 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1170 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1171 s/.*/./; q'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1172 srcdir=$ac_confdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1173 if test ! -r "$srcdir/$ac_unique_file"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1174 srcdir=..
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1175 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1176 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1177 ac_srcdir_defaulted=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1178 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1179 if test ! -r "$srcdir/$ac_unique_file"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1181 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1182 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1184 ac_abs_confdir=`(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1186 pwd)`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1187 # When building in place, set srcdir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1189 srcdir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1190 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1191 # Remove unnecessary trailing slashes from srcdir.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1192 # Double slashes in file names in object file debugging info
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1193 # mess up M-x gdb in Emacs.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1194 case $srcdir in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1195 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1196 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1197 for ac_var in $ac_precious_vars; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1198 eval ac_env_${ac_var}_set=\${${ac_var}+set}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1199 eval ac_env_${ac_var}_value=\$${ac_var}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1200 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1201 eval ac_cv_env_${ac_var}_value=\$${ac_var}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1202 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1203
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1204 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1205 # Report the --help message.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1206 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1207 if test "$ac_init_help" = "long"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1208 # Omit some internal or obsolete options to make the list less imposing.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1209 # This message is too long to be a string in the A/UX 3.1 sh.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1210 cat <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1211 \`configure' configures ccache-swig 0.0 to adapt to many kinds of systems.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1212
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1214
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1215 To assign environment variables (e.g., CC, CFLAGS...), specify them as
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1216 VAR=VALUE. See below for descriptions of some of the useful variables.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1217
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1218 Defaults for the options are specified in brackets.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1219
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1220 Configuration:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1221 -h, --help display this help and exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1222 --help=short display options specific to this package
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1223 --help=recursive display the short help of all the included packages
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1224 -V, --version display version information and exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1225 -q, --quiet, --silent do not print \`checking ...' messages
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1226 --cache-file=FILE cache test results in FILE [disabled]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1227 -C, --config-cache alias for \`--cache-file=config.cache'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1228 -n, --no-create do not create output files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1230
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1231 Installation directories:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1232 --prefix=PREFIX install architecture-independent files in PREFIX
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1233 [$ac_default_prefix]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1235 [PREFIX]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1236
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1237 By default, \`make install' will install all the files in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1238 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1239 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1240 for instance \`--prefix=\$HOME'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1241
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1242 For better control, use the options below.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1243
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1244 Fine tuning of the installation directories:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1245 --bindir=DIR user executables [EPREFIX/bin]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1251 --libdir=DIR object code libraries [EPREFIX/lib]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1252 --includedir=DIR C header files [PREFIX/include]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1259 --docdir=DIR documentation root [DATAROOTDIR/doc/ccache-swig]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1260 --htmldir=DIR html documentation [DOCDIR]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1261 --dvidir=DIR dvi documentation [DOCDIR]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1262 --pdfdir=DIR pdf documentation [DOCDIR]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1263 --psdir=DIR ps documentation [DOCDIR]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1264 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1265
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1266 cat <<\_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1267
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1268 Program names:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1269 --program-prefix=PREFIX prepend PREFIX to installed program names
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1270 --program-suffix=SUFFIX append SUFFIX to installed program names
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1271 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1272 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1273 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1274
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1275 if test -n "$ac_init_help"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1276 case $ac_init_help in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1277 short | recursive ) echo "Configuration of ccache-swig 0.0:";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1278 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1279 cat <<\_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1280
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1281 Optional Features:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1282 --disable-option-checking ignore unrecognized --enable/--with options
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1283 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1284 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1285 --enable-zlib enable zlib support for ccache compression
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1286
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1287 Some influential environment variables:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1288 CC C compiler command
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1289 CFLAGS C compiler flags
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1291 nonstandard directory <lib dir>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1292 LIBS libraries to pass to the linker, e.g. -l<library>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1293 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1294 you have headers in a nonstandard directory <include dir>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1295 CPP C preprocessor
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1296
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1297 Use these variables to override the choices made by `configure' or to help
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1298 it to find libraries and programs with nonstandard names/locations.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1299
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1300 Report bugs to the package provider.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1301 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1302 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1303 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1304
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1305 if test "$ac_init_help" = "recursive"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1306 # If there are subdirs, report their specific --help.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1307 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1308 test -d "$ac_dir" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1309 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1310 continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1311 ac_builddir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1312
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1313 case "$ac_dir" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1315 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1316 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1317 # A ".." for each directory in $ac_dir_suffix.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1318 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1319 case $ac_top_builddir_sub in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1322 esac ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1323 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1324 ac_abs_top_builddir=$ac_pwd
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1326 # for backward compatibility:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1327 ac_top_builddir=$ac_top_build_prefix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1328
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1329 case $srcdir in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1330 .) # We are building in place.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1331 ac_srcdir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1332 ac_top_srcdir=$ac_top_builddir_sub
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1333 ac_abs_top_srcdir=$ac_pwd ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1334 [\\/]* | ?:[\\/]* ) # Absolute name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1335 ac_srcdir=$srcdir$ac_dir_suffix;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1336 ac_top_srcdir=$srcdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1337 ac_abs_top_srcdir=$srcdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1338 *) # Relative name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1340 ac_top_srcdir=$ac_top_build_prefix$srcdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1342 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1344
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1345 cd "$ac_dir" || { ac_status=$?; continue; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1346 # Check for guested configure.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1347 if test -f "$ac_srcdir/configure.gnu"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1348 echo &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1349 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1350 elif test -f "$ac_srcdir/configure"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1351 echo &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1352 $SHELL "$ac_srcdir/configure" --help=recursive
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1353 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1354 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1355 fi || ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1356 cd "$ac_pwd" || { ac_status=$?; break; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1357 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1358 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1359
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1360 test -n "$ac_init_help" && exit $ac_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1361 if $ac_init_version; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1362 cat <<\_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1363 ccache-swig configure 0.0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1364 generated by GNU Autoconf 2.68
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1365
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1366 Copyright (C) 2010 Free Software Foundation, Inc.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1367 This configure script is free software; the Free Software Foundation
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1368 gives unlimited permission to copy, distribute and modify it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1369 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1370 exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1371 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1372
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1373 ## ------------------------ ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1374 ## Autoconf initialization. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1375 ## ------------------------ ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1376
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1377 # ac_fn_c_try_compile LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1378 # --------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1379 # Try to compile conftest.$ac_ext, and return whether this succeeded.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1380 ac_fn_c_try_compile ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1381 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1383 rm -f conftest.$ac_objext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1384 if { { ac_try="$ac_compile"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1385 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1387 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1388 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1390 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1391 (eval "$ac_compile") 2>conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1392 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1393 if test -s conftest.err; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1394 grep -v '^ *+' conftest.err >conftest.er1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1395 cat conftest.er1 >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1396 mv -f conftest.er1 conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1397 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1399 test $ac_status = 0; } && {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1400 test -z "$ac_c_werror_flag" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1401 test ! -s conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1402 } && test -s conftest.$ac_objext; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1403 ac_retval=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1404 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1405 $as_echo "$as_me: failed program was:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1406 sed 's/^/| /' conftest.$ac_ext >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1407
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1408 ac_retval=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1409 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1411 as_fn_set_status $ac_retval
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1412
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1413 } # ac_fn_c_try_compile
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1414
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1415 # ac_fn_c_try_cpp LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1416 # ----------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1417 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1418 ac_fn_c_try_cpp ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1419 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1421 if { { ac_try="$ac_cpp conftest.$ac_ext"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1422 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1424 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1425 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1427 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1429 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1430 if test -s conftest.err; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1431 grep -v '^ *+' conftest.err >conftest.er1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1432 cat conftest.er1 >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1433 mv -f conftest.er1 conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1434 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1436 test $ac_status = 0; } > conftest.i && {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1438 test ! -s conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1439 }; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1440 ac_retval=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1441 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1442 $as_echo "$as_me: failed program was:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1443 sed 's/^/| /' conftest.$ac_ext >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1444
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1445 ac_retval=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1446 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1448 as_fn_set_status $ac_retval
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1449
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1450 } # ac_fn_c_try_cpp
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1451
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1452 # ac_fn_c_try_link LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1453 # -----------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1454 # Try to link conftest.$ac_ext, and return whether this succeeded.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1455 ac_fn_c_try_link ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1456 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1458 rm -f conftest.$ac_objext conftest$ac_exeext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1459 if { { ac_try="$ac_link"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1460 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1462 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1463 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1465 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1466 (eval "$ac_link") 2>conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1467 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1468 if test -s conftest.err; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1469 grep -v '^ *+' conftest.err >conftest.er1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1470 cat conftest.er1 >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1471 mv -f conftest.er1 conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1472 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1474 test $ac_status = 0; } && {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1475 test -z "$ac_c_werror_flag" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1476 test ! -s conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1477 } && test -s conftest$ac_exeext && {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1478 test "$cross_compiling" = yes ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1479 $as_test_x conftest$ac_exeext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1480 }; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1481 ac_retval=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1482 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1483 $as_echo "$as_me: failed program was:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1484 sed 's/^/| /' conftest.$ac_ext >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1485
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1486 ac_retval=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1487 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1488 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1489 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1490 # interfere with the next link command; also delete a directory that is
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1491 # left behind by Apple's compiler. We do this before executing the actions.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1492 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1494 as_fn_set_status $ac_retval
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1495
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1496 } # ac_fn_c_try_link
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1497
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1498 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1499 # -------------------------------------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1500 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1501 # the include files in INCLUDES and setting the cache variable VAR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1502 # accordingly.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1503 ac_fn_c_check_header_mongrel ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1504 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1506 if eval \${$3+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1508 $as_echo_n "checking for $2... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1509 if eval \${$3+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1510 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1511 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1512 eval ac_res=\$$3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1514 $as_echo "$ac_res" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1515 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1516 # Is the header compilable?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1518 $as_echo_n "checking $2 usability... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1520 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1521 $4
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1522 #include <$2>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1523 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1524 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1525 ac_header_compiler=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1526 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1527 ac_header_compiler=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1528 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1531 $as_echo "$ac_header_compiler" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1532
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1533 # Is the header present?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1535 $as_echo_n "checking $2 presence... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1537 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1538 #include <$2>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1539 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1540 if ac_fn_c_try_cpp "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1541 ac_header_preproc=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1542 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1543 ac_header_preproc=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1544 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1545 rm -f conftest.err conftest.i conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1547 $as_echo "$ac_header_preproc" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1548
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1549 # So? What about this header?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1551 yes:no: )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1553 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1555 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1556 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1557 no:yes:* )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1559 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1561 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1563 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1565 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1567 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1568 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1569 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1571 $as_echo_n "checking for $2... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1572 if eval \${$3+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1573 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1574 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1575 eval "$3=\$ac_header_compiler"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1576 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1577 eval ac_res=\$$3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1579 $as_echo "$ac_res" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1580 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1582
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1583 } # ac_fn_c_check_header_mongrel
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1584
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1585 # ac_fn_c_try_run LINENO
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1586 # ----------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1587 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1588 # that executables *can* be run.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1589 ac_fn_c_try_run ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1590 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1592 if { { ac_try="$ac_link"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1593 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1595 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1596 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1598 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1599 (eval "$ac_link") 2>&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1600 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1602 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1603 { { case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1605 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1606 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1608 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1609 (eval "$ac_try") 2>&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1610 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1612 test $ac_status = 0; }; }; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1613 ac_retval=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1614 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1615 $as_echo "$as_me: program exited with status $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1616 $as_echo "$as_me: failed program was:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1617 sed 's/^/| /' conftest.$ac_ext >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1618
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1619 ac_retval=$ac_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1620 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1623 as_fn_set_status $ac_retval
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1624
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1625 } # ac_fn_c_try_run
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1626
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1627 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1628 # -------------------------------------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1629 # Tests whether HEADER exists and can be compiled using the include files in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1630 # INCLUDES, setting the cache variable VAR accordingly.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1631 ac_fn_c_check_header_compile ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1632 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1635 $as_echo_n "checking for $2... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1636 if eval \${$3+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1637 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1638 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1640 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1641 $4
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1642 #include <$2>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1643 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1644 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1645 eval "$3=yes"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1646 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1647 eval "$3=no"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1648 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1650 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1651 eval ac_res=\$$3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1653 $as_echo "$ac_res" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1655
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1656 } # ac_fn_c_check_header_compile
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1657
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1658 # ac_fn_c_check_func LINENO FUNC VAR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1659 # ----------------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1660 # Tests whether FUNC exists, setting the cache variable VAR accordingly
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1661 ac_fn_c_check_func ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1662 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1665 $as_echo_n "checking for $2... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1666 if eval \${$3+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1667 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1668 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1670 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1671 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1673 #define $2 innocuous_$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1674
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1675 /* System header to define __stub macros and hopefully few prototypes,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1676 which can conflict with char $2 (); below.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1678 <limits.h> exists even on freestanding compilers. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1679
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1680 #ifdef __STDC__
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1681 # include <limits.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1682 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1683 # include <assert.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1684 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1685
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1686 #undef $2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1687
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1688 /* Override any GCC internal prototype to avoid an error.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1689 Use char because int might match the return type of a GCC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1690 builtin and then its argument prototype would still apply. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1691 #ifdef __cplusplus
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1692 extern "C"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1693 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1694 char $2 ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1695 /* The GNU C library defines this for functions which it implements
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1696 to always fail with ENOSYS. Some functions are actually named
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1697 something starting with __ and the normal name is an alias. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1698 #if defined __stub_$2 || defined __stub___$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1699 choke me
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1700 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1701
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1702 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1703 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1704 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1705 return $2 ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1706 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1707 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1708 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1709 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1710 if ac_fn_c_try_link "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1711 eval "$3=yes"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1712 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1713 eval "$3=no"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1714 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1715 rm -f core conftest.err conftest.$ac_objext \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1716 conftest$ac_exeext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1717 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1718 eval ac_res=\$$3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1720 $as_echo "$ac_res" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1722
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1723 } # ac_fn_c_check_func
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1724 cat >config.log <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1725 This file contains any messages produced by compilers while
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1726 running configure, to aid debugging if configure makes a mistake.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1727
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1728 It was created by ccache-swig $as_me 0.0, which was
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1729 generated by GNU Autoconf 2.68. Invocation command line was
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1730
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1731 $ $0 $@
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1732
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1733 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1734 exec 5>>config.log
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1735 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1736 cat <<_ASUNAME
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1737 ## --------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1738 ## Platform. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1739 ## --------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1740
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1741 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1742 uname -m = `(uname -m) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1743 uname -r = `(uname -r) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1744 uname -s = `(uname -s) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1745 uname -v = `(uname -v) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1746
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1747 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1748 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1749
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1750 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1751 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1752 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1753 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1754 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1755 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1756 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1757
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1758 _ASUNAME
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1759
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1761 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1762 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1763 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1764 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1765 $as_echo "PATH: $as_dir"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1766 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1767 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1768
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1769 } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1770
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1771 cat >&5 <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1772
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1773
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1774 ## ----------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1775 ## Core tests. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1776 ## ----------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1777
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1778 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1779
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1780
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1781 # Keep a trace of the command line.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1782 # Strip out --no-create and --no-recursion so they do not pile up.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1783 # Strip out --silent because we don't want to record it for future runs.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1784 # Also quote any args containing shell meta-characters.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1785 # Make two passes to allow for proper duplicate-argument suppression.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1786 ac_configure_args=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1787 ac_configure_args0=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1788 ac_configure_args1=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1789 ac_must_keep_next=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1790 for ac_pass in 1 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1791 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1792 for ac_arg
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1793 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1794 case $ac_arg in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1795 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1796 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1797 | -silent | --silent | --silen | --sile | --sil)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1798 continue ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1799 *\'*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1800 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1801 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1802 case $ac_pass in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1803 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1804 2)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1805 as_fn_append ac_configure_args1 " '$ac_arg'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1806 if test $ac_must_keep_next = true; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1807 ac_must_keep_next=false # Got value, back to normal.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1808 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1809 case $ac_arg in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1810 *=* | --config-cache | -C | -disable-* | --disable-* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1811 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1812 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1813 | -with-* | --with-* | -without-* | --without-* | --x)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1814 case "$ac_configure_args0 " in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1815 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1816 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1817 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1818 -* ) ac_must_keep_next=true ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1819 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1820 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1821 as_fn_append ac_configure_args " '$ac_arg'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1822 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1823 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1824 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1825 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1826 { ac_configure_args0=; unset ac_configure_args0;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1827 { ac_configure_args1=; unset ac_configure_args1;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1828
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1829 # When interrupted or exit'd, cleanup temporary files, and complete
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1830 # config.log. We remove comments because anyway the quotes in there
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1831 # would cause problems or look ugly.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1832 # WARNING: Use '\'' to represent an apostrophe within the trap.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1833 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1834 trap 'exit_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1835 # Save into config.log some information that might help in debugging.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1836 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1837 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1838
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1839 $as_echo "## ---------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1840 ## Cache variables. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1841 ## ---------------- ##"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1842 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1843 # The following way of writing the cache mishandles newlines in values,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1844 (
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1845 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1846 eval ac_val=\$$ac_var
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1847 case $ac_val in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1848 *${as_nl}*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1849 case $ac_var in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1850 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1852 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1853 case $ac_var in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1854 _ | IFS | as_nl) ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1856 *) { eval $ac_var=; unset $ac_var;} ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1857 esac ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1858 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1859 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1860 (set) 2>&1 |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1861 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1862 *${as_nl}ac_space=\ *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1863 sed -n \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1864 "s/'\''/'\''\\\\'\'''\''/g;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1866 ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1867 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1869 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1870 esac |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1871 sort
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1872 )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1873 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1874
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1875 $as_echo "## ----------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1876 ## Output variables. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1877 ## ----------------- ##"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1878 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1879 for ac_var in $ac_subst_vars
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1880 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1881 eval ac_val=\$$ac_var
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1882 case $ac_val in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1884 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1885 $as_echo "$ac_var='\''$ac_val'\''"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1886 done | sort
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1887 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1888
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1889 if test -n "$ac_subst_files"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1890 $as_echo "## ------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1891 ## File substitutions. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1892 ## ------------------- ##"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1893 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1894 for ac_var in $ac_subst_files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1895 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1896 eval ac_val=\$$ac_var
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1897 case $ac_val in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1898 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1899 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1900 $as_echo "$ac_var='\''$ac_val'\''"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1901 done | sort
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1902 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1903 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1904
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1905 if test -s confdefs.h; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1906 $as_echo "## ----------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1907 ## confdefs.h. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1908 ## ----------- ##"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1909 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1910 cat confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1911 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1912 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1913 test "$ac_signal" != 0 &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1914 $as_echo "$as_me: caught signal $ac_signal"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1915 $as_echo "$as_me: exit $exit_status"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1916 } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1917 rm -f core *.core core.conftest.* &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1918 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1919 exit $exit_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1920 ' 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1921 for ac_signal in 1 2 13 15; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1922 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1923 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1924 ac_signal=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1925
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1926 # confdefs.h avoids OS command line length limits that DEFS can exceed.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1927 rm -f -r conftest* confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1928
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1929 $as_echo "/* confdefs.h */" > confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1930
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1931 # Predefined preprocessor variables.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1932
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1933 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1934 #define PACKAGE_NAME "$PACKAGE_NAME"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1935 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1936
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1937 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1938 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1939 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1940
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1941 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1942 #define PACKAGE_VERSION "$PACKAGE_VERSION"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1943 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1944
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1945 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1946 #define PACKAGE_STRING "$PACKAGE_STRING"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1947 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1948
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1949 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1950 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1951 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1952
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1953 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1954 #define PACKAGE_URL "$PACKAGE_URL"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1955 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1956
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1957
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1958 # Let the site file select an alternate cache file if it wants to.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1959 # Prefer an explicitly selected file to automatically selected ones.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1960 ac_site_file1=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1961 ac_site_file2=NONE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1962 if test -n "$CONFIG_SITE"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1963 # We do not want a PATH search for config.site.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1964 case $CONFIG_SITE in #((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1965 -*) ac_site_file1=./$CONFIG_SITE;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1966 */*) ac_site_file1=$CONFIG_SITE;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1967 *) ac_site_file1=./$CONFIG_SITE;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1968 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1969 elif test "x$prefix" != xNONE; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1970 ac_site_file1=$prefix/share/config.site
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1971 ac_site_file2=$prefix/etc/config.site
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1972 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1973 ac_site_file1=$ac_default_prefix/share/config.site
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1974 ac_site_file2=$ac_default_prefix/etc/config.site
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1975 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1977 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1978 test "x$ac_site_file" = xNONE && continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1979 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1982 sed 's/^/| /' "$ac_site_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1983 . "$ac_site_file" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1984 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1986 as_fn_error $? "failed to load site script $ac_site_file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1987 See \`config.log' for more details" "$LINENO" 5; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1988 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1989 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1990
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1991 if test -r "$cache_file"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1992 # Some versions of bash will fail to source /dev/null (special files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1993 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1994 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1996 $as_echo "$as_me: loading cache $cache_file" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1997 case $cache_file in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1998 [\\/]* | ?:[\\/]* ) . "$cache_file";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1999 *) . "./$cache_file";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2000 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2001 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2002 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2004 $as_echo "$as_me: creating cache $cache_file" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2005 >$cache_file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2006 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2007
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2008 # Check that the precious variables saved in the cache have kept the same
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2009 # value.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2010 ac_cache_corrupted=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2011 for ac_var in $ac_precious_vars; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2012 eval ac_old_set=\$ac_cv_env_${ac_var}_set
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2013 eval ac_new_set=\$ac_env_${ac_var}_set
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2014 eval ac_old_val=\$ac_cv_env_${ac_var}_value
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2015 eval ac_new_val=\$ac_env_${ac_var}_value
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2016 case $ac_old_set,$ac_new_set in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2017 set,)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2019 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2020 ac_cache_corrupted=: ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2021 ,set)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2023 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2024 ac_cache_corrupted=: ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2025 ,);;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2026 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2027 if test "x$ac_old_val" != "x$ac_new_val"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2028 # differences in whitespace do not lead to failure.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2029 ac_old_val_w=`echo x $ac_old_val`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2030 ac_new_val_w=`echo x $ac_new_val`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2031 if test "$ac_old_val_w" != "$ac_new_val_w"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2033 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2034 ac_cache_corrupted=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2035 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2037 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2038 eval $ac_var=\$ac_old_val
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2039 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2041 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2043 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2044 fi;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2045 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2046 # Pass precious variables to config.status.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2047 if test "$ac_new_set" = set; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2048 case $ac_new_val in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2049 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2050 *) ac_arg=$ac_var=$ac_new_val ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2051 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2052 case " $ac_configure_args " in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2053 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2054 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2055 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2056 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2057 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2058 if $ac_cache_corrupted; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2062 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2063 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2064 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2065 ## -------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2066 ## Main body of script. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2067 ## -------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2068
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2069 ac_ext=c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2070 ac_cpp='$CPP $CPPFLAGS'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2074
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2075 # Get version from SWIG in ccache_swig_config.h.in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2076
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2077
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2078
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring ccache" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2080 $as_echo "$as_me: Configuring ccache" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2081
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2082 ac_config_headers="$ac_config_headers config.h"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2083
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2084
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2085 ac_ext=c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2086 ac_cpp='$CPP $CPPFLAGS'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2090 if test -n "$ac_tool_prefix"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2092 set dummy ${ac_tool_prefix}gcc; ac_word=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2094 $as_echo_n "checking for $ac_word... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2095 if ${ac_cv_prog_CC+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2096 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2097 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2098 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2099 ac_cv_prog_CC="$CC" # Let the user override the test.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2100 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2102 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2103 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2104 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2105 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2106 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2108 ac_cv_prog_CC="${ac_tool_prefix}gcc"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2110 break 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2111 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2112 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2113 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2114 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2115
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2116 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2117 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2118 CC=$ac_cv_prog_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2119 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2121 $as_echo "$CC" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2122 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2124 $as_echo "no" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2125 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2126
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2127
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2128 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2129 if test -z "$ac_cv_prog_CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2130 ac_ct_CC=$CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2131 # Extract the first word of "gcc", so it can be a program name with args.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2132 set dummy gcc; ac_word=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2134 $as_echo_n "checking for $ac_word... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2135 if ${ac_cv_prog_ac_ct_CC+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2136 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2137 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2138 if test -n "$ac_ct_CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2140 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2142 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2143 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2144 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2145 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2146 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2148 ac_cv_prog_ac_ct_CC="gcc"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2150 break 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2151 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2152 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2153 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2154 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2155
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2156 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2157 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2158 ac_ct_CC=$ac_cv_prog_ac_ct_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2159 if test -n "$ac_ct_CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2161 $as_echo "$ac_ct_CC" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2162 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2164 $as_echo "no" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2165 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2166
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2167 if test "x$ac_ct_CC" = x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2168 CC=""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2169 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2170 case $cross_compiling:$ac_tool_warned in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2171 yes:)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2174 ac_tool_warned=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2175 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2176 CC=$ac_ct_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2177 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2178 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2179 CC="$ac_cv_prog_CC"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2180 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2181
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2182 if test -z "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2183 if test -n "$ac_tool_prefix"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2185 set dummy ${ac_tool_prefix}cc; ac_word=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2187 $as_echo_n "checking for $ac_word... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2188 if ${ac_cv_prog_CC+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2189 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2190 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2191 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2192 ac_cv_prog_CC="$CC" # Let the user override the test.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2193 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2195 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2196 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2197 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2198 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2199 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2201 ac_cv_prog_CC="${ac_tool_prefix}cc"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2203 break 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2204 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2205 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2206 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2207 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2208
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2209 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2210 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2211 CC=$ac_cv_prog_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2212 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2214 $as_echo "$CC" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2215 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2217 $as_echo "no" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2218 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2219
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2220
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2221 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2222 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2223 if test -z "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2224 # Extract the first word of "cc", so it can be a program name with args.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2225 set dummy cc; ac_word=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2227 $as_echo_n "checking for $ac_word... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2228 if ${ac_cv_prog_CC+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2229 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2230 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2231 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2233 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2234 ac_prog_rejected=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2236 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2237 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2238 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2239 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2240 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2243 ac_prog_rejected=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2244 continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2245 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2246 ac_cv_prog_CC="cc"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2248 break 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2249 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2250 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2251 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2252 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2253
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2254 if test $ac_prog_rejected = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2255 # We found a bogon in the path, so make sure we never use it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2256 set dummy $ac_cv_prog_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2257 shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2258 if test $# != 0; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2259 # We chose a different compiler from the bogus one.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2260 # However, it has the same basename, so the bogon will be chosen
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2261 # first if we set CC to just the basename; use the full file name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2262 shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2263 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2264 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2265 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2266 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2267 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2268 CC=$ac_cv_prog_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2269 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2271 $as_echo "$CC" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2272 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2274 $as_echo "no" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2275 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2276
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2277
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2278 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2279 if test -z "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2280 if test -n "$ac_tool_prefix"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2281 for ac_prog in cl.exe
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2282 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2286 $as_echo_n "checking for $ac_word... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2287 if ${ac_cv_prog_CC+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2288 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2289 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2290 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2292 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2294 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2295 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2296 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2297 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2298 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2300 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2302 break 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2303 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2304 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2305 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2306 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2307
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2308 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2309 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2310 CC=$ac_cv_prog_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2311 if test -n "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2313 $as_echo "$CC" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2314 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2316 $as_echo "no" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2317 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2318
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2319
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2320 test -n "$CC" && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2321 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2322 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2323 if test -z "$CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2324 ac_ct_CC=$CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2325 for ac_prog in cl.exe
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2326 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2327 # Extract the first word of "$ac_prog", so it can be a program name with args.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2328 set dummy $ac_prog; ac_word=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2330 $as_echo_n "checking for $ac_word... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2331 if ${ac_cv_prog_ac_ct_CC+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2332 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2333 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2334 if test -n "$ac_ct_CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2336 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2338 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2339 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2340 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2341 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2342 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2344 ac_cv_prog_ac_ct_CC="$ac_prog"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2346 break 2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2347 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2348 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2349 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2350 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2351
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2352 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2353 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2355 if test -n "$ac_ct_CC"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2357 $as_echo "$ac_ct_CC" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2358 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2360 $as_echo "no" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2361 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2362
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2363
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2364 test -n "$ac_ct_CC" && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2365 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2366
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2367 if test "x$ac_ct_CC" = x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2368 CC=""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2369 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2370 case $cross_compiling:$ac_tool_warned in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2371 yes:)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2374 ac_tool_warned=yes ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2375 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2376 CC=$ac_ct_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2377 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2378 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2379
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2380 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2381
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2382
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2385 as_fn_error $? "no acceptable C compiler found in \$PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2386 See \`config.log' for more details" "$LINENO" 5; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2387
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2388 # Provide some information about the compiler.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2390 set X $ac_compile
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2391 ac_compiler=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2392 for ac_option in --version -v -V -qversion; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2393 { { ac_try="$ac_compiler $ac_option >&5"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2394 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2396 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2397 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2399 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2401 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2402 if test -s conftest.err; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2403 sed '10a\
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2404 ... rest of stderr output deleted ...
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2405 10q' conftest.err >conftest.er1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2406 cat conftest.er1 >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2407 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2408 rm -f conftest.er1 conftest.err
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2410 test $ac_status = 0; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2411 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2412
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2414 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2415
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2416 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2417 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2418 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2419
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2420 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2421 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2422 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2423 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2424 ac_clean_files_save=$ac_clean_files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2425 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2426 # Try to create an executable without -o first, disregard a.out.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2427 # It will help us diagnose broken compilers, and finding out an intuition
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2428 # of exeext.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2430 $as_echo_n "checking whether the C compiler works... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2431 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2432
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2433 # The possible output files:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2434 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2435
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2436 ac_rmfiles=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2437 for ac_file in $ac_files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2438 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2439 case $ac_file in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2442 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2443 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2444 rm -f $ac_rmfiles
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2445
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2446 if { { ac_try="$ac_link_default"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2447 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2449 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2450 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2452 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2453 (eval "$ac_link_default") 2>&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2454 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2456 test $ac_status = 0; }; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2460 # so that the user can short-circuit this test for compilers unknown to
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2461 # Autoconf.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2462 for ac_file in $ac_files ''
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2463 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2464 test -f "$ac_file" || continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2465 case $ac_file in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2467 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2468 [ab].out )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2469 # We found the default executable, but exeext='' is most
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2470 # certainly right.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2471 break;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2472 *.* )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2474 then :; else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2476 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2477 # We set ac_cv_exeext here because the later test for it is not
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2478 # safe: cross compilers may not add the suffix if given an `-o'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2479 # argument, so we may need to know it at that point already.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2480 # Even if this section looks crufty: it has the advantage of
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2481 # actually working.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2482 break;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2483 * )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2484 break;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2485 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2486 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2487 test "$ac_cv_exeext" = no && ac_cv_exeext=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2488
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2489 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2490 ac_file=''
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2491 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2492 if test -z "$ac_file"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2494 $as_echo "no" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2495 $as_echo "$as_me: failed program was:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2496 sed 's/^/| /' conftest.$ac_ext >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2497
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2500 as_fn_error 77 "C compiler cannot create executables
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2501 See \`config.log' for more details" "$LINENO" 5; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2502 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2504 $as_echo "yes" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2505 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2507 $as_echo_n "checking for C compiler default output file name... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2509 $as_echo "$ac_file" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2510 ac_exeext=$ac_cv_exeext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2511
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2512 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2513 ac_clean_files=$ac_clean_files_save
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2515 $as_echo_n "checking for suffix of executables... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2516 if { { ac_try="$ac_link"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2517 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2519 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2520 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2522 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2523 (eval "$ac_link") 2>&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2524 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2526 test $ac_status = 0; }; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2527 # If both `conftest.exe' and `conftest' are `present' (well, observable)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2528 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2529 # work properly (i.e., refer to `conftest.exe'), while it won't with
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2530 # `rm'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2531 for ac_file in conftest.exe conftest conftest.*; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2532 test -f "$ac_file" || continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2533 case $ac_file in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2535 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2536 break;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2537 * ) break;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2538 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2539 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2540 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2543 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2544 See \`config.log' for more details" "$LINENO" 5; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2545 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2546 rm -f conftest conftest$ac_cv_exeext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2548 $as_echo "$ac_cv_exeext" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2549
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2550 rm -f conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2551 EXEEXT=$ac_cv_exeext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2552 ac_exeext=$EXEEXT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2554 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2555 #include <stdio.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2556 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2557 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2558 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2559 FILE *f = fopen ("conftest.out", "w");
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2560 return ferror (f) || fclose (f) != 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2561
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2562 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2563 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2564 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2565 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2566 ac_clean_files="$ac_clean_files conftest.out"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2567 # Check that the compiler produces executables we can run. If not, either
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2568 # the compiler is broken, or we cross compile.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2570 $as_echo_n "checking whether we are cross compiling... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2571 if test "$cross_compiling" != yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2572 { { ac_try="$ac_link"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2573 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2575 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2576 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2578 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2579 (eval "$ac_link") 2>&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2580 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2582 test $ac_status = 0; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2583 if { ac_try='./conftest$ac_cv_exeext'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2584 { { case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2586 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2587 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2589 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2590 (eval "$ac_try") 2>&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2591 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2593 test $ac_status = 0; }; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2594 cross_compiling=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2595 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2596 if test "$cross_compiling" = maybe; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2597 cross_compiling=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2598 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2601 as_fn_error $? "cannot run C compiled programs.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2602 If you meant to cross compile, use \`--host'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2603 See \`config.log' for more details" "$LINENO" 5; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2604 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2605 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2606 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2608 $as_echo "$cross_compiling" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2609
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2610 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2611 ac_clean_files=$ac_clean_files_save
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2613 $as_echo_n "checking for suffix of object files... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2614 if ${ac_cv_objext+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2615 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2616 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2618 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2619
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2620 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2621 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2622 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2623
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2624 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2625 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2626 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2627 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2628 rm -f conftest.o conftest.obj
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2629 if { { ac_try="$ac_compile"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2630 case "(($ac_try" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2632 *) ac_try_echo=$ac_try;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2633 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2635 $as_echo "$ac_try_echo"; } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2636 (eval "$ac_compile") 2>&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2637 ac_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2639 test $ac_status = 0; }; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2640 for ac_file in conftest.o conftest.obj conftest.*; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2641 test -f "$ac_file" || continue;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2642 case $ac_file in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2644 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2645 break;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2646 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2647 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2648 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2649 $as_echo "$as_me: failed program was:" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2650 sed 's/^/| /' conftest.$ac_ext >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2651
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2654 as_fn_error $? "cannot compute suffix of object files: cannot compile
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2655 See \`config.log' for more details" "$LINENO" 5; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2656 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2657 rm -f conftest.$ac_cv_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2658 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2660 $as_echo "$ac_cv_objext" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2661 OBJEXT=$ac_cv_objext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2662 ac_objext=$OBJEXT
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2664 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2665 if ${ac_cv_c_compiler_gnu+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2666 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2667 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2669 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2670
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2671 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2672 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2673 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2674 #ifndef __GNUC__
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2675 choke me
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2676 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2677
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2678 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2679 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2680 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2681 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2682 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2683 ac_compiler_gnu=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2684 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2685 ac_compiler_gnu=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2686 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2688 ac_cv_c_compiler_gnu=$ac_compiler_gnu
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2689
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2690 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2692 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2693 if test $ac_compiler_gnu = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2694 GCC=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2695 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2696 GCC=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2697 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2698 ac_test_CFLAGS=${CFLAGS+set}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2699 ac_save_CFLAGS=$CFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2701 $as_echo_n "checking whether $CC accepts -g... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2702 if ${ac_cv_prog_cc_g+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2703 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2704 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2705 ac_save_c_werror_flag=$ac_c_werror_flag
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2706 ac_c_werror_flag=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2707 ac_cv_prog_cc_g=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2708 CFLAGS="-g"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2710 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2711
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2712 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2713 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2714 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2715
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2716 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2717 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2718 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2719 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2720 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2721 ac_cv_prog_cc_g=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2722 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2723 CFLAGS=""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2725 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2726
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2727 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2728 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2729 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2730
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2731 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2732 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2733 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2734 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2735 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2736
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2737 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2738 ac_c_werror_flag=$ac_save_c_werror_flag
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2739 CFLAGS="-g"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2741 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2742
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2743 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2744 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2745 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2746
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2747 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2748 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2749 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2750 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2751 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2752 ac_cv_prog_cc_g=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2753 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2755 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2757 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2759 ac_c_werror_flag=$ac_save_c_werror_flag
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2760 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2762 $as_echo "$ac_cv_prog_cc_g" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2763 if test "$ac_test_CFLAGS" = set; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2764 CFLAGS=$ac_save_CFLAGS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2765 elif test $ac_cv_prog_cc_g = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2766 if test "$GCC" = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2767 CFLAGS="-g -O2"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2768 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2769 CFLAGS="-g"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2770 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2771 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2772 if test "$GCC" = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2773 CFLAGS="-O2"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2774 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2775 CFLAGS=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2776 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2777 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2779 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2780 if ${ac_cv_prog_cc_c89+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2781 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2782 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2783 ac_cv_prog_cc_c89=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2784 ac_save_CC=$CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2786 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2787 #include <stdarg.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2788 #include <stdio.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2789 #include <sys/types.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2790 #include <sys/stat.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2791 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2792 struct buf { int x; };
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2793 FILE * (*rcsopen) (struct buf *, struct stat *, int);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2794 static char *e (p, i)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2795 char **p;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2796 int i;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2797 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2798 return p[i];
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2799 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2800 static char *f (char * (*g) (char **, int), char **p, ...)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2801 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2802 char *s;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2803 va_list v;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2804 va_start (v,p);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2805 s = g (p, va_arg (v,int));
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2806 va_end (v);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2807 return s;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2808 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2809
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2810 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2811 function prototypes and stuff, but not '\xHH' hex character constants.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2812 These don't provoke an error unfortunately, instead are silently treated
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2813 as 'x'. The following induces an error, until -std is added to get
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2814 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2815 array size at least. It's necessary to write '\x00'==0 to get something
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2816 that's true only with -std. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2817 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2818
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2819 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2820 inside strings and character constants. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2821 #define FOO(x) 'x'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2822 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2823
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2824 int test (int i, double x);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2825 struct s1 {int (*f) (int a);};
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2826 struct s2 {int (*f) (double a);};
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2827 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2828 int argc;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2829 char **argv;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2830 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2831 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2832 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2833 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2834 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2835 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2836 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2837 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2838 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2839 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2840 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2841 CC="$ac_save_CC $ac_arg"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2842 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2843 ac_cv_prog_cc_c89=$ac_arg
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2844 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2845 rm -f core conftest.err conftest.$ac_objext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2846 test "x$ac_cv_prog_cc_c89" != "xno" && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2847 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2848 rm -f conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2849 CC=$ac_save_CC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2850
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2851 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2852 # AC_CACHE_VAL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2853 case "x$ac_cv_prog_cc_c89" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2854 x)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2856 $as_echo "none needed" >&6; } ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2857 xno)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2859 $as_echo "unsupported" >&6; } ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2860 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2861 CC="$CC $ac_cv_prog_cc_c89"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2863 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2864 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2865 if test "x$ac_cv_prog_cc_c89" != xno; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2866
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2867 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2868
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2869 ac_ext=c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2870 ac_cpp='$CPP $CPPFLAGS'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2874
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2875 ac_ext=c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2876 ac_cpp='$CPP $CPPFLAGS'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2881 $as_echo_n "checking how to run the C preprocessor... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2882 # On Suns, sometimes $CPP names a directory.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2883 if test -n "$CPP" && test -d "$CPP"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2884 CPP=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2885 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2886 if test -z "$CPP"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2887 if ${ac_cv_prog_CPP+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2888 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2889 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2890 # Double quotes because CPP needs to be expanded
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2891 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2892 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2893 ac_preproc_ok=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2894 for ac_c_preproc_warn_flag in '' yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2895 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2896 # Use a header file that comes with gcc, so configuring glibc
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2897 # with a fresh cross-compiler works.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2899 # <limits.h> exists even on freestanding compilers.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2900 # On the NeXT, cc -E runs the code through the compiler's parser,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2901 # not just through cpp. "Syntax error" is here to catch this case.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2903 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2904 #ifdef __STDC__
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2905 # include <limits.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2906 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2907 # include <assert.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2908 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2909 Syntax error
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2910 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2911 if ac_fn_c_try_cpp "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2912
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2913 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2914 # Broken: fails on valid input.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2915 continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2916 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2917 rm -f conftest.err conftest.i conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2918
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2919 # OK, works on sane cases. Now check whether nonexistent headers
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2920 # can be detected and how.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2922 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2923 #include <ac_nonexistent.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2924 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2925 if ac_fn_c_try_cpp "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2926 # Broken: success on invalid input.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2927 continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2928 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2929 # Passes both tests.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2930 ac_preproc_ok=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2931 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2932 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2933 rm -f conftest.err conftest.i conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2934
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2935 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2937 rm -f conftest.i conftest.err conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2938 if $ac_preproc_ok; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2939 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2940 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2941
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2942 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2943 ac_cv_prog_CPP=$CPP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2944
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2945 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2946 CPP=$ac_cv_prog_CPP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2947 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2948 ac_cv_prog_CPP=$CPP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2949 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2951 $as_echo "$CPP" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2952 ac_preproc_ok=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2953 for ac_c_preproc_warn_flag in '' yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2954 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2955 # Use a header file that comes with gcc, so configuring glibc
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2956 # with a fresh cross-compiler works.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2958 # <limits.h> exists even on freestanding compilers.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2959 # On the NeXT, cc -E runs the code through the compiler's parser,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2960 # not just through cpp. "Syntax error" is here to catch this case.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2962 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2963 #ifdef __STDC__
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2964 # include <limits.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2965 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2966 # include <assert.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2967 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2968 Syntax error
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2969 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2970 if ac_fn_c_try_cpp "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2971
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2972 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2973 # Broken: fails on valid input.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2974 continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2975 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2976 rm -f conftest.err conftest.i conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2977
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2978 # OK, works on sane cases. Now check whether nonexistent headers
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2979 # can be detected and how.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2981 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2982 #include <ac_nonexistent.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2983 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2984 if ac_fn_c_try_cpp "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2985 # Broken: success on invalid input.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2986 continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2987 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2988 # Passes both tests.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2989 ac_preproc_ok=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2990 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2991 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2992 rm -f conftest.err conftest.i conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2993
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2994 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2996 rm -f conftest.i conftest.err conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2997 if $ac_preproc_ok; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2998
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2999 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3002 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3003 See \`config.log' for more details" "$LINENO" 5; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3004 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3005
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3006 ac_ext=c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3007 ac_cpp='$CPP $CPPFLAGS'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3011
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3012 ac_aux_dir=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3013 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3014 if test -f "$ac_dir/install-sh"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3015 ac_aux_dir=$ac_dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3016 ac_install_sh="$ac_aux_dir/install-sh -c"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3017 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3018 elif test -f "$ac_dir/install.sh"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3019 ac_aux_dir=$ac_dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3020 ac_install_sh="$ac_aux_dir/install.sh -c"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3021 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3022 elif test -f "$ac_dir/shtool"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3023 ac_aux_dir=$ac_dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3024 ac_install_sh="$ac_aux_dir/shtool install -c"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3025 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3026 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3027 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3028 if test -z "$ac_aux_dir"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3029 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3030 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3031
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3032 # These three variables are undocumented and unsupported,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3033 # and are intended to be withdrawn in a future Autoconf release.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3034 # They can cause serious problems if a builder's source tree is in a directory
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3035 # whose full name contains unusual characters.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3036 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3037 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3038 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3039
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3040
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3041 # Find a good install program. We prefer a C program (faster),
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3042 # so one script is as good as another. But avoid the broken or
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3043 # incompatible versions:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3044 # SysV /etc/install, /usr/sbin/install
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3045 # SunOS /usr/etc/install
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3046 # IRIX /sbin/install
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3047 # AIX /bin/install
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3048 # AmigaOS /C/install, which installs bootblocks on floppy discs
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3052 # OS/2's system install, which has a completely different semantic
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3053 # ./install, which can be erroneously created by make from ./install.sh.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3054 # Reject install programs that cannot install multiple files.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3056 $as_echo_n "checking for a BSD-compatible install... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3057 if test -z "$INSTALL"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3058 if ${ac_cv_path_install+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3059 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3060 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3062 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3063 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3064 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3065 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3066 # Account for people who put trailing slashes in PATH elements.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3067 case $as_dir/ in #((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3068 ./ | .// | /[cC]/* | \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3069 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3070 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3071 /usr/ucb/* ) ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3072 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3073 # OSF1 and SCO ODT 3.0 have their own names for install.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3074 # Don't use installbsd from OSF since it installs stuff as root
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3075 # by default.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3076 for ac_prog in ginstall scoinst install; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3077 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3078 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3079 if test $ac_prog = install &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3080 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3081 # AIX install. It has an incompatible calling convention.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3082 :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3083 elif test $ac_prog = install &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3084 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3085 # program-specific install script used by HP pwplus--don't use.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3086 :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3087 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3088 rm -rf conftest.one conftest.two conftest.dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3089 echo one > conftest.one
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3090 echo two > conftest.two
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3091 mkdir conftest.dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3092 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3093 test -s conftest.one && test -s conftest.two &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3094 test -s conftest.dir/conftest.one &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3095 test -s conftest.dir/conftest.two
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3096 then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3097 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3098 break 3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3099 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3100 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3101 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3102 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3103 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3104 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3105 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3106
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3107 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3108 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3109
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3110 rm -rf conftest.one conftest.two conftest.dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3111
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3112 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3113 if test "${ac_cv_path_install+set}" = set; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3114 INSTALL=$ac_cv_path_install
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3115 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3116 # As a last resort, use the slow shell script. Don't cache a
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3117 # value for INSTALL within a source directory, because that will
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3118 # break other packages using the cache if that directory is
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3119 # removed, or if the value is a relative name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3120 INSTALL=$ac_install_sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3121 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3122 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3124 $as_echo "$INSTALL" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3125
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3126 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3127 # It thinks the first close brace ends the variable substitution.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3128 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3129
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3130 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3131
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3132 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3133
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3134 test "$program_prefix" != NONE &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3135 program_transform_name="s&^&$program_prefix&;$program_transform_name"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3136 # Use a double $ so make ignores it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3137 test "$program_suffix" != NONE &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3138 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3139 # Double any \ or $.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3140 # By default was `s,x,x', remove it if useless.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3141 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3142 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3143 # for program_transform_name
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3144
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3145
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3146 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3147
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3148
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3149 # If GCC, turn on warnings.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3150 if test "x$GCC" = "xyes"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3151 then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3152 CFLAGS="$CFLAGS -Wall -W"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3153 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3154 CFLAGS="$CFLAGS -O"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3155 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3156
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3157
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3158 ac_header_dirent=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3159 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3160 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3162 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3163 if eval \${$as_ac_Header+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3164 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3165 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3167 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3168 #include <sys/types.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3169 #include <$ac_hdr>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3170
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3171 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3172 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3173 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3174 if ((DIR *) 0)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3175 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3176 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3177 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3178 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3179 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3180 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3181 eval "$as_ac_Header=yes"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3182 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3183 eval "$as_ac_Header=no"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3184 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3186 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3187 eval ac_res=\$$as_ac_Header
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3189 $as_echo "$ac_res" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3191 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3192 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3193 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3194
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3195 ac_header_dirent=$ac_hdr; break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3196 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3197
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3198 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3199 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3200 if test $ac_header_dirent = dirent.h; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3202 $as_echo_n "checking for library containing opendir... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3203 if ${ac_cv_search_opendir+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3204 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3205 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3206 ac_func_search_save_LIBS=$LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3208 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3209
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3210 /* Override any GCC internal prototype to avoid an error.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3211 Use char because int might match the return type of a GCC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3212 builtin and then its argument prototype would still apply. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3213 #ifdef __cplusplus
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3214 extern "C"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3215 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3216 char opendir ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3217 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3218 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3219 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3220 return opendir ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3221 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3222 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3223 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3224 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3225 for ac_lib in '' dir; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3226 if test -z "$ac_lib"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3227 ac_res="none required"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3228 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3229 ac_res=-l$ac_lib
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3230 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3231 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3232 if ac_fn_c_try_link "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3233 ac_cv_search_opendir=$ac_res
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3234 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3235 rm -f core conftest.err conftest.$ac_objext \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3236 conftest$ac_exeext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3237 if ${ac_cv_search_opendir+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3238 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3239 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3240 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3241 if ${ac_cv_search_opendir+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3242
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3243 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3244 ac_cv_search_opendir=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3245 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3246 rm conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3247 LIBS=$ac_func_search_save_LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3248 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3250 $as_echo "$ac_cv_search_opendir" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3251 ac_res=$ac_cv_search_opendir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3252 if test "$ac_res" != no; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3253 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3254
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3255 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3256
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3257 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3259 $as_echo_n "checking for library containing opendir... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3260 if ${ac_cv_search_opendir+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3261 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3262 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3263 ac_func_search_save_LIBS=$LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3265 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3266
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3267 /* Override any GCC internal prototype to avoid an error.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3268 Use char because int might match the return type of a GCC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3269 builtin and then its argument prototype would still apply. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3270 #ifdef __cplusplus
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3271 extern "C"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3272 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3273 char opendir ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3274 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3275 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3276 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3277 return opendir ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3278 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3279 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3280 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3281 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3282 for ac_lib in '' x; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3283 if test -z "$ac_lib"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3284 ac_res="none required"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3285 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3286 ac_res=-l$ac_lib
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3287 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3288 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3289 if ac_fn_c_try_link "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3290 ac_cv_search_opendir=$ac_res
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3291 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3292 rm -f core conftest.err conftest.$ac_objext \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3293 conftest$ac_exeext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3294 if ${ac_cv_search_opendir+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3295 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3296 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3297 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3298 if ${ac_cv_search_opendir+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3299
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3300 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3301 ac_cv_search_opendir=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3302 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3303 rm conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3304 LIBS=$ac_func_search_save_LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3305 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3307 $as_echo "$ac_cv_search_opendir" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3308 ac_res=$ac_cv_search_opendir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3309 if test "$ac_res" != no; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3310 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3311
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3312 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3313
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3314 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3315
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3317 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3318 if ${ac_cv_header_time+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3319 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3320 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3322 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3323 #include <sys/types.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3324 #include <sys/time.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3325 #include <time.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3326
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3327 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3328 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3329 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3330 if ((struct tm *) 0)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3331 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3332 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3333 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3334 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3335 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3336 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3337 ac_cv_header_time=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3338 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3339 ac_cv_header_time=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3340 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3342 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3344 $as_echo "$ac_cv_header_time" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3345 if test $ac_cv_header_time = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3346
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3347 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3348
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3349 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3350
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3352 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3353 if ${ac_cv_header_sys_wait_h+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3354 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3355 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3357 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3358 #include <sys/types.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3359 #include <sys/wait.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3360 #ifndef WEXITSTATUS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3361 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3362 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3363 #ifndef WIFEXITED
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3364 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3365 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3366
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3367 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3368 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3369 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3370 int s;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3371 wait (&s);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3372 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3373 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3374 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3375 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3376 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3377 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3378 ac_cv_header_sys_wait_h=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3379 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3380 ac_cv_header_sys_wait_h=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3381 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3383 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3385 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3386 if test $ac_cv_header_sys_wait_h = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3387
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3388 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3389
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3390 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3391
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3392
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3393
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3395 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3396 if ${ac_cv_path_GREP+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3397 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3398 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3399 if test -z "$GREP"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3400 ac_path_GREP_found=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3401 # Loop through the user's path and test for each of PROGNAME-LIST
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3404 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3405 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3406 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3407 for ac_prog in grep ggrep; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3408 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3409 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3410 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3411 # Check for GNU ac_path_GREP and select it if it is found.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3412 # Check for GNU $ac_path_GREP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3413 case `"$ac_path_GREP" --version 2>&1` in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3414 *GNU*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3415 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3416 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3417 ac_count=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3418 $as_echo_n 0123456789 >"conftest.in"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3419 while :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3420 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3421 cat "conftest.in" "conftest.in" >"conftest.tmp"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3422 mv "conftest.tmp" "conftest.in"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3423 cp "conftest.in" "conftest.nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3424 $as_echo 'GREP' >> "conftest.nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3425 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3427 as_fn_arith $ac_count + 1 && ac_count=$as_val
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3428 if test $ac_count -gt ${ac_path_GREP_max-0}; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3429 # Best one so far, save it but keep looking for a better one
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3430 ac_cv_path_GREP="$ac_path_GREP"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3431 ac_path_GREP_max=$ac_count
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3432 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3433 # 10*(2^10) chars as input seems more than enough
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3434 test $ac_count -gt 10 && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3435 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3437 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3438
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3439 $ac_path_GREP_found && break 3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3440 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3441 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3442 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3443 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3444 if test -z "$ac_cv_path_GREP"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3445 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3446 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3447 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3448 ac_cv_path_GREP=$GREP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3449 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3450
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3451 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3453 $as_echo "$ac_cv_path_GREP" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3454 GREP="$ac_cv_path_GREP"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3455
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3456
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3458 $as_echo_n "checking for egrep... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3459 if ${ac_cv_path_EGREP+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3460 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3461 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3462 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3463 then ac_cv_path_EGREP="$GREP -E"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3464 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3465 if test -z "$EGREP"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3466 ac_path_EGREP_found=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3467 # Loop through the user's path and test for each of PROGNAME-LIST
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3470 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3471 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3472 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3473 for ac_prog in egrep; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3474 for ac_exec_ext in '' $ac_executable_extensions; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3475 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3476 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3477 # Check for GNU ac_path_EGREP and select it if it is found.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3478 # Check for GNU $ac_path_EGREP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3479 case `"$ac_path_EGREP" --version 2>&1` in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3480 *GNU*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3481 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3482 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3483 ac_count=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3484 $as_echo_n 0123456789 >"conftest.in"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3485 while :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3486 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3487 cat "conftest.in" "conftest.in" >"conftest.tmp"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3488 mv "conftest.tmp" "conftest.in"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3489 cp "conftest.in" "conftest.nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3490 $as_echo 'EGREP' >> "conftest.nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3491 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3493 as_fn_arith $ac_count + 1 && ac_count=$as_val
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3494 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3495 # Best one so far, save it but keep looking for a better one
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3496 ac_cv_path_EGREP="$ac_path_EGREP"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3497 ac_path_EGREP_max=$ac_count
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3498 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3499 # 10*(2^10) chars as input seems more than enough
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3500 test $ac_count -gt 10 && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3501 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3503 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3504
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3505 $ac_path_EGREP_found && break 3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3506 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3507 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3508 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3509 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3510 if test -z "$ac_cv_path_EGREP"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3511 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3512 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3513 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3514 ac_cv_path_EGREP=$EGREP
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3515 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3516
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3517 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3518 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3520 $as_echo "$ac_cv_path_EGREP" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3521 EGREP="$ac_cv_path_EGREP"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3522
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3523
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3525 $as_echo_n "checking for ANSI C header files... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3526 if ${ac_cv_header_stdc+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3527 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3528 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3530 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3531 #include <stdlib.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3532 #include <stdarg.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3533 #include <string.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3534 #include <float.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3535
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3536 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3537 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3538 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3539
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3540 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3541 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3542 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3543 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3544 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3545 ac_cv_header_stdc=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3546 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3547 ac_cv_header_stdc=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3548 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3550
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3551 if test $ac_cv_header_stdc = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3554 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3555 #include <string.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3556
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3557 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3559 $EGREP "memchr" >/dev/null 2>&1; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3560
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3561 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3562 ac_cv_header_stdc=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3563 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3564 rm -f conftest*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3565
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3566 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3567
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3568 if test $ac_cv_header_stdc = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3571 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3572 #include <stdlib.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3573
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3574 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3576 $EGREP "free" >/dev/null 2>&1; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3577
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3578 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3579 ac_cv_header_stdc=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3580 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3581 rm -f conftest*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3582
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3583 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3584
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3585 if test $ac_cv_header_stdc = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3587 if test "$cross_compiling" = yes; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3588 :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3589 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3591 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3592 #include <ctype.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3593 #include <stdlib.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3594 #if ((' ' & 0x0FF) == 0x020)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3597 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3598 # define ISLOWER(c) \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3599 (('a' <= (c) && (c) <= 'i') \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3600 || ('j' <= (c) && (c) <= 'r') \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3601 || ('s' <= (c) && (c) <= 'z'))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3603 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3604
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3606 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3607 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3608 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3609 int i;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3610 for (i = 0; i < 256; i++)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3611 if (XOR (islower (i), ISLOWER (i))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3612 || toupper (i) != TOUPPER (i))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3613 return 2;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3614 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3615 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3616 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3617 if ac_fn_c_try_run "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3618
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3619 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3620 ac_cv_header_stdc=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3621 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3623 conftest.$ac_objext conftest.beam conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3624 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3625
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3626 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3627 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3629 $as_echo "$ac_cv_header_stdc" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3630 if test $ac_cv_header_stdc = yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3631
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3632 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3633
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3634 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3635
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3636 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3637 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3638 inttypes.h stdint.h unistd.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3639 do :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3641 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3642 "
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3644 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3646 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3647
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3648 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3649
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3650 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3651
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3652
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3653 for ac_header in ctype.h strings.h stdlib.h string.h pwd.h sys/time.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3654 do :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3656 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3658 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3660 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3661
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3662 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3663
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3664 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3665
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3666
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3667 for ac_func in realpath snprintf vsnprintf vasprintf asprintf mkstemp
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3668 do :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3672 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3674 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3675
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3676 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3677 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3678
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3679 for ac_func in gethostname getpwuid
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3680 do :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3683 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3684 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3686 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3687
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3688 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3689 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3690
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3691 for ac_func in utimes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3692 do :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3693 ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3694 if test "x$ac_cv_func_utimes" = xyes; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3695 cat >>confdefs.h <<_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3696 #define HAVE_UTIMES 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3697 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3698
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3699 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3700 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3701
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3702
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compar_fn_t in stdlib.h" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3704 $as_echo_n "checking for compar_fn_t in stdlib.h... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3705 if ${ccache_cv_COMPAR_FN_T+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3706 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3707 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3708
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3710 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3711 #include <stdlib.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3712 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3713 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3714 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3715
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3716 void test_fn(void) { qsort(NULL, 0, 0, (__compar_fn_t)NULL); }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3717
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3718 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3719 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3720 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3721 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3722 if ac_fn_c_try_compile "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3723 ccache_cv_COMPAR_FN_T=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3724 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3725 ccache_cv_COMPAR_FN_T=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3726 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3728 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_COMPAR_FN_T" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3730 $as_echo "$ccache_cv_COMPAR_FN_T" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3731 if test x"$ccache_cv_COMPAR_FN_T" = x"yes"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3732
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3733 $as_echo "#define HAVE_COMPAR_FN_T 1" >>confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3734
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3735 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3736
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 vsnprintf" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3738 $as_echo_n "checking for C99 vsnprintf... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3739 if ${ccache_cv_HAVE_C99_VSNPRINTF+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3740 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3741 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3742
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3743 if test "$cross_compiling" = yes; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3744 ccache_cv_HAVE_C99_VSNPRINTF=cross
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3745 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3747 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3748
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3749 #include <sys/types.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3750 #include <stdarg.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3751 void foo(const char *format, ...) {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3752 va_list ap;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3753 int len;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3754 char buf[5];
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3755
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3756 va_start(ap, format);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3757 len = vsnprintf(0, 0, format, ap);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3758 va_end(ap);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3759 if (len != 5) exit(1);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3760
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3761 if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3762
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3763 exit(0);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3764 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3765 main() { foo("hello"); }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3766
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3767 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3768 if ac_fn_c_try_run "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3769 ccache_cv_HAVE_C99_VSNPRINTF=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3770 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3771 ccache_cv_HAVE_C99_VSNPRINTF=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3772 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3774 conftest.$ac_objext conftest.beam conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3775 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3776
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3777 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_HAVE_C99_VSNPRINTF" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3779 $as_echo "$ccache_cv_HAVE_C99_VSNPRINTF" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3780 if test x"$ccache_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3781
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3782 $as_echo "#define HAVE_C99_VSNPRINTF 1" >>confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3783
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3784 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3785
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3786 # Check whether --enable-zlib was given.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3787 if test "${enable_zlib+set}" = set; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3788 enableval=$enable_zlib;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3789 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3790 enable_zlib=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3791 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3792
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3793
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3794 if test x"$enable_zlib" = x"yes"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3795 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3796 if test "x$ac_cv_header_zlib_h" = xyes; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3798 $as_echo_n "checking for gzdopen in -lz... " >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3799 if ${ac_cv_lib_z_gzdopen+:} false; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3800 $as_echo_n "(cached) " >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3801 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3802 ac_check_lib_save_LIBS=$LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3803 LIBS="-lz $LIBS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3805 /* end confdefs.h. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3806
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3807 /* Override any GCC internal prototype to avoid an error.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3808 Use char because int might match the return type of a GCC
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3809 builtin and then its argument prototype would still apply. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3810 #ifdef __cplusplus
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3811 extern "C"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3812 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3813 char gzdopen ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3814 int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3815 main ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3816 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3817 return gzdopen ();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3818 ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3819 return 0;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3820 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3821 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3822 if ac_fn_c_try_link "$LINENO"; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3823 ac_cv_lib_z_gzdopen=yes
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3824 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3825 ac_cv_lib_z_gzdopen=no
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3826 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3827 rm -f core conftest.err conftest.$ac_objext \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3828 conftest$ac_exeext conftest.$ac_ext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3829 LIBS=$ac_check_lib_save_LIBS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3830 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3832 $as_echo "$ac_cv_lib_z_gzdopen" >&6; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3833 if test "x$ac_cv_lib_z_gzdopen" = xyes; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3834 LIBS="-lz $LIBS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3835
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3836 $as_echo "#define ENABLE_ZLIB 1" >>confdefs.h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3837
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3838 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3839
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3840 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3841
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3842
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3843 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3844
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3845 ac_config_files="$ac_config_files Makefile"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3846
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3847 cat >confcache <<\_ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3848 # This file is a shell script that caches the results of configure
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3849 # tests run on this system so they can be shared between configure
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3850 # scripts and configure runs, see configure's option --config-cache.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3851 # It is not useful on other systems. If it contains results you don't
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3852 # want to keep, you may remove or edit it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3853 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3854 # config.status only pays attention to the cache file if you give it
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3855 # the --recheck option to rerun configure.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3856 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3857 # `ac_cv_env_foo' variables (set or unset) will be overridden when
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3858 # loading this file, other *unset* `ac_cv_foo' will be assigned the
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3859 # following values.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3860
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3861 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3862
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3863 # The following way of writing the cache mishandles newlines in values,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3864 # but we know of no workaround that is simple, portable, and efficient.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3865 # So, we kill variables containing newlines.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3866 # Ultrix sh set writes to stderr and can't be redirected directly,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3867 # and sets the high bit in the cache file unless we assign to the vars.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3868 (
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3869 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3870 eval ac_val=\$$ac_var
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3871 case $ac_val in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3872 *${as_nl}*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3873 case $ac_var in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3875 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3876 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3877 case $ac_var in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3878 _ | IFS | as_nl) ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3880 *) { eval $ac_var=; unset $ac_var;} ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3881 esac ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3882 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3883 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3884
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3885 (set) 2>&1 |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3886 case $as_nl`(ac_space=' '; set) 2>&1` in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3887 *${as_nl}ac_space=\ *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3888 # `set' does not quote correctly, so add quotes: double-quote
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3889 # substitution turns \\\\ into \\, and sed turns \\ into \.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3890 sed -n \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3891 "s/'/'\\\\''/g;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3893 ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3894 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3895 # `set' quotes correctly as required by POSIX, so do not add quotes.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3897 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3898 esac |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3899 sort
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3900 ) |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3901 sed '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3902 /^ac_cv_env_/b end
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3903 t clear
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3904 :clear
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3906 t end
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3908 :end' >>confcache
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3909 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3910 if test -w "$cache_file"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3911 if test "x$cache_file" != "x/dev/null"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3913 $as_echo "$as_me: updating cache $cache_file" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3914 if test ! -f "$cache_file" || test -h "$cache_file"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3915 cat confcache >"$cache_file"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3916 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3917 case $cache_file in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3918 */* | ?:*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3919 mv -f confcache "$cache_file"$$ &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3920 mv -f "$cache_file"$$ "$cache_file" ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3921 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3922 mv -f confcache "$cache_file" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3923 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3924 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3925 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3926 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3928 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3929 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3930 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3931 rm -f confcache
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3932
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3933 test "x$prefix" = xNONE && prefix=$ac_default_prefix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3934 # Let make expand exec_prefix.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3935 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3936
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3937 DEFS=-DHAVE_CONFIG_H
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3938
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3939 ac_libobjs=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3940 ac_ltlibobjs=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3941 U=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3942 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3943 # 1. Remove the extension, and $U if already installed.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3944 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3945 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3946 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3947 # will be set to the directory where LIBOBJS objects are built.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3948 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3949 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3950 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3951 LIBOBJS=$ac_libobjs
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3952
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3953 LTLIBOBJS=$ac_ltlibobjs
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3954
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3955
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3956
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3957 : "${CONFIG_STATUS=./config.status}"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3958 ac_write_fail=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3959 ac_clean_files_save=$ac_clean_files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3960 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3962 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3963 as_write_fail=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3964 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3965 #! $SHELL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3966 # Generated by $as_me.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3967 # Run this file to recreate the current configuration.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3968 # Compiler output produced by configure, useful for debugging
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3969 # configure, is in config.log if it exists.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3970
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3971 debug=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3972 ac_cs_recheck=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3973 ac_cs_silent=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3974
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3975 SHELL=\${CONFIG_SHELL-$SHELL}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3976 export SHELL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3977 _ASEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3978 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3979 ## -------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3980 ## M4sh Initialization. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3981 ## -------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3982
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3983 # Be more Bourne compatible
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3984 DUALCASE=1; export DUALCASE # for MKS sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3985 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3986 emulate sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3987 NULLCMD=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3988 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3989 # is contrary to our usage. Disable this feature.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3990 alias -g '${1+"$@"}'='"$@"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3991 setopt NO_GLOB_SUBST
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3992 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3993 case `(set -o) 2>/dev/null` in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3994 *posix*) :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3995 set -o posix ;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3996 *) :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3997 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3998 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3999 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4000
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4001
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4002 as_nl='
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4003 '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4004 export as_nl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4005 # Printing a long string crashes Solaris 7 /usr/bin/printf.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4006 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4007 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4008 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4009 # Prefer a ksh shell builtin over an external printf program on Solaris,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4010 # but without wasting forks for bash or zsh.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4011 if test -z "$BASH_VERSION$ZSH_VERSION" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4012 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4013 as_echo='print -r --'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4014 as_echo_n='print -rn --'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4015 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4016 as_echo='printf %s\n'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4017 as_echo_n='printf %s'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4018 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4019 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4020 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4021 as_echo_n='/usr/ucb/echo -n'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4022 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4023 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4024 as_echo_n_body='eval
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4025 arg=$1;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4026 case $arg in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4027 *"$as_nl"*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4028 expr "X$arg" : "X\\(.*\\)$as_nl";
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4029 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4030 esac;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4031 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4032 '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4033 export as_echo_n_body
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4034 as_echo_n='sh -c $as_echo_n_body as_echo'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4035 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4036 export as_echo_body
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4037 as_echo='sh -c $as_echo_body as_echo'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4038 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4039
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4040 # The user is always right.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4041 if test "${PATH_SEPARATOR+set}" != set; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4042 PATH_SEPARATOR=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4043 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4044 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4045 PATH_SEPARATOR=';'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4046 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4047 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4048
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4049
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4050 # IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4051 # We need space, tab and new line, in precisely that order. Quoting is
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4052 # there to prevent editors from complaining about space-tab.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4053 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4054 # splitting by setting IFS to empty value.)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4055 IFS=" "" $as_nl"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4056
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4057 # Find who we are. Look in the path if we contain no directory separator.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4058 as_myself=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4059 case $0 in #((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4060 *[\\/]* ) as_myself=$0 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4061 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4062 for as_dir in $PATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4063 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4064 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4065 test -z "$as_dir" && as_dir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4066 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4067 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4068 IFS=$as_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4069
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4070 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4071 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4072 # We did not find ourselves, most probably we were run as `sh COMMAND'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4073 # in which case we are not to be found in the path.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4074 if test "x$as_myself" = x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4075 as_myself=$0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4076 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4077 if test ! -f "$as_myself"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4078 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4079 exit 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4080 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4081
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4082 # Unset variables that we do not need and which cause bugs (e.g. in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4083 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4084 # suppresses any "Segmentation fault" message there. '((' could
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4085 # trigger a bug in pdksh 5.2.14.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4086 for as_var in BASH_ENV ENV MAIL MAILPATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4087 do eval test x\${$as_var+set} = xset \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4088 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4089 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4090 PS1='$ '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4091 PS2='> '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4092 PS4='+ '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4093
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4094 # NLS nuisances.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4095 LC_ALL=C
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4096 export LC_ALL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4097 LANGUAGE=C
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4098 export LANGUAGE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4099
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4100 # CDPATH.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4101 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4102
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4103
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4104 # as_fn_error STATUS ERROR [LINENO LOG_FD]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4105 # ----------------------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4106 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4107 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4108 # script with STATUS, using 1 if that was 0.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4109 as_fn_error ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4110 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4111 as_status=$1; test $as_status -eq 0 && as_status=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4112 if test "$4"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4113 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4114 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4115 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4116 $as_echo "$as_me: error: $2" >&2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4117 as_fn_exit $as_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4118 } # as_fn_error
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4119
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4120
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4121 # as_fn_set_status STATUS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4122 # -----------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4123 # Set $? to STATUS, without forking.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4124 as_fn_set_status ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4125 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4126 return $1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4127 } # as_fn_set_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4128
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4129 # as_fn_exit STATUS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4130 # -----------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4131 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4132 as_fn_exit ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4133 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4134 set +e
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4135 as_fn_set_status $1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4136 exit $1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4137 } # as_fn_exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4138
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4139 # as_fn_unset VAR
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4140 # ---------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4141 # Portably unset VAR.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4142 as_fn_unset ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4143 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4144 { eval $1=; unset $1;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4145 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4146 as_unset=as_fn_unset
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4147 # as_fn_append VAR VALUE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4148 # ----------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4149 # Append the text in VALUE to the end of the definition contained in VAR. Take
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4150 # advantage of any shell optimizations that allow amortized linear growth over
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4151 # repeated appends, instead of the typical quadratic growth present in naive
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4152 # implementations.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4153 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4154 eval 'as_fn_append ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4155 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4156 eval $1+=\$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4157 }'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4158 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4159 as_fn_append ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4160 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4161 eval $1=\$$1\$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4162 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4163 fi # as_fn_append
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4164
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4165 # as_fn_arith ARG...
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4166 # ------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4167 # Perform arithmetic evaluation on the ARGs, and store the result in the
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4168 # global $as_val. Take advantage of shells that can avoid forks. The arguments
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4169 # must be portable across $(()) and expr.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4170 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4171 eval 'as_fn_arith ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4172 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4173 as_val=$(( $* ))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4174 }'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4175 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4176 as_fn_arith ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4177 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4178 as_val=`expr "$@" || test $? -eq 1`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4179 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4180 fi # as_fn_arith
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4181
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4182
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4183 if expr a : '\(a\)' >/dev/null 2>&1 &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4184 test "X`expr 00001 : '.*\(...\)'`" = X001; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4185 as_expr=expr
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4186 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4187 as_expr=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4188 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4189
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4190 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4191 as_basename=basename
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4192 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4193 as_basename=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4194 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4195
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4196 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4197 as_dirname=dirname
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4198 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4199 as_dirname=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4200 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4201
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4202 as_me=`$as_basename -- "$0" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4203 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4204 X"$0" : 'X\(//\)$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4205 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4206 $as_echo X/"$0" |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4207 sed '/^.*\/\([^/][^/]*\)\/*$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4208 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4209 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4210 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4211 /^X\/\(\/\/\)$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4212 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4213 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4214 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4215 /^X\/\(\/\).*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4216 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4217 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4218 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4219 s/.*/./; q'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4220
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4221 # Avoid depending upon Character Ranges.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4222 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4223 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4224 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4225 as_cr_digits='0123456789'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4226 as_cr_alnum=$as_cr_Letters$as_cr_digits
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4227
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4228 ECHO_C= ECHO_N= ECHO_T=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4229 case `echo -n x` in #(((((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4230 -n*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4231 case `echo 'xy\c'` in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4232 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4233 xy) ECHO_C='\c';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4234 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4235 ECHO_T=' ';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4236 esac;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4237 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4238 ECHO_N='-n';;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4239 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4240
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4241 rm -f conf$$ conf$$.exe conf$$.file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4242 if test -d conf$$.dir; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4243 rm -f conf$$.dir/conf$$.file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4244 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4245 rm -f conf$$.dir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4246 mkdir conf$$.dir 2>/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4247 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4248 if (echo >conf$$.file) 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4249 if ln -s conf$$.file conf$$ 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4250 as_ln_s='ln -s'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4251 # ... but there are two gotchas:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4252 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4253 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4254 # In both cases, we have to default to `cp -p'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4255 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4256 as_ln_s='cp -p'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4257 elif ln conf$$.file conf$$ 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4258 as_ln_s=ln
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4259 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4260 as_ln_s='cp -p'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4261 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4262 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4263 as_ln_s='cp -p'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4264 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4265 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4266 rmdir conf$$.dir 2>/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4267
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4268
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4269 # as_fn_mkdir_p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4270 # -------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4271 # Create "$as_dir" as a directory, including parents if necessary.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4272 as_fn_mkdir_p ()
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4273 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4274
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4275 case $as_dir in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4276 -*) as_dir=./$as_dir;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4277 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4278 test -d "$as_dir" || eval $as_mkdir_p || {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4279 as_dirs=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4280 while :; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4281 case $as_dir in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4282 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4283 *) as_qdir=$as_dir;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4284 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4285 as_dirs="'$as_qdir' $as_dirs"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4286 as_dir=`$as_dirname -- "$as_dir" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4287 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4288 X"$as_dir" : 'X\(//\)[^/]' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4289 X"$as_dir" : 'X\(//\)$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4290 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4291 $as_echo X"$as_dir" |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4293 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4294 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4295 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4296 /^X\(\/\/\)[^/].*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4297 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4298 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4299 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4300 /^X\(\/\/\)$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4301 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4302 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4303 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4304 /^X\(\/\).*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4305 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4306 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4307 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4308 s/.*/./; q'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4309 test -d "$as_dir" && break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4310 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4311 test -z "$as_dirs" || eval "mkdir $as_dirs"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4312 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4313
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4314
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4315 } # as_fn_mkdir_p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4316 if mkdir -p . 2>/dev/null; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4317 as_mkdir_p='mkdir -p "$as_dir"'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4318 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4319 test -d ./-p && rmdir ./-p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4320 as_mkdir_p=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4321 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4322
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4323 if test -x / >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4324 as_test_x='test -x'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4325 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4326 if ls -dL / >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4327 as_ls_L_option=L
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4328 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4329 as_ls_L_option=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4330 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4331 as_test_x='
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4332 eval sh -c '\''
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4333 if test -d "$1"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4334 test -d "$1/.";
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4335 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4336 case $1 in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4337 -*)set "./$1";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4338 esac;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4339 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4340 ???[sx]*):;;*)false;;esac;fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4341 '\'' sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4342 '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4343 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4344 as_executable_p=$as_test_x
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4345
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4346 # Sed expression to map a string onto a valid CPP name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4347 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4348
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4349 # Sed expression to map a string onto a valid variable name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4350 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4351
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4352
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4353 exec 6>&1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4354 ## ----------------------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4355 ## Main body of $CONFIG_STATUS script. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4356 ## ----------------------------------- ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4357 _ASEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4358 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4359
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4361 # Save the log message, to keep $0 and so on meaningful, and to
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4362 # report actual input values of CONFIG_FILES etc. instead of their
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4363 # values after options handling.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4364 ac_log="
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4365 This file was extended by ccache-swig $as_me 0.0, which was
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4366 generated by GNU Autoconf 2.68. Invocation command line was
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4367
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4368 CONFIG_FILES = $CONFIG_FILES
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4369 CONFIG_HEADERS = $CONFIG_HEADERS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4370 CONFIG_LINKS = $CONFIG_LINKS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4371 CONFIG_COMMANDS = $CONFIG_COMMANDS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4372 $ $0 $@
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4373
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4374 on `(hostname || uname -n) 2>/dev/null | sed 1q`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4375 "
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4376
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4377 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4378
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4379 case $ac_config_files in *"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4380 "*) set x $ac_config_files; shift; ac_config_files=$*;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4381 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4382
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4383 case $ac_config_headers in *"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4384 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4385 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4386
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4387
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4389 # Files that config.status was made for.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4390 config_files="$ac_config_files"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4391 config_headers="$ac_config_headers"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4392
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4393 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4394
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4396 ac_cs_usage="\
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4397 \`$as_me' instantiates files and other configuration actions
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4398 from templates according to the current configuration. Unless the files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4399 and actions are specified as TAGs, all are instantiated by default.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4400
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4401 Usage: $0 [OPTION]... [TAG]...
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4402
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4403 -h, --help print this help, then exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4404 -V, --version print version number and configuration settings, then exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4405 --config print configuration, then exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4406 -q, --quiet, --silent
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4407 do not print progress messages
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4408 -d, --debug don't remove temporary files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4409 --recheck update $as_me by reconfiguring in the same conditions
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4410 --file=FILE[:TEMPLATE]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4411 instantiate the configuration file FILE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4412 --header=FILE[:TEMPLATE]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4413 instantiate the configuration header FILE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4414
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4415 Configuration files:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4416 $config_files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4417
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4418 Configuration headers:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4419 $config_headers
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4420
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4421 Report bugs to the package provider."
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4422
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4423 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4425 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4426 ac_cs_version="\\
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4427 ccache-swig config.status 0.0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4428 configured by $0, generated by GNU Autoconf 2.68,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4429 with options \\"\$ac_cs_config\\"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4430
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4431 Copyright (C) 2010 Free Software Foundation, Inc.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4432 This config.status script is free software; the Free Software Foundation
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4433 gives unlimited permission to copy, distribute and modify it."
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4434
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4435 ac_pwd='$ac_pwd'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4436 srcdir='$srcdir'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4437 INSTALL='$INSTALL'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4438 test -n "\$AWK" || AWK=awk
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4439 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4440
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4442 # The default lists apply if the user does not specify any file.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4443 ac_need_defaults=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4444 while test $# != 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4445 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4446 case $1 in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4447 --*=?*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4448 ac_option=`expr "X$1" : 'X\([^=]*\)='`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4449 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4450 ac_shift=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4451 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4452 --*=)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4453 ac_option=`expr "X$1" : 'X\([^=]*\)='`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4454 ac_optarg=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4455 ac_shift=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4456 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4457 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4458 ac_option=$1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4459 ac_optarg=$2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4460 ac_shift=shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4461 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4462 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4463
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4464 case $ac_option in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4465 # Handling of the options.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4466 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4467 ac_cs_recheck=: ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4468 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4469 $as_echo "$ac_cs_version"; exit ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4470 --config | --confi | --conf | --con | --co | --c )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4471 $as_echo "$ac_cs_config"; exit ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4472 --debug | --debu | --deb | --de | --d | -d )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4473 debug=: ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4474 --file | --fil | --fi | --f )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4475 $ac_shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4476 case $ac_optarg in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4477 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4478 '') as_fn_error $? "missing file argument" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4479 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4480 as_fn_append CONFIG_FILES " '$ac_optarg'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4481 ac_need_defaults=false;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4482 --header | --heade | --head | --hea )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4483 $ac_shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4484 case $ac_optarg in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4485 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4486 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4487 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4488 ac_need_defaults=false;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4489 --he | --h)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4490 # Conflict between --help and --header
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4491 as_fn_error $? "ambiguous option: \`$1'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4492 Try \`$0 --help' for more information.";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4493 --help | --hel | -h )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4494 $as_echo "$ac_cs_usage"; exit ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4495 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4496 | -silent | --silent | --silen | --sile | --sil | --si | --s)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4497 ac_cs_silent=: ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4498
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4499 # This is an error.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4500 -*) as_fn_error $? "unrecognized option: \`$1'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4501 Try \`$0 --help' for more information." ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4502
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4503 *) as_fn_append ac_config_targets " $1"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4504 ac_need_defaults=false ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4505
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4506 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4507 shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4508 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4509
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4510 ac_configure_extra_args=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4511
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4512 if $ac_cs_silent; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4513 exec 6>/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4514 ac_configure_extra_args="$ac_configure_extra_args --silent"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4515 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4516
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4517 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4519 if \$ac_cs_recheck; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4520 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4521 shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4522 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4523 CONFIG_SHELL='$SHELL'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4524 export CONFIG_SHELL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4525 exec "\$@"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4526 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4527
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4528 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4530 exec 5>>config.log
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4531 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4532 echo
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4534 ## Running $as_me. ##
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4535 _ASBOX
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4536 $as_echo "$ac_log"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4537 } >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4538
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4539 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4541 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4542
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4544
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4545 # Handling of arguments.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4546 for ac_config_target in $ac_config_targets
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4547 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4548 case $ac_config_target in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4549 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4550 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4551
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4552 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4553 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4554 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4555
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4556
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4557 # If the user did not use the arguments to specify the items to instantiate,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4558 # then the envvar interface is used. Set only those that are not.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4559 # We use the long form for the default assignment because of an extremely
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4560 # bizarre bug on SunOS 4.1.3.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4561 if $ac_need_defaults; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4562 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4563 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4564 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4565
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4566 # Have a temporary directory for convenience. Make it in the build tree
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4567 # simply because there is no reason against having it here, and in addition,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4568 # creating and moving files from /tmp can sometimes cause problems.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4569 # Hook for its removal unless debugging.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4570 # Note that there is a small window in which the directory will not be cleaned:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4571 # after its creation but before its name has been assigned to `$tmp'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4572 $debug ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4573 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4574 tmp= ac_tmp=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4575 trap 'exit_status=$?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4576 : "${ac_tmp:=$tmp}"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4577 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4578 ' 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4579 trap 'as_fn_exit 1' 1 2 13 15
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4580 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4581 # Create a (secure) tmp directory for tmp files.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4582
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4583 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4584 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4585 test -d "$tmp"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4586 } ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4587 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4588 tmp=./conf$$-$RANDOM
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4589 (umask 077 && mkdir "$tmp")
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4590 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4591 ac_tmp=$tmp
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4592
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4593 # Set up the scripts for CONFIG_FILES section.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4594 # No need to generate them if there are no CONFIG_FILES.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4595 # This happens for instance with `./config.status config.h'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4596 if test -n "$CONFIG_FILES"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4597
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4598
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4599 ac_cr=`echo X | tr X '\015'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4601 # But we know of no other shell where ac_cr would be empty at this
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4602 # point, so we can use a bashism as a fallback.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4603 if test "x$ac_cr" = x; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4604 eval ac_cr=\$\'\\r\'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4605 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4606 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4608 ac_cs_awk_cr='\\r'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4609 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4610 ac_cs_awk_cr=$ac_cr
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4611 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4612
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4613 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4614 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4615
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4616
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4617 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4618 echo "cat >conf$$subs.awk <<_ACEOF" &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4620 echo "_ACEOF"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4621 } >conf$$subs.sh ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4622 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4624 ac_delim='%!_!# '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4625 for ac_last_try in false false false false false :; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4626 . ./conf$$subs.sh ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4628
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4629 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4630 if test $ac_delim_n = $ac_delim_num; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4631 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4632 elif $ac_last_try; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4634 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4635 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4636 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4637 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4638 rm -f conf$$subs.sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4639
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4641 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4642 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4643 sed -n '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4644 h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4645 s/^/S["/; s/!.*/"]=/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4646 p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4647 g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4648 s/^[^!]*!//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4649 :repl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4650 t repl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4651 s/'"$ac_delim"'$//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4652 t delim
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4653 :nl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4654 h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4655 s/\(.\{148\}\)..*/\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4656 t more1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4657 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4658 p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4659 n
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4660 b repl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4661 :more1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4663 p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4664 g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4665 s/.\{148\}//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4666 t nl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4667 :delim
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4668 h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4669 s/\(.\{148\}\)..*/\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4670 t more2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4671 s/["\\]/\\&/g; s/^/"/; s/$/"/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4672 p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4673 b
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4674 :more2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4676 p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4677 g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4678 s/.\{148\}//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4679 t delim
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4680 ' <conf$$subs.awk | sed '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4681 /^[^""]/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4682 N
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4683 s/\n//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4684 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4685 ' >>$CONFIG_STATUS || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4686 rm -f conf$$subs.awk
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4688 _ACAWK
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4689 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4690 for (key in S) S_is_set[key] = 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4691 FS = ""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4692
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4693 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4694 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4695 line = $ 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4696 nfields = split(line, field, "@")
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4697 substed = 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4698 len = length(field[1])
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4699 for (i = 2; i < nfields; i++) {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4700 key = field[i]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4701 keylen = length(key)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4702 if (S_is_set[key]) {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4703 value = S[key]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4705 len += length(value) + length(field[++i])
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4706 substed = 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4707 } else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4708 len += 1 + keylen
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4709 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4710
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4711 print line
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4712 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4713
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4714 _ACAWK
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4715 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4717 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4718 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4719 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4720 cat
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4721 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4722 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4723 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4724
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4727 # trailing colons and then remove the whole line if VPATH becomes empty
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4728 # (actually we leave an empty line to preserve line numbers).
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4729 if test "x$srcdir" = x.; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4730 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4731 h
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4732 s///
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4733 s/^/:/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4734 s/[ ]*$/:/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4735 s/:\$(srcdir):/:/g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4736 s/:\${srcdir}:/:/g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4737 s/:@srcdir@:/:/g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4738 s/^:*//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4739 s/:*$//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4740 x
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4741 s/\(=[ ]*\).*/\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4742 G
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4743 s/\n//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4744 s/^[^=]*=[ ]*$//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4745 }'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4746 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4747
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4749 fi # test -n "$CONFIG_FILES"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4750
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4751 # Set up the scripts for CONFIG_HEADERS section.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4752 # No need to generate them if there are no CONFIG_HEADERS.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4753 # This happens for instance with `./config.status Makefile'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4754 if test -n "$CONFIG_HEADERS"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4755 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4756 BEGIN {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4757 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4758
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4759 # Transform confdefs.h into an awk script `defines.awk', embedded as
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4760 # here-document in config.status, that substitutes the proper values into
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4761 # config.h.in to produce config.h.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4762
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4763 # Create a delimiter string that does not exist in confdefs.h, to ease
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4764 # handling of long lines.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4765 ac_delim='%!_!# '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4766 for ac_last_try in false false :; do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4767 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4768 if test -z "$ac_tt"; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4769 break
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4770 elif $ac_last_try; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4771 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4772 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4773 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4774 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4775 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4776
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4777 # For the awk script, D is an array of macro values keyed by name,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4778 # likewise P contains macro parameters if any. Preserve backslash
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4779 # newline sequences.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4780
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4781 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4782 sed -n '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4783 s/.\{148\}/&'"$ac_delim"'/g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4784 t rset
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4785 :rset
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4786 s/^[ ]*#[ ]*define[ ][ ]*/ /
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4787 t def
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4788 d
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4789 :def
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4790 s/\\$//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4791 t bsnl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4792 s/["\\]/\\&/g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4793 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4794 D["\1"]=" \3"/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4795 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4796 d
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4797 :bsnl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4798 s/["\\]/\\&/g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4800 D["\1"]=" \3\\\\\\n"\\/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4801 t cont
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4802 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4803 t cont
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4804 d
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4805 :cont
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4806 n
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4807 s/.\{148\}/&'"$ac_delim"'/g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4808 t clear
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4809 :clear
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4810 s/\\$//
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4811 t bsnlc
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4812 s/["\\]/\\&/g; s/^/"/; s/$/"/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4813 d
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4814 :bsnlc
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4815 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4816 b cont
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4817 ' <confdefs.h | sed '
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4818 s/'"$ac_delim"'/"\\\
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4819 "/g' >>$CONFIG_STATUS || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4820
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4822 for (key in D) D_is_set[key] = 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4823 FS = ""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4824 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4825 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4826 line = \$ 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4827 split(line, arg, " ")
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4828 if (arg[1] == "#") {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4829 defundef = arg[2]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4830 mac1 = arg[3]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4831 } else {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4832 defundef = substr(arg[1], 2)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4833 mac1 = arg[2]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4834 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4835 split(mac1, mac2, "(") #)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4836 macro = mac2[1]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4837 prefix = substr(line, 1, index(line, defundef) - 1)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4838 if (D_is_set[macro]) {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4839 # Preserve the white space surrounding the "#".
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4840 print prefix "define", macro P[macro] D[macro]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4841 next
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4842 } else {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4843 # Replace #undef with comments. This is necessary, for example,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4844 # in the case of _POSIX_SOURCE, which is predefined and required
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4845 # on some systems where configure will not decide to define it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4846 if (defundef == "undef") {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4847 print "/*", prefix defundef, macro, "*/"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4848 next
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4849 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4850 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4851 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4852 { print }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4853 _ACAWK
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4854 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4856 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4857 fi # test -n "$CONFIG_HEADERS"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4858
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4859
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4860 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4861 shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4862 for ac_tag
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4863 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4864 case $ac_tag in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4865 :[FHLC]) ac_mode=$ac_tag; continue;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4866 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4867 case $ac_mode$ac_tag in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4868 :[FHL]*:*);;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4869 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4870 :[FH]-) ac_tag=-:-;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4871 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4872 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4873 ac_save_IFS=$IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4874 IFS=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4875 set x $ac_tag
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4876 IFS=$ac_save_IFS
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4877 shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4878 ac_file=$1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4879 shift
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4880
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4881 case $ac_mode in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4882 :L) ac_source=$1;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4883 :[FH])
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4884 ac_file_inputs=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4885 for ac_f
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4886 do
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4887 case $ac_f in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4888 -) ac_f="$ac_tmp/stdin";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4889 *) # Look for the file first in the build tree, then in the source tree
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4890 # (if the path is not absolute). The absolute path cannot be DOS-style,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4891 # because $ac_f cannot contain `:'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4892 test -f "$ac_f" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4893 case $ac_f in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4894 [\\/$]*) false;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4895 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4896 esac ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4897 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4898 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4899 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4900 as_fn_append ac_file_inputs " '$ac_f'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4901 done
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4902
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4903 # Let's still pretend it is `configure' which instantiates (i.e., don't
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4904 # use $as_me), people would be surprised to read:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4905 # /* config.h. Generated by config.status. */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4906 configure_input='Generated from '`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4907 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4908 `' by configure.'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4909 if test x"$ac_file" != x-; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4910 configure_input="$ac_file. $configure_input"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4912 $as_echo "$as_me: creating $ac_file" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4913 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4914 # Neutralize special characters interpreted by sed in replacement strings.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4915 case $configure_input in #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4916 *\&* | *\|* | *\\* )
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4917 ac_sed_conf_input=`$as_echo "$configure_input" |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4918 sed 's/[\\\\&|]/\\\\&/g'`;; #(
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4919 *) ac_sed_conf_input=$configure_input;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4920 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4921
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4922 case $ac_tag in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4923 *:-:* | *:-) cat >"$ac_tmp/stdin" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4924 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4925 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4926 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4927 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4928
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4929 ac_dir=`$as_dirname -- "$ac_file" ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4931 X"$ac_file" : 'X\(//\)[^/]' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4932 X"$ac_file" : 'X\(//\)$' \| \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4933 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4934 $as_echo X"$ac_file" |
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4936 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4937 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4938 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4939 /^X\(\/\/\)[^/].*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4940 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4941 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4942 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4943 /^X\(\/\/\)$/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4944 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4945 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4946 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4947 /^X\(\/\).*/{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4948 s//\1/
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4949 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4950 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4951 s/.*/./; q'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4952 as_dir="$ac_dir"; as_fn_mkdir_p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4953 ac_builddir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4954
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4955 case "$ac_dir" in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4957 *)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4958 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4959 # A ".." for each directory in $ac_dir_suffix.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4960 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4961 case $ac_top_builddir_sub in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4962 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4963 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4964 esac ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4965 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4966 ac_abs_top_builddir=$ac_pwd
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4968 # for backward compatibility:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4969 ac_top_builddir=$ac_top_build_prefix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4970
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4971 case $srcdir in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4972 .) # We are building in place.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4973 ac_srcdir=.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4974 ac_top_srcdir=$ac_top_builddir_sub
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4975 ac_abs_top_srcdir=$ac_pwd ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4976 [\\/]* | ?:[\\/]* ) # Absolute name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4977 ac_srcdir=$srcdir$ac_dir_suffix;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4978 ac_top_srcdir=$srcdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4979 ac_abs_top_srcdir=$srcdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4980 *) # Relative name.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4981 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4982 ac_top_srcdir=$ac_top_build_prefix$srcdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4983 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4984 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4986
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4987
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4988 case $ac_mode in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4989 :F)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4990 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4991 # CONFIG_FILE
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4992 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4993
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4994 case $INSTALL in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4995 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4996 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4997 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4998 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4999
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5001 # If the template does not know about datarootdir, expand it.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5002 # FIXME: This hack should be removed a few years after 2.60.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5003 ac_datarootdir_hack=; ac_datarootdir_seen=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5004 ac_sed_dataroot='
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5005 /datarootdir/ {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5006 p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5007 q
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5008 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5009 /@datadir@/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5010 /@docdir@/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5011 /@infodir@/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5012 /@localedir@/p
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5013 /@mandir@/p'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5014 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5015 *datarootdir*) ac_datarootdir_seen=yes;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5016 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5018 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5019 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5021 ac_datarootdir_hack='
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5022 s&@datadir@&$datadir&g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5023 s&@docdir@&$docdir&g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5024 s&@infodir@&$infodir&g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5025 s&@localedir@&$localedir&g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5026 s&@mandir@&$mandir&g
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5027 s&\\\${datarootdir}&$datarootdir&g' ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5028 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5029 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5030
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5031 # Neutralize VPATH when `$srcdir' = `.'.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5032 # Shell code in configure.ac might set extrasub.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5033 # FIXME: do we really want to maintain this feature?
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5035 ac_sed_extra="$ac_vpsub
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5036 $extrasub
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5037 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5039 :t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5041 s|@configure_input@|$ac_sed_conf_input|;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5042 s&@top_builddir@&$ac_top_builddir_sub&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5043 s&@top_build_prefix@&$ac_top_build_prefix&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5044 s&@srcdir@&$ac_srcdir&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5045 s&@abs_srcdir@&$ac_abs_srcdir&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5046 s&@top_srcdir@&$ac_top_srcdir&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5047 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5048 s&@builddir@&$ac_builddir&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5049 s&@abs_builddir@&$ac_abs_builddir&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5050 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5051 s&@INSTALL@&$ac_INSTALL&;t t
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5052 $ac_datarootdir_hack
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5053 "
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5054 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5055 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5056
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5057 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5058 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5059 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5060 "$ac_tmp/out"`; test -z "$ac_out"; } &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5062 which seems to be undefined. Please make sure it is defined" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5063 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5064 which seems to be undefined. Please make sure it is defined" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5065
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5066 rm -f "$ac_tmp/stdin"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5067 case $ac_file in
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5068 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5069 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5070 esac \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5072 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5073 :H)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5074 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5075 # CONFIG_HEADER
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5076 #
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5077 if test x"$ac_file" != x-; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5078 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5079 $as_echo "/* $configure_input */" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5080 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5081 } >"$ac_tmp/config.h" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5083 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5085 $as_echo "$as_me: $ac_file is unchanged" >&6;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5086 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5087 rm -f "$ac_file"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5088 mv "$ac_tmp/config.h" "$ac_file" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5090 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5091 else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5092 $as_echo "/* $configure_input */" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5093 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5094 || as_fn_error $? "could not create -" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5095 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5096 ;;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5097
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5098
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5099 esac
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5100
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5101 done # for ac_tag
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5102
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5103
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5104 as_fn_exit 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5105 _ACEOF
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5106 ac_clean_files=$ac_clean_files_save
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5107
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5108 test $ac_write_fail = 0 ||
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5109 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5110
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5111
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5112 # configure is writing to config.log, and then calls config.status.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5113 # config.status does its own redirection, appending to config.log.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5114 # Unfortunately, on DOS this fails, as config.log is still kept open
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5115 # by configure, so config.status won't be able to write to it; its
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5116 # output is simply discarded. So we exec the FD to /dev/null,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5117 # effectively closing config.log, so it can be properly (re)opened and
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5118 # appended to by config.status. When coming back to configure, we
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5119 # need to make the FD available again.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5120 if test "$no_create" != yes; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5121 ac_cs_success=:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5122 ac_config_status_args=
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5123 test "$silent" = yes &&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5124 ac_config_status_args="$ac_config_status_args --quiet"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5125 exec 5>/dev/null
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5126 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5127 exec 5>>config.log
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5128 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5129 # would make configure fail if this is the last instruction.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5130 $ac_cs_success || as_fn_exit 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5131 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5132 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5134 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5135 fi
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5136