Mercurial > hg > xemacs-beta
comparison modules/postgresql/configure @ 5895:b2709239b1f6
Update Postgresql module for 2015 and MacPorts reality.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Mon, 04 May 2015 14:32:22 +0900 |
parents | 56b64a055043 |
children |
comparison
equal
deleted
inserted
replaced
5894:23178aa71f8b | 5895:b2709239b1f6 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # From configure.ac Revision: 1.1 . | 2 # From configure.ac Revision: 1.2 . |
3 # Guess values for system-dependent variables and create Makefiles. | 3 # Guess values for system-dependent variables and create Makefiles. |
4 # Generated by GNU Autoconf 2.53a for PostgreSQL module 1.0. | 4 # Generated by GNU Autoconf 2.69 for PostgreSQL module 1.0. |
5 # | 5 # |
6 # Report bugs to <xemacs-beta@xemacs.org>. | 6 # Report bugs to <xemacs-beta@xemacs.org>. |
7 # | 7 # |
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 8 # |
9 # Free Software Foundation, Inc. | 9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
10 # | |
11 # | |
10 # This configure script is free software; the Free Software Foundation | 12 # This configure script is free software; the Free Software Foundation |
11 # gives unlimited permission to copy, distribute and modify it. | 13 # gives unlimited permission to copy, distribute and modify it. |
12 # | 14 # |
13 # Configuration script for the PostgreSQL module. | 15 # Configuration script for the PostgreSQL module. |
14 # Copyright (C) 2002 Jerry James. | 16 # Copyright (C) 2002 Jerry James. |
25 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | 27 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
26 # for more details. | 28 # for more details. |
27 # | 29 # |
28 # You should have received a copy of the GNU General Public License | 30 # You should have received a copy of the GNU General Public License |
29 # along with XEmacs. If not, see <http://www.gnu.org/licenses/>. | 31 # along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
30 ## --------------------- ## | 32 ## -------------------- ## |
31 ## M4sh Initialization. ## | 33 ## M4sh Initialization. ## |
32 ## --------------------- ## | 34 ## -------------------- ## |
33 | 35 |
34 # Be Bourne compatible | 36 # Be more Bourne compatible |
35 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 37 DUALCASE=1; export DUALCASE # for MKS sh |
38 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
36 emulate sh | 39 emulate sh |
37 NULLCMD=: | 40 NULLCMD=: |
38 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 41 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
39 # is contrary to our usage. Disable this feature. | 42 # is contrary to our usage. Disable this feature. |
40 alias -g '${1+"$@"}'='"$@"' | 43 alias -g '${1+"$@"}'='"$@"' |
41 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 44 setopt NO_GLOB_SUBST |
42 set -o posix | 45 else |
43 fi | 46 case `(set -o) 2>/dev/null` in #( |
47 *posix*) : | |
48 set -o posix ;; #( | |
49 *) : | |
50 ;; | |
51 esac | |
52 fi | |
53 | |
54 | |
55 as_nl=' | |
56 ' | |
57 export as_nl | |
58 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
59 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
60 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
61 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
62 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
63 # but without wasting forks for bash or zsh. | |
64 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
65 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
66 as_echo='print -r --' | |
67 as_echo_n='print -rn --' | |
68 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
69 as_echo='printf %s\n' | |
70 as_echo_n='printf %s' | |
71 else | |
72 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
73 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
74 as_echo_n='/usr/ucb/echo -n' | |
75 else | |
76 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
77 as_echo_n_body='eval | |
78 arg=$1; | |
79 case $arg in #( | |
80 *"$as_nl"*) | |
81 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
82 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
83 esac; | |
84 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
85 ' | |
86 export as_echo_n_body | |
87 as_echo_n='sh -c $as_echo_n_body as_echo' | |
88 fi | |
89 export as_echo_body | |
90 as_echo='sh -c $as_echo_body as_echo' | |
91 fi | |
92 | |
93 # The user is always right. | |
94 if test "${PATH_SEPARATOR+set}" != set; then | |
95 PATH_SEPARATOR=: | |
96 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
97 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
98 PATH_SEPARATOR=';' | |
99 } | |
100 fi | |
101 | |
102 | |
103 # IFS | |
104 # We need space, tab and new line, in precisely that order. Quoting is | |
105 # there to prevent editors from complaining about space-tab. | |
106 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
107 # splitting by setting IFS to empty value.) | |
108 IFS=" "" $as_nl" | |
109 | |
110 # Find who we are. Look in the path if we contain no directory separator. | |
111 as_myself= | |
112 case $0 in #(( | |
113 *[\\/]* ) as_myself=$0 ;; | |
114 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
115 for as_dir in $PATH | |
116 do | |
117 IFS=$as_save_IFS | |
118 test -z "$as_dir" && as_dir=. | |
119 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
120 done | |
121 IFS=$as_save_IFS | |
122 | |
123 ;; | |
124 esac | |
125 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
126 # in which case we are not to be found in the path. | |
127 if test "x$as_myself" = x; then | |
128 as_myself=$0 | |
129 fi | |
130 if test ! -f "$as_myself"; then | |
131 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
132 exit 1 | |
133 fi | |
134 | |
135 # Unset variables that we do not need and which cause bugs (e.g. in | |
136 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
137 # suppresses any "Segmentation fault" message there. '((' could | |
138 # trigger a bug in pdksh 5.2.14. | |
139 for as_var in BASH_ENV ENV MAIL MAILPATH | |
140 do eval test x\${$as_var+set} = xset \ | |
141 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
142 done | |
143 PS1='$ ' | |
144 PS2='> ' | |
145 PS4='+ ' | |
44 | 146 |
45 # NLS nuisances. | 147 # NLS nuisances. |
46 # Support unset when possible. | 148 LC_ALL=C |
47 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 149 export LC_ALL |
48 as_unset=unset | 150 LANGUAGE=C |
49 else | 151 export LANGUAGE |
50 as_unset=false | 152 |
51 fi | 153 # CDPATH. |
52 | 154 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
53 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 155 |
54 { $as_unset LANG || test "${LANG+set}" != set; } || | 156 # Use a proper internal environment variable to ensure we don't fall |
55 { LANG=C; export LANG; } | 157 # into an infinite loop, continuously re-executing ourselves. |
56 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | 158 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
57 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | 159 _as_can_reexec=no; export _as_can_reexec; |
58 { LC_ALL=C; export LC_ALL; } | 160 # We cannot yet assume a decent shell, so we have to provide a |
59 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | 161 # neutralization value for shells without unset; and this also |
60 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | 162 # works around shells that cannot unset nonexistent variables. |
61 { LC_TIME=C; export LC_TIME; } | 163 # Preserve -v and -x to the replacement shell. |
62 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | 164 BASH_ENV=/dev/null |
63 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | 165 ENV=/dev/null |
64 { LC_CTYPE=C; export LC_CTYPE; } | 166 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
65 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | 167 case $- in # (((( |
66 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | 168 *v*x* | *x*v* ) as_opts=-vx ;; |
67 { LANGUAGE=C; export LANGUAGE; } | 169 *v* ) as_opts=-v ;; |
68 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | 170 *x* ) as_opts=-x ;; |
69 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | 171 * ) as_opts= ;; |
70 { LC_COLLATE=C; export LC_COLLATE; } | 172 esac |
71 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | 173 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
72 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | 174 # Admittedly, this is quite paranoid, since all the known shells bail |
73 { LC_NUMERIC=C; export LC_NUMERIC; } | 175 # out after a failed `exec'. |
74 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | 176 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
75 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | 177 as_fn_exit 255 |
76 { LC_MESSAGES=C; export LC_MESSAGES; } | 178 fi |
77 | 179 # We don't want this to propagate to other subprocesses. |
78 | 180 { _as_can_reexec=; unset _as_can_reexec;} |
79 # Required to use basename. | 181 if test "x$CONFIG_SHELL" = x; then |
80 if expr a : '\(a\)' >/dev/null 2>&1; then | 182 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
183 emulate sh | |
184 NULLCMD=: | |
185 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
186 # is contrary to our usage. Disable this feature. | |
187 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
188 setopt NO_GLOB_SUBST | |
189 else | |
190 case \`(set -o) 2>/dev/null\` in #( | |
191 *posix*) : | |
192 set -o posix ;; #( | |
193 *) : | |
194 ;; | |
195 esac | |
196 fi | |
197 " | |
198 as_required="as_fn_return () { (exit \$1); } | |
199 as_fn_success () { as_fn_return 0; } | |
200 as_fn_failure () { as_fn_return 1; } | |
201 as_fn_ret_success () { return 0; } | |
202 as_fn_ret_failure () { return 1; } | |
203 | |
204 exitcode=0 | |
205 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
206 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
207 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
208 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
209 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
210 | |
211 else | |
212 exitcode=1; echo positional parameters were not saved. | |
213 fi | |
214 test x\$exitcode = x0 || exit 1 | |
215 test -x / || exit 1" | |
216 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
217 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
218 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
219 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
220 test \$(( 1 + 1 )) = 2 || exit 1" | |
221 if (eval "$as_required") 2>/dev/null; then : | |
222 as_have_required=yes | |
223 else | |
224 as_have_required=no | |
225 fi | |
226 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
227 | |
228 else | |
229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
230 as_found=false | |
231 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
232 do | |
233 IFS=$as_save_IFS | |
234 test -z "$as_dir" && as_dir=. | |
235 as_found=: | |
236 case $as_dir in #( | |
237 /*) | |
238 for as_base in sh bash ksh sh5; do | |
239 # Try only shells that exist, to save several forks. | |
240 as_shell=$as_dir/$as_base | |
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
243 CONFIG_SHELL=$as_shell as_have_required=yes | |
244 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
245 break 2 | |
246 fi | |
247 fi | |
248 done;; | |
249 esac | |
250 as_found=false | |
251 done | |
252 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
253 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
254 CONFIG_SHELL=$SHELL as_have_required=yes | |
255 fi; } | |
256 IFS=$as_save_IFS | |
257 | |
258 | |
259 if test "x$CONFIG_SHELL" != x; then : | |
260 export CONFIG_SHELL | |
261 # We cannot yet assume a decent shell, so we have to provide a | |
262 # neutralization value for shells without unset; and this also | |
263 # works around shells that cannot unset nonexistent variables. | |
264 # Preserve -v and -x to the replacement shell. | |
265 BASH_ENV=/dev/null | |
266 ENV=/dev/null | |
267 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
268 case $- in # (((( | |
269 *v*x* | *x*v* ) as_opts=-vx ;; | |
270 *v* ) as_opts=-v ;; | |
271 *x* ) as_opts=-x ;; | |
272 * ) as_opts= ;; | |
273 esac | |
274 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
275 # Admittedly, this is quite paranoid, since all the known shells bail | |
276 # out after a failed `exec'. | |
277 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
278 exit 255 | |
279 fi | |
280 | |
281 if test x$as_have_required = xno; then : | |
282 $as_echo "$0: This script requires a shell more modern than all" | |
283 $as_echo "$0: the shells that I found on your system." | |
284 if test x${ZSH_VERSION+set} = xset ; then | |
285 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
286 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
287 else | |
288 $as_echo "$0: Please tell bug-autoconf@gnu.org and | |
289 $0: xemacs-beta@xemacs.org about your system, including any | |
290 $0: error possibly output before this message. Then install | |
291 $0: a modern shell, or manually run the script under such a | |
292 $0: shell if you do have one." | |
293 fi | |
294 exit 1 | |
295 fi | |
296 fi | |
297 fi | |
298 SHELL=${CONFIG_SHELL-/bin/sh} | |
299 export SHELL | |
300 # Unset more variables known to interfere with behavior of common tools. | |
301 CLICOLOR_FORCE= GREP_OPTIONS= | |
302 unset CLICOLOR_FORCE GREP_OPTIONS | |
303 | |
304 ## --------------------- ## | |
305 ## M4sh Shell Functions. ## | |
306 ## --------------------- ## | |
307 # as_fn_unset VAR | |
308 # --------------- | |
309 # Portably unset VAR. | |
310 as_fn_unset () | |
311 { | |
312 { eval $1=; unset $1;} | |
313 } | |
314 as_unset=as_fn_unset | |
315 | |
316 # as_fn_set_status STATUS | |
317 # ----------------------- | |
318 # Set $? to STATUS, without forking. | |
319 as_fn_set_status () | |
320 { | |
321 return $1 | |
322 } # as_fn_set_status | |
323 | |
324 # as_fn_exit STATUS | |
325 # ----------------- | |
326 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
327 as_fn_exit () | |
328 { | |
329 set +e | |
330 as_fn_set_status $1 | |
331 exit $1 | |
332 } # as_fn_exit | |
333 | |
334 # as_fn_mkdir_p | |
335 # ------------- | |
336 # Create "$as_dir" as a directory, including parents if necessary. | |
337 as_fn_mkdir_p () | |
338 { | |
339 | |
340 case $as_dir in #( | |
341 -*) as_dir=./$as_dir;; | |
342 esac | |
343 test -d "$as_dir" || eval $as_mkdir_p || { | |
344 as_dirs= | |
345 while :; do | |
346 case $as_dir in #( | |
347 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
348 *) as_qdir=$as_dir;; | |
349 esac | |
350 as_dirs="'$as_qdir' $as_dirs" | |
351 as_dir=`$as_dirname -- "$as_dir" || | |
352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
353 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
354 X"$as_dir" : 'X\(//\)$' \| \ | |
355 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
356 $as_echo X"$as_dir" | | |
357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
358 s//\1/ | |
359 q | |
360 } | |
361 /^X\(\/\/\)[^/].*/{ | |
362 s//\1/ | |
363 q | |
364 } | |
365 /^X\(\/\/\)$/{ | |
366 s//\1/ | |
367 q | |
368 } | |
369 /^X\(\/\).*/{ | |
370 s//\1/ | |
371 q | |
372 } | |
373 s/.*/./; q'` | |
374 test -d "$as_dir" && break | |
375 done | |
376 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
377 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
378 | |
379 | |
380 } # as_fn_mkdir_p | |
381 | |
382 # as_fn_executable_p FILE | |
383 # ----------------------- | |
384 # Test if FILE is an executable regular file. | |
385 as_fn_executable_p () | |
386 { | |
387 test -f "$1" && test -x "$1" | |
388 } # as_fn_executable_p | |
389 # as_fn_append VAR VALUE | |
390 # ---------------------- | |
391 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
392 # advantage of any shell optimizations that allow amortized linear growth over | |
393 # repeated appends, instead of the typical quadratic growth present in naive | |
394 # implementations. | |
395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
396 eval 'as_fn_append () | |
397 { | |
398 eval $1+=\$2 | |
399 }' | |
400 else | |
401 as_fn_append () | |
402 { | |
403 eval $1=\$$1\$2 | |
404 } | |
405 fi # as_fn_append | |
406 | |
407 # as_fn_arith ARG... | |
408 # ------------------ | |
409 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
411 # must be portable across $(()) and expr. | |
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
413 eval 'as_fn_arith () | |
414 { | |
415 as_val=$(( $* )) | |
416 }' | |
417 else | |
418 as_fn_arith () | |
419 { | |
420 as_val=`expr "$@" || test $? -eq 1` | |
421 } | |
422 fi # as_fn_arith | |
423 | |
424 | |
425 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
426 # ---------------------------------------- | |
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
429 # script with STATUS, using 1 if that was 0. | |
430 as_fn_error () | |
431 { | |
432 as_status=$1; test $as_status -eq 0 && as_status=1 | |
433 if test "$4"; then | |
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
435 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
436 fi | |
437 $as_echo "$as_me: error: $2" >&2 | |
438 as_fn_exit $as_status | |
439 } # as_fn_error | |
440 | |
441 if expr a : '\(a\)' >/dev/null 2>&1 && | |
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
81 as_expr=expr | 443 as_expr=expr |
82 else | 444 else |
83 as_expr=false | 445 as_expr=false |
84 fi | 446 fi |
85 | 447 |
86 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
87 as_basename=basename | 449 as_basename=basename |
88 else | 450 else |
89 as_basename=false | 451 as_basename=false |
90 fi | 452 fi |
91 | 453 |
92 | 454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
93 # Name of the executable. | 455 as_dirname=dirname |
94 as_me=`$as_basename "$0" || | 456 else |
457 as_dirname=false | |
458 fi | |
459 | |
460 as_me=`$as_basename -- "$0" || | |
95 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
96 X"$0" : 'X\(//\)$' \| \ | 462 X"$0" : 'X\(//\)$' \| \ |
97 X"$0" : 'X\(/\)$' \| \ | 463 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
98 . : '\(.\)' 2>/dev/null || | 464 $as_echo X/"$0" | |
99 echo X/"$0" | | 465 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
100 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 466 s//\1/ |
101 /^X\/\(\/\/\)$/{ s//\1/; q; } | 467 q |
102 /^X\/\(\/\).*/{ s//\1/; q; } | 468 } |
103 s/.*/./; q'` | 469 /^X\/\(\/\/\)$/{ |
104 | 470 s//\1/ |
105 | 471 q |
106 # PATH needs CR, and LINENO needs CR and PATH. | 472 } |
473 /^X\/\(\/\).*/{ | |
474 s//\1/ | |
475 q | |
476 } | |
477 s/.*/./; q'` | |
478 | |
107 # Avoid depending upon Character Ranges. | 479 # Avoid depending upon Character Ranges. |
108 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 480 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
109 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
110 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
111 as_cr_digits='0123456789' | 483 as_cr_digits='0123456789' |
112 as_cr_alnum=$as_cr_Letters$as_cr_digits | 484 as_cr_alnum=$as_cr_Letters$as_cr_digits |
113 | 485 |
114 # The user is always right. | 486 |
115 if test "${PATH_SEPARATOR+set}" != set; then | 487 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
116 echo "#! /bin/sh" >conftest.sh | 488 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
117 echo "exit 0" >>conftest.sh | 489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
118 chmod +x conftest.sh | 490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
119 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
120 PATH_SEPARATOR=';' | 492 sed -n ' |
121 else | 493 p |
122 PATH_SEPARATOR=: | 494 /[$]LINENO/= |
123 fi | 495 ' <$as_myself | |
124 rm -f conftest.sh | |
125 fi | |
126 | |
127 | |
128 as_lineno_1=$LINENO | |
129 as_lineno_2=$LINENO | |
130 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
131 test "x$as_lineno_1" != "x$as_lineno_2" && | |
132 test "x$as_lineno_3" = "x$as_lineno_2" || { | |
133 # Find who we are. Look in the path if we contain no path at all | |
134 # relative or not. | |
135 case $0 in | |
136 *[\\/]* ) as_myself=$0 ;; | |
137 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
138 for as_dir in $PATH | |
139 do | |
140 IFS=$as_save_IFS | |
141 test -z "$as_dir" && as_dir=. | |
142 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
143 done | |
144 | |
145 ;; | |
146 esac | |
147 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
148 # in which case we are not to be found in the path. | |
149 if test "x$as_myself" = x; then | |
150 as_myself=$0 | |
151 fi | |
152 if test ! -f "$as_myself"; then | |
153 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | |
154 { (exit 1); exit 1; }; } | |
155 fi | |
156 case $CONFIG_SHELL in | |
157 '') | |
158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
159 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
160 do | |
161 IFS=$as_save_IFS | |
162 test -z "$as_dir" && as_dir=. | |
163 for as_base in sh bash ksh sh5; do | |
164 case $as_dir in | |
165 /*) | |
166 if ("$as_dir/$as_base" -c ' | |
167 as_lineno_1=$LINENO | |
168 as_lineno_2=$LINENO | |
169 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
170 test "x$as_lineno_1" != "x$as_lineno_2" && | |
171 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
172 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
173 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
174 CONFIG_SHELL=$as_dir/$as_base | |
175 export CONFIG_SHELL | |
176 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
177 fi;; | |
178 esac | |
179 done | |
180 done | |
181 ;; | |
182 esac | |
183 | |
184 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
185 # uniformly replaced by the line number. The first 'sed' inserts a | |
186 # line-number line before each line; the second 'sed' does the real | |
187 # work. The second script uses 'N' to pair each line-number line | |
188 # with the numbered line, and appends trailing '-' during | |
189 # substitution so that $LINENO is not a special case at line end. | |
190 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
191 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
192 sed '=' <$as_myself | | |
193 sed ' | 496 sed ' |
497 s/[$]LINENO.*/&-/ | |
498 t lineno | |
499 b | |
500 :lineno | |
194 N | 501 N |
195 s,$,-, | 502 :loop |
196 : loop | 503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
197 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
198 t loop | 504 t loop |
199 s,-$,, | 505 s/-\n.*// |
200 s,^['$as_cr_digits']*\n,, | |
201 ' >$as_me.lineno && | 506 ' >$as_me.lineno && |
202 chmod +x $as_me.lineno || | 507 chmod +x "$as_me.lineno" || |
203 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 508 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
204 { (exit 1); exit 1; }; } | 509 |
205 | 510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
511 # already done that, so ensure we don't try to do so again and fall | |
512 # in an infinite loop. This has already happened in practice. | |
513 _as_can_reexec=no; export _as_can_reexec | |
206 # Don't try to exec as it changes $[0], causing all sort of problems | 514 # Don't try to exec as it changes $[0], causing all sort of problems |
207 # (the dirname of $[0] is not the place where we might find the | 515 # (the dirname of $[0] is not the place where we might find the |
208 # original and so on. Autoconf is especially sensible to this). | 516 # original and so on. Autoconf is especially sensitive to this). |
209 . ./$as_me.lineno | 517 . "./$as_me.lineno" |
210 # Exit status is that of the last command. | 518 # Exit status is that of the last command. |
211 exit | 519 exit |
212 } | 520 } |
213 | 521 |
214 | 522 ECHO_C= ECHO_N= ECHO_T= |
215 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 523 case `echo -n x` in #((((( |
216 *c*,-n*) ECHO_N= ECHO_C=' | 524 -n*) |
217 ' ECHO_T=' ' ;; | 525 case `echo 'xy\c'` in |
218 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 526 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
219 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 527 xy) ECHO_C='\c';; |
528 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
529 ECHO_T=' ';; | |
530 esac;; | |
531 *) | |
532 ECHO_N='-n';; | |
220 esac | 533 esac |
221 | 534 |
222 if expr a : '\(a\)' >/dev/null 2>&1; then | |
223 as_expr=expr | |
224 else | |
225 as_expr=false | |
226 fi | |
227 | |
228 rm -f conf$$ conf$$.exe conf$$.file | 535 rm -f conf$$ conf$$.exe conf$$.file |
229 echo >conf$$.file | 536 if test -d conf$$.dir; then |
230 if ln -s conf$$.file conf$$ 2>/dev/null; then | 537 rm -f conf$$.dir/conf$$.file |
231 # We could just check for DJGPP; but this test a) works b) is more generic | 538 else |
232 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 539 rm -f conf$$.dir |
233 if test -f conf$$.exe; then | 540 mkdir conf$$.dir 2>/dev/null |
234 # Don't use ln at all; we don't have any links | 541 fi |
235 as_ln_s='cp -p' | 542 if (echo >conf$$.file) 2>/dev/null; then |
543 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
544 as_ln_s='ln -s' | |
545 # ... but there are two gotchas: | |
546 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
547 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
548 # In both cases, we have to default to `cp -pR'. | |
549 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
550 as_ln_s='cp -pR' | |
551 elif ln conf$$.file conf$$ 2>/dev/null; then | |
552 as_ln_s=ln | |
236 else | 553 else |
237 as_ln_s='ln -s' | 554 as_ln_s='cp -pR' |
238 fi | 555 fi |
239 elif ln conf$$.file conf$$ 2>/dev/null; then | 556 else |
240 as_ln_s=ln | 557 as_ln_s='cp -pR' |
241 else | 558 fi |
242 as_ln_s='cp -p' | 559 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
243 fi | 560 rmdir conf$$.dir 2>/dev/null |
244 rm -f conf$$ conf$$.exe conf$$.file | |
245 | 561 |
246 if mkdir -p . 2>/dev/null; then | 562 if mkdir -p . 2>/dev/null; then |
247 as_mkdir_p=: | 563 as_mkdir_p='mkdir -p "$as_dir"' |
248 else | 564 else |
565 test -d ./-p && rmdir ./-p | |
249 as_mkdir_p=false | 566 as_mkdir_p=false |
250 fi | 567 fi |
251 | 568 |
252 as_executable_p="test -f" | 569 as_test_x='test -x' |
570 as_executable_p=as_fn_executable_p | |
253 | 571 |
254 # Sed expression to map a string onto a valid CPP name. | 572 # Sed expression to map a string onto a valid CPP name. |
255 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 573 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
256 | 574 |
257 # Sed expression to map a string onto a valid variable name. | 575 # Sed expression to map a string onto a valid variable name. |
258 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 576 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
259 | 577 |
260 | 578 |
261 # IFS | 579 test -n "$DJDIR" || exec 7<&0 </dev/null |
262 # We need space, tab and new line, in precisely that order. | 580 exec 6>&1 |
263 as_nl=' | |
264 ' | |
265 IFS=" $as_nl" | |
266 | |
267 # CDPATH. | |
268 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
269 | |
270 | 581 |
271 # Name of the host. | 582 # Name of the host. |
272 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 583 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
273 # so uname gets run too. | 584 # so uname gets run too. |
274 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 585 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
275 | |
276 exec 6>&1 | |
277 | 586 |
278 # | 587 # |
279 # Initializations. | 588 # Initializations. |
280 # | 589 # |
281 ac_default_prefix=/usr/local | 590 ac_default_prefix=/usr/local |
591 ac_clean_files= | |
592 ac_config_libobj_dir=. | |
593 LIBOBJS= | |
282 cross_compiling=no | 594 cross_compiling=no |
283 subdirs= | 595 subdirs= |
284 MFLAGS= | 596 MFLAGS= |
285 MAKEFLAGS= | 597 MAKEFLAGS= |
286 SHELL=${CONFIG_SHELL-/bin/sh} | |
287 | |
288 # Maximum number of lines to put in a shell here document. | |
289 # This variable seems obsolete. It should probably be removed, and | |
290 # only ac_max_sed_lines should be used. | |
291 : ${ac_max_here_lines=38} | |
292 | 598 |
293 # Identity of this package. | 599 # Identity of this package. |
294 PACKAGE_NAME='PostgreSQL module' | 600 PACKAGE_NAME='PostgreSQL module' |
295 PACKAGE_TARNAME='postgresql-module' | 601 PACKAGE_TARNAME='postgresql-module' |
296 PACKAGE_VERSION='1.0' | 602 PACKAGE_VERSION='1.0' |
297 PACKAGE_STRING='PostgreSQL module 1.0' | 603 PACKAGE_STRING='PostgreSQL module 1.0' |
298 PACKAGE_BUGREPORT='xemacs-beta@xemacs.org' | 604 PACKAGE_BUGREPORT='xemacs-beta@xemacs.org' |
605 PACKAGE_URL='' | |
299 | 606 |
300 ac_unique_file="postgresql.c" | 607 ac_unique_file="postgresql.c" |
301 # Factoring default headers for most tests. | 608 # Factoring default headers for most tests. |
302 ac_includes_default="\ | 609 ac_includes_default="\ |
303 #include <stdio.h> | 610 #include <stdio.h> |
304 #if HAVE_SYS_TYPES_H | 611 #ifdef HAVE_SYS_TYPES_H |
305 # include <sys/types.h> | 612 # include <sys/types.h> |
306 #endif | 613 #endif |
307 #if HAVE_SYS_STAT_H | 614 #ifdef HAVE_SYS_STAT_H |
308 # include <sys/stat.h> | 615 # include <sys/stat.h> |
309 #endif | 616 #endif |
310 #if STDC_HEADERS | 617 #ifdef STDC_HEADERS |
311 # include <stdlib.h> | 618 # include <stdlib.h> |
312 # include <stddef.h> | 619 # include <stddef.h> |
313 #else | 620 #else |
314 # if HAVE_STDLIB_H | 621 # ifdef HAVE_STDLIB_H |
315 # include <stdlib.h> | 622 # include <stdlib.h> |
316 # endif | 623 # endif |
317 #endif | 624 #endif |
318 #if HAVE_STRING_H | 625 #ifdef HAVE_STRING_H |
319 # if !STDC_HEADERS && HAVE_MEMORY_H | 626 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
320 # include <memory.h> | 627 # include <memory.h> |
321 # endif | 628 # endif |
322 # include <string.h> | 629 # include <string.h> |
323 #endif | 630 #endif |
324 #if HAVE_STRINGS_H | 631 #ifdef HAVE_STRINGS_H |
325 # include <strings.h> | 632 # include <strings.h> |
326 #endif | 633 #endif |
327 #if HAVE_INTTYPES_H | 634 #ifdef HAVE_INTTYPES_H |
328 # include <inttypes.h> | 635 # include <inttypes.h> |
329 #else | |
330 # if HAVE_STDINT_H | |
331 # include <stdint.h> | |
332 # endif | |
333 #endif | 636 #endif |
334 #if HAVE_UNISTD_H | 637 #ifdef HAVE_STDINT_H |
638 # include <stdint.h> | |
639 #endif | |
640 #ifdef HAVE_UNISTD_H | |
335 # include <unistd.h> | 641 # include <unistd.h> |
336 #endif" | 642 #endif" |
643 | |
644 ac_subst_vars='LTLIBOBJS | |
645 LIBOBJS | |
646 OBJECT_TO_BUILD | |
647 MOD_INSTALL_PROGRAM | |
648 INSTALLPATH | |
649 MODCFLAGS | |
650 MAKE_DOCFILE | |
651 MODARCHDIR | |
652 MOD_CC | |
653 PROGNAME | |
654 postgresql_libs | |
655 EGREP | |
656 GREP | |
657 CPP | |
658 ELLCC | |
659 INSTALL_DATA | |
660 INSTALL_SCRIPT | |
661 INSTALL_PROGRAM | |
662 OBJEXT | |
663 EXEEXT | |
664 ac_ct_CC | |
665 CPPFLAGS | |
666 LDFLAGS | |
667 CFLAGS | |
668 CC | |
669 target_alias | |
670 host_alias | |
671 build_alias | |
672 LIBS | |
673 ECHO_T | |
674 ECHO_N | |
675 ECHO_C | |
676 DEFS | |
677 mandir | |
678 localedir | |
679 libdir | |
680 psdir | |
681 pdfdir | |
682 dvidir | |
683 htmldir | |
684 infodir | |
685 docdir | |
686 oldincludedir | |
687 includedir | |
688 localstatedir | |
689 sharedstatedir | |
690 sysconfdir | |
691 datadir | |
692 datarootdir | |
693 libexecdir | |
694 sbindir | |
695 bindir | |
696 program_transform_name | |
697 prefix | |
698 exec_prefix | |
699 PACKAGE_URL | |
700 PACKAGE_BUGREPORT | |
701 PACKAGE_STRING | |
702 PACKAGE_VERSION | |
703 PACKAGE_TARNAME | |
704 PACKAGE_NAME | |
705 PATH_SEPARATOR | |
706 SHELL' | |
707 ac_subst_files='' | |
708 ac_user_opts=' | |
709 enable_option_checking | |
710 ' | |
711 ac_precious_vars='build_alias | |
712 host_alias | |
713 target_alias | |
714 CC | |
715 CFLAGS | |
716 LDFLAGS | |
717 LIBS | |
718 CPPFLAGS | |
719 ELLCC | |
720 CPP' | |
337 | 721 |
338 | 722 |
339 # Initialize some variables set by options. | 723 # Initialize some variables set by options. |
340 ac_init_help= | 724 ac_init_help= |
341 ac_init_version=false | 725 ac_init_version=false |
726 ac_unrecognized_opts= | |
727 ac_unrecognized_sep= | |
342 # The variables have the same names as the options, with | 728 # The variables have the same names as the options, with |
343 # dashes changed to underlines. | 729 # dashes changed to underlines. |
344 cache_file=/dev/null | 730 cache_file=/dev/null |
345 exec_prefix=NONE | 731 exec_prefix=NONE |
346 no_create= | 732 no_create= |
359 # Installation directory options. | 745 # Installation directory options. |
360 # These are left unexpanded so users can "make install exec_prefix=/foo" | 746 # These are left unexpanded so users can "make install exec_prefix=/foo" |
361 # and all the variables that are supposed to be based on exec_prefix | 747 # and all the variables that are supposed to be based on exec_prefix |
362 # by default will actually change. | 748 # by default will actually change. |
363 # Use braces instead of parens because sh, perl, etc. also accept them. | 749 # Use braces instead of parens because sh, perl, etc. also accept them. |
750 # (The list follows the same order as the GNU Coding Standards.) | |
364 bindir='${exec_prefix}/bin' | 751 bindir='${exec_prefix}/bin' |
365 sbindir='${exec_prefix}/sbin' | 752 sbindir='${exec_prefix}/sbin' |
366 libexecdir='${exec_prefix}/libexec' | 753 libexecdir='${exec_prefix}/libexec' |
367 datadir='${prefix}/share' | 754 datarootdir='${prefix}/share' |
755 datadir='${datarootdir}' | |
368 sysconfdir='${prefix}/etc' | 756 sysconfdir='${prefix}/etc' |
369 sharedstatedir='${prefix}/com' | 757 sharedstatedir='${prefix}/com' |
370 localstatedir='${prefix}/var' | 758 localstatedir='${prefix}/var' |
371 libdir='${exec_prefix}/lib' | |
372 includedir='${prefix}/include' | 759 includedir='${prefix}/include' |
373 oldincludedir='/usr/include' | 760 oldincludedir='/usr/include' |
374 infodir='${prefix}/info' | 761 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
375 mandir='${prefix}/man' | 762 infodir='${datarootdir}/info' |
763 htmldir='${docdir}' | |
764 dvidir='${docdir}' | |
765 pdfdir='${docdir}' | |
766 psdir='${docdir}' | |
767 libdir='${exec_prefix}/lib' | |
768 localedir='${datarootdir}/locale' | |
769 mandir='${datarootdir}/man' | |
376 | 770 |
377 ac_prev= | 771 ac_prev= |
772 ac_dashdash= | |
378 for ac_option | 773 for ac_option |
379 do | 774 do |
380 # If the previous option needs an argument, assign it. | 775 # If the previous option needs an argument, assign it. |
381 if test -n "$ac_prev"; then | 776 if test -n "$ac_prev"; then |
382 eval "$ac_prev=\$ac_option" | 777 eval $ac_prev=\$ac_option |
383 ac_prev= | 778 ac_prev= |
384 continue | 779 continue |
385 fi | 780 fi |
386 | 781 |
387 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 782 case $ac_option in |
783 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
784 *=) ac_optarg= ;; | |
785 *) ac_optarg=yes ;; | |
786 esac | |
388 | 787 |
389 # Accept the important Cygnus configure options, so we can diagnose typos. | 788 # Accept the important Cygnus configure options, so we can diagnose typos. |
390 | 789 |
391 case $ac_option in | 790 case $ac_dashdash$ac_option in |
791 --) | |
792 ac_dashdash=yes ;; | |
392 | 793 |
393 -bindir | --bindir | --bindi | --bind | --bin | --bi) | 794 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
394 ac_prev=bindir ;; | 795 ac_prev=bindir ;; |
395 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 796 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
396 bindir=$ac_optarg ;; | 797 bindir=$ac_optarg ;; |
408 cache_file=$ac_optarg ;; | 809 cache_file=$ac_optarg ;; |
409 | 810 |
410 --config-cache | -C) | 811 --config-cache | -C) |
411 cache_file=config.cache ;; | 812 cache_file=config.cache ;; |
412 | 813 |
413 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 814 -datadir | --datadir | --datadi | --datad) |
414 ac_prev=datadir ;; | 815 ac_prev=datadir ;; |
415 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 816 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
416 | --da=*) | |
417 datadir=$ac_optarg ;; | 817 datadir=$ac_optarg ;; |
418 | 818 |
819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
820 | --dataroo | --dataro | --datar) | |
821 ac_prev=datarootdir ;; | |
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
824 datarootdir=$ac_optarg ;; | |
825 | |
419 -disable-* | --disable-*) | 826 -disable-* | --disable-*) |
420 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 827 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
421 # Reject names that are not valid shell variable names. | 828 # Reject names that are not valid shell variable names. |
422 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
423 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 830 as_fn_error $? "invalid feature name: $ac_useropt" |
424 { (exit 1); exit 1; }; } | 831 ac_useropt_orig=$ac_useropt |
425 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
426 eval "enable_$ac_feature=no" ;; | 833 case $ac_user_opts in |
834 *" | |
835 "enable_$ac_useropt" | |
836 "*) ;; | |
837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
838 ac_unrecognized_sep=', ';; | |
839 esac | |
840 eval enable_$ac_useropt=no ;; | |
841 | |
842 -docdir | --docdir | --docdi | --doc | --do) | |
843 ac_prev=docdir ;; | |
844 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
845 docdir=$ac_optarg ;; | |
846 | |
847 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
848 ac_prev=dvidir ;; | |
849 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
850 dvidir=$ac_optarg ;; | |
427 | 851 |
428 -enable-* | --enable-*) | 852 -enable-* | --enable-*) |
429 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 853 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
430 # Reject names that are not valid shell variable names. | 854 # Reject names that are not valid shell variable names. |
431 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
432 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 856 as_fn_error $? "invalid feature name: $ac_useropt" |
433 { (exit 1); exit 1; }; } | 857 ac_useropt_orig=$ac_useropt |
434 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
435 case $ac_option in | 859 case $ac_user_opts in |
436 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 860 *" |
437 *) ac_optarg=yes ;; | 861 "enable_$ac_useropt" |
862 "*) ;; | |
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
864 ac_unrecognized_sep=', ';; | |
438 esac | 865 esac |
439 eval "enable_$ac_feature='$ac_optarg'" ;; | 866 eval enable_$ac_useropt=\$ac_optarg ;; |
440 | 867 |
441 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 868 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
442 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 869 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
443 | --exec | --exe | --ex) | 870 | --exec | --exe | --ex) |
444 ac_prev=exec_prefix ;; | 871 ac_prev=exec_prefix ;; |
461 -host | --host | --hos | --ho) | 888 -host | --host | --hos | --ho) |
462 ac_prev=host_alias ;; | 889 ac_prev=host_alias ;; |
463 -host=* | --host=* | --hos=* | --ho=*) | 890 -host=* | --host=* | --hos=* | --ho=*) |
464 host_alias=$ac_optarg ;; | 891 host_alias=$ac_optarg ;; |
465 | 892 |
893 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
894 ac_prev=htmldir ;; | |
895 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
896 | --ht=*) | |
897 htmldir=$ac_optarg ;; | |
898 | |
466 -includedir | --includedir | --includedi | --included | --include \ | 899 -includedir | --includedir | --includedi | --included | --include \ |
467 | --includ | --inclu | --incl | --inc) | 900 | --includ | --inclu | --incl | --inc) |
468 ac_prev=includedir ;; | 901 ac_prev=includedir ;; |
469 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 902 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
470 | --includ=* | --inclu=* | --incl=* | --inc=*) | 903 | --includ=* | --inclu=* | --incl=* | --inc=*) |
485 ac_prev=libexecdir ;; | 918 ac_prev=libexecdir ;; |
486 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 919 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
487 | --libexe=* | --libex=* | --libe=*) | 920 | --libexe=* | --libex=* | --libe=*) |
488 libexecdir=$ac_optarg ;; | 921 libexecdir=$ac_optarg ;; |
489 | 922 |
923 -localedir | --localedir | --localedi | --localed | --locale) | |
924 ac_prev=localedir ;; | |
925 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
926 localedir=$ac_optarg ;; | |
927 | |
490 -localstatedir | --localstatedir | --localstatedi | --localstated \ | 928 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
491 | --localstate | --localstat | --localsta | --localst \ | 929 | --localstate | --localstat | --localsta | --localst | --locals) |
492 | --locals | --local | --loca | --loc | --lo) | |
493 ac_prev=localstatedir ;; | 930 ac_prev=localstatedir ;; |
494 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 931 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
495 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 932 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
496 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
497 localstatedir=$ac_optarg ;; | 933 localstatedir=$ac_optarg ;; |
498 | 934 |
499 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 935 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
500 ac_prev=mandir ;; | 936 ac_prev=mandir ;; |
501 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 937 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
556 | --program-transfo=* | --program-transf=* \ | 992 | --program-transfo=* | --program-transf=* \ |
557 | --program-trans=* | --program-tran=* \ | 993 | --program-trans=* | --program-tran=* \ |
558 | --progr-tra=* | --program-tr=* | --program-t=*) | 994 | --progr-tra=* | --program-tr=* | --program-t=*) |
559 program_transform_name=$ac_optarg ;; | 995 program_transform_name=$ac_optarg ;; |
560 | 996 |
997 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
998 ac_prev=pdfdir ;; | |
999 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1000 pdfdir=$ac_optarg ;; | |
1001 | |
1002 -psdir | --psdir | --psdi | --psd | --ps) | |
1003 ac_prev=psdir ;; | |
1004 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1005 psdir=$ac_optarg ;; | |
1006 | |
561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
562 | -silent | --silent | --silen | --sile | --sil) | 1008 | -silent | --silent | --silen | --sile | --sil) |
563 silent=yes ;; | 1009 silent=yes ;; |
564 | 1010 |
565 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
606 | 1052 |
607 -version | --version | --versio | --versi | --vers | -V) | 1053 -version | --version | --versio | --versi | --vers | -V) |
608 ac_init_version=: ;; | 1054 ac_init_version=: ;; |
609 | 1055 |
610 -with-* | --with-*) | 1056 -with-* | --with-*) |
611 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1057 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
612 # Reject names that are not valid shell variable names. | 1058 # Reject names that are not valid shell variable names. |
613 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
614 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1060 as_fn_error $? "invalid package name: $ac_useropt" |
615 { (exit 1); exit 1; }; } | 1061 ac_useropt_orig=$ac_useropt |
616 ac_package=`echo $ac_package| sed 's/-/_/g'` | 1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
617 case $ac_option in | 1063 case $ac_user_opts in |
618 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 1064 *" |
619 *) ac_optarg=yes ;; | 1065 "with_$ac_useropt" |
1066 "*) ;; | |
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1068 ac_unrecognized_sep=', ';; | |
620 esac | 1069 esac |
621 eval "with_$ac_package='$ac_optarg'" ;; | 1070 eval with_$ac_useropt=\$ac_optarg ;; |
622 | 1071 |
623 -without-* | --without-*) | 1072 -without-* | --without-*) |
624 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
625 # Reject names that are not valid shell variable names. | 1074 # Reject names that are not valid shell variable names. |
626 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
627 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1076 as_fn_error $? "invalid package name: $ac_useropt" |
628 { (exit 1); exit 1; }; } | 1077 ac_useropt_orig=$ac_useropt |
629 ac_package=`echo $ac_package | sed 's/-/_/g'` | 1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
630 eval "with_$ac_package=no" ;; | 1079 case $ac_user_opts in |
1080 *" | |
1081 "with_$ac_useropt" | |
1082 "*) ;; | |
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1084 ac_unrecognized_sep=', ';; | |
1085 esac | |
1086 eval with_$ac_useropt=no ;; | |
631 | 1087 |
632 --x) | 1088 --x) |
633 # Obsolete; use --with-x. | 1089 # Obsolete; use --with-x. |
634 with_x=yes ;; | 1090 with_x=yes ;; |
635 | 1091 |
645 ac_prev=x_libraries ;; | 1101 ac_prev=x_libraries ;; |
646 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1102 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
647 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1103 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
648 x_libraries=$ac_optarg ;; | 1104 x_libraries=$ac_optarg ;; |
649 | 1105 |
650 -*) { echo "$as_me: error: unrecognized option: $ac_option | 1106 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
651 Try \`$0 --help' for more information." >&2 | 1107 Try \`$0 --help' for more information" |
652 { (exit 1); exit 1; }; } | |
653 ;; | 1108 ;; |
654 | 1109 |
655 *=*) | 1110 *=*) |
656 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
657 # Reject names that are not valid shell variable names. | 1112 # Reject names that are not valid shell variable names. |
658 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1113 case $ac_envvar in #( |
659 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1114 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
660 { (exit 1); exit 1; }; } | 1115 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
661 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1116 esac |
662 eval "$ac_envvar='$ac_optarg'" | 1117 eval $ac_envvar=\$ac_optarg |
663 export $ac_envvar ;; | 1118 export $ac_envvar ;; |
664 | 1119 |
665 *) | 1120 *) |
666 # FIXME: should be removed in autoconf 3.0. | 1121 # FIXME: should be removed in autoconf 3.0. |
667 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1122 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
668 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
669 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1124 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
670 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1125 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
671 ;; | 1126 ;; |
672 | 1127 |
673 esac | 1128 esac |
674 done | 1129 done |
675 | 1130 |
676 if test -n "$ac_prev"; then | 1131 if test -n "$ac_prev"; then |
677 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1132 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
678 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1133 as_fn_error $? "missing argument to $ac_option" |
679 { (exit 1); exit 1; }; } | 1134 fi |
680 fi | 1135 |
681 | 1136 if test -n "$ac_unrecognized_opts"; then |
682 # Be sure to have absolute paths. | 1137 case $enable_option_checking in |
683 for ac_var in exec_prefix prefix | 1138 no) ;; |
1139 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1140 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1141 esac | |
1142 fi | |
1143 | |
1144 # Check all directory arguments for consistency. | |
1145 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1146 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1147 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1148 libdir localedir mandir | |
684 do | 1149 do |
685 eval ac_val=$`echo $ac_var` | 1150 eval ac_val=\$$ac_var |
1151 # Remove trailing slashes. | |
686 case $ac_val in | 1152 case $ac_val in |
687 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 1153 */ ) |
688 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1154 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
689 { (exit 1); exit 1; }; };; | 1155 eval $ac_var=\$ac_val;; |
690 esac | 1156 esac |
691 done | 1157 # Be sure to have absolute directory names. |
692 | |
693 # Be sure to have absolute paths. | |
694 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
695 localstatedir libdir includedir oldincludedir infodir mandir | |
696 do | |
697 eval ac_val=$`echo $ac_var` | |
698 case $ac_val in | 1158 case $ac_val in |
699 [\\/$]* | ?:[\\/]* ) ;; | 1159 [\\/$]* | ?:[\\/]* ) continue;; |
700 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1160 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
701 { (exit 1); exit 1; }; };; | |
702 esac | 1161 esac |
1162 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
703 done | 1163 done |
704 | 1164 |
705 # There might be people who depend on the old broken behavior: `$host' | 1165 # There might be people who depend on the old broken behavior: `$host' |
706 # used to hold the argument of --host etc. | 1166 # used to hold the argument of --host etc. |
707 # FIXME: To remove some day. | 1167 # FIXME: To remove some day. |
711 | 1171 |
712 # FIXME: To remove some day. | 1172 # FIXME: To remove some day. |
713 if test "x$host_alias" != x; then | 1173 if test "x$host_alias" != x; then |
714 if test "x$build_alias" = x; then | 1174 if test "x$build_alias" = x; then |
715 cross_compiling=maybe | 1175 cross_compiling=maybe |
716 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
717 If a cross compiler is detected then cross compile mode will be used." >&2 | |
718 elif test "x$build_alias" != "x$host_alias"; then | 1176 elif test "x$build_alias" != "x$host_alias"; then |
719 cross_compiling=yes | 1177 cross_compiling=yes |
720 fi | 1178 fi |
721 fi | 1179 fi |
722 | 1180 |
724 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 1182 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
725 | 1183 |
726 test "$silent" = yes && exec 6>/dev/null | 1184 test "$silent" = yes && exec 6>/dev/null |
727 | 1185 |
728 | 1186 |
1187 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1188 ac_ls_di=`ls -di .` && | |
1189 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1190 as_fn_error $? "working directory cannot be determined" | |
1191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1192 as_fn_error $? "pwd does not report name of working directory" | |
1193 | |
1194 | |
729 # Find the source files, if location was not specified. | 1195 # Find the source files, if location was not specified. |
730 if test -z "$srcdir"; then | 1196 if test -z "$srcdir"; then |
731 ac_srcdir_defaulted=yes | 1197 ac_srcdir_defaulted=yes |
732 # Try the directory containing this script, then its parent. | 1198 # Try the directory containing this script, then the parent directory. |
733 ac_confdir=`(dirname "$0") 2>/dev/null || | 1199 ac_confdir=`$as_dirname -- "$as_myself" || |
734 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1200 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
735 X"$0" : 'X\(//\)[^/]' \| \ | 1201 X"$as_myself" : 'X\(//\)[^/]' \| \ |
736 X"$0" : 'X\(//\)$' \| \ | 1202 X"$as_myself" : 'X\(//\)$' \| \ |
737 X"$0" : 'X\(/\)' \| \ | 1203 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
738 . : '\(.\)' 2>/dev/null || | 1204 $as_echo X"$as_myself" | |
739 echo X"$0" | | 1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1206 s//\1/ |
741 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1207 q |
742 /^X\(\/\/\)$/{ s//\1/; q; } | 1208 } |
743 /^X\(\/\).*/{ s//\1/; q; } | 1209 /^X\(\/\/\)[^/].*/{ |
744 s/.*/./; q'` | 1210 s//\1/ |
1211 q | |
1212 } | |
1213 /^X\(\/\/\)$/{ | |
1214 s//\1/ | |
1215 q | |
1216 } | |
1217 /^X\(\/\).*/{ | |
1218 s//\1/ | |
1219 q | |
1220 } | |
1221 s/.*/./; q'` | |
745 srcdir=$ac_confdir | 1222 srcdir=$ac_confdir |
746 if test ! -r $srcdir/$ac_unique_file; then | 1223 if test ! -r "$srcdir/$ac_unique_file"; then |
747 srcdir=.. | 1224 srcdir=.. |
748 fi | 1225 fi |
749 else | 1226 else |
750 ac_srcdir_defaulted=no | 1227 ac_srcdir_defaulted=no |
751 fi | 1228 fi |
752 if test ! -r $srcdir/$ac_unique_file; then | 1229 if test ! -r "$srcdir/$ac_unique_file"; then |
753 if test "$ac_srcdir_defaulted" = yes; then | 1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
754 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1231 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
755 { (exit 1); exit 1; }; } | 1232 fi |
756 else | 1233 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
757 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1234 ac_abs_confdir=`( |
758 { (exit 1); exit 1; }; } | 1235 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
759 fi | 1236 pwd)` |
760 fi | 1237 # When building in place, set srcdir=. |
761 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1238 if test "$ac_abs_confdir" = "$ac_pwd"; then |
762 ac_env_build_alias_set=${build_alias+set} | 1239 srcdir=. |
763 ac_env_build_alias_value=$build_alias | 1240 fi |
764 ac_cv_env_build_alias_set=${build_alias+set} | 1241 # Remove unnecessary trailing slashes from srcdir. |
765 ac_cv_env_build_alias_value=$build_alias | 1242 # Double slashes in file names in object file debugging info |
766 ac_env_host_alias_set=${host_alias+set} | 1243 # mess up M-x gdb in Emacs. |
767 ac_env_host_alias_value=$host_alias | 1244 case $srcdir in |
768 ac_cv_env_host_alias_set=${host_alias+set} | 1245 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
769 ac_cv_env_host_alias_value=$host_alias | 1246 esac |
770 ac_env_target_alias_set=${target_alias+set} | 1247 for ac_var in $ac_precious_vars; do |
771 ac_env_target_alias_value=$target_alias | 1248 eval ac_env_${ac_var}_set=\${${ac_var}+set} |
772 ac_cv_env_target_alias_set=${target_alias+set} | 1249 eval ac_env_${ac_var}_value=\$${ac_var} |
773 ac_cv_env_target_alias_value=$target_alias | 1250 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
774 ac_env_CC_set=${CC+set} | 1251 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
775 ac_env_CC_value=$CC | 1252 done |
776 ac_cv_env_CC_set=${CC+set} | |
777 ac_cv_env_CC_value=$CC | |
778 ac_env_CFLAGS_set=${CFLAGS+set} | |
779 ac_env_CFLAGS_value=$CFLAGS | |
780 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
781 ac_cv_env_CFLAGS_value=$CFLAGS | |
782 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
783 ac_env_LDFLAGS_value=$LDFLAGS | |
784 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
785 ac_cv_env_LDFLAGS_value=$LDFLAGS | |
786 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
787 ac_env_CPPFLAGS_value=$CPPFLAGS | |
788 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
789 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
790 ac_env_ELLCC_set=${ELLCC+set} | |
791 ac_env_ELLCC_value=$ELLCC | |
792 ac_cv_env_ELLCC_set=${ELLCC+set} | |
793 ac_cv_env_ELLCC_value=$ELLCC | |
794 ac_env_CPP_set=${CPP+set} | |
795 ac_env_CPP_value=$CPP | |
796 ac_cv_env_CPP_set=${CPP+set} | |
797 ac_cv_env_CPP_value=$CPP | |
798 | 1253 |
799 # | 1254 # |
800 # Report the --help message. | 1255 # Report the --help message. |
801 # | 1256 # |
802 if test "$ac_init_help" = "long"; then | 1257 if test "$ac_init_help" = "long"; then |
815 Configuration: | 1270 Configuration: |
816 -h, --help display this help and exit | 1271 -h, --help display this help and exit |
817 --help=short display options specific to this package | 1272 --help=short display options specific to this package |
818 --help=recursive display the short help of all the included packages | 1273 --help=recursive display the short help of all the included packages |
819 -V, --version display version information and exit | 1274 -V, --version display version information and exit |
820 -q, --quiet, --silent do not print \`checking...' messages | 1275 -q, --quiet, --silent do not print \`checking ...' messages |
821 --cache-file=FILE cache test results in FILE [disabled] | 1276 --cache-file=FILE cache test results in FILE [disabled] |
822 -C, --config-cache alias for \`--cache-file=config.cache' | 1277 -C, --config-cache alias for \`--cache-file=config.cache' |
823 -n, --no-create do not create output files | 1278 -n, --no-create do not create output files |
824 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1279 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
825 | 1280 |
826 _ACEOF | |
827 | |
828 cat <<_ACEOF | |
829 Installation directories: | 1281 Installation directories: |
830 --prefix=PREFIX install architecture-independent files in PREFIX | 1282 --prefix=PREFIX install architecture-independent files in PREFIX |
831 [$ac_default_prefix] | 1283 [$ac_default_prefix] |
832 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
833 [PREFIX] | 1285 [PREFIX] |
838 for instance \`--prefix=\$HOME'. | 1290 for instance \`--prefix=\$HOME'. |
839 | 1291 |
840 For better control, use the options below. | 1292 For better control, use the options below. |
841 | 1293 |
842 Fine tuning of the installation directories: | 1294 Fine tuning of the installation directories: |
843 --bindir=DIR user executables [EPREFIX/bin] | 1295 --bindir=DIR user executables [EPREFIX/bin] |
844 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1296 --sbindir=DIR system admin executables [EPREFIX/sbin] |
845 --libexecdir=DIR program executables [EPREFIX/libexec] | 1297 --libexecdir=DIR program executables [EPREFIX/libexec] |
846 --datadir=DIR read-only architecture-independent data [PREFIX/share] | 1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
847 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
848 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
849 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1301 --libdir=DIR object code libraries [EPREFIX/lib] |
850 --libdir=DIR object code libraries [EPREFIX/lib] | 1302 --includedir=DIR C header files [PREFIX/include] |
851 --includedir=DIR C header files [PREFIX/include] | 1303 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
852 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1304 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
853 --infodir=DIR info documentation [PREFIX/info] | 1305 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
854 --mandir=DIR man documentation [PREFIX/man] | 1306 --infodir=DIR info documentation [DATAROOTDIR/info] |
1307 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1308 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1309 --docdir=DIR documentation root | |
1310 [DATAROOTDIR/doc/postgresql-module] | |
1311 --htmldir=DIR html documentation [DOCDIR] | |
1312 --dvidir=DIR dvi documentation [DOCDIR] | |
1313 --pdfdir=DIR pdf documentation [DOCDIR] | |
1314 --psdir=DIR ps documentation [DOCDIR] | |
855 _ACEOF | 1315 _ACEOF |
856 | 1316 |
857 cat <<\_ACEOF | 1317 cat <<\_ACEOF |
858 _ACEOF | 1318 _ACEOF |
859 fi | 1319 fi |
867 Some influential environment variables: | 1327 Some influential environment variables: |
868 CC C compiler command | 1328 CC C compiler command |
869 CFLAGS C compiler flags | 1329 CFLAGS C compiler flags |
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1330 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
871 nonstandard directory <lib dir> | 1331 nonstandard directory <lib dir> |
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1332 LIBS libraries to pass to the linker, e.g. -l<library> |
873 headers in a nonstandard directory <include dir> | 1333 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1334 you have headers in a nonstandard directory <include dir> | |
874 ELLCC The path to the ellcc module compiler | 1335 ELLCC The path to the ellcc module compiler |
875 CPP C preprocessor | 1336 CPP C preprocessor |
876 | 1337 |
877 Use these variables to override the choices made by `configure' or to help | 1338 Use these variables to override the choices made by `configure' or to help |
878 it to find libraries and programs with nonstandard names/locations. | 1339 it to find libraries and programs with nonstandard names/locations. |
879 | 1340 |
880 Report bugs to <xemacs-beta@xemacs.org>. | 1341 Report bugs to <xemacs-beta@xemacs.org>. |
881 _ACEOF | 1342 _ACEOF |
1343 ac_status=$? | |
882 fi | 1344 fi |
883 | 1345 |
884 if test "$ac_init_help" = "recursive"; then | 1346 if test "$ac_init_help" = "recursive"; then |
885 # If there are subdirs, report their specific --help. | 1347 # If there are subdirs, report their specific --help. |
886 ac_popdir=`pwd` | |
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
888 test -d $ac_dir || continue | 1349 test -d "$ac_dir" || |
1350 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1351 continue | |
889 ac_builddir=. | 1352 ac_builddir=. |
890 | 1353 |
891 if test "$ac_dir" != .; then | 1354 case "$ac_dir" in |
892 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
893 # A "../" for each directory in $ac_dir_suffix. | 1356 *) |
894 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1357 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
895 else | 1358 # A ".." for each directory in $ac_dir_suffix. |
896 ac_dir_suffix= ac_top_builddir= | 1359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
897 fi | 1360 case $ac_top_builddir_sub in |
1361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1363 esac ;; | |
1364 esac | |
1365 ac_abs_top_builddir=$ac_pwd | |
1366 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1367 # for backward compatibility: | |
1368 ac_top_builddir=$ac_top_build_prefix | |
898 | 1369 |
899 case $srcdir in | 1370 case $srcdir in |
900 .) # No --srcdir option. We are building in place. | 1371 .) # We are building in place. |
901 ac_srcdir=. | 1372 ac_srcdir=. |
902 if test -z "$ac_top_builddir"; then | 1373 ac_top_srcdir=$ac_top_builddir_sub |
903 ac_top_srcdir=. | 1374 ac_abs_top_srcdir=$ac_pwd ;; |
1375 [\\/]* | ?:[\\/]* ) # Absolute name. | |
1376 ac_srcdir=$srcdir$ac_dir_suffix; | |
1377 ac_top_srcdir=$srcdir | |
1378 ac_abs_top_srcdir=$srcdir ;; | |
1379 *) # Relative name. | |
1380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1381 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1383 esac | |
1384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1385 | |
1386 cd "$ac_dir" || { ac_status=$?; continue; } | |
1387 # Check for guested configure. | |
1388 if test -f "$ac_srcdir/configure.gnu"; then | |
1389 echo && | |
1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1391 elif test -f "$ac_srcdir/configure"; then | |
1392 echo && | |
1393 $SHELL "$ac_srcdir/configure" --help=recursive | |
904 else | 1394 else |
905 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 1395 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
906 fi ;; | 1396 fi || ac_status=$? |
907 [\\/]* | ?:[\\/]* ) # Absolute path. | 1397 cd "$ac_pwd" || { ac_status=$?; break; } |
908 ac_srcdir=$srcdir$ac_dir_suffix; | |
909 ac_top_srcdir=$srcdir ;; | |
910 *) # Relative path. | |
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
912 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
913 esac | |
914 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
915 # absolute. | |
916 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | |
917 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | |
918 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | |
919 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
920 | |
921 cd $ac_dir | |
922 # Check for guested configure; otherwise get Cygnus style configure. | |
923 if test -f $ac_srcdir/configure.gnu; then | |
924 echo | |
925 $SHELL $ac_srcdir/configure.gnu --help=recursive | |
926 elif test -f $ac_srcdir/configure; then | |
927 echo | |
928 $SHELL $ac_srcdir/configure --help=recursive | |
929 elif test -f $ac_srcdir/configure.ac || | |
930 test -f $ac_srcdir/configure.in; then | |
931 echo | |
932 $ac_configure --help | |
933 else | |
934 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
935 fi | |
936 cd $ac_popdir | |
937 done | 1398 done |
938 fi | 1399 fi |
939 | 1400 |
940 test -n "$ac_init_help" && exit 0 | 1401 test -n "$ac_init_help" && exit $ac_status |
941 if $ac_init_version; then | 1402 if $ac_init_version; then |
942 cat <<\_ACEOF | 1403 cat <<\_ACEOF |
943 PostgreSQL module configure 1.0 | 1404 PostgreSQL module configure 1.0 |
944 generated by GNU Autoconf 2.53a | 1405 generated by GNU Autoconf 2.69 |
945 | 1406 |
946 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 1407 Copyright (C) 2012 Free Software Foundation, Inc. |
947 Free Software Foundation, Inc. | |
948 This configure script is free software; the Free Software Foundation | 1408 This configure script is free software; the Free Software Foundation |
949 gives unlimited permission to copy, distribute and modify it. | 1409 gives unlimited permission to copy, distribute and modify it. |
950 | 1410 |
951 Configuration script for the PostgreSQL module. | 1411 Configuration script for the PostgreSQL module. |
952 Copyright (C) 2002 Jerry James. | 1412 Copyright (C) 2002 Jerry James. |
953 | 1413 |
954 This file is part of XEmacs. | 1414 This file is part of XEmacs. |
955 | 1415 |
956 XEmacs is free software; you can redistribute it and/or modify it | 1416 XEmacs is free software: you can redistribute it and/or modify it |
957 under the terms of the GNU General Public License as published by | 1417 under the terms of the GNU General Public License as published by the |
958 the Free Software Foundation; either version 2, or (at your | 1418 Free Software Foundation, either version 3 of the License, or (at your |
959 option) any later version. | 1419 option) any later version. |
960 | 1420 |
961 XEmacs is distributed in the hope that it will be useful, but | 1421 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
962 WITHOUT ANY WARRANTY; without even the implied warranty of | 1422 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
963 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 1423 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
964 General Public License for more details. | 1424 for more details. |
965 | 1425 |
966 You should have received a copy of the GNU General Public License | 1426 You should have received a copy of the GNU General Public License |
967 along with XEmacs; see the file COPYING. If not, write to the Free | 1427 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
968 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 1428 _ACEOF |
969 02111-1307, USA. | 1429 exit |
970 _ACEOF | 1430 fi |
971 exit 0 | 1431 |
972 fi | 1432 ## ------------------------ ## |
973 exec 5>config.log | 1433 ## Autoconf initialization. ## |
974 cat >&5 <<_ACEOF | 1434 ## ------------------------ ## |
1435 | |
1436 # ac_fn_c_try_compile LINENO | |
1437 # -------------------------- | |
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1439 ac_fn_c_try_compile () | |
1440 { | |
1441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1442 rm -f conftest.$ac_objext | |
1443 if { { ac_try="$ac_compile" | |
1444 case "(($ac_try" in | |
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1446 *) ac_try_echo=$ac_try;; | |
1447 esac | |
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1449 $as_echo "$ac_try_echo"; } >&5 | |
1450 (eval "$ac_compile") 2>conftest.err | |
1451 ac_status=$? | |
1452 if test -s conftest.err; then | |
1453 grep -v '^ *+' conftest.err >conftest.er1 | |
1454 cat conftest.er1 >&5 | |
1455 mv -f conftest.er1 conftest.err | |
1456 fi | |
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1458 test $ac_status = 0; } && { | |
1459 test -z "$ac_c_werror_flag" || | |
1460 test ! -s conftest.err | |
1461 } && test -s conftest.$ac_objext; then : | |
1462 ac_retval=0 | |
1463 else | |
1464 $as_echo "$as_me: failed program was:" >&5 | |
1465 sed 's/^/| /' conftest.$ac_ext >&5 | |
1466 | |
1467 ac_retval=1 | |
1468 fi | |
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1470 as_fn_set_status $ac_retval | |
1471 | |
1472 } # ac_fn_c_try_compile | |
1473 | |
1474 # ac_fn_c_try_cpp LINENO | |
1475 # ---------------------- | |
1476 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1477 ac_fn_c_try_cpp () | |
1478 { | |
1479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1480 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1481 case "(($ac_try" in | |
1482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1483 *) ac_try_echo=$ac_try;; | |
1484 esac | |
1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1486 $as_echo "$ac_try_echo"; } >&5 | |
1487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1488 ac_status=$? | |
1489 if test -s conftest.err; then | |
1490 grep -v '^ *+' conftest.err >conftest.er1 | |
1491 cat conftest.er1 >&5 | |
1492 mv -f conftest.er1 conftest.err | |
1493 fi | |
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1495 test $ac_status = 0; } > conftest.i && { | |
1496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1497 test ! -s conftest.err | |
1498 }; then : | |
1499 ac_retval=0 | |
1500 else | |
1501 $as_echo "$as_me: failed program was:" >&5 | |
1502 sed 's/^/| /' conftest.$ac_ext >&5 | |
1503 | |
1504 ac_retval=1 | |
1505 fi | |
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1507 as_fn_set_status $ac_retval | |
1508 | |
1509 } # ac_fn_c_try_cpp | |
1510 | |
1511 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1512 # ------------------------------------------------------- | |
1513 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1514 # the include files in INCLUDES and setting the cache variable VAR | |
1515 # accordingly. | |
1516 ac_fn_c_check_header_mongrel () | |
1517 { | |
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1519 if eval \${$3+:} false; then : | |
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1521 $as_echo_n "checking for $2... " >&6; } | |
1522 if eval \${$3+:} false; then : | |
1523 $as_echo_n "(cached) " >&6 | |
1524 fi | |
1525 eval ac_res=\$$3 | |
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1527 $as_echo "$ac_res" >&6; } | |
1528 else | |
1529 # Is the header compilable? | |
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1531 $as_echo_n "checking $2 usability... " >&6; } | |
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1533 /* end confdefs.h. */ | |
1534 $4 | |
1535 #include <$2> | |
1536 _ACEOF | |
1537 if ac_fn_c_try_compile "$LINENO"; then : | |
1538 ac_header_compiler=yes | |
1539 else | |
1540 ac_header_compiler=no | |
1541 fi | |
1542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1544 $as_echo "$ac_header_compiler" >&6; } | |
1545 | |
1546 # Is the header present? | |
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1548 $as_echo_n "checking $2 presence... " >&6; } | |
1549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1550 /* end confdefs.h. */ | |
1551 #include <$2> | |
1552 _ACEOF | |
1553 if ac_fn_c_try_cpp "$LINENO"; then : | |
1554 ac_header_preproc=yes | |
1555 else | |
1556 ac_header_preproc=no | |
1557 fi | |
1558 rm -f conftest.err conftest.i conftest.$ac_ext | |
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1560 $as_echo "$ac_header_preproc" >&6; } | |
1561 | |
1562 # So? What about this header? | |
1563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1564 yes:no: ) | |
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1566 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1568 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1569 ;; | |
1570 no:yes:* ) | |
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1572 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1574 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1576 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1578 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1580 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1581 ( $as_echo "## ------------------------------------- ## | |
1582 ## Report this to xemacs-beta@xemacs.org ## | |
1583 ## ------------------------------------- ##" | |
1584 ) | sed "s/^/$as_me: WARNING: /" >&2 | |
1585 ;; | |
1586 esac | |
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1588 $as_echo_n "checking for $2... " >&6; } | |
1589 if eval \${$3+:} false; then : | |
1590 $as_echo_n "(cached) " >&6 | |
1591 else | |
1592 eval "$3=\$ac_header_compiler" | |
1593 fi | |
1594 eval ac_res=\$$3 | |
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1596 $as_echo "$ac_res" >&6; } | |
1597 fi | |
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1599 | |
1600 } # ac_fn_c_check_header_mongrel | |
1601 | |
1602 # ac_fn_c_try_run LINENO | |
1603 # ---------------------- | |
1604 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1605 # that executables *can* be run. | |
1606 ac_fn_c_try_run () | |
1607 { | |
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1609 if { { ac_try="$ac_link" | |
1610 case "(($ac_try" in | |
1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1612 *) ac_try_echo=$ac_try;; | |
1613 esac | |
1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1615 $as_echo "$ac_try_echo"; } >&5 | |
1616 (eval "$ac_link") 2>&5 | |
1617 ac_status=$? | |
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1619 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1620 { { case "(($ac_try" in | |
1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1622 *) ac_try_echo=$ac_try;; | |
1623 esac | |
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1625 $as_echo "$ac_try_echo"; } >&5 | |
1626 (eval "$ac_try") 2>&5 | |
1627 ac_status=$? | |
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1629 test $ac_status = 0; }; }; then : | |
1630 ac_retval=0 | |
1631 else | |
1632 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1633 $as_echo "$as_me: failed program was:" >&5 | |
1634 sed 's/^/| /' conftest.$ac_ext >&5 | |
1635 | |
1636 ac_retval=$ac_status | |
1637 fi | |
1638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1640 as_fn_set_status $ac_retval | |
1641 | |
1642 } # ac_fn_c_try_run | |
1643 | |
1644 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1645 # ------------------------------------------------------- | |
1646 # Tests whether HEADER exists and can be compiled using the include files in | |
1647 # INCLUDES, setting the cache variable VAR accordingly. | |
1648 ac_fn_c_check_header_compile () | |
1649 { | |
1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1652 $as_echo_n "checking for $2... " >&6; } | |
1653 if eval \${$3+:} false; then : | |
1654 $as_echo_n "(cached) " >&6 | |
1655 else | |
1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1657 /* end confdefs.h. */ | |
1658 $4 | |
1659 #include <$2> | |
1660 _ACEOF | |
1661 if ac_fn_c_try_compile "$LINENO"; then : | |
1662 eval "$3=yes" | |
1663 else | |
1664 eval "$3=no" | |
1665 fi | |
1666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1667 fi | |
1668 eval ac_res=\$$3 | |
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1670 $as_echo "$ac_res" >&6; } | |
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1672 | |
1673 } # ac_fn_c_check_header_compile | |
1674 | |
1675 # ac_fn_c_try_link LINENO | |
1676 # ----------------------- | |
1677 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1678 ac_fn_c_try_link () | |
1679 { | |
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1681 rm -f conftest.$ac_objext conftest$ac_exeext | |
1682 if { { ac_try="$ac_link" | |
1683 case "(($ac_try" in | |
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1685 *) ac_try_echo=$ac_try;; | |
1686 esac | |
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1688 $as_echo "$ac_try_echo"; } >&5 | |
1689 (eval "$ac_link") 2>conftest.err | |
1690 ac_status=$? | |
1691 if test -s conftest.err; then | |
1692 grep -v '^ *+' conftest.err >conftest.er1 | |
1693 cat conftest.er1 >&5 | |
1694 mv -f conftest.er1 conftest.err | |
1695 fi | |
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1697 test $ac_status = 0; } && { | |
1698 test -z "$ac_c_werror_flag" || | |
1699 test ! -s conftest.err | |
1700 } && test -s conftest$ac_exeext && { | |
1701 test "$cross_compiling" = yes || | |
1702 test -x conftest$ac_exeext | |
1703 }; then : | |
1704 ac_retval=0 | |
1705 else | |
1706 $as_echo "$as_me: failed program was:" >&5 | |
1707 sed 's/^/| /' conftest.$ac_ext >&5 | |
1708 | |
1709 ac_retval=1 | |
1710 fi | |
1711 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1712 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1713 # interfere with the next link command; also delete a directory that is | |
1714 # left behind by Apple's compiler. We do this before executing the actions. | |
1715 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1717 as_fn_set_status $ac_retval | |
1718 | |
1719 } # ac_fn_c_try_link | |
1720 cat >config.log <<_ACEOF | |
975 This file contains any messages produced by compilers while | 1721 This file contains any messages produced by compilers while |
976 running configure, to aid debugging if configure makes a mistake. | 1722 running configure, to aid debugging if configure makes a mistake. |
977 | 1723 |
978 It was created by PostgreSQL module $as_me 1.0, which was | 1724 It was created by PostgreSQL module $as_me 1.0, which was |
979 generated by GNU Autoconf 2.53a. Invocation command line was | 1725 generated by GNU Autoconf 2.69. Invocation command line was |
980 | 1726 |
981 $ $0 $@ | 1727 $ $0 $@ |
982 | 1728 |
983 _ACEOF | 1729 _ACEOF |
1730 exec 5>>config.log | |
984 { | 1731 { |
985 cat <<_ASUNAME | 1732 cat <<_ASUNAME |
986 ## --------- ## | 1733 ## --------- ## |
987 ## Platform. ## | 1734 ## Platform. ## |
988 ## --------- ## | 1735 ## --------- ## |
997 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | 1744 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
998 | 1745 |
999 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1746 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1000 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1747 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1001 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1748 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1002 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1749 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1003 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1750 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1004 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1751 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1005 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1752 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1006 | 1753 |
1007 _ASUNAME | 1754 _ASUNAME |
1009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1010 for as_dir in $PATH | 1757 for as_dir in $PATH |
1011 do | 1758 do |
1012 IFS=$as_save_IFS | 1759 IFS=$as_save_IFS |
1013 test -z "$as_dir" && as_dir=. | 1760 test -z "$as_dir" && as_dir=. |
1014 echo "PATH: $as_dir" | 1761 $as_echo "PATH: $as_dir" |
1015 done | 1762 done |
1763 IFS=$as_save_IFS | |
1016 | 1764 |
1017 } >&5 | 1765 } >&5 |
1018 | 1766 |
1019 cat >&5 <<_ACEOF | 1767 cat >&5 <<_ACEOF |
1020 | 1768 |
1026 _ACEOF | 1774 _ACEOF |
1027 | 1775 |
1028 | 1776 |
1029 # Keep a trace of the command line. | 1777 # Keep a trace of the command line. |
1030 # Strip out --no-create and --no-recursion so they do not pile up. | 1778 # Strip out --no-create and --no-recursion so they do not pile up. |
1779 # Strip out --silent because we don't want to record it for future runs. | |
1031 # Also quote any args containing shell meta-characters. | 1780 # Also quote any args containing shell meta-characters. |
1781 # Make two passes to allow for proper duplicate-argument suppression. | |
1032 ac_configure_args= | 1782 ac_configure_args= |
1033 ac_sep= | 1783 ac_configure_args0= |
1034 for ac_arg | 1784 ac_configure_args1= |
1785 ac_must_keep_next=false | |
1786 for ac_pass in 1 2 | |
1035 do | 1787 do |
1036 case $ac_arg in | 1788 for ac_arg |
1037 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 1789 do |
1038 | --no-cr | --no-c | -n ) continue ;; | 1790 case $ac_arg in |
1039 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 1791 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1040 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 1792 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1041 continue ;; | 1793 | -silent | --silent | --silen | --sile | --sil) |
1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1794 continue ;; |
1043 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1795 *\'*) |
1044 esac | 1796 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1045 case " $ac_configure_args " in | 1797 esac |
1046 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1798 case $ac_pass in |
1047 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1799 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1048 ac_sep=" " ;; | 1800 2) |
1049 esac | 1801 as_fn_append ac_configure_args1 " '$ac_arg'" |
1050 # Get rid of the leading space. | 1802 if test $ac_must_keep_next = true; then |
1803 ac_must_keep_next=false # Got value, back to normal. | |
1804 else | |
1805 case $ac_arg in | |
1806 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1807 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1808 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1809 | -with-* | --with-* | -without-* | --without-* | --x) | |
1810 case "$ac_configure_args0 " in | |
1811 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1812 esac | |
1813 ;; | |
1814 -* ) ac_must_keep_next=true ;; | |
1815 esac | |
1816 fi | |
1817 as_fn_append ac_configure_args " '$ac_arg'" | |
1818 ;; | |
1819 esac | |
1820 done | |
1051 done | 1821 done |
1822 { ac_configure_args0=; unset ac_configure_args0;} | |
1823 { ac_configure_args1=; unset ac_configure_args1;} | |
1052 | 1824 |
1053 # When interrupted or exit'd, cleanup temporary files, and complete | 1825 # When interrupted or exit'd, cleanup temporary files, and complete |
1054 # config.log. We remove comments because anyway the quotes in there | 1826 # config.log. We remove comments because anyway the quotes in there |
1055 # would cause problems or look ugly. | 1827 # would cause problems or look ugly. |
1056 # WARNING: Be sure not to use single quotes in there, as some shells, | 1828 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1057 # such as our DU 5.0 friend, will then `close' the trap. | 1829 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1058 trap 'exit_status=$? | 1830 trap 'exit_status=$? |
1059 # Save into config.log some information that might help in debugging. | 1831 # Save into config.log some information that might help in debugging. |
1060 { | 1832 { |
1061 echo | 1833 echo |
1062 cat <<\_ASBOX | 1834 |
1063 ## ---------------- ## | 1835 $as_echo "## ---------------- ## |
1064 ## Cache variables. ## | 1836 ## Cache variables. ## |
1065 ## ---------------- ## | 1837 ## ---------------- ##" |
1066 _ASBOX | |
1067 echo | 1838 echo |
1068 # The following way of writing the cache mishandles newlines in values, | 1839 # The following way of writing the cache mishandles newlines in values, |
1069 { | 1840 ( |
1841 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1842 eval ac_val=\$$ac_var | |
1843 case $ac_val in #( | |
1844 *${as_nl}*) | |
1845 case $ac_var in #( | |
1846 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
1847 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
1848 esac | |
1849 case $ac_var in #( | |
1850 _ | IFS | as_nl) ;; #( | |
1851 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
1852 *) { eval $ac_var=; unset $ac_var;} ;; | |
1853 esac ;; | |
1854 esac | |
1855 done | |
1070 (set) 2>&1 | | 1856 (set) 2>&1 | |
1071 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1857 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1072 *ac_space=\ *) | 1858 *${as_nl}ac_space=\ *) |
1073 sed -n \ | 1859 sed -n \ |
1074 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1860 "s/'\''/'\''\\\\'\'''\''/g; |
1075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1862 ;; #( | |
1863 *) | |
1864 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1076 ;; | 1865 ;; |
1077 *) | 1866 esac | |
1078 sed -n \ | 1867 sort |
1079 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 1868 ) |
1080 ;; | |
1081 esac; | |
1082 } | |
1083 echo | 1869 echo |
1870 | |
1871 $as_echo "## ----------------- ## | |
1872 ## Output variables. ## | |
1873 ## ----------------- ##" | |
1874 echo | |
1875 for ac_var in $ac_subst_vars | |
1876 do | |
1877 eval ac_val=\$$ac_var | |
1878 case $ac_val in | |
1879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1880 esac | |
1881 $as_echo "$ac_var='\''$ac_val'\''" | |
1882 done | sort | |
1883 echo | |
1884 | |
1885 if test -n "$ac_subst_files"; then | |
1886 $as_echo "## ------------------- ## | |
1887 ## File substitutions. ## | |
1888 ## ------------------- ##" | |
1889 echo | |
1890 for ac_var in $ac_subst_files | |
1891 do | |
1892 eval ac_val=\$$ac_var | |
1893 case $ac_val in | |
1894 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1895 esac | |
1896 $as_echo "$ac_var='\''$ac_val'\''" | |
1897 done | sort | |
1898 echo | |
1899 fi | |
1900 | |
1084 if test -s confdefs.h; then | 1901 if test -s confdefs.h; then |
1085 cat <<\_ASBOX | 1902 $as_echo "## ----------- ## |
1086 ## ----------- ## | |
1087 ## confdefs.h. ## | 1903 ## confdefs.h. ## |
1088 ## ----------- ## | 1904 ## ----------- ##" |
1089 _ASBOX | |
1090 echo | 1905 echo |
1091 sed "/^$/d" confdefs.h | 1906 cat confdefs.h |
1092 echo | 1907 echo |
1093 fi | 1908 fi |
1094 test "$ac_signal" != 0 && | 1909 test "$ac_signal" != 0 && |
1095 echo "$as_me: caught signal $ac_signal" | 1910 $as_echo "$as_me: caught signal $ac_signal" |
1096 echo "$as_me: exit $exit_status" | 1911 $as_echo "$as_me: exit $exit_status" |
1097 } >&5 | 1912 } >&5 |
1098 rm -f core core.* *.core && | 1913 rm -f core *.core core.conftest.* && |
1099 rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1914 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1100 exit $exit_status | 1915 exit $exit_status |
1101 ' 0 | 1916 ' 0 |
1102 for ac_signal in 1 2 13 15; do | 1917 for ac_signal in 1 2 13 15; do |
1103 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1918 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1104 done | 1919 done |
1105 ac_signal=0 | 1920 ac_signal=0 |
1106 | 1921 |
1107 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1922 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1108 rm -rf conftest* confdefs.h | 1923 rm -f -r conftest* confdefs.h |
1109 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 1924 |
1110 echo >confdefs.h | 1925 $as_echo "/* confdefs.h */" > confdefs.h |
1111 | 1926 |
1112 # Predefined preprocessor variables. | 1927 # Predefined preprocessor variables. |
1113 | 1928 |
1114 cat >>confdefs.h <<_ACEOF | 1929 cat >>confdefs.h <<_ACEOF |
1115 #define PACKAGE_NAME "$PACKAGE_NAME" | 1930 #define PACKAGE_NAME "$PACKAGE_NAME" |
1116 _ACEOF | 1931 _ACEOF |
1117 | 1932 |
1118 | |
1119 cat >>confdefs.h <<_ACEOF | 1933 cat >>confdefs.h <<_ACEOF |
1120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1934 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1121 _ACEOF | 1935 _ACEOF |
1122 | 1936 |
1123 | |
1124 cat >>confdefs.h <<_ACEOF | 1937 cat >>confdefs.h <<_ACEOF |
1125 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1938 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1126 _ACEOF | 1939 _ACEOF |
1127 | 1940 |
1128 | |
1129 cat >>confdefs.h <<_ACEOF | 1941 cat >>confdefs.h <<_ACEOF |
1130 #define PACKAGE_STRING "$PACKAGE_STRING" | 1942 #define PACKAGE_STRING "$PACKAGE_STRING" |
1131 _ACEOF | 1943 _ACEOF |
1132 | 1944 |
1133 | |
1134 cat >>confdefs.h <<_ACEOF | 1945 cat >>confdefs.h <<_ACEOF |
1135 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 1946 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1136 _ACEOF | 1947 _ACEOF |
1137 | 1948 |
1949 cat >>confdefs.h <<_ACEOF | |
1950 #define PACKAGE_URL "$PACKAGE_URL" | |
1951 _ACEOF | |
1952 | |
1138 | 1953 |
1139 # Let the site file select an alternate cache file if it wants to. | 1954 # Let the site file select an alternate cache file if it wants to. |
1140 # Prefer explicitly selected file to automatically selected ones. | 1955 # Prefer an explicitly selected file to automatically selected ones. |
1141 if test -z "$CONFIG_SITE"; then | 1956 ac_site_file1=NONE |
1142 if test "x$prefix" != xNONE; then | 1957 ac_site_file2=NONE |
1143 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1958 if test -n "$CONFIG_SITE"; then |
1144 else | 1959 # We do not want a PATH search for config.site. |
1145 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1960 case $CONFIG_SITE in #(( |
1146 fi | 1961 -*) ac_site_file1=./$CONFIG_SITE;; |
1147 fi | 1962 */*) ac_site_file1=$CONFIG_SITE;; |
1148 for ac_site_file in $CONFIG_SITE; do | 1963 *) ac_site_file1=./$CONFIG_SITE;; |
1149 if test -r "$ac_site_file"; then | 1964 esac |
1150 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1965 elif test "x$prefix" != xNONE; then |
1151 echo "$as_me: loading site script $ac_site_file" >&6;} | 1966 ac_site_file1=$prefix/share/config.site |
1967 ac_site_file2=$prefix/etc/config.site | |
1968 else | |
1969 ac_site_file1=$ac_default_prefix/share/config.site | |
1970 ac_site_file2=$ac_default_prefix/etc/config.site | |
1971 fi | |
1972 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
1973 do | |
1974 test "x$ac_site_file" = xNONE && continue | |
1975 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
1977 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1152 sed 's/^/| /' "$ac_site_file" >&5 | 1978 sed 's/^/| /' "$ac_site_file" >&5 |
1153 . "$ac_site_file" | 1979 . "$ac_site_file" \ |
1980 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
1981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1982 as_fn_error $? "failed to load site script $ac_site_file | |
1983 See \`config.log' for more details" "$LINENO" 5; } | |
1154 fi | 1984 fi |
1155 done | 1985 done |
1156 | 1986 |
1157 if test -r "$cache_file"; then | 1987 if test -r "$cache_file"; then |
1158 # Some versions of bash will fail to source /dev/null (special | 1988 # Some versions of bash will fail to source /dev/null (special files |
1159 # files actually), so we avoid doing that. | 1989 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1160 if test -f "$cache_file"; then | 1990 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1161 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1162 echo "$as_me: loading cache $cache_file" >&6;} | 1992 $as_echo "$as_me: loading cache $cache_file" >&6;} |
1163 case $cache_file in | 1993 case $cache_file in |
1164 [\\/]* | ?:[\\/]* ) . $cache_file;; | 1994 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1165 *) . ./$cache_file;; | 1995 *) . "./$cache_file";; |
1166 esac | 1996 esac |
1167 fi | 1997 fi |
1168 else | 1998 else |
1169 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1170 echo "$as_me: creating cache $cache_file" >&6;} | 2000 $as_echo "$as_me: creating cache $cache_file" >&6;} |
1171 >$cache_file | 2001 >$cache_file |
1172 fi | 2002 fi |
1173 | 2003 |
1174 # Check that the precious variables saved in the cache have kept the same | 2004 # Check that the precious variables saved in the cache have kept the same |
1175 # value. | 2005 # value. |
1176 ac_cache_corrupted=false | 2006 ac_cache_corrupted=false |
1177 for ac_var in `(set) 2>&1 | | 2007 for ac_var in $ac_precious_vars; do |
1178 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1179 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 2008 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1180 eval ac_new_set=\$ac_env_${ac_var}_set | 2009 eval ac_new_set=\$ac_env_${ac_var}_set |
1181 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 2010 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1182 eval ac_new_val="\$ac_env_${ac_var}_value" | 2011 eval ac_new_val=\$ac_env_${ac_var}_value |
1183 case $ac_old_set,$ac_new_set in | 2012 case $ac_old_set,$ac_new_set in |
1184 set,) | 2013 set,) |
1185 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1186 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2015 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1187 ac_cache_corrupted=: ;; | 2016 ac_cache_corrupted=: ;; |
1188 ,set) | 2017 ,set) |
1189 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1190 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2019 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1191 ac_cache_corrupted=: ;; | 2020 ac_cache_corrupted=: ;; |
1192 ,);; | 2021 ,);; |
1193 *) | 2022 *) |
1194 if test "x$ac_old_val" != "x$ac_new_val"; then | 2023 if test "x$ac_old_val" != "x$ac_new_val"; then |
1195 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 2024 # differences in whitespace do not lead to failure. |
1196 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2025 ac_old_val_w=`echo x $ac_old_val` |
1197 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 2026 ac_new_val_w=`echo x $ac_new_val` |
1198 echo "$as_me: former value: $ac_old_val" >&2;} | 2027 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1199 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 2028 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1200 echo "$as_me: current value: $ac_new_val" >&2;} | 2029 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1201 ac_cache_corrupted=: | 2030 ac_cache_corrupted=: |
2031 else | |
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2033 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2034 eval $ac_var=\$ac_old_val | |
2035 fi | |
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2037 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2039 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1202 fi;; | 2040 fi;; |
1203 esac | 2041 esac |
1204 # Pass precious variables to config.status. | 2042 # Pass precious variables to config.status. |
1205 if test "$ac_new_set" = set; then | 2043 if test "$ac_new_set" = set; then |
1206 case $ac_new_val in | 2044 case $ac_new_val in |
1207 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 2045 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1208 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1209 *) ac_arg=$ac_var=$ac_new_val ;; | 2046 *) ac_arg=$ac_var=$ac_new_val ;; |
1210 esac | 2047 esac |
1211 case " $ac_configure_args " in | 2048 case " $ac_configure_args " in |
1212 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2049 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1213 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2050 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1214 esac | 2051 esac |
1215 fi | 2052 fi |
1216 done | 2053 done |
1217 if $ac_cache_corrupted; then | 2054 if $ac_cache_corrupted; then |
1218 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 2055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1219 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1220 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1221 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 2058 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1222 { (exit 1); exit 1; }; } | 2059 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1223 fi | 2060 fi |
2061 ## -------------------- ## | |
2062 ## Main body of script. ## | |
2063 ## -------------------- ## | |
1224 | 2064 |
1225 ac_ext=c | 2065 ac_ext=c |
1226 ac_cpp='$CPP $CPPFLAGS' | 2066 ac_cpp='$CPP $CPPFLAGS' |
1227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1229 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2069 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1230 | |
1231 | |
1232 | |
1233 | |
1234 | |
1235 | |
1236 | |
1237 | |
1238 | |
1239 | |
1240 | |
1241 | |
1242 | |
1243 | |
1244 | |
1245 | |
1246 | |
1247 | |
1248 | |
1249 | |
1250 | 2070 |
1251 | 2071 |
1252 | 2072 |
1253 | 2073 |
1254 | 2074 |
1266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1267 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2087 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1268 if test -n "$ac_tool_prefix"; then | 2088 if test -n "$ac_tool_prefix"; then |
1269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2089 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1270 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2090 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1271 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2092 $as_echo_n "checking for $ac_word... " >&6; } |
1273 if test "${ac_cv_prog_CC+set}" = set; then | 2093 if ${ac_cv_prog_CC+:} false; then : |
1274 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2094 $as_echo_n "(cached) " >&6 |
1275 else | 2095 else |
1276 if test -n "$CC"; then | 2096 if test -n "$CC"; then |
1277 ac_cv_prog_CC="$CC" # Let the user override the test. | 2097 ac_cv_prog_CC="$CC" # Let the user override the test. |
1278 else | 2098 else |
1279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1280 for as_dir in $PATH | 2100 for as_dir in $PATH |
1281 do | 2101 do |
1282 IFS=$as_save_IFS | 2102 IFS=$as_save_IFS |
1283 test -z "$as_dir" && as_dir=. | 2103 test -z "$as_dir" && as_dir=. |
1284 for ac_exec_ext in '' $ac_executable_extensions; do | 2104 for ac_exec_ext in '' $ac_executable_extensions; do |
1285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1286 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2106 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1288 break 2 | 2108 break 2 |
1289 fi | 2109 fi |
1290 done | 2110 done |
1291 done | 2111 done |
2112 IFS=$as_save_IFS | |
1292 | 2113 |
1293 fi | 2114 fi |
1294 fi | 2115 fi |
1295 CC=$ac_cv_prog_CC | 2116 CC=$ac_cv_prog_CC |
1296 if test -n "$CC"; then | 2117 if test -n "$CC"; then |
1297 echo "$as_me:$LINENO: result: $CC" >&5 | 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1298 echo "${ECHO_T}$CC" >&6 | 2119 $as_echo "$CC" >&6; } |
1299 else | 2120 else |
1300 echo "$as_me:$LINENO: result: no" >&5 | 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1301 echo "${ECHO_T}no" >&6 | 2122 $as_echo "no" >&6; } |
1302 fi | 2123 fi |
2124 | |
1303 | 2125 |
1304 fi | 2126 fi |
1305 if test -z "$ac_cv_prog_CC"; then | 2127 if test -z "$ac_cv_prog_CC"; then |
1306 ac_ct_CC=$CC | 2128 ac_ct_CC=$CC |
1307 # Extract the first word of "gcc", so it can be a program name with args. | 2129 # Extract the first word of "gcc", so it can be a program name with args. |
1308 set dummy gcc; ac_word=$2 | 2130 set dummy gcc; ac_word=$2 |
1309 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2132 $as_echo_n "checking for $ac_word... " >&6; } |
1311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2133 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1312 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2134 $as_echo_n "(cached) " >&6 |
1313 else | 2135 else |
1314 if test -n "$ac_ct_CC"; then | 2136 if test -n "$ac_ct_CC"; then |
1315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1316 else | 2138 else |
1317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1318 for as_dir in $PATH | 2140 for as_dir in $PATH |
1319 do | 2141 do |
1320 IFS=$as_save_IFS | 2142 IFS=$as_save_IFS |
1321 test -z "$as_dir" && as_dir=. | 2143 test -z "$as_dir" && as_dir=. |
1322 for ac_exec_ext in '' $ac_executable_extensions; do | 2144 for ac_exec_ext in '' $ac_executable_extensions; do |
1323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1324 ac_cv_prog_ac_ct_CC="gcc" | 2146 ac_cv_prog_ac_ct_CC="gcc" |
1325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1326 break 2 | 2148 break 2 |
1327 fi | 2149 fi |
1328 done | 2150 done |
1329 done | 2151 done |
2152 IFS=$as_save_IFS | |
1330 | 2153 |
1331 fi | 2154 fi |
1332 fi | 2155 fi |
1333 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2156 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1334 if test -n "$ac_ct_CC"; then | 2157 if test -n "$ac_ct_CC"; then |
1335 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1336 echo "${ECHO_T}$ac_ct_CC" >&6 | 2159 $as_echo "$ac_ct_CC" >&6; } |
1337 else | 2160 else |
1338 echo "$as_me:$LINENO: result: no" >&5 | 2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1339 echo "${ECHO_T}no" >&6 | 2162 $as_echo "no" >&6; } |
1340 fi | 2163 fi |
1341 | 2164 |
1342 CC=$ac_ct_CC | 2165 if test "x$ac_ct_CC" = x; then |
2166 CC="" | |
2167 else | |
2168 case $cross_compiling:$ac_tool_warned in | |
2169 yes:) | |
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2172 ac_tool_warned=yes ;; | |
2173 esac | |
2174 CC=$ac_ct_CC | |
2175 fi | |
1343 else | 2176 else |
1344 CC="$ac_cv_prog_CC" | 2177 CC="$ac_cv_prog_CC" |
1345 fi | 2178 fi |
1346 | 2179 |
1347 if test -z "$CC"; then | 2180 if test -z "$CC"; then |
1348 if test -n "$ac_tool_prefix"; then | 2181 if test -n "$ac_tool_prefix"; then |
1349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2182 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1350 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2183 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1351 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2185 $as_echo_n "checking for $ac_word... " >&6; } |
1353 if test "${ac_cv_prog_CC+set}" = set; then | 2186 if ${ac_cv_prog_CC+:} false; then : |
1354 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2187 $as_echo_n "(cached) " >&6 |
1355 else | 2188 else |
1356 if test -n "$CC"; then | 2189 if test -n "$CC"; then |
1357 ac_cv_prog_CC="$CC" # Let the user override the test. | 2190 ac_cv_prog_CC="$CC" # Let the user override the test. |
1358 else | 2191 else |
1359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1360 for as_dir in $PATH | 2193 for as_dir in $PATH |
1361 do | 2194 do |
1362 IFS=$as_save_IFS | 2195 IFS=$as_save_IFS |
1363 test -z "$as_dir" && as_dir=. | 2196 test -z "$as_dir" && as_dir=. |
1364 for ac_exec_ext in '' $ac_executable_extensions; do | 2197 for ac_exec_ext in '' $ac_executable_extensions; do |
1365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1366 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2199 ac_cv_prog_CC="${ac_tool_prefix}cc" |
1367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1368 break 2 | 2201 break 2 |
1369 fi | 2202 fi |
1370 done | 2203 done |
1371 done | 2204 done |
2205 IFS=$as_save_IFS | |
1372 | 2206 |
1373 fi | 2207 fi |
1374 fi | 2208 fi |
1375 CC=$ac_cv_prog_CC | 2209 CC=$ac_cv_prog_CC |
1376 if test -n "$CC"; then | 2210 if test -n "$CC"; then |
1377 echo "$as_me:$LINENO: result: $CC" >&5 | 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1378 echo "${ECHO_T}$CC" >&6 | 2212 $as_echo "$CC" >&6; } |
1379 else | 2213 else |
1380 echo "$as_me:$LINENO: result: no" >&5 | 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1381 echo "${ECHO_T}no" >&6 | 2215 $as_echo "no" >&6; } |
1382 fi | 2216 fi |
1383 | 2217 |
1384 fi | 2218 |
1385 if test -z "$ac_cv_prog_CC"; then | |
1386 ac_ct_CC=$CC | |
1387 # Extract the first word of "cc", so it can be a program name with args. | |
1388 set dummy cc; ac_word=$2 | |
1389 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1392 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1393 else | |
1394 if test -n "$ac_ct_CC"; then | |
1395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1396 else | |
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1398 for as_dir in $PATH | |
1399 do | |
1400 IFS=$as_save_IFS | |
1401 test -z "$as_dir" && as_dir=. | |
1402 for ac_exec_ext in '' $ac_executable_extensions; do | |
1403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1404 ac_cv_prog_ac_ct_CC="cc" | |
1405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1406 break 2 | |
1407 fi | 2219 fi |
1408 done | |
1409 done | |
1410 | |
1411 fi | |
1412 fi | |
1413 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1414 if test -n "$ac_ct_CC"; then | |
1415 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1416 echo "${ECHO_T}$ac_ct_CC" >&6 | |
1417 else | |
1418 echo "$as_me:$LINENO: result: no" >&5 | |
1419 echo "${ECHO_T}no" >&6 | |
1420 fi | |
1421 | |
1422 CC=$ac_ct_CC | |
1423 else | |
1424 CC="$ac_cv_prog_CC" | |
1425 fi | |
1426 | |
1427 fi | 2220 fi |
1428 if test -z "$CC"; then | 2221 if test -z "$CC"; then |
1429 # Extract the first word of "cc", so it can be a program name with args. | 2222 # Extract the first word of "cc", so it can be a program name with args. |
1430 set dummy cc; ac_word=$2 | 2223 set dummy cc; ac_word=$2 |
1431 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2225 $as_echo_n "checking for $ac_word... " >&6; } |
1433 if test "${ac_cv_prog_CC+set}" = set; then | 2226 if ${ac_cv_prog_CC+:} false; then : |
1434 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2227 $as_echo_n "(cached) " >&6 |
1435 else | 2228 else |
1436 if test -n "$CC"; then | 2229 if test -n "$CC"; then |
1437 ac_cv_prog_CC="$CC" # Let the user override the test. | 2230 ac_cv_prog_CC="$CC" # Let the user override the test. |
1438 else | 2231 else |
1439 ac_prog_rejected=no | 2232 ac_prog_rejected=no |
1440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1441 for as_dir in $PATH | 2234 for as_dir in $PATH |
1442 do | 2235 do |
1443 IFS=$as_save_IFS | 2236 IFS=$as_save_IFS |
1444 test -z "$as_dir" && as_dir=. | 2237 test -z "$as_dir" && as_dir=. |
1445 for ac_exec_ext in '' $ac_executable_extensions; do | 2238 for ac_exec_ext in '' $ac_executable_extensions; do |
1446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2240 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1448 ac_prog_rejected=yes | 2241 ac_prog_rejected=yes |
1449 continue | 2242 continue |
1450 fi | 2243 fi |
1451 ac_cv_prog_CC="cc" | 2244 ac_cv_prog_CC="cc" |
1452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1453 break 2 | 2246 break 2 |
1454 fi | 2247 fi |
1455 done | 2248 done |
1456 done | 2249 done |
2250 IFS=$as_save_IFS | |
1457 | 2251 |
1458 if test $ac_prog_rejected = yes; then | 2252 if test $ac_prog_rejected = yes; then |
1459 # We found a bogon in the path, so make sure we never use it. | 2253 # We found a bogon in the path, so make sure we never use it. |
1460 set dummy $ac_cv_prog_CC | 2254 set dummy $ac_cv_prog_CC |
1461 shift | 2255 shift |
1469 fi | 2263 fi |
1470 fi | 2264 fi |
1471 fi | 2265 fi |
1472 CC=$ac_cv_prog_CC | 2266 CC=$ac_cv_prog_CC |
1473 if test -n "$CC"; then | 2267 if test -n "$CC"; then |
1474 echo "$as_me:$LINENO: result: $CC" >&5 | 2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1475 echo "${ECHO_T}$CC" >&6 | 2269 $as_echo "$CC" >&6; } |
1476 else | 2270 else |
1477 echo "$as_me:$LINENO: result: no" >&5 | 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1478 echo "${ECHO_T}no" >&6 | 2272 $as_echo "no" >&6; } |
1479 fi | 2273 fi |
2274 | |
1480 | 2275 |
1481 fi | 2276 fi |
1482 if test -z "$CC"; then | 2277 if test -z "$CC"; then |
1483 if test -n "$ac_tool_prefix"; then | 2278 if test -n "$ac_tool_prefix"; then |
1484 for ac_prog in cl | 2279 for ac_prog in cl.exe |
1485 do | 2280 do |
1486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2281 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2282 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1488 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2284 $as_echo_n "checking for $ac_word... " >&6; } |
1490 if test "${ac_cv_prog_CC+set}" = set; then | 2285 if ${ac_cv_prog_CC+:} false; then : |
1491 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2286 $as_echo_n "(cached) " >&6 |
1492 else | 2287 else |
1493 if test -n "$CC"; then | 2288 if test -n "$CC"; then |
1494 ac_cv_prog_CC="$CC" # Let the user override the test. | 2289 ac_cv_prog_CC="$CC" # Let the user override the test. |
1495 else | 2290 else |
1496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1497 for as_dir in $PATH | 2292 for as_dir in $PATH |
1498 do | 2293 do |
1499 IFS=$as_save_IFS | 2294 IFS=$as_save_IFS |
1500 test -z "$as_dir" && as_dir=. | 2295 test -z "$as_dir" && as_dir=. |
1501 for ac_exec_ext in '' $ac_executable_extensions; do | 2296 for ac_exec_ext in '' $ac_executable_extensions; do |
1502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1503 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2298 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1505 break 2 | 2300 break 2 |
1506 fi | 2301 fi |
1507 done | 2302 done |
1508 done | 2303 done |
2304 IFS=$as_save_IFS | |
1509 | 2305 |
1510 fi | 2306 fi |
1511 fi | 2307 fi |
1512 CC=$ac_cv_prog_CC | 2308 CC=$ac_cv_prog_CC |
1513 if test -n "$CC"; then | 2309 if test -n "$CC"; then |
1514 echo "$as_me:$LINENO: result: $CC" >&5 | 2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1515 echo "${ECHO_T}$CC" >&6 | 2311 $as_echo "$CC" >&6; } |
1516 else | 2312 else |
1517 echo "$as_me:$LINENO: result: no" >&5 | 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1518 echo "${ECHO_T}no" >&6 | 2314 $as_echo "no" >&6; } |
1519 fi | 2315 fi |
2316 | |
1520 | 2317 |
1521 test -n "$CC" && break | 2318 test -n "$CC" && break |
1522 done | 2319 done |
1523 fi | 2320 fi |
1524 if test -z "$CC"; then | 2321 if test -z "$CC"; then |
1525 ac_ct_CC=$CC | 2322 ac_ct_CC=$CC |
1526 for ac_prog in cl | 2323 for ac_prog in cl.exe |
1527 do | 2324 do |
1528 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2325 # Extract the first word of "$ac_prog", so it can be a program name with args. |
1529 set dummy $ac_prog; ac_word=$2 | 2326 set dummy $ac_prog; ac_word=$2 |
1530 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2328 $as_echo_n "checking for $ac_word... " >&6; } |
1532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2329 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1533 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2330 $as_echo_n "(cached) " >&6 |
1534 else | 2331 else |
1535 if test -n "$ac_ct_CC"; then | 2332 if test -n "$ac_ct_CC"; then |
1536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1537 else | 2334 else |
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1539 for as_dir in $PATH | 2336 for as_dir in $PATH |
1540 do | 2337 do |
1541 IFS=$as_save_IFS | 2338 IFS=$as_save_IFS |
1542 test -z "$as_dir" && as_dir=. | 2339 test -z "$as_dir" && as_dir=. |
1543 for ac_exec_ext in '' $ac_executable_extensions; do | 2340 for ac_exec_ext in '' $ac_executable_extensions; do |
1544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1545 ac_cv_prog_ac_ct_CC="$ac_prog" | 2342 ac_cv_prog_ac_ct_CC="$ac_prog" |
1546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1547 break 2 | 2344 break 2 |
1548 fi | 2345 fi |
1549 done | 2346 done |
1550 done | 2347 done |
2348 IFS=$as_save_IFS | |
1551 | 2349 |
1552 fi | 2350 fi |
1553 fi | 2351 fi |
1554 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2352 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1555 if test -n "$ac_ct_CC"; then | 2353 if test -n "$ac_ct_CC"; then |
1556 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1557 echo "${ECHO_T}$ac_ct_CC" >&6 | 2355 $as_echo "$ac_ct_CC" >&6; } |
1558 else | 2356 else |
1559 echo "$as_me:$LINENO: result: no" >&5 | 2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1560 echo "${ECHO_T}no" >&6 | 2358 $as_echo "no" >&6; } |
1561 fi | 2359 fi |
2360 | |
1562 | 2361 |
1563 test -n "$ac_ct_CC" && break | 2362 test -n "$ac_ct_CC" && break |
1564 done | 2363 done |
1565 | 2364 |
1566 CC=$ac_ct_CC | 2365 if test "x$ac_ct_CC" = x; then |
1567 fi | 2366 CC="" |
1568 | 2367 else |
1569 fi | 2368 case $cross_compiling:$ac_tool_warned in |
1570 | 2369 yes:) |
1571 | 2370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1572 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | 2371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1573 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | 2372 ac_tool_warned=yes ;; |
1574 { (exit 1); exit 1; }; } | 2373 esac |
2374 CC=$ac_ct_CC | |
2375 fi | |
2376 fi | |
2377 | |
2378 fi | |
2379 | |
2380 | |
2381 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2383 as_fn_error $? "no acceptable C compiler found in \$PATH | |
2384 See \`config.log' for more details" "$LINENO" 5; } | |
1575 | 2385 |
1576 # Provide some information about the compiler. | 2386 # Provide some information about the compiler. |
1577 echo "$as_me:$LINENO:" \ | 2387 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1578 "checking for C compiler version" >&5 | 2388 set X $ac_compile |
1579 ac_compiler=`set X $ac_compile; echo $2` | 2389 ac_compiler=$2 |
1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 2390 for ac_option in --version -v -V -qversion; do |
1581 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 2391 { { ac_try="$ac_compiler $ac_option >&5" |
2392 case "(($ac_try" in | |
2393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2394 *) ac_try_echo=$ac_try;; | |
2395 esac | |
2396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2397 $as_echo "$ac_try_echo"; } >&5 | |
2398 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
1582 ac_status=$? | 2399 ac_status=$? |
1583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2400 if test -s conftest.err; then |
1584 (exit $ac_status); } | 2401 sed '10a\ |
1585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 2402 ... rest of stderr output deleted ... |
1586 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 2403 10q' conftest.err >conftest.er1 |
1587 ac_status=$? | 2404 cat conftest.er1 >&5 |
1588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2405 fi |
1589 (exit $ac_status); } | 2406 rm -f conftest.er1 conftest.err |
1590 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 2407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1591 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 2408 test $ac_status = 0; } |
1592 ac_status=$? | 2409 done |
1593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2410 |
1594 (exit $ac_status); } | 2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1595 | 2412 /* end confdefs.h. */ |
1596 cat >conftest.$ac_ext <<_ACEOF | 2413 |
1597 #line $LINENO "configure" | |
1598 #include "confdefs.h" | |
1599 | |
1600 #ifdef F77_DUMMY_MAIN | |
1601 # ifdef __cplusplus | |
1602 extern "C" | |
1603 # endif | |
1604 int F77_DUMMY_MAIN() { return 1; } | |
1605 #endif | |
1606 int | 2414 int |
1607 main () | 2415 main () |
1608 { | 2416 { |
1609 | 2417 |
1610 ; | 2418 ; |
1611 return 0; | 2419 return 0; |
1612 } | 2420 } |
1613 _ACEOF | 2421 _ACEOF |
1614 ac_clean_files_save=$ac_clean_files | 2422 ac_clean_files_save=$ac_clean_files |
1615 ac_clean_files="$ac_clean_files a.out a.exe" | 2423 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1616 # Try to create an executable without -o first, disregard a.out. | 2424 # Try to create an executable without -o first, disregard a.out. |
1617 # It will help us diagnose broken compilers, and finding out an intuition | 2425 # It will help us diagnose broken compilers, and finding out an intuition |
1618 # of exeext. | 2426 # of exeext. |
1619 echo "$as_me:$LINENO: checking for C compiler default output" >&5 | 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
1620 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 2428 $as_echo_n "checking whether the C compiler works... " >&6; } |
1621 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2429 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1622 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 2430 |
1623 (eval $ac_link_default) 2>&5 | 2431 # The possible output files: |
2432 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2433 | |
2434 ac_rmfiles= | |
2435 for ac_file in $ac_files | |
2436 do | |
2437 case $ac_file in | |
2438 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2439 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2440 esac | |
2441 done | |
2442 rm -f $ac_rmfiles | |
2443 | |
2444 if { { ac_try="$ac_link_default" | |
2445 case "(($ac_try" in | |
2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2447 *) ac_try_echo=$ac_try;; | |
2448 esac | |
2449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2450 $as_echo "$ac_try_echo"; } >&5 | |
2451 (eval "$ac_link_default") 2>&5 | |
1624 ac_status=$? | 2452 ac_status=$? |
1625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1626 (exit $ac_status); }; then | 2454 test $ac_status = 0; }; then : |
1627 # Find the output, starting from the most likely. This scheme is | 2455 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
1628 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 2456 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
1629 # resort. | 2457 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
1630 | 2458 # so that the user can short-circuit this test for compilers unknown to |
1631 # Be careful to initialize this variable, since it used to be cached. | 2459 # Autoconf. |
1632 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 2460 for ac_file in $ac_files '' |
1633 ac_cv_exeext= | 2461 do |
1634 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | 2462 test -f "$ac_file" || continue |
1635 ls a.out conftest 2>/dev/null; | |
1636 ls a.* conftest.* 2>/dev/null`; do | |
1637 case $ac_file in | 2463 case $ac_file in |
1638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 2464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
1639 a.out ) # We found the default executable, but exeext='' is most | 2465 ;; |
1640 # certainly right. | 2466 [ab].out ) |
1641 break;; | 2467 # We found the default executable, but exeext='' is most |
2468 # certainly right. | |
2469 break;; | |
2470 *.* ) | |
2471 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
2472 then :; else | |
2473 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2474 fi | |
2475 # We set ac_cv_exeext here because the later test for it is not | |
2476 # safe: cross compilers may not add the suffix if given an `-o' | |
2477 # argument, so we may need to know it at that point already. | |
2478 # Even if this section looks crufty: it has the advantage of | |
2479 # actually working. | |
2480 break;; | |
2481 * ) | |
2482 break;; | |
2483 esac | |
2484 done | |
2485 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
2486 | |
2487 else | |
2488 ac_file='' | |
2489 fi | |
2490 if test -z "$ac_file"; then : | |
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2492 $as_echo "no" >&6; } | |
2493 $as_echo "$as_me: failed program was:" >&5 | |
2494 sed 's/^/| /' conftest.$ac_ext >&5 | |
2495 | |
2496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2498 as_fn_error 77 "C compiler cannot create executables | |
2499 See \`config.log' for more details" "$LINENO" 5; } | |
2500 else | |
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2502 $as_echo "yes" >&6; } | |
2503 fi | |
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
2505 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
2507 $as_echo "$ac_file" >&6; } | |
2508 ac_exeext=$ac_cv_exeext | |
2509 | |
2510 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
2511 ac_clean_files=$ac_clean_files_save | |
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
2513 $as_echo_n "checking for suffix of executables... " >&6; } | |
2514 if { { ac_try="$ac_link" | |
2515 case "(($ac_try" in | |
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2517 *) ac_try_echo=$ac_try;; | |
2518 esac | |
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2520 $as_echo "$ac_try_echo"; } >&5 | |
2521 (eval "$ac_link") 2>&5 | |
2522 ac_status=$? | |
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2524 test $ac_status = 0; }; then : | |
2525 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
2526 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
2527 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
2528 # `rm'. | |
2529 for ac_file in conftest.exe conftest conftest.*; do | |
2530 test -f "$ac_file" || continue | |
2531 case $ac_file in | |
2532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
1642 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2533 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1643 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | 2534 break;; |
1644 export ac_cv_exeext | |
1645 break;; | |
1646 * ) break;; | 2535 * ) break;; |
1647 esac | 2536 esac |
1648 done | 2537 done |
1649 else | 2538 else |
1650 echo "$as_me: failed program was:" >&5 | 2539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1651 cat conftest.$ac_ext >&5 | 2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1652 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 | 2541 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
1653 echo "$as_me: error: C compiler cannot create executables" >&2;} | 2542 See \`config.log' for more details" "$LINENO" 5; } |
1654 { (exit 77); exit 77; }; } | 2543 fi |
1655 fi | 2544 rm -f conftest conftest$ac_cv_exeext |
1656 | 2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
1657 ac_exeext=$ac_cv_exeext | 2546 $as_echo "$ac_cv_exeext" >&6; } |
1658 echo "$as_me:$LINENO: result: $ac_file" >&5 | 2547 |
1659 echo "${ECHO_T}$ac_file" >&6 | 2548 rm -f conftest.$ac_ext |
1660 | 2549 EXEEXT=$ac_cv_exeext |
1661 # Check the compiler produces executables we can run. If not, either | 2550 ac_exeext=$EXEEXT |
2551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2552 /* end confdefs.h. */ | |
2553 #include <stdio.h> | |
2554 int | |
2555 main () | |
2556 { | |
2557 FILE *f = fopen ("conftest.out", "w"); | |
2558 return ferror (f) || fclose (f) != 0; | |
2559 | |
2560 ; | |
2561 return 0; | |
2562 } | |
2563 _ACEOF | |
2564 ac_clean_files="$ac_clean_files conftest.out" | |
2565 # Check that the compiler produces executables we can run. If not, either | |
1662 # the compiler is broken, or we cross compile. | 2566 # the compiler is broken, or we cross compile. |
1663 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
1664 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 2568 $as_echo_n "checking whether we are cross compiling... " >&6; } |
1665 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
1666 # If not cross compiling, check that we can run a simple program. | |
1667 if test "$cross_compiling" != yes; then | 2569 if test "$cross_compiling" != yes; then |
1668 if { ac_try='./$ac_file' | 2570 { { ac_try="$ac_link" |
1669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2571 case "(($ac_try" in |
1670 (eval $ac_try) 2>&5 | 2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2573 *) ac_try_echo=$ac_try;; | |
2574 esac | |
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2576 $as_echo "$ac_try_echo"; } >&5 | |
2577 (eval "$ac_link") 2>&5 | |
1671 ac_status=$? | 2578 ac_status=$? |
1672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1673 (exit $ac_status); }; }; then | 2580 test $ac_status = 0; } |
2581 if { ac_try='./conftest$ac_cv_exeext' | |
2582 { { case "(($ac_try" in | |
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2584 *) ac_try_echo=$ac_try;; | |
2585 esac | |
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2587 $as_echo "$ac_try_echo"; } >&5 | |
2588 (eval "$ac_try") 2>&5 | |
2589 ac_status=$? | |
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2591 test $ac_status = 0; }; }; then | |
1674 cross_compiling=no | 2592 cross_compiling=no |
1675 else | 2593 else |
1676 if test "$cross_compiling" = maybe; then | 2594 if test "$cross_compiling" = maybe; then |
1677 cross_compiling=yes | 2595 cross_compiling=yes |
1678 else | 2596 else |
1679 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 2597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1680 If you meant to cross compile, use \`--host'." >&5 | 2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1681 echo "$as_me: error: cannot run C compiled programs. | 2599 as_fn_error $? "cannot run C compiled programs. |
1682 If you meant to cross compile, use \`--host'." >&2;} | 2600 If you meant to cross compile, use \`--host'. |
1683 { (exit 1); exit 1; }; } | 2601 See \`config.log' for more details" "$LINENO" 5; } |
1684 fi | 2602 fi |
1685 fi | 2603 fi |
1686 fi | 2604 fi |
1687 echo "$as_me:$LINENO: result: yes" >&5 | 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
1688 echo "${ECHO_T}yes" >&6 | 2606 $as_echo "$cross_compiling" >&6; } |
1689 | 2607 |
1690 rm -f a.out a.exe conftest$ac_cv_exeext | 2608 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
1691 ac_clean_files=$ac_clean_files_save | 2609 ac_clean_files=$ac_clean_files_save |
1692 # Check the compiler produces executables we can run. If not, either | 2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
1693 # the compiler is broken, or we cross compile. | 2611 $as_echo_n "checking for suffix of object files... " >&6; } |
1694 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2612 if ${ac_cv_objext+:} false; then : |
1695 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 2613 $as_echo_n "(cached) " >&6 |
1696 echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 2614 else |
1697 echo "${ECHO_T}$cross_compiling" >&6 | 2615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1698 | 2616 /* end confdefs.h. */ |
1699 echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 2617 |
1700 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | |
1701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
1702 (eval $ac_link) 2>&5 | |
1703 ac_status=$? | |
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1705 (exit $ac_status); }; then | |
1706 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
1707 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
1708 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
1709 # `rm'. | |
1710 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | |
1711 case $ac_file in | |
1712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | |
1713 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1714 export ac_cv_exeext | |
1715 break;; | |
1716 * ) break;; | |
1717 esac | |
1718 done | |
1719 else | |
1720 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | |
1721 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | |
1722 { (exit 1); exit 1; }; } | |
1723 fi | |
1724 | |
1725 rm -f conftest$ac_cv_exeext | |
1726 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
1727 echo "${ECHO_T}$ac_cv_exeext" >&6 | |
1728 | |
1729 rm -f conftest.$ac_ext | |
1730 EXEEXT=$ac_cv_exeext | |
1731 ac_exeext=$EXEEXT | |
1732 echo "$as_me:$LINENO: checking for suffix of object files" >&5 | |
1733 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | |
1734 if test "${ac_cv_objext+set}" = set; then | |
1735 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1736 else | |
1737 cat >conftest.$ac_ext <<_ACEOF | |
1738 #line $LINENO "configure" | |
1739 #include "confdefs.h" | |
1740 | |
1741 #ifdef F77_DUMMY_MAIN | |
1742 # ifdef __cplusplus | |
1743 extern "C" | |
1744 # endif | |
1745 int F77_DUMMY_MAIN() { return 1; } | |
1746 #endif | |
1747 int | 2618 int |
1748 main () | 2619 main () |
1749 { | 2620 { |
1750 | 2621 |
1751 ; | 2622 ; |
1752 return 0; | 2623 return 0; |
1753 } | 2624 } |
1754 _ACEOF | 2625 _ACEOF |
1755 rm -f conftest.o conftest.obj | 2626 rm -f conftest.o conftest.obj |
1756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2627 if { { ac_try="$ac_compile" |
1757 (eval $ac_compile) 2>&5 | 2628 case "(($ac_try" in |
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2630 *) ac_try_echo=$ac_try;; | |
2631 esac | |
2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2633 $as_echo "$ac_try_echo"; } >&5 | |
2634 (eval "$ac_compile") 2>&5 | |
1758 ac_status=$? | 2635 ac_status=$? |
1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1760 (exit $ac_status); }; then | 2637 test $ac_status = 0; }; then : |
1761 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 2638 for ac_file in conftest.o conftest.obj conftest.*; do |
2639 test -f "$ac_file" || continue; | |
1762 case $ac_file in | 2640 case $ac_file in |
1763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 2641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
1764 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2642 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1765 break;; | 2643 break;; |
1766 esac | 2644 esac |
1767 done | 2645 done |
1768 else | 2646 else |
1769 echo "$as_me: failed program was:" >&5 | 2647 $as_echo "$as_me: failed program was:" >&5 |
1770 cat conftest.$ac_ext >&5 | 2648 sed 's/^/| /' conftest.$ac_ext >&5 |
1771 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | 2649 |
1772 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | 2650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1773 { (exit 1); exit 1; }; } | 2651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1774 fi | 2652 as_fn_error $? "cannot compute suffix of object files: cannot compile |
1775 | 2653 See \`config.log' for more details" "$LINENO" 5; } |
2654 fi | |
1776 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2655 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1777 fi | 2656 fi |
1778 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
1779 echo "${ECHO_T}$ac_cv_objext" >&6 | 2658 $as_echo "$ac_cv_objext" >&6; } |
1780 OBJEXT=$ac_cv_objext | 2659 OBJEXT=$ac_cv_objext |
1781 ac_objext=$OBJEXT | 2660 ac_objext=$OBJEXT |
1782 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
1783 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 2662 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1784 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2663 if ${ac_cv_c_compiler_gnu+:} false; then : |
1785 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2664 $as_echo_n "(cached) " >&6 |
1786 else | 2665 else |
1787 cat >conftest.$ac_ext <<_ACEOF | 2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1788 #line $LINENO "configure" | 2667 /* end confdefs.h. */ |
1789 #include "confdefs.h" | 2668 |
1790 | |
1791 #ifdef F77_DUMMY_MAIN | |
1792 # ifdef __cplusplus | |
1793 extern "C" | |
1794 # endif | |
1795 int F77_DUMMY_MAIN() { return 1; } | |
1796 #endif | |
1797 int | 2669 int |
1798 main () | 2670 main () |
1799 { | 2671 { |
1800 #ifndef __GNUC__ | 2672 #ifndef __GNUC__ |
1801 choke me | 2673 choke me |
1803 | 2675 |
1804 ; | 2676 ; |
1805 return 0; | 2677 return 0; |
1806 } | 2678 } |
1807 _ACEOF | 2679 _ACEOF |
1808 rm -f conftest.$ac_objext | 2680 if ac_fn_c_try_compile "$LINENO"; then : |
1809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
1810 (eval $ac_compile) 2>&5 | |
1811 ac_status=$? | |
1812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1813 (exit $ac_status); } && | |
1814 { ac_try='test -s conftest.$ac_objext' | |
1815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1816 (eval $ac_try) 2>&5 | |
1817 ac_status=$? | |
1818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1819 (exit $ac_status); }; }; then | |
1820 ac_compiler_gnu=yes | 2681 ac_compiler_gnu=yes |
1821 else | 2682 else |
1822 echo "$as_me: failed program was:" >&5 | 2683 ac_compiler_gnu=no |
1823 cat conftest.$ac_ext >&5 | 2684 fi |
1824 ac_compiler_gnu=no | 2685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1825 fi | |
1826 rm -f conftest.$ac_objext conftest.$ac_ext | |
1827 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2686 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1828 | 2687 |
1829 fi | 2688 fi |
1830 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
1831 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 2690 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
1832 GCC=`test $ac_compiler_gnu = yes && echo yes` | 2691 if test $ac_compiler_gnu = yes; then |
2692 GCC=yes | |
2693 else | |
2694 GCC= | |
2695 fi | |
1833 ac_test_CFLAGS=${CFLAGS+set} | 2696 ac_test_CFLAGS=${CFLAGS+set} |
1834 ac_save_CFLAGS=$CFLAGS | 2697 ac_save_CFLAGS=$CFLAGS |
1835 CFLAGS="-g" | 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
1836 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 2699 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
1837 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 2700 if ${ac_cv_prog_cc_g+:} false; then : |
1838 if test "${ac_cv_prog_cc_g+set}" = set; then | 2701 $as_echo_n "(cached) " >&6 |
1839 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2702 else |
1840 else | 2703 ac_save_c_werror_flag=$ac_c_werror_flag |
1841 cat >conftest.$ac_ext <<_ACEOF | 2704 ac_c_werror_flag=yes |
1842 #line $LINENO "configure" | 2705 ac_cv_prog_cc_g=no |
1843 #include "confdefs.h" | 2706 CFLAGS="-g" |
1844 | 2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1845 #ifdef F77_DUMMY_MAIN | 2708 /* end confdefs.h. */ |
1846 # ifdef __cplusplus | 2709 |
1847 extern "C" | |
1848 # endif | |
1849 int F77_DUMMY_MAIN() { return 1; } | |
1850 #endif | |
1851 int | 2710 int |
1852 main () | 2711 main () |
1853 { | 2712 { |
1854 | 2713 |
1855 ; | 2714 ; |
1856 return 0; | 2715 return 0; |
1857 } | 2716 } |
1858 _ACEOF | 2717 _ACEOF |
1859 rm -f conftest.$ac_objext | 2718 if ac_fn_c_try_compile "$LINENO"; then : |
1860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
1861 (eval $ac_compile) 2>&5 | |
1862 ac_status=$? | |
1863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1864 (exit $ac_status); } && | |
1865 { ac_try='test -s conftest.$ac_objext' | |
1866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1867 (eval $ac_try) 2>&5 | |
1868 ac_status=$? | |
1869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1870 (exit $ac_status); }; }; then | |
1871 ac_cv_prog_cc_g=yes | 2719 ac_cv_prog_cc_g=yes |
1872 else | 2720 else |
1873 echo "$as_me: failed program was:" >&5 | 2721 CFLAGS="" |
1874 cat conftest.$ac_ext >&5 | 2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1875 ac_cv_prog_cc_g=no | 2723 /* end confdefs.h. */ |
1876 fi | 2724 |
1877 rm -f conftest.$ac_objext conftest.$ac_ext | 2725 int |
1878 fi | 2726 main () |
1879 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 2727 { |
1880 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 2728 |
2729 ; | |
2730 return 0; | |
2731 } | |
2732 _ACEOF | |
2733 if ac_fn_c_try_compile "$LINENO"; then : | |
2734 | |
2735 else | |
2736 ac_c_werror_flag=$ac_save_c_werror_flag | |
2737 CFLAGS="-g" | |
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2739 /* end confdefs.h. */ | |
2740 | |
2741 int | |
2742 main () | |
2743 { | |
2744 | |
2745 ; | |
2746 return 0; | |
2747 } | |
2748 _ACEOF | |
2749 if ac_fn_c_try_compile "$LINENO"; then : | |
2750 ac_cv_prog_cc_g=yes | |
2751 fi | |
2752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2753 fi | |
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2755 fi | |
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2757 ac_c_werror_flag=$ac_save_c_werror_flag | |
2758 fi | |
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
2760 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
1881 if test "$ac_test_CFLAGS" = set; then | 2761 if test "$ac_test_CFLAGS" = set; then |
1882 CFLAGS=$ac_save_CFLAGS | 2762 CFLAGS=$ac_save_CFLAGS |
1883 elif test $ac_cv_prog_cc_g = yes; then | 2763 elif test $ac_cv_prog_cc_g = yes; then |
1884 if test "$GCC" = yes; then | 2764 if test "$GCC" = yes; then |
1885 CFLAGS="-g -O2" | 2765 CFLAGS="-g -O2" |
1891 CFLAGS="-O2" | 2771 CFLAGS="-O2" |
1892 else | 2772 else |
1893 CFLAGS= | 2773 CFLAGS= |
1894 fi | 2774 fi |
1895 fi | 2775 fi |
1896 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
1897 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 2777 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1898 if test "${ac_cv_prog_cc_stdc+set}" = set; then | 2778 if ${ac_cv_prog_cc_c89+:} false; then : |
1899 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2779 $as_echo_n "(cached) " >&6 |
1900 else | 2780 else |
1901 ac_cv_prog_cc_stdc=no | 2781 ac_cv_prog_cc_c89=no |
1902 ac_save_CC=$CC | 2782 ac_save_CC=$CC |
1903 cat >conftest.$ac_ext <<_ACEOF | 2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1904 #line $LINENO "configure" | 2784 /* end confdefs.h. */ |
1905 #include "confdefs.h" | |
1906 #include <stdarg.h> | 2785 #include <stdarg.h> |
1907 #include <stdio.h> | 2786 #include <stdio.h> |
1908 #include <sys/types.h> | 2787 struct stat; |
1909 #include <sys/stat.h> | |
1910 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 2788 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
1911 struct buf { int x; }; | 2789 struct buf { int x; }; |
1912 FILE * (*rcsopen) (struct buf *, struct stat *, int); | 2790 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
1913 static char *e (p, i) | 2791 static char *e (p, i) |
1914 char **p; | 2792 char **p; |
1923 va_start (v,p); | 2801 va_start (v,p); |
1924 s = g (p, va_arg (v,int)); | 2802 s = g (p, va_arg (v,int)); |
1925 va_end (v); | 2803 va_end (v); |
1926 return s; | 2804 return s; |
1927 } | 2805 } |
2806 | |
2807 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
2808 function prototypes and stuff, but not '\xHH' hex character constants. | |
2809 These don't provoke an error unfortunately, instead are silently treated | |
2810 as 'x'. The following induces an error, until -std is added to get | |
2811 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
2812 array size at least. It's necessary to write '\x00'==0 to get something | |
2813 that's true only with -std. */ | |
2814 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
2815 | |
2816 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
2817 inside strings and character constants. */ | |
2818 #define FOO(x) 'x' | |
2819 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
2820 | |
1928 int test (int i, double x); | 2821 int test (int i, double x); |
1929 struct s1 {int (*f) (int a);}; | 2822 struct s1 {int (*f) (int a);}; |
1930 struct s2 {int (*f) (double a);}; | 2823 struct s2 {int (*f) (double a);}; |
1931 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 2824 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
1932 int argc; | 2825 int argc; |
1933 char **argv; | 2826 char **argv; |
1934 #ifdef F77_DUMMY_MAIN | |
1935 # ifdef __cplusplus | |
1936 extern "C" | |
1937 # endif | |
1938 int F77_DUMMY_MAIN() { return 1; } | |
1939 #endif | |
1940 int | 2827 int |
1941 main () | 2828 main () |
1942 { | 2829 { |
1943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 2830 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
1944 ; | 2831 ; |
1945 return 0; | 2832 return 0; |
1946 } | 2833 } |
1947 _ACEOF | 2834 _ACEOF |
1948 # Don't try gcc -ansi; that turns off useful extensions and | 2835 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
1949 # breaks some systems' header files. | 2836 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
1950 # AIX -qlanglvl=ansi | |
1951 # Ultrix and OSF/1 -std1 | |
1952 # HP-UX 10.20 and later -Ae | |
1953 # HP-UX older versions -Aa -D_HPUX_SOURCE | |
1954 # SVR4 -Xc -D__EXTENSIONS__ | |
1955 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
1956 do | 2837 do |
1957 CC="$ac_save_CC $ac_arg" | 2838 CC="$ac_save_CC $ac_arg" |
1958 rm -f conftest.$ac_objext | 2839 if ac_fn_c_try_compile "$LINENO"; then : |
1959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2840 ac_cv_prog_cc_c89=$ac_arg |
1960 (eval $ac_compile) 2>&5 | 2841 fi |
1961 ac_status=$? | 2842 rm -f core conftest.err conftest.$ac_objext |
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2843 test "x$ac_cv_prog_cc_c89" != "xno" && break |
1963 (exit $ac_status); } && | |
1964 { ac_try='test -s conftest.$ac_objext' | |
1965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1966 (eval $ac_try) 2>&5 | |
1967 ac_status=$? | |
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1969 (exit $ac_status); }; }; then | |
1970 ac_cv_prog_cc_stdc=$ac_arg | |
1971 break | |
1972 else | |
1973 echo "$as_me: failed program was:" >&5 | |
1974 cat conftest.$ac_ext >&5 | |
1975 fi | |
1976 rm -f conftest.$ac_objext | |
1977 done | 2844 done |
1978 rm -f conftest.$ac_ext conftest.$ac_objext | 2845 rm -f conftest.$ac_ext |
1979 CC=$ac_save_CC | 2846 CC=$ac_save_CC |
1980 | 2847 |
1981 fi | 2848 fi |
1982 | 2849 # AC_CACHE_VAL |
1983 case "x$ac_cv_prog_cc_stdc" in | 2850 case "x$ac_cv_prog_cc_c89" in |
1984 x|xno) | 2851 x) |
1985 echo "$as_me:$LINENO: result: none needed" >&5 | 2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
1986 echo "${ECHO_T}none needed" >&6 ;; | 2853 $as_echo "none needed" >&6; } ;; |
2854 xno) | |
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
2856 $as_echo "unsupported" >&6; } ;; | |
1987 *) | 2857 *) |
1988 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 2858 CC="$CC $ac_cv_prog_cc_c89" |
1989 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
1990 CC="$CC $ac_cv_prog_cc_stdc" ;; | 2860 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
1991 esac | 2861 esac |
1992 | 2862 if test "x$ac_cv_prog_cc_c89" != xno; then : |
1993 # Some people use a C++ compiler to compile C. Since we use `exit', | 2863 |
1994 # in C++ we need to declare it. In case someone uses the same compiler | 2864 fi |
1995 # for both compiling C and C++ we need to have the C++ compiler decide | 2865 |
1996 # the declaration of exit, since it's the most demanding environment. | |
1997 cat >conftest.$ac_ext <<_ACEOF | |
1998 #ifndef __cplusplus | |
1999 choke me | |
2000 #endif | |
2001 _ACEOF | |
2002 rm -f conftest.$ac_objext | |
2003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2004 (eval $ac_compile) 2>&5 | |
2005 ac_status=$? | |
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2007 (exit $ac_status); } && | |
2008 { ac_try='test -s conftest.$ac_objext' | |
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2010 (eval $ac_try) 2>&5 | |
2011 ac_status=$? | |
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2013 (exit $ac_status); }; }; then | |
2014 for ac_declaration in \ | |
2015 ''\ | |
2016 '#include <stdlib.h>' \ | |
2017 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
2018 'extern "C" void std::exit (int); using std::exit;' \ | |
2019 'extern "C" void exit (int) throw ();' \ | |
2020 'extern "C" void exit (int);' \ | |
2021 'void exit (int);' | |
2022 do | |
2023 cat >conftest.$ac_ext <<_ACEOF | |
2024 #line $LINENO "configure" | |
2025 #include "confdefs.h" | |
2026 #include <stdlib.h> | |
2027 $ac_declaration | |
2028 #ifdef F77_DUMMY_MAIN | |
2029 # ifdef __cplusplus | |
2030 extern "C" | |
2031 # endif | |
2032 int F77_DUMMY_MAIN() { return 1; } | |
2033 #endif | |
2034 int | |
2035 main () | |
2036 { | |
2037 exit (42); | |
2038 ; | |
2039 return 0; | |
2040 } | |
2041 _ACEOF | |
2042 rm -f conftest.$ac_objext | |
2043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2044 (eval $ac_compile) 2>&5 | |
2045 ac_status=$? | |
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2047 (exit $ac_status); } && | |
2048 { ac_try='test -s conftest.$ac_objext' | |
2049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2050 (eval $ac_try) 2>&5 | |
2051 ac_status=$? | |
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2053 (exit $ac_status); }; }; then | |
2054 : | |
2055 else | |
2056 echo "$as_me: failed program was:" >&5 | |
2057 cat conftest.$ac_ext >&5 | |
2058 continue | |
2059 fi | |
2060 rm -f conftest.$ac_objext conftest.$ac_ext | |
2061 cat >conftest.$ac_ext <<_ACEOF | |
2062 #line $LINENO "configure" | |
2063 #include "confdefs.h" | |
2064 $ac_declaration | |
2065 #ifdef F77_DUMMY_MAIN | |
2066 # ifdef __cplusplus | |
2067 extern "C" | |
2068 # endif | |
2069 int F77_DUMMY_MAIN() { return 1; } | |
2070 #endif | |
2071 int | |
2072 main () | |
2073 { | |
2074 exit (42); | |
2075 ; | |
2076 return 0; | |
2077 } | |
2078 _ACEOF | |
2079 rm -f conftest.$ac_objext | |
2080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2081 (eval $ac_compile) 2>&5 | |
2082 ac_status=$? | |
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2084 (exit $ac_status); } && | |
2085 { ac_try='test -s conftest.$ac_objext' | |
2086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2087 (eval $ac_try) 2>&5 | |
2088 ac_status=$? | |
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2090 (exit $ac_status); }; }; then | |
2091 break | |
2092 else | |
2093 echo "$as_me: failed program was:" >&5 | |
2094 cat conftest.$ac_ext >&5 | |
2095 fi | |
2096 rm -f conftest.$ac_objext conftest.$ac_ext | |
2097 done | |
2098 rm -f conftest* | |
2099 if test -n "$ac_declaration"; then | |
2100 echo '#ifdef __cplusplus' >>confdefs.h | |
2101 echo $ac_declaration >>confdefs.h | |
2102 echo '#endif' >>confdefs.h | |
2103 fi | |
2104 | |
2105 else | |
2106 echo "$as_me: failed program was:" >&5 | |
2107 cat conftest.$ac_ext >&5 | |
2108 fi | |
2109 rm -f conftest.$ac_objext conftest.$ac_ext | |
2110 ac_ext=c | 2866 ac_ext=c |
2111 ac_cpp='$CPP $CPPFLAGS' | 2867 ac_cpp='$CPP $CPPFLAGS' |
2112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2114 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2870 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2115 | 2871 |
2116 ac_aux_dir= | 2872 ac_aux_dir= |
2117 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 2873 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2118 if test -f $ac_dir/install-sh; then | 2874 if test -f "$ac_dir/install-sh"; then |
2119 ac_aux_dir=$ac_dir | 2875 ac_aux_dir=$ac_dir |
2120 ac_install_sh="$ac_aux_dir/install-sh -c" | 2876 ac_install_sh="$ac_aux_dir/install-sh -c" |
2121 break | 2877 break |
2122 elif test -f $ac_dir/install.sh; then | 2878 elif test -f "$ac_dir/install.sh"; then |
2123 ac_aux_dir=$ac_dir | 2879 ac_aux_dir=$ac_dir |
2124 ac_install_sh="$ac_aux_dir/install.sh -c" | 2880 ac_install_sh="$ac_aux_dir/install.sh -c" |
2125 break | 2881 break |
2126 elif test -f $ac_dir/shtool; then | 2882 elif test -f "$ac_dir/shtool"; then |
2127 ac_aux_dir=$ac_dir | 2883 ac_aux_dir=$ac_dir |
2128 ac_install_sh="$ac_aux_dir/shtool install -c" | 2884 ac_install_sh="$ac_aux_dir/shtool install -c" |
2129 break | 2885 break |
2130 fi | 2886 fi |
2131 done | 2887 done |
2132 if test -z "$ac_aux_dir"; then | 2888 if test -z "$ac_aux_dir"; then |
2133 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 2889 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2134 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 2890 fi |
2135 { (exit 1); exit 1; }; } | 2891 |
2136 fi | 2892 # These three variables are undocumented and unsupported, |
2137 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 2893 # and are intended to be withdrawn in a future Autoconf release. |
2138 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 2894 # They can cause serious problems if a builder's source tree is in a directory |
2139 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 2895 # whose full name contains unusual characters. |
2896 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2897 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2898 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2899 | |
2140 | 2900 |
2141 # Find a good install program. We prefer a C program (faster), | 2901 # Find a good install program. We prefer a C program (faster), |
2142 # so one script is as good as another. But avoid the broken or | 2902 # so one script is as good as another. But avoid the broken or |
2143 # incompatible versions: | 2903 # incompatible versions: |
2144 # SysV /etc/install, /usr/sbin/install | 2904 # SysV /etc/install, /usr/sbin/install |
2147 # AIX /bin/install | 2907 # AIX /bin/install |
2148 # AmigaOS /C/install, which installs bootblocks on floppy discs | 2908 # AmigaOS /C/install, which installs bootblocks on floppy discs |
2149 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2909 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2150 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2910 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2151 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2911 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2912 # OS/2's system install, which has a completely different semantic | |
2152 # ./install, which can be erroneously created by make from ./install.sh. | 2913 # ./install, which can be erroneously created by make from ./install.sh. |
2153 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 2914 # Reject install programs that cannot install multiple files. |
2154 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2916 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
2155 if test -z "$INSTALL"; then | 2917 if test -z "$INSTALL"; then |
2156 if test "${ac_cv_path_install+set}" = set; then | 2918 if ${ac_cv_path_install+:} false; then : |
2157 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2919 $as_echo_n "(cached) " >&6 |
2158 else | 2920 else |
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2160 for as_dir in $PATH | 2922 for as_dir in $PATH |
2161 do | 2923 do |
2162 IFS=$as_save_IFS | 2924 IFS=$as_save_IFS |
2163 test -z "$as_dir" && as_dir=. | 2925 test -z "$as_dir" && as_dir=. |
2164 # Account for people who put trailing slashes in PATH elements. | 2926 # Account for people who put trailing slashes in PATH elements. |
2165 case $as_dir/ in | 2927 case $as_dir/ in #(( |
2166 ./ | .// | /cC/* | \ | 2928 ./ | .// | /[cC]/* | \ |
2167 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 2929 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2930 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
2168 /usr/ucb/* ) ;; | 2931 /usr/ucb/* ) ;; |
2169 *) | 2932 *) |
2170 # OSF1 and SCO ODT 3.0 have their own names for install. | 2933 # OSF1 and SCO ODT 3.0 have their own names for install. |
2171 # Don't use installbsd from OSF since it installs stuff as root | 2934 # Don't use installbsd from OSF since it installs stuff as root |
2172 # by default. | 2935 # by default. |
2173 for ac_prog in ginstall scoinst install; do | 2936 for ac_prog in ginstall scoinst install; do |
2174 for ac_exec_ext in '' $ac_executable_extensions; do | 2937 for ac_exec_ext in '' $ac_executable_extensions; do |
2175 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 2938 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2176 if test $ac_prog = install && | 2939 if test $ac_prog = install && |
2177 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2940 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2178 # AIX install. It has an incompatible calling convention. | 2941 # AIX install. It has an incompatible calling convention. |
2179 : | 2942 : |
2180 elif test $ac_prog = install && | 2943 elif test $ac_prog = install && |
2181 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2944 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2182 # program-specific install script used by HP pwplus--don't use. | 2945 # program-specific install script used by HP pwplus--don't use. |
2183 : | 2946 : |
2184 else | 2947 else |
2185 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 2948 rm -rf conftest.one conftest.two conftest.dir |
2186 break 3 | 2949 echo one > conftest.one |
2187 fi | 2950 echo two > conftest.two |
2188 fi | 2951 mkdir conftest.dir |
2952 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
2953 test -s conftest.one && test -s conftest.two && | |
2954 test -s conftest.dir/conftest.one && | |
2955 test -s conftest.dir/conftest.two | |
2956 then | |
2957 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2958 break 3 | |
2959 fi | |
2960 fi | |
2961 fi | |
2189 done | 2962 done |
2190 done | 2963 done |
2191 ;; | 2964 ;; |
2192 esac | 2965 esac |
2193 done | 2966 |
2194 | 2967 done |
2968 IFS=$as_save_IFS | |
2969 | |
2970 rm -rf conftest.one conftest.two conftest.dir | |
2195 | 2971 |
2196 fi | 2972 fi |
2197 if test "${ac_cv_path_install+set}" = set; then | 2973 if test "${ac_cv_path_install+set}" = set; then |
2198 INSTALL=$ac_cv_path_install | 2974 INSTALL=$ac_cv_path_install |
2199 else | 2975 else |
2200 # As a last resort, use the slow shell script. We don't cache a | 2976 # As a last resort, use the slow shell script. Don't cache a |
2201 # path for INSTALL within a source directory, because that will | 2977 # value for INSTALL within a source directory, because that will |
2202 # break other packages using the cache if that directory is | 2978 # break other packages using the cache if that directory is |
2203 # removed, or if the path is relative. | 2979 # removed, or if the value is a relative name. |
2204 INSTALL=$ac_install_sh | 2980 INSTALL=$ac_install_sh |
2205 fi | 2981 fi |
2206 fi | 2982 fi |
2207 echo "$as_me:$LINENO: result: $INSTALL" >&5 | 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2208 echo "${ECHO_T}$INSTALL" >&6 | 2984 $as_echo "$INSTALL" >&6; } |
2209 | 2985 |
2210 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2986 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2211 # It thinks the first close brace ends the variable substitution. | 2987 # It thinks the first close brace ends the variable substitution. |
2212 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 2988 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2213 | 2989 |
2220 | 2996 |
2221 # Find ELLCC | 2997 # Find ELLCC |
2222 | 2998 |
2223 # Extract the first word of "ellcc", so it can be a program name with args. | 2999 # Extract the first word of "ellcc", so it can be a program name with args. |
2224 set dummy ellcc; ac_word=$2 | 3000 set dummy ellcc; ac_word=$2 |
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3002 $as_echo_n "checking for $ac_word... " >&6; } |
2227 if test "${ac_cv_path_ELLCC+set}" = set; then | 3003 if ${ac_cv_path_ELLCC+:} false; then : |
2228 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3004 $as_echo_n "(cached) " >&6 |
2229 else | 3005 else |
2230 case $ELLCC in | 3006 case $ELLCC in |
2231 [\\/]* | ?:[\\/]*) | 3007 [\\/]* | ?:[\\/]*) |
2232 ac_cv_path_ELLCC="$ELLCC" # Let the user override the test with a path. | 3008 ac_cv_path_ELLCC="$ELLCC" # Let the user override the test with a path. |
2233 ;; | 3009 ;; |
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2236 for as_dir in $PATH | 3012 for as_dir in $PATH |
2237 do | 3013 do |
2238 IFS=$as_save_IFS | 3014 IFS=$as_save_IFS |
2239 test -z "$as_dir" && as_dir=. | 3015 test -z "$as_dir" && as_dir=. |
2240 for ac_exec_ext in '' $ac_executable_extensions; do | 3016 for ac_exec_ext in '' $ac_executable_extensions; do |
2241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2242 ac_cv_path_ELLCC="$as_dir/$ac_word$ac_exec_ext" | 3018 ac_cv_path_ELLCC="$as_dir/$ac_word$ac_exec_ext" |
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2244 break 2 | 3020 break 2 |
2245 fi | 3021 fi |
2246 done | 3022 done |
2247 done | 3023 done |
3024 IFS=$as_save_IFS | |
2248 | 3025 |
2249 test -z "$ac_cv_path_ELLCC" && ac_cv_path_ELLCC=""FAIL"" | 3026 test -z "$ac_cv_path_ELLCC" && ac_cv_path_ELLCC=""FAIL"" |
2250 ;; | 3027 ;; |
2251 esac | 3028 esac |
2252 fi | 3029 fi |
2253 ELLCC=$ac_cv_path_ELLCC | 3030 ELLCC=$ac_cv_path_ELLCC |
2254 | |
2255 if test -n "$ELLCC"; then | 3031 if test -n "$ELLCC"; then |
2256 echo "$as_me:$LINENO: result: $ELLCC" >&5 | 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ELLCC" >&5 |
2257 echo "${ECHO_T}$ELLCC" >&6 | 3033 $as_echo "$ELLCC" >&6; } |
2258 else | 3034 else |
2259 echo "$as_me:$LINENO: result: no" >&5 | 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2260 echo "${ECHO_T}no" >&6 | 3036 $as_echo "no" >&6; } |
2261 fi | 3037 fi |
2262 | 3038 |
2263 if test "$ELLCC" = "FAIL"; then | 3039 |
2264 { { echo "$as_me:$LINENO: error: Cannot find ellcc" >&5 | 3040 if test "$ELLCC" = "FAIL"; then : |
2265 echo "$as_me: error: Cannot find ellcc" >&2;} | 3041 as_fn_error $? "Cannot find ellcc" "$LINENO" 5 |
2266 { (exit 1); exit 1; }; } | 3042 fi |
2267 fi | 3043 |
2268 | 3044 |
2269 | 3045 libpq_fe_h_file="" |
2270 | 3046 for header_dir in $pg_header_dir "" "pgsql" "postgresql" "postgresql94" "postgresql-9.4" "postgresql84" "postgresql-8.4"; do |
2271 for header_dir in "" "pgsql/" "postgresql/"; do | |
2272 | 3047 |
2273 ac_ext=c | 3048 ac_ext=c |
2274 ac_cpp='$CPP $CPPFLAGS' | 3049 ac_cpp='$CPP $CPPFLAGS' |
2275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2277 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3052 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2278 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
2279 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 3054 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
2280 # On Suns, sometimes $CPP names a directory. | 3055 # On Suns, sometimes $CPP names a directory. |
2281 if test -n "$CPP" && test -d "$CPP"; then | 3056 if test -n "$CPP" && test -d "$CPP"; then |
2282 CPP= | 3057 CPP= |
2283 fi | 3058 fi |
2284 if test -z "$CPP"; then | 3059 if test -z "$CPP"; then |
2285 if test "${ac_cv_prog_CPP+set}" = set; then | 3060 if ${ac_cv_prog_CPP+:} false; then : |
2286 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3061 $as_echo_n "(cached) " >&6 |
2287 else | 3062 else |
2288 # Double quotes because CPP needs to be expanded | 3063 # Double quotes because CPP needs to be expanded |
2289 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3064 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2290 do | 3065 do |
2291 ac_preproc_ok=false | 3066 ac_preproc_ok=false |
2292 for ac_c_preproc_warn_flag in '' yes | 3067 for ac_c_preproc_warn_flag in '' yes |
2293 do | 3068 do |
2294 # Use a header file that comes with gcc, so configuring glibc | 3069 # Use a header file that comes with gcc, so configuring glibc |
2295 # with a fresh cross-compiler works. | 3070 # with a fresh cross-compiler works. |
3071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3072 # <limits.h> exists even on freestanding compilers. | |
2296 # On the NeXT, cc -E runs the code through the compiler's parser, | 3073 # On the NeXT, cc -E runs the code through the compiler's parser, |
2297 # not just through cpp. "Syntax error" is here to catch this case. | 3074 # not just through cpp. "Syntax error" is here to catch this case. |
2298 cat >conftest.$ac_ext <<_ACEOF | 3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2299 #line $LINENO "configure" | 3076 /* end confdefs.h. */ |
2300 #include "confdefs.h" | 3077 #ifdef __STDC__ |
2301 #include <assert.h> | 3078 # include <limits.h> |
2302 Syntax error | 3079 #else |
2303 _ACEOF | 3080 # include <assert.h> |
2304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3081 #endif |
2305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3082 Syntax error |
2306 ac_status=$? | 3083 _ACEOF |
2307 egrep -v '^ *\+' conftest.er1 >conftest.err | 3084 if ac_fn_c_try_cpp "$LINENO"; then : |
2308 rm -f conftest.er1 | 3085 |
2309 cat conftest.err >&5 | 3086 else |
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2311 (exit $ac_status); } >/dev/null; then | |
2312 if test -s conftest.err; then | |
2313 ac_cpp_err=$ac_c_preproc_warn_flag | |
2314 else | |
2315 ac_cpp_err= | |
2316 fi | |
2317 else | |
2318 ac_cpp_err=yes | |
2319 fi | |
2320 if test -z "$ac_cpp_err"; then | |
2321 : | |
2322 else | |
2323 echo "$as_me: failed program was:" >&5 | |
2324 cat conftest.$ac_ext >&5 | |
2325 # Broken: fails on valid input. | 3087 # Broken: fails on valid input. |
2326 continue | 3088 continue |
2327 fi | 3089 fi |
2328 rm -f conftest.err conftest.$ac_ext | 3090 rm -f conftest.err conftest.i conftest.$ac_ext |
2329 | 3091 |
2330 # OK, works on sane cases. Now check whether non-existent headers | 3092 # OK, works on sane cases. Now check whether nonexistent headers |
2331 # can be detected and how. | 3093 # can be detected and how. |
2332 cat >conftest.$ac_ext <<_ACEOF | 3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2333 #line $LINENO "configure" | 3095 /* end confdefs.h. */ |
2334 #include "confdefs.h" | |
2335 #include <ac_nonexistent.h> | 3096 #include <ac_nonexistent.h> |
2336 _ACEOF | 3097 _ACEOF |
2337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3098 if ac_fn_c_try_cpp "$LINENO"; then : |
2338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2339 ac_status=$? | |
2340 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2341 rm -f conftest.er1 | |
2342 cat conftest.err >&5 | |
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2344 (exit $ac_status); } >/dev/null; then | |
2345 if test -s conftest.err; then | |
2346 ac_cpp_err=$ac_c_preproc_warn_flag | |
2347 else | |
2348 ac_cpp_err= | |
2349 fi | |
2350 else | |
2351 ac_cpp_err=yes | |
2352 fi | |
2353 if test -z "$ac_cpp_err"; then | |
2354 # Broken: success on invalid input. | 3099 # Broken: success on invalid input. |
2355 continue | 3100 continue |
2356 else | 3101 else |
2357 echo "$as_me: failed program was:" >&5 | |
2358 cat conftest.$ac_ext >&5 | |
2359 # Passes both tests. | 3102 # Passes both tests. |
2360 ac_preproc_ok=: | 3103 ac_preproc_ok=: |
2361 break | 3104 break |
2362 fi | 3105 fi |
2363 rm -f conftest.err conftest.$ac_ext | 3106 rm -f conftest.err conftest.i conftest.$ac_ext |
2364 | 3107 |
2365 done | 3108 done |
2366 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2367 rm -f conftest.err conftest.$ac_ext | 3110 rm -f conftest.i conftest.err conftest.$ac_ext |
2368 if $ac_preproc_ok; then | 3111 if $ac_preproc_ok; then : |
2369 break | 3112 break |
2370 fi | 3113 fi |
2371 | 3114 |
2372 done | 3115 done |
2373 ac_cv_prog_CPP=$CPP | 3116 ac_cv_prog_CPP=$CPP |
2375 fi | 3118 fi |
2376 CPP=$ac_cv_prog_CPP | 3119 CPP=$ac_cv_prog_CPP |
2377 else | 3120 else |
2378 ac_cv_prog_CPP=$CPP | 3121 ac_cv_prog_CPP=$CPP |
2379 fi | 3122 fi |
2380 echo "$as_me:$LINENO: result: $CPP" >&5 | 3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
2381 echo "${ECHO_T}$CPP" >&6 | 3124 $as_echo "$CPP" >&6; } |
2382 ac_preproc_ok=false | 3125 ac_preproc_ok=false |
2383 for ac_c_preproc_warn_flag in '' yes | 3126 for ac_c_preproc_warn_flag in '' yes |
2384 do | 3127 do |
2385 # Use a header file that comes with gcc, so configuring glibc | 3128 # Use a header file that comes with gcc, so configuring glibc |
2386 # with a fresh cross-compiler works. | 3129 # with a fresh cross-compiler works. |
3130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3131 # <limits.h> exists even on freestanding compilers. | |
2387 # On the NeXT, cc -E runs the code through the compiler's parser, | 3132 # On the NeXT, cc -E runs the code through the compiler's parser, |
2388 # not just through cpp. "Syntax error" is here to catch this case. | 3133 # not just through cpp. "Syntax error" is here to catch this case. |
2389 cat >conftest.$ac_ext <<_ACEOF | 3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2390 #line $LINENO "configure" | 3135 /* end confdefs.h. */ |
2391 #include "confdefs.h" | 3136 #ifdef __STDC__ |
2392 #include <assert.h> | 3137 # include <limits.h> |
2393 Syntax error | 3138 #else |
2394 _ACEOF | 3139 # include <assert.h> |
2395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3140 #endif |
2396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3141 Syntax error |
2397 ac_status=$? | 3142 _ACEOF |
2398 egrep -v '^ *\+' conftest.er1 >conftest.err | 3143 if ac_fn_c_try_cpp "$LINENO"; then : |
2399 rm -f conftest.er1 | 3144 |
2400 cat conftest.err >&5 | 3145 else |
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2402 (exit $ac_status); } >/dev/null; then | |
2403 if test -s conftest.err; then | |
2404 ac_cpp_err=$ac_c_preproc_warn_flag | |
2405 else | |
2406 ac_cpp_err= | |
2407 fi | |
2408 else | |
2409 ac_cpp_err=yes | |
2410 fi | |
2411 if test -z "$ac_cpp_err"; then | |
2412 : | |
2413 else | |
2414 echo "$as_me: failed program was:" >&5 | |
2415 cat conftest.$ac_ext >&5 | |
2416 # Broken: fails on valid input. | 3146 # Broken: fails on valid input. |
2417 continue | 3147 continue |
2418 fi | 3148 fi |
2419 rm -f conftest.err conftest.$ac_ext | 3149 rm -f conftest.err conftest.i conftest.$ac_ext |
2420 | 3150 |
2421 # OK, works on sane cases. Now check whether non-existent headers | 3151 # OK, works on sane cases. Now check whether nonexistent headers |
2422 # can be detected and how. | 3152 # can be detected and how. |
2423 cat >conftest.$ac_ext <<_ACEOF | 3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2424 #line $LINENO "configure" | 3154 /* end confdefs.h. */ |
2425 #include "confdefs.h" | |
2426 #include <ac_nonexistent.h> | 3155 #include <ac_nonexistent.h> |
2427 _ACEOF | 3156 _ACEOF |
2428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3157 if ac_fn_c_try_cpp "$LINENO"; then : |
2429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2430 ac_status=$? | |
2431 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2432 rm -f conftest.er1 | |
2433 cat conftest.err >&5 | |
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2435 (exit $ac_status); } >/dev/null; then | |
2436 if test -s conftest.err; then | |
2437 ac_cpp_err=$ac_c_preproc_warn_flag | |
2438 else | |
2439 ac_cpp_err= | |
2440 fi | |
2441 else | |
2442 ac_cpp_err=yes | |
2443 fi | |
2444 if test -z "$ac_cpp_err"; then | |
2445 # Broken: success on invalid input. | 3158 # Broken: success on invalid input. |
2446 continue | 3159 continue |
2447 else | 3160 else |
2448 echo "$as_me: failed program was:" >&5 | |
2449 cat conftest.$ac_ext >&5 | |
2450 # Passes both tests. | 3161 # Passes both tests. |
2451 ac_preproc_ok=: | 3162 ac_preproc_ok=: |
2452 break | 3163 break |
2453 fi | 3164 fi |
2454 rm -f conftest.err conftest.$ac_ext | 3165 rm -f conftest.err conftest.i conftest.$ac_ext |
2455 | 3166 |
2456 done | 3167 done |
2457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2458 rm -f conftest.err conftest.$ac_ext | 3169 rm -f conftest.i conftest.err conftest.$ac_ext |
2459 if $ac_preproc_ok; then | 3170 if $ac_preproc_ok; then : |
2460 : | 3171 |
2461 else | 3172 else |
2462 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 3173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2463 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 3174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2464 { (exit 1); exit 1; }; } | 3175 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3176 See \`config.log' for more details" "$LINENO" 5; } | |
2465 fi | 3177 fi |
2466 | 3178 |
2467 ac_ext=c | 3179 ac_ext=c |
2468 ac_cpp='$CPP $CPPFLAGS' | 3180 ac_cpp='$CPP $CPPFLAGS' |
2469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2471 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3183 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2472 | 3184 |
2473 | 3185 |
2474 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
2475 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 3187 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
2476 if test "${ac_cv_header_stdc+set}" = set; then | 3188 if ${ac_cv_path_GREP+:} false; then : |
2477 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3189 $as_echo_n "(cached) " >&6 |
2478 else | 3190 else |
2479 cat >conftest.$ac_ext <<_ACEOF | 3191 if test -z "$GREP"; then |
2480 #line $LINENO "configure" | 3192 ac_path_GREP_found=false |
2481 #include "confdefs.h" | 3193 # Loop through the user's path and test for each of PROGNAME-LIST |
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3196 do | |
3197 IFS=$as_save_IFS | |
3198 test -z "$as_dir" && as_dir=. | |
3199 for ac_prog in grep ggrep; do | |
3200 for ac_exec_ext in '' $ac_executable_extensions; do | |
3201 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3202 as_fn_executable_p "$ac_path_GREP" || continue | |
3203 # Check for GNU ac_path_GREP and select it if it is found. | |
3204 # Check for GNU $ac_path_GREP | |
3205 case `"$ac_path_GREP" --version 2>&1` in | |
3206 *GNU*) | |
3207 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3208 *) | |
3209 ac_count=0 | |
3210 $as_echo_n 0123456789 >"conftest.in" | |
3211 while : | |
3212 do | |
3213 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3214 mv "conftest.tmp" "conftest.in" | |
3215 cp "conftest.in" "conftest.nl" | |
3216 $as_echo 'GREP' >> "conftest.nl" | |
3217 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3218 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3219 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
3220 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3221 # Best one so far, save it but keep looking for a better one | |
3222 ac_cv_path_GREP="$ac_path_GREP" | |
3223 ac_path_GREP_max=$ac_count | |
3224 fi | |
3225 # 10*(2^10) chars as input seems more than enough | |
3226 test $ac_count -gt 10 && break | |
3227 done | |
3228 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3229 esac | |
3230 | |
3231 $ac_path_GREP_found && break 3 | |
3232 done | |
3233 done | |
3234 done | |
3235 IFS=$as_save_IFS | |
3236 if test -z "$ac_cv_path_GREP"; then | |
3237 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
3238 fi | |
3239 else | |
3240 ac_cv_path_GREP=$GREP | |
3241 fi | |
3242 | |
3243 fi | |
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
3245 $as_echo "$ac_cv_path_GREP" >&6; } | |
3246 GREP="$ac_cv_path_GREP" | |
3247 | |
3248 | |
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
3250 $as_echo_n "checking for egrep... " >&6; } | |
3251 if ${ac_cv_path_EGREP+:} false; then : | |
3252 $as_echo_n "(cached) " >&6 | |
3253 else | |
3254 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
3255 then ac_cv_path_EGREP="$GREP -E" | |
3256 else | |
3257 if test -z "$EGREP"; then | |
3258 ac_path_EGREP_found=false | |
3259 # Loop through the user's path and test for each of PROGNAME-LIST | |
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3262 do | |
3263 IFS=$as_save_IFS | |
3264 test -z "$as_dir" && as_dir=. | |
3265 for ac_prog in egrep; do | |
3266 for ac_exec_ext in '' $ac_executable_extensions; do | |
3267 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
3268 as_fn_executable_p "$ac_path_EGREP" || continue | |
3269 # Check for GNU ac_path_EGREP and select it if it is found. | |
3270 # Check for GNU $ac_path_EGREP | |
3271 case `"$ac_path_EGREP" --version 2>&1` in | |
3272 *GNU*) | |
3273 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
3274 *) | |
3275 ac_count=0 | |
3276 $as_echo_n 0123456789 >"conftest.in" | |
3277 while : | |
3278 do | |
3279 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3280 mv "conftest.tmp" "conftest.in" | |
3281 cp "conftest.in" "conftest.nl" | |
3282 $as_echo 'EGREP' >> "conftest.nl" | |
3283 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3284 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3285 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
3286 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
3287 # Best one so far, save it but keep looking for a better one | |
3288 ac_cv_path_EGREP="$ac_path_EGREP" | |
3289 ac_path_EGREP_max=$ac_count | |
3290 fi | |
3291 # 10*(2^10) chars as input seems more than enough | |
3292 test $ac_count -gt 10 && break | |
3293 done | |
3294 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3295 esac | |
3296 | |
3297 $ac_path_EGREP_found && break 3 | |
3298 done | |
3299 done | |
3300 done | |
3301 IFS=$as_save_IFS | |
3302 if test -z "$ac_cv_path_EGREP"; then | |
3303 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
3304 fi | |
3305 else | |
3306 ac_cv_path_EGREP=$EGREP | |
3307 fi | |
3308 | |
3309 fi | |
3310 fi | |
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
3312 $as_echo "$ac_cv_path_EGREP" >&6; } | |
3313 EGREP="$ac_cv_path_EGREP" | |
3314 | |
3315 | |
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
3317 $as_echo_n "checking for ANSI C header files... " >&6; } | |
3318 if ${ac_cv_header_stdc+:} false; then : | |
3319 $as_echo_n "(cached) " >&6 | |
3320 else | |
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3322 /* end confdefs.h. */ | |
2482 #include <stdlib.h> | 3323 #include <stdlib.h> |
2483 #include <stdarg.h> | 3324 #include <stdarg.h> |
2484 #include <string.h> | 3325 #include <string.h> |
2485 #include <float.h> | 3326 #include <float.h> |
2486 | 3327 |
2487 _ACEOF | 3328 int |
2488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3329 main () |
2489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3330 { |
2490 ac_status=$? | 3331 |
2491 egrep -v '^ *\+' conftest.er1 >conftest.err | 3332 ; |
2492 rm -f conftest.er1 | 3333 return 0; |
2493 cat conftest.err >&5 | 3334 } |
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3335 _ACEOF |
2495 (exit $ac_status); } >/dev/null; then | 3336 if ac_fn_c_try_compile "$LINENO"; then : |
2496 if test -s conftest.err; then | |
2497 ac_cpp_err=$ac_c_preproc_warn_flag | |
2498 else | |
2499 ac_cpp_err= | |
2500 fi | |
2501 else | |
2502 ac_cpp_err=yes | |
2503 fi | |
2504 if test -z "$ac_cpp_err"; then | |
2505 ac_cv_header_stdc=yes | 3337 ac_cv_header_stdc=yes |
2506 else | 3338 else |
2507 echo "$as_me: failed program was:" >&5 | |
2508 cat conftest.$ac_ext >&5 | |
2509 ac_cv_header_stdc=no | 3339 ac_cv_header_stdc=no |
2510 fi | 3340 fi |
2511 rm -f conftest.err conftest.$ac_ext | 3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2512 | 3342 |
2513 if test $ac_cv_header_stdc = yes; then | 3343 if test $ac_cv_header_stdc = yes; then |
2514 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3344 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2515 cat >conftest.$ac_ext <<_ACEOF | 3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2516 #line $LINENO "configure" | 3346 /* end confdefs.h. */ |
2517 #include "confdefs.h" | |
2518 #include <string.h> | 3347 #include <string.h> |
2519 | 3348 |
2520 _ACEOF | 3349 _ACEOF |
2521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2522 egrep "memchr" >/dev/null 2>&1; then | 3351 $EGREP "memchr" >/dev/null 2>&1; then : |
2523 : | 3352 |
2524 else | 3353 else |
2525 ac_cv_header_stdc=no | 3354 ac_cv_header_stdc=no |
2526 fi | 3355 fi |
2527 rm -f conftest* | 3356 rm -f conftest* |
2528 | 3357 |
2529 fi | 3358 fi |
2530 | 3359 |
2531 if test $ac_cv_header_stdc = yes; then | 3360 if test $ac_cv_header_stdc = yes; then |
2532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3361 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2533 cat >conftest.$ac_ext <<_ACEOF | 3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2534 #line $LINENO "configure" | 3363 /* end confdefs.h. */ |
2535 #include "confdefs.h" | |
2536 #include <stdlib.h> | 3364 #include <stdlib.h> |
2537 | 3365 |
2538 _ACEOF | 3366 _ACEOF |
2539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2540 egrep "free" >/dev/null 2>&1; then | 3368 $EGREP "free" >/dev/null 2>&1; then : |
2541 : | 3369 |
2542 else | 3370 else |
2543 ac_cv_header_stdc=no | 3371 ac_cv_header_stdc=no |
2544 fi | 3372 fi |
2545 rm -f conftest* | 3373 rm -f conftest* |
2546 | 3374 |
2547 fi | 3375 fi |
2548 | 3376 |
2549 if test $ac_cv_header_stdc = yes; then | 3377 if test $ac_cv_header_stdc = yes; then |
2550 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3378 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2551 if test "$cross_compiling" = yes; then | 3379 if test "$cross_compiling" = yes; then : |
2552 : | 3380 : |
2553 else | 3381 else |
2554 cat >conftest.$ac_ext <<_ACEOF | 3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2555 #line $LINENO "configure" | 3383 /* end confdefs.h. */ |
2556 #include "confdefs.h" | |
2557 #include <ctype.h> | 3384 #include <ctype.h> |
3385 #include <stdlib.h> | |
2558 #if ((' ' & 0x0FF) == 0x020) | 3386 #if ((' ' & 0x0FF) == 0x020) |
2559 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3387 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2560 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3388 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2561 #else | 3389 #else |
2562 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 3390 # define ISLOWER(c) \ |
2563 || ('j' <= (c) && (c) <= 'r') \ | 3391 (('a' <= (c) && (c) <= 'i') \ |
2564 || ('s' <= (c) && (c) <= 'z')) | 3392 || ('j' <= (c) && (c) <= 'r') \ |
3393 || ('s' <= (c) && (c) <= 'z')) | |
2565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 3394 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
2566 #endif | 3395 #endif |
2567 | 3396 |
2568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3397 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2569 int | 3398 int |
2570 main () | 3399 main () |
2571 { | 3400 { |
2572 int i; | 3401 int i; |
2573 for (i = 0; i < 256; i++) | 3402 for (i = 0; i < 256; i++) |
2574 if (XOR (islower (i), ISLOWER (i)) | 3403 if (XOR (islower (i), ISLOWER (i)) |
2575 || toupper (i) != TOUPPER (i)) | 3404 || toupper (i) != TOUPPER (i)) |
2576 exit(2); | 3405 return 2; |
2577 exit (0); | 3406 return 0; |
2578 } | 3407 } |
2579 _ACEOF | 3408 _ACEOF |
2580 rm -f conftest$ac_exeext | 3409 if ac_fn_c_try_run "$LINENO"; then : |
2581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3410 |
2582 (eval $ac_link) 2>&5 | 3411 else |
2583 ac_status=$? | 3412 ac_cv_header_stdc=no |
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3413 fi |
2585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3415 conftest.$ac_objext conftest.beam conftest.$ac_ext |
2587 (eval $ac_try) 2>&5 | 3416 fi |
2588 ac_status=$? | 3417 |
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3418 fi |
2590 (exit $ac_status); }; }; then | 3419 fi |
2591 : | 3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
2592 else | 3421 $as_echo "$ac_cv_header_stdc" >&6; } |
2593 echo "$as_me: program exited with status $ac_status" >&5 | |
2594 echo "$as_me: failed program was:" >&5 | |
2595 cat conftest.$ac_ext >&5 | |
2596 ( exit $ac_status ) | |
2597 ac_cv_header_stdc=no | |
2598 fi | |
2599 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
2600 fi | |
2601 fi | |
2602 fi | |
2603 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
2604 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | |
2605 if test $ac_cv_header_stdc = yes; then | 3422 if test $ac_cv_header_stdc = yes; then |
2606 | 3423 |
2607 cat >>confdefs.h <<\_ACEOF | 3424 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
2608 #define STDC_HEADERS 1 | |
2609 _ACEOF | |
2610 | 3425 |
2611 fi | 3426 fi |
2612 | 3427 |
2613 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 3428 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
2614 | |
2615 | |
2616 | |
2617 | |
2618 | |
2619 | |
2620 | |
2621 | |
2622 | |
2623 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 3429 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
2624 inttypes.h stdint.h unistd.h | 3430 inttypes.h stdint.h unistd.h |
2625 do | 3431 do : |
2626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 3432 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
2627 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 3433 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
2628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 3434 " |
2629 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 3435 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
2630 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2631 else | |
2632 cat >conftest.$ac_ext <<_ACEOF | |
2633 #line $LINENO "configure" | |
2634 #include "confdefs.h" | |
2635 $ac_includes_default | |
2636 | |
2637 #include <$ac_header> | |
2638 _ACEOF | |
2639 rm -f conftest.$ac_objext | |
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2641 (eval $ac_compile) 2>&5 | |
2642 ac_status=$? | |
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2644 (exit $ac_status); } && | |
2645 { ac_try='test -s conftest.$ac_objext' | |
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2647 (eval $ac_try) 2>&5 | |
2648 ac_status=$? | |
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2650 (exit $ac_status); }; }; then | |
2651 eval "$as_ac_Header=yes" | |
2652 else | |
2653 echo "$as_me: failed program was:" >&5 | |
2654 cat conftest.$ac_ext >&5 | |
2655 eval "$as_ac_Header=no" | |
2656 fi | |
2657 rm -f conftest.$ac_objext conftest.$ac_ext | |
2658 fi | |
2659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2661 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
2662 cat >>confdefs.h <<_ACEOF | 3436 cat >>confdefs.h <<_ACEOF |
2663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
2664 _ACEOF | 3438 _ACEOF |
2665 | 3439 |
2666 fi | 3440 fi |
2667 | 3441 |
2668 done | 3442 done |
2669 | 3443 |
2670 | 3444 |
2671 as_ac_Header=`echo "ac_cv_header_${header_dir}libpq-fe.h" | $as_tr_sh` | 3445 as_ac_Header=`$as_echo "ac_cv_header_${header_dir}/libpq-fe.h" | $as_tr_sh` |
2672 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 3446 ac_fn_c_check_header_mongrel "$LINENO" "${header_dir}/libpq-fe.h" "$as_ac_Header" "$ac_includes_default" |
2673 echo "$as_me:$LINENO: checking for ${header_dir}libpq-fe.h" >&5 | 3447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
2674 echo $ECHO_N "checking for ${header_dir}libpq-fe.h... $ECHO_C" >&6 | 3448 libpq_fe_h_file=${header_dir}/libpq-fe.h; break |
2675 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2676 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2677 fi | |
2678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2680 else | |
2681 # Is the header compilable? | |
2682 echo "$as_me:$LINENO: checking ${header_dir}libpq-fe.h usability" >&5 | |
2683 echo $ECHO_N "checking ${header_dir}libpq-fe.h usability... $ECHO_C" >&6 | |
2684 cat >conftest.$ac_ext <<_ACEOF | |
2685 #line $LINENO "configure" | |
2686 #include "confdefs.h" | |
2687 $ac_includes_default | |
2688 #include <${header_dir}libpq-fe.h> | |
2689 _ACEOF | |
2690 rm -f conftest.$ac_objext | |
2691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2692 (eval $ac_compile) 2>&5 | |
2693 ac_status=$? | |
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2695 (exit $ac_status); } && | |
2696 { ac_try='test -s conftest.$ac_objext' | |
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2698 (eval $ac_try) 2>&5 | |
2699 ac_status=$? | |
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2701 (exit $ac_status); }; }; then | |
2702 ac_header_compiler=yes | |
2703 else | |
2704 echo "$as_me: failed program was:" >&5 | |
2705 cat conftest.$ac_ext >&5 | |
2706 ac_header_compiler=no | |
2707 fi | |
2708 rm -f conftest.$ac_objext conftest.$ac_ext | |
2709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
2710 echo "${ECHO_T}$ac_header_compiler" >&6 | |
2711 | |
2712 # Is the header present? | |
2713 echo "$as_me:$LINENO: checking ${header_dir}libpq-fe.h presence" >&5 | |
2714 echo $ECHO_N "checking ${header_dir}libpq-fe.h presence... $ECHO_C" >&6 | |
2715 cat >conftest.$ac_ext <<_ACEOF | |
2716 #line $LINENO "configure" | |
2717 #include "confdefs.h" | |
2718 #include <${header_dir}libpq-fe.h> | |
2719 _ACEOF | |
2720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2722 ac_status=$? | |
2723 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2724 rm -f conftest.er1 | |
2725 cat conftest.err >&5 | |
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2727 (exit $ac_status); } >/dev/null; then | |
2728 if test -s conftest.err; then | |
2729 ac_cpp_err=$ac_c_preproc_warn_flag | |
2730 else | |
2731 ac_cpp_err= | |
2732 fi | |
2733 else | |
2734 ac_cpp_err=yes | |
2735 fi | |
2736 if test -z "$ac_cpp_err"; then | |
2737 ac_header_preproc=yes | |
2738 else | |
2739 echo "$as_me: failed program was:" >&5 | |
2740 cat conftest.$ac_ext >&5 | |
2741 ac_header_preproc=no | |
2742 fi | |
2743 rm -f conftest.err conftest.$ac_ext | |
2744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
2745 echo "${ECHO_T}$ac_header_preproc" >&6 | |
2746 | |
2747 # So? What about this header? | |
2748 case $ac_header_compiler:$ac_header_preproc in | |
2749 yes:no ) | |
2750 { echo "$as_me:$LINENO: WARNING: ${header_dir}libpq-fe.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
2751 echo "$as_me: WARNING: ${header_dir}libpq-fe.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
2752 { echo "$as_me:$LINENO: WARNING: ${header_dir}libpq-fe.h: proceeding with the preprocessor's result" >&5 | |
2753 echo "$as_me: WARNING: ${header_dir}libpq-fe.h: proceeding with the preprocessor's result" >&2;};; | |
2754 no:yes ) | |
2755 { echo "$as_me:$LINENO: WARNING: ${header_dir}libpq-fe.h: present but cannot be compiled" >&5 | |
2756 echo "$as_me: WARNING: ${header_dir}libpq-fe.h: present but cannot be compiled" >&2;} | |
2757 { echo "$as_me:$LINENO: WARNING: ${header_dir}libpq-fe.h: check for missing prerequisite headers?" >&5 | |
2758 echo "$as_me: WARNING: ${header_dir}libpq-fe.h: check for missing prerequisite headers?" >&2;} | |
2759 { echo "$as_me:$LINENO: WARNING: ${header_dir}libpq-fe.h: proceeding with the preprocessor's result" >&5 | |
2760 echo "$as_me: WARNING: ${header_dir}libpq-fe.h: proceeding with the preprocessor's result" >&2;};; | |
2761 esac | |
2762 echo "$as_me:$LINENO: checking for ${header_dir}libpq-fe.h" >&5 | |
2763 echo $ECHO_N "checking for ${header_dir}libpq-fe.h... $ECHO_C" >&6 | |
2764 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2765 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2766 else | |
2767 eval "$as_ac_Header=$ac_header_preproc" | |
2768 fi | |
2769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2771 | |
2772 fi | |
2773 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
2774 libpq_fe_h_file=${header_dir}libpq-fe.h; break | |
2775 fi | 3449 fi |
2776 | 3450 |
2777 | 3451 |
2778 done | 3452 done |
2779 | 3453 |
2780 test -z "$libpq_fe_h_file" && | 3454 test -z "$libpq_fe_h_file" && |
2781 { { echo "$as_me:$LINENO: error: Cannot find the PostgresQL header files; try specifying CPPFLAGS." >&5 | 3455 as_fn_error $? "Cannot find the PostgresQL header files; try specifying CPPFLAGS." "$LINENO" 5 |
2782 echo "$as_me: error: Cannot find the PostgresQL header files; try specifying CPPFLAGS." >&2;} | |
2783 { (exit 1); exit 1; }; } | |
2784 cat >>confdefs.h <<_ACEOF | 3456 cat >>confdefs.h <<_ACEOF |
2785 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" | 3457 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" |
2786 _ACEOF | 3458 _ACEOF |
2787 | 3459 |
2788 | 3460 |
2789 | 3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5 |
2790 echo "$as_me:$LINENO: checking for PQconnectdb in -lpq" >&5 | 3462 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; } |
2791 echo $ECHO_N "checking for PQconnectdb in -lpq... $ECHO_C" >&6 | 3463 if ${ac_cv_lib_pq_PQconnectdb+:} false; then : |
2792 if test "${ac_cv_lib_pq_PQconnectdb+set}" = set; then | 3464 $as_echo_n "(cached) " >&6 |
2793 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2794 else | 3465 else |
2795 ac_check_lib_save_LIBS=$LIBS | 3466 ac_check_lib_save_LIBS=$LIBS |
2796 LIBS="-lpq $LIBS" | 3467 LIBS="-lpq $LIBS" |
2797 cat >conftest.$ac_ext <<_ACEOF | 3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2798 #line $LINENO "configure" | 3469 /* end confdefs.h. */ |
2799 #include "confdefs.h" | 3470 |
2800 | 3471 /* Override any GCC internal prototype to avoid an error. |
2801 /* Override any gcc2 internal prototype to avoid an error. */ | 3472 Use char because int might match the return type of a GCC |
3473 builtin and then its argument prototype would still apply. */ | |
2802 #ifdef __cplusplus | 3474 #ifdef __cplusplus |
2803 extern "C" | 3475 extern "C" |
2804 #endif | 3476 #endif |
2805 /* We use char because int might match the return type of a gcc2 | |
2806 builtin and then its argument prototype would still apply. */ | |
2807 char PQconnectdb (); | 3477 char PQconnectdb (); |
2808 #ifdef F77_DUMMY_MAIN | |
2809 # ifdef __cplusplus | |
2810 extern "C" | |
2811 # endif | |
2812 int F77_DUMMY_MAIN() { return 1; } | |
2813 #endif | |
2814 int | 3478 int |
2815 main () | 3479 main () |
2816 { | 3480 { |
2817 PQconnectdb (); | 3481 return PQconnectdb (); |
2818 ; | 3482 ; |
2819 return 0; | 3483 return 0; |
2820 } | 3484 } |
2821 _ACEOF | 3485 _ACEOF |
2822 rm -f conftest.$ac_objext conftest$ac_exeext | 3486 if ac_fn_c_try_link "$LINENO"; then : |
2823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2824 (eval $ac_link) 2>&5 | |
2825 ac_status=$? | |
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2827 (exit $ac_status); } && | |
2828 { ac_try='test -s conftest$ac_exeext' | |
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2830 (eval $ac_try) 2>&5 | |
2831 ac_status=$? | |
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2833 (exit $ac_status); }; }; then | |
2834 ac_cv_lib_pq_PQconnectdb=yes | 3487 ac_cv_lib_pq_PQconnectdb=yes |
2835 else | 3488 else |
2836 echo "$as_me: failed program was:" >&5 | 3489 ac_cv_lib_pq_PQconnectdb=no |
2837 cat conftest.$ac_ext >&5 | 3490 fi |
2838 ac_cv_lib_pq_PQconnectdb=no | 3491 rm -f core conftest.err conftest.$ac_objext \ |
2839 fi | 3492 conftest$ac_exeext conftest.$ac_ext |
2840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
2841 LIBS=$ac_check_lib_save_LIBS | 3493 LIBS=$ac_check_lib_save_LIBS |
2842 fi | 3494 fi |
2843 echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQconnectdb" >&5 | 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5 |
2844 echo "${ECHO_T}$ac_cv_lib_pq_PQconnectdb" >&6 | 3496 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; } |
2845 if test $ac_cv_lib_pq_PQconnectdb = yes; then | 3497 if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then : |
2846 cat >>confdefs.h <<_ACEOF | 3498 cat >>confdefs.h <<_ACEOF |
2847 #define HAVE_LIBPQ 1 | 3499 #define HAVE_LIBPQ 1 |
2848 _ACEOF | 3500 _ACEOF |
2849 | 3501 |
2850 LIBS="-lpq $LIBS" | 3502 LIBS="-lpq $LIBS" |
2851 | 3503 |
2852 else | 3504 else |
2853 { { echo "$as_me:$LINENO: error: Cannot find the PostgresQL library. Try specifying LDFLAGS." >&5 | 3505 as_fn_error $? "Cannot find the PostgresQL library. Try specifying LDFLAGS." "$LINENO" 5 |
2854 echo "$as_me: error: Cannot find the PostgresQL library. Try specifying LDFLAGS." >&2;} | 3506 fi |
2855 { (exit 1); exit 1; }; } | 3507 |
2856 fi | 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectStart in -lpq" >&5 |
2857 | 3509 $as_echo_n "checking for PQconnectStart in -lpq... " >&6; } |
2858 echo "$as_me:$LINENO: checking for PQconnectStart in -lpq" >&5 | 3510 if ${ac_cv_lib_pq_PQconnectStart+:} false; then : |
2859 echo $ECHO_N "checking for PQconnectStart in -lpq... $ECHO_C" >&6 | 3511 $as_echo_n "(cached) " >&6 |
2860 if test "${ac_cv_lib_pq_PQconnectStart+set}" = set; then | |
2861 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2862 else | 3512 else |
2863 ac_check_lib_save_LIBS=$LIBS | 3513 ac_check_lib_save_LIBS=$LIBS |
2864 LIBS="-lpq $LIBS" | 3514 LIBS="-lpq $LIBS" |
2865 cat >conftest.$ac_ext <<_ACEOF | 3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2866 #line $LINENO "configure" | 3516 /* end confdefs.h. */ |
2867 #include "confdefs.h" | 3517 |
2868 | 3518 /* Override any GCC internal prototype to avoid an error. |
2869 /* Override any gcc2 internal prototype to avoid an error. */ | 3519 Use char because int might match the return type of a GCC |
3520 builtin and then its argument prototype would still apply. */ | |
2870 #ifdef __cplusplus | 3521 #ifdef __cplusplus |
2871 extern "C" | 3522 extern "C" |
2872 #endif | 3523 #endif |
2873 /* We use char because int might match the return type of a gcc2 | |
2874 builtin and then its argument prototype would still apply. */ | |
2875 char PQconnectStart (); | 3524 char PQconnectStart (); |
2876 #ifdef F77_DUMMY_MAIN | |
2877 # ifdef __cplusplus | |
2878 extern "C" | |
2879 # endif | |
2880 int F77_DUMMY_MAIN() { return 1; } | |
2881 #endif | |
2882 int | 3525 int |
2883 main () | 3526 main () |
2884 { | 3527 { |
2885 PQconnectStart (); | 3528 return PQconnectStart (); |
2886 ; | 3529 ; |
2887 return 0; | 3530 return 0; |
2888 } | 3531 } |
2889 _ACEOF | 3532 _ACEOF |
2890 rm -f conftest.$ac_objext conftest$ac_exeext | 3533 if ac_fn_c_try_link "$LINENO"; then : |
2891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
2892 (eval $ac_link) 2>&5 | |
2893 ac_status=$? | |
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2895 (exit $ac_status); } && | |
2896 { ac_try='test -s conftest$ac_exeext' | |
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2898 (eval $ac_try) 2>&5 | |
2899 ac_status=$? | |
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2901 (exit $ac_status); }; }; then | |
2902 ac_cv_lib_pq_PQconnectStart=yes | 3534 ac_cv_lib_pq_PQconnectStart=yes |
2903 else | 3535 else |
2904 echo "$as_me: failed program was:" >&5 | 3536 ac_cv_lib_pq_PQconnectStart=no |
2905 cat conftest.$ac_ext >&5 | 3537 fi |
2906 ac_cv_lib_pq_PQconnectStart=no | 3538 rm -f core conftest.err conftest.$ac_objext \ |
2907 fi | 3539 conftest$ac_exeext conftest.$ac_ext |
2908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
2909 LIBS=$ac_check_lib_save_LIBS | 3540 LIBS=$ac_check_lib_save_LIBS |
2910 fi | 3541 fi |
2911 echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQconnectStart" >&5 | 3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectStart" >&5 |
2912 echo "${ECHO_T}$ac_cv_lib_pq_PQconnectStart" >&6 | 3543 $as_echo "$ac_cv_lib_pq_PQconnectStart" >&6; } |
2913 if test $ac_cv_lib_pq_PQconnectStart = yes; then | 3544 if test "x$ac_cv_lib_pq_PQconnectStart" = xyes; then : |
2914 | 3545 |
2915 with_postgresqlv7=yes; | 3546 with_postgresqlv7=yes; |
2916 cat >>confdefs.h <<\_ACEOF | 3547 $as_echo "#define HAVE_POSTGRESQLV7 1" >>confdefs.h |
2917 #define HAVE_POSTGRESQLV7 1 | |
2918 _ACEOF | |
2919 | 3548 |
2920 fi | 3549 fi |
2921 | 3550 |
2922 postgresql_libs="$LIBS" | 3551 postgresql_libs="$LIBS" |
3552 | |
3553 | |
3554 | |
3555 | |
2923 | 3556 |
2924 | 3557 |
2925 | 3558 |
2926 # This part should appear unchanged in every module configure.ac | 3559 # This part should appear unchanged in every module configure.ac |
2927 PROGNAME="module" | 3560 PROGNAME="module" |
2939 MOD_INSTALL_PROGRAM="@INSTALL_PROGRAM@" | 3572 MOD_INSTALL_PROGRAM="@INSTALL_PROGRAM@" |
2940 | 3573 |
2941 OBJECT_TO_BUILD="\$(MODNAME).ell" | 3574 OBJECT_TO_BUILD="\$(MODNAME).ell" |
2942 | 3575 |
2943 | 3576 |
2944 ac_config_files="$ac_config_files Makefile.in Makefile" | 3577 ac_config_files="$ac_config_files Makefile.in Makefile" |
2945 | 3578 |
2946 cat >confcache <<\_ACEOF | 3579 cat >confcache <<\_ACEOF |
2947 # This file is a shell script that caches the results of configure | 3580 # This file is a shell script that caches the results of configure |
2948 # tests run on this system so they can be shared between configure | 3581 # tests run on this system so they can be shared between configure |
2949 # scripts and configure runs, see configure's option --config-cache. | 3582 # scripts and configure runs, see configure's option --config-cache. |
2959 | 3592 |
2960 _ACEOF | 3593 _ACEOF |
2961 | 3594 |
2962 # The following way of writing the cache mishandles newlines in values, | 3595 # The following way of writing the cache mishandles newlines in values, |
2963 # but we know of no workaround that is simple, portable, and efficient. | 3596 # but we know of no workaround that is simple, portable, and efficient. |
2964 # So, don't put newlines in cache variables' values. | 3597 # So, we kill variables containing newlines. |
2965 # Ultrix sh set writes to stderr and can't be redirected directly, | 3598 # Ultrix sh set writes to stderr and can't be redirected directly, |
2966 # and sets the high bit in the cache file unless we assign to the vars. | 3599 # and sets the high bit in the cache file unless we assign to the vars. |
2967 { | 3600 ( |
3601 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
3602 eval ac_val=\$$ac_var | |
3603 case $ac_val in #( | |
3604 *${as_nl}*) | |
3605 case $ac_var in #( | |
3606 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
3607 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
3608 esac | |
3609 case $ac_var in #( | |
3610 _ | IFS | as_nl) ;; #( | |
3611 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
3612 *) { eval $ac_var=; unset $ac_var;} ;; | |
3613 esac ;; | |
3614 esac | |
3615 done | |
3616 | |
2968 (set) 2>&1 | | 3617 (set) 2>&1 | |
2969 case `(ac_space=' '; set | grep ac_space) 2>&1` in | 3618 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
2970 *ac_space=\ *) | 3619 *${as_nl}ac_space=\ *) |
2971 # `set' does not quote correctly, so add quotes (double-quote | 3620 # `set' does not quote correctly, so add quotes: double-quote |
2972 # substitution turns \\\\ into \\, and sed turns \\ into \). | 3621 # substitution turns \\\\ into \\, and sed turns \\ into \. |
2973 sed -n \ | 3622 sed -n \ |
2974 "s/'/'\\\\''/g; | 3623 "s/'/'\\\\''/g; |
2975 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 3624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2976 ;; | 3625 ;; #( |
2977 *) | 3626 *) |
2978 # `set' quotes correctly as required by POSIX, so do not add quotes. | 3627 # `set' quotes correctly as required by POSIX, so do not add quotes. |
2979 sed -n \ | 3628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2980 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
2981 ;; | 3629 ;; |
2982 esac; | 3630 esac | |
2983 } | | 3631 sort |
3632 ) | | |
2984 sed ' | 3633 sed ' |
3634 /^ac_cv_env_/b end | |
2985 t clear | 3635 t clear |
2986 : clear | 3636 :clear |
2987 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 3637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
2988 t end | 3638 t end |
2989 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 3639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
2990 : end' >>confcache | 3640 :end' >>confcache |
2991 if cmp -s $cache_file confcache; then :; else | 3641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2992 if test -w $cache_file; then | 3642 if test -w "$cache_file"; then |
2993 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 3643 if test "x$cache_file" != "x/dev/null"; then |
2994 cat confcache >$cache_file | 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
3645 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
3646 if test ! -f "$cache_file" || test -h "$cache_file"; then | |
3647 cat confcache >"$cache_file" | |
3648 else | |
3649 case $cache_file in #( | |
3650 */* | ?:*) | |
3651 mv -f confcache "$cache_file"$$ && | |
3652 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
3653 *) | |
3654 mv -f confcache "$cache_file" ;; | |
3655 esac | |
3656 fi | |
3657 fi | |
2995 else | 3658 else |
2996 echo "not updating unwritable cache $cache_file" | 3659 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
3660 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
2997 fi | 3661 fi |
2998 fi | 3662 fi |
2999 rm -f confcache | 3663 rm -f confcache |
3000 | 3664 |
3001 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 3665 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
3002 # Let make expand exec_prefix. | 3666 # Let make expand exec_prefix. |
3003 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 3667 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
3004 | |
3005 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
3006 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
3007 # trailing colons and then remove the whole line if VPATH becomes empty | |
3008 # (actually we leave an empty line to preserve line numbers). | |
3009 if test "x$srcdir" = x.; then | |
3010 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
3011 s/:*\$(srcdir):*/:/; | |
3012 s/:*\${srcdir}:*/:/; | |
3013 s/:*@srcdir@:*/:/; | |
3014 s/^\([^=]*=[ ]*\):*/\1/; | |
3015 s/:*$//; | |
3016 s/^[^=]*=[ ]*$//; | |
3017 }' | |
3018 fi | |
3019 | 3668 |
3020 # Transform confdefs.h into DEFS. | 3669 # Transform confdefs.h into DEFS. |
3021 # Protect against shell expansion while executing Makefile rules. | 3670 # Protect against shell expansion while executing Makefile rules. |
3022 # Protect against Makefile macro expansion. | 3671 # Protect against Makefile macro expansion. |
3023 # | 3672 # |
3024 # If the first sed substitution is executed (which looks for macros that | 3673 # If the first sed substitution is executed (which looks for macros that |
3025 # take arguments), then we branch to the quote section. Otherwise, | 3674 # take arguments), then branch to the quote section. Otherwise, |
3026 # look for a macro that doesn't take arguments. | 3675 # look for a macro that doesn't take arguments. |
3027 cat >confdef2opt.sed <<\_ACEOF | 3676 ac_script=' |
3677 :mline | |
3678 /\\$/{ | |
3679 N | |
3680 s,\\\n,, | |
3681 b mline | |
3682 } | |
3028 t clear | 3683 t clear |
3029 : clear | 3684 :clear |
3030 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g | 3685 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
3031 t quote | 3686 t quote |
3032 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g | 3687 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
3033 t quote | 3688 t quote |
3034 d | 3689 b any |
3035 : quote | 3690 :quote |
3036 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g | 3691 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
3037 s,\[,\\&,g | 3692 s/\[/\\&/g |
3038 s,\],\\&,g | 3693 s/\]/\\&/g |
3039 s,\$,$$,g | 3694 s/\$/$$/g |
3040 p | 3695 H |
3041 _ACEOF | 3696 :any |
3042 # We use echo to avoid assuming a particular line-breaking character. | 3697 ${ |
3043 # The extra dot is to prevent the shell from consuming trailing | 3698 g |
3044 # line-breaks from the sub-command output. A line-break within | 3699 s/^\n// |
3045 # single-quotes doesn't work because, if this script is created in a | 3700 s/\n/ /g |
3046 # platform that uses two characters for line-breaks (e.g., DOS), tr | 3701 p |
3047 # would break. | 3702 } |
3048 ac_LF_and_DOT=`echo; echo .` | 3703 ' |
3049 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | 3704 DEFS=`sed -n "$ac_script" confdefs.h` |
3050 rm -f confdef2opt.sed | 3705 |
3051 | 3706 |
3052 | 3707 ac_libobjs= |
3053 | 3708 ac_ltlibobjs= |
3054 : ${CONFIG_STATUS=./config.status} | 3709 U= |
3710 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
3711 # 1. Remove the extension, and $U if already installed. | |
3712 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
3713 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
3714 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
3715 # will be set to the directory where LIBOBJS objects are built. | |
3716 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
3717 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
3718 done | |
3719 LIBOBJS=$ac_libobjs | |
3720 | |
3721 LTLIBOBJS=$ac_ltlibobjs | |
3722 | |
3723 | |
3724 | |
3725 : "${CONFIG_STATUS=./config.status}" | |
3726 ac_write_fail=0 | |
3055 ac_clean_files_save=$ac_clean_files | 3727 ac_clean_files_save=$ac_clean_files |
3056 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 3728 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3057 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 3729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
3058 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 3730 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3059 cat >$CONFIG_STATUS <<_ACEOF | 3731 as_write_fail=0 |
3732 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
3060 #! $SHELL | 3733 #! $SHELL |
3061 # Generated by $as_me. | 3734 # Generated by $as_me. |
3062 # Run this file to recreate the current configuration. | 3735 # Run this file to recreate the current configuration. |
3063 # Compiler output produced by configure, useful for debugging | 3736 # Compiler output produced by configure, useful for debugging |
3064 # configure, is in config.log if it exists. | 3737 # configure, is in config.log if it exists. |
3065 | 3738 |
3066 debug=false | 3739 debug=false |
3740 ac_cs_recheck=false | |
3741 ac_cs_silent=false | |
3742 | |
3067 SHELL=\${CONFIG_SHELL-$SHELL} | 3743 SHELL=\${CONFIG_SHELL-$SHELL} |
3068 _ACEOF | 3744 export SHELL |
3069 | 3745 _ASEOF |
3070 cat >>$CONFIG_STATUS <<\_ACEOF | 3746 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
3071 ## --------------------- ## | 3747 ## -------------------- ## |
3072 ## M4sh Initialization. ## | 3748 ## M4sh Initialization. ## |
3073 ## --------------------- ## | 3749 ## -------------------- ## |
3074 | 3750 |
3075 # Be Bourne compatible | 3751 # Be more Bourne compatible |
3076 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 3752 DUALCASE=1; export DUALCASE # for MKS sh |
3753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
3077 emulate sh | 3754 emulate sh |
3078 NULLCMD=: | 3755 NULLCMD=: |
3079 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 3756 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
3080 # is contrary to our usage. Disable this feature. | 3757 # is contrary to our usage. Disable this feature. |
3081 alias -g '${1+"$@"}'='"$@"' | 3758 alias -g '${1+"$@"}'='"$@"' |
3082 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 3759 setopt NO_GLOB_SUBST |
3083 set -o posix | 3760 else |
3084 fi | 3761 case `(set -o) 2>/dev/null` in #( |
3762 *posix*) : | |
3763 set -o posix ;; #( | |
3764 *) : | |
3765 ;; | |
3766 esac | |
3767 fi | |
3768 | |
3769 | |
3770 as_nl=' | |
3771 ' | |
3772 export as_nl | |
3773 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
3774 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
3775 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
3776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
3777 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
3778 # but without wasting forks for bash or zsh. | |
3779 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
3780 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
3781 as_echo='print -r --' | |
3782 as_echo_n='print -rn --' | |
3783 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
3784 as_echo='printf %s\n' | |
3785 as_echo_n='printf %s' | |
3786 else | |
3787 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
3788 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
3789 as_echo_n='/usr/ucb/echo -n' | |
3790 else | |
3791 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
3792 as_echo_n_body='eval | |
3793 arg=$1; | |
3794 case $arg in #( | |
3795 *"$as_nl"*) | |
3796 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
3797 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
3798 esac; | |
3799 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
3800 ' | |
3801 export as_echo_n_body | |
3802 as_echo_n='sh -c $as_echo_n_body as_echo' | |
3803 fi | |
3804 export as_echo_body | |
3805 as_echo='sh -c $as_echo_body as_echo' | |
3806 fi | |
3807 | |
3808 # The user is always right. | |
3809 if test "${PATH_SEPARATOR+set}" != set; then | |
3810 PATH_SEPARATOR=: | |
3811 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
3812 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
3813 PATH_SEPARATOR=';' | |
3814 } | |
3815 fi | |
3816 | |
3817 | |
3818 # IFS | |
3819 # We need space, tab and new line, in precisely that order. Quoting is | |
3820 # there to prevent editors from complaining about space-tab. | |
3821 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
3822 # splitting by setting IFS to empty value.) | |
3823 IFS=" "" $as_nl" | |
3824 | |
3825 # Find who we are. Look in the path if we contain no directory separator. | |
3826 as_myself= | |
3827 case $0 in #(( | |
3828 *[\\/]* ) as_myself=$0 ;; | |
3829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3830 for as_dir in $PATH | |
3831 do | |
3832 IFS=$as_save_IFS | |
3833 test -z "$as_dir" && as_dir=. | |
3834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
3835 done | |
3836 IFS=$as_save_IFS | |
3837 | |
3838 ;; | |
3839 esac | |
3840 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
3841 # in which case we are not to be found in the path. | |
3842 if test "x$as_myself" = x; then | |
3843 as_myself=$0 | |
3844 fi | |
3845 if test ! -f "$as_myself"; then | |
3846 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
3847 exit 1 | |
3848 fi | |
3849 | |
3850 # Unset variables that we do not need and which cause bugs (e.g. in | |
3851 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
3852 # suppresses any "Segmentation fault" message there. '((' could | |
3853 # trigger a bug in pdksh 5.2.14. | |
3854 for as_var in BASH_ENV ENV MAIL MAILPATH | |
3855 do eval test x\${$as_var+set} = xset \ | |
3856 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
3857 done | |
3858 PS1='$ ' | |
3859 PS2='> ' | |
3860 PS4='+ ' | |
3085 | 3861 |
3086 # NLS nuisances. | 3862 # NLS nuisances. |
3087 # Support unset when possible. | 3863 LC_ALL=C |
3088 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 3864 export LC_ALL |
3089 as_unset=unset | 3865 LANGUAGE=C |
3090 else | 3866 export LANGUAGE |
3091 as_unset=false | 3867 |
3092 fi | 3868 # CDPATH. |
3093 | 3869 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3094 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 3870 |
3095 { $as_unset LANG || test "${LANG+set}" != set; } || | 3871 |
3096 { LANG=C; export LANG; } | 3872 # as_fn_error STATUS ERROR [LINENO LOG_FD] |
3097 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | 3873 # ---------------------------------------- |
3098 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | 3874 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
3099 { LC_ALL=C; export LC_ALL; } | 3875 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
3100 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | 3876 # script with STATUS, using 1 if that was 0. |
3101 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | 3877 as_fn_error () |
3102 { LC_TIME=C; export LC_TIME; } | 3878 { |
3103 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | 3879 as_status=$1; test $as_status -eq 0 && as_status=1 |
3104 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | 3880 if test "$4"; then |
3105 { LC_CTYPE=C; export LC_CTYPE; } | 3881 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3106 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | 3882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3107 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | 3883 fi |
3108 { LANGUAGE=C; export LANGUAGE; } | 3884 $as_echo "$as_me: error: $2" >&2 |
3109 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | 3885 as_fn_exit $as_status |
3110 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | 3886 } # as_fn_error |
3111 { LC_COLLATE=C; export LC_COLLATE; } | 3887 |
3112 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | 3888 |
3113 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | 3889 # as_fn_set_status STATUS |
3114 { LC_NUMERIC=C; export LC_NUMERIC; } | 3890 # ----------------------- |
3115 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | 3891 # Set $? to STATUS, without forking. |
3116 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | 3892 as_fn_set_status () |
3117 { LC_MESSAGES=C; export LC_MESSAGES; } | 3893 { |
3118 | 3894 return $1 |
3119 | 3895 } # as_fn_set_status |
3120 # Required to use basename. | 3896 |
3121 if expr a : '\(a\)' >/dev/null 2>&1; then | 3897 # as_fn_exit STATUS |
3898 # ----------------- | |
3899 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
3900 as_fn_exit () | |
3901 { | |
3902 set +e | |
3903 as_fn_set_status $1 | |
3904 exit $1 | |
3905 } # as_fn_exit | |
3906 | |
3907 # as_fn_unset VAR | |
3908 # --------------- | |
3909 # Portably unset VAR. | |
3910 as_fn_unset () | |
3911 { | |
3912 { eval $1=; unset $1;} | |
3913 } | |
3914 as_unset=as_fn_unset | |
3915 # as_fn_append VAR VALUE | |
3916 # ---------------------- | |
3917 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
3918 # advantage of any shell optimizations that allow amortized linear growth over | |
3919 # repeated appends, instead of the typical quadratic growth present in naive | |
3920 # implementations. | |
3921 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
3922 eval 'as_fn_append () | |
3923 { | |
3924 eval $1+=\$2 | |
3925 }' | |
3926 else | |
3927 as_fn_append () | |
3928 { | |
3929 eval $1=\$$1\$2 | |
3930 } | |
3931 fi # as_fn_append | |
3932 | |
3933 # as_fn_arith ARG... | |
3934 # ------------------ | |
3935 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
3936 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
3937 # must be portable across $(()) and expr. | |
3938 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
3939 eval 'as_fn_arith () | |
3940 { | |
3941 as_val=$(( $* )) | |
3942 }' | |
3943 else | |
3944 as_fn_arith () | |
3945 { | |
3946 as_val=`expr "$@" || test $? -eq 1` | |
3947 } | |
3948 fi # as_fn_arith | |
3949 | |
3950 | |
3951 if expr a : '\(a\)' >/dev/null 2>&1 && | |
3952 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
3122 as_expr=expr | 3953 as_expr=expr |
3123 else | 3954 else |
3124 as_expr=false | 3955 as_expr=false |
3125 fi | 3956 fi |
3126 | 3957 |
3127 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 3958 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
3128 as_basename=basename | 3959 as_basename=basename |
3129 else | 3960 else |
3130 as_basename=false | 3961 as_basename=false |
3131 fi | 3962 fi |
3132 | 3963 |
3133 | 3964 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
3134 # Name of the executable. | 3965 as_dirname=dirname |
3135 as_me=`$as_basename "$0" || | 3966 else |
3967 as_dirname=false | |
3968 fi | |
3969 | |
3970 as_me=`$as_basename -- "$0" || | |
3136 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 3971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3137 X"$0" : 'X\(//\)$' \| \ | 3972 X"$0" : 'X\(//\)$' \| \ |
3138 X"$0" : 'X\(/\)$' \| \ | 3973 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3139 . : '\(.\)' 2>/dev/null || | 3974 $as_echo X/"$0" | |
3140 echo X/"$0" | | 3975 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3141 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 3976 s//\1/ |
3142 /^X\/\(\/\/\)$/{ s//\1/; q; } | 3977 q |
3143 /^X\/\(\/\).*/{ s//\1/; q; } | 3978 } |
3144 s/.*/./; q'` | 3979 /^X\/\(\/\/\)$/{ |
3145 | 3980 s//\1/ |
3146 | 3981 q |
3147 # PATH needs CR, and LINENO needs CR and PATH. | 3982 } |
3983 /^X\/\(\/\).*/{ | |
3984 s//\1/ | |
3985 q | |
3986 } | |
3987 s/.*/./; q'` | |
3988 | |
3148 # Avoid depending upon Character Ranges. | 3989 # Avoid depending upon Character Ranges. |
3149 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 3990 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3150 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 3991 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3151 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 3992 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3152 as_cr_digits='0123456789' | 3993 as_cr_digits='0123456789' |
3153 as_cr_alnum=$as_cr_Letters$as_cr_digits | 3994 as_cr_alnum=$as_cr_Letters$as_cr_digits |
3154 | 3995 |
3155 # The user is always right. | 3996 ECHO_C= ECHO_N= ECHO_T= |
3156 if test "${PATH_SEPARATOR+set}" != set; then | 3997 case `echo -n x` in #((((( |
3157 echo "#! /bin/sh" >conftest.sh | 3998 -n*) |
3158 echo "exit 0" >>conftest.sh | 3999 case `echo 'xy\c'` in |
3159 chmod +x conftest.sh | 4000 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
3160 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 4001 xy) ECHO_C='\c';; |
3161 PATH_SEPARATOR=';' | 4002 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
4003 ECHO_T=' ';; | |
4004 esac;; | |
4005 *) | |
4006 ECHO_N='-n';; | |
4007 esac | |
4008 | |
4009 rm -f conf$$ conf$$.exe conf$$.file | |
4010 if test -d conf$$.dir; then | |
4011 rm -f conf$$.dir/conf$$.file | |
4012 else | |
4013 rm -f conf$$.dir | |
4014 mkdir conf$$.dir 2>/dev/null | |
4015 fi | |
4016 if (echo >conf$$.file) 2>/dev/null; then | |
4017 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
4018 as_ln_s='ln -s' | |
4019 # ... but there are two gotchas: | |
4020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
4021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
4022 # In both cases, we have to default to `cp -pR'. | |
4023 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
4024 as_ln_s='cp -pR' | |
4025 elif ln conf$$.file conf$$ 2>/dev/null; then | |
4026 as_ln_s=ln | |
3162 else | 4027 else |
3163 PATH_SEPARATOR=: | 4028 as_ln_s='cp -pR' |
3164 fi | 4029 fi |
3165 rm -f conftest.sh | 4030 else |
3166 fi | 4031 as_ln_s='cp -pR' |
3167 | 4032 fi |
3168 | 4033 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3169 as_lineno_1=$LINENO | 4034 rmdir conf$$.dir 2>/dev/null |
3170 as_lineno_2=$LINENO | 4035 |
3171 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 4036 |
3172 test "x$as_lineno_1" != "x$as_lineno_2" && | 4037 # as_fn_mkdir_p |
3173 test "x$as_lineno_3" = "x$as_lineno_2" || { | 4038 # ------------- |
3174 # Find who we are. Look in the path if we contain no path at all | 4039 # Create "$as_dir" as a directory, including parents if necessary. |
3175 # relative or not. | 4040 as_fn_mkdir_p () |
3176 case $0 in | 4041 { |
3177 *[\\/]* ) as_myself=$0 ;; | 4042 |
3178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4043 case $as_dir in #( |
3179 for as_dir in $PATH | 4044 -*) as_dir=./$as_dir;; |
4045 esac | |
4046 test -d "$as_dir" || eval $as_mkdir_p || { | |
4047 as_dirs= | |
4048 while :; do | |
4049 case $as_dir in #( | |
4050 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
4051 *) as_qdir=$as_dir;; | |
4052 esac | |
4053 as_dirs="'$as_qdir' $as_dirs" | |
4054 as_dir=`$as_dirname -- "$as_dir" || | |
4055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
4056 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
4057 X"$as_dir" : 'X\(//\)$' \| \ | |
4058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
4059 $as_echo X"$as_dir" | | |
4060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
4061 s//\1/ | |
4062 q | |
4063 } | |
4064 /^X\(\/\/\)[^/].*/{ | |
4065 s//\1/ | |
4066 q | |
4067 } | |
4068 /^X\(\/\/\)$/{ | |
4069 s//\1/ | |
4070 q | |
4071 } | |
4072 /^X\(\/\).*/{ | |
4073 s//\1/ | |
4074 q | |
4075 } | |
4076 s/.*/./; q'` | |
4077 test -d "$as_dir" && break | |
4078 done | |
4079 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
4080 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
4081 | |
4082 | |
4083 } # as_fn_mkdir_p | |
4084 if mkdir -p . 2>/dev/null; then | |
4085 as_mkdir_p='mkdir -p "$as_dir"' | |
4086 else | |
4087 test -d ./-p && rmdir ./-p | |
4088 as_mkdir_p=false | |
4089 fi | |
4090 | |
4091 | |
4092 # as_fn_executable_p FILE | |
4093 # ----------------------- | |
4094 # Test if FILE is an executable regular file. | |
4095 as_fn_executable_p () | |
4096 { | |
4097 test -f "$1" && test -x "$1" | |
4098 } # as_fn_executable_p | |
4099 as_test_x='test -x' | |
4100 as_executable_p=as_fn_executable_p | |
4101 | |
4102 # Sed expression to map a string onto a valid CPP name. | |
4103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
4104 | |
4105 # Sed expression to map a string onto a valid variable name. | |
4106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
4107 | |
4108 | |
4109 exec 6>&1 | |
4110 ## ----------------------------------- ## | |
4111 ## Main body of $CONFIG_STATUS script. ## | |
4112 ## ----------------------------------- ## | |
4113 _ASEOF | |
4114 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
4115 | |
4116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4117 # Save the log message, to keep $0 and so on meaningful, and to | |
4118 # report actual input values of CONFIG_FILES etc. instead of their | |
4119 # values after options handling. | |
4120 ac_log=" | |
4121 This file was extended by PostgreSQL module $as_me 1.0, which was | |
4122 generated by GNU Autoconf 2.69. Invocation command line was | |
4123 | |
4124 CONFIG_FILES = $CONFIG_FILES | |
4125 CONFIG_HEADERS = $CONFIG_HEADERS | |
4126 CONFIG_LINKS = $CONFIG_LINKS | |
4127 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
4128 $ $0 $@ | |
4129 | |
4130 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
4131 " | |
4132 | |
4133 _ACEOF | |
4134 | |
4135 case $ac_config_files in *" | |
4136 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
4137 esac | |
4138 | |
4139 | |
4140 | |
4141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4142 # Files that config.status was made for. | |
4143 config_files="$ac_config_files" | |
4144 | |
4145 _ACEOF | |
4146 | |
4147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4148 ac_cs_usage="\ | |
4149 \`$as_me' instantiates files and other configuration actions | |
4150 from templates according to the current configuration. Unless the files | |
4151 and actions are specified as TAGs, all are instantiated by default. | |
4152 | |
4153 Usage: $0 [OPTION]... [TAG]... | |
4154 | |
4155 -h, --help print this help, then exit | |
4156 -V, --version print version number and configuration settings, then exit | |
4157 --config print configuration, then exit | |
4158 -q, --quiet, --silent | |
4159 do not print progress messages | |
4160 -d, --debug don't remove temporary files | |
4161 --recheck update $as_me by reconfiguring in the same conditions | |
4162 --file=FILE[:TEMPLATE] | |
4163 instantiate the configuration file FILE | |
4164 | |
4165 Configuration files: | |
4166 $config_files | |
4167 | |
4168 Report bugs to <xemacs-beta@xemacs.org>." | |
4169 | |
4170 _ACEOF | |
4171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4172 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
4173 ac_cs_version="\\ | |
4174 PostgreSQL module config.status 1.0 | |
4175 configured by $0, generated by GNU Autoconf 2.69, | |
4176 with options \\"\$ac_cs_config\\" | |
4177 | |
4178 Copyright (C) 2012 Free Software Foundation, Inc. | |
4179 This config.status script is free software; the Free Software Foundation | |
4180 gives unlimited permission to copy, distribute and modify it." | |
4181 | |
4182 ac_pwd='$ac_pwd' | |
4183 srcdir='$srcdir' | |
4184 INSTALL='$INSTALL' | |
4185 test -n "\$AWK" || AWK=awk | |
4186 _ACEOF | |
4187 | |
4188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
4189 # The default lists apply if the user does not specify any file. | |
4190 ac_need_defaults=: | |
4191 while test $# != 0 | |
3180 do | 4192 do |
3181 IFS=$as_save_IFS | 4193 case $1 in |
3182 test -z "$as_dir" && as_dir=. | 4194 --*=?*) |
3183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 4195 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
4196 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
4197 ac_shift=: | |
4198 ;; | |
4199 --*=) | |
4200 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
4201 ac_optarg= | |
4202 ac_shift=: | |
4203 ;; | |
4204 *) | |
4205 ac_option=$1 | |
4206 ac_optarg=$2 | |
4207 ac_shift=shift | |
4208 ;; | |
4209 esac | |
4210 | |
4211 case $ac_option in | |
4212 # Handling of the options. | |
4213 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
4214 ac_cs_recheck=: ;; | |
4215 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
4216 $as_echo "$ac_cs_version"; exit ;; | |
4217 --config | --confi | --conf | --con | --co | --c ) | |
4218 $as_echo "$ac_cs_config"; exit ;; | |
4219 --debug | --debu | --deb | --de | --d | -d ) | |
4220 debug=: ;; | |
4221 --file | --fil | --fi | --f ) | |
4222 $ac_shift | |
4223 case $ac_optarg in | |
4224 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
4225 '') as_fn_error $? "missing file argument" ;; | |
4226 esac | |
4227 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
4228 ac_need_defaults=false;; | |
4229 --he | --h | --help | --hel | -h ) | |
4230 $as_echo "$ac_cs_usage"; exit ;; | |
4231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
4232 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
4233 ac_cs_silent=: ;; | |
4234 | |
4235 # This is an error. | |
4236 -*) as_fn_error $? "unrecognized option: \`$1' | |
4237 Try \`$0 --help' for more information." ;; | |
4238 | |
4239 *) as_fn_append ac_config_targets " $1" | |
4240 ac_need_defaults=false ;; | |
4241 | |
4242 esac | |
4243 shift | |
3184 done | 4244 done |
3185 | 4245 |
3186 ;; | 4246 ac_configure_extra_args= |
3187 esac | 4247 |
3188 # We did not find ourselves, most probably we were run as `sh COMMAND' | 4248 if $ac_cs_silent; then |
3189 # in which case we are not to be found in the path. | 4249 exec 6>/dev/null |
3190 if test "x$as_myself" = x; then | 4250 ac_configure_extra_args="$ac_configure_extra_args --silent" |
3191 as_myself=$0 | 4251 fi |
3192 fi | 4252 |
3193 if test ! -f "$as_myself"; then | 4253 _ACEOF |
3194 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 4254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3195 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 4255 if \$ac_cs_recheck; then |
3196 { (exit 1); exit 1; }; } | 4256 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
3197 fi | 4257 shift |
3198 case $CONFIG_SHELL in | 4258 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
3199 '') | 4259 CONFIG_SHELL='$SHELL' |
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4260 export CONFIG_SHELL |
3201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 4261 exec "\$@" |
3202 do | 4262 fi |
3203 IFS=$as_save_IFS | 4263 |
3204 test -z "$as_dir" && as_dir=. | 4264 _ACEOF |
3205 for as_base in sh bash ksh sh5; do | 4265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3206 case $as_dir in | |
3207 /*) | |
3208 if ("$as_dir/$as_base" -c ' | |
3209 as_lineno_1=$LINENO | |
3210 as_lineno_2=$LINENO | |
3211 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
3212 test "x$as_lineno_1" != "x$as_lineno_2" && | |
3213 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | |
3214 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
3215 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
3216 CONFIG_SHELL=$as_dir/$as_base | |
3217 export CONFIG_SHELL | |
3218 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
3219 fi;; | |
3220 esac | |
3221 done | |
3222 done | |
3223 ;; | |
3224 esac | |
3225 | |
3226 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
3227 # uniformly replaced by the line number. The first 'sed' inserts a | |
3228 # line-number line before each line; the second 'sed' does the real | |
3229 # work. The second script uses 'N' to pair each line-number line | |
3230 # with the numbered line, and appends trailing '-' during | |
3231 # substitution so that $LINENO is not a special case at line end. | |
3232 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
3233 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | |
3234 sed '=' <$as_myself | | |
3235 sed ' | |
3236 N | |
3237 s,$,-, | |
3238 : loop | |
3239 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
3240 t loop | |
3241 s,-$,, | |
3242 s,^['$as_cr_digits']*\n,, | |
3243 ' >$as_me.lineno && | |
3244 chmod +x $as_me.lineno || | |
3245 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | |
3246 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
3247 { (exit 1); exit 1; }; } | |
3248 | |
3249 # Don't try to exec as it changes $[0], causing all sort of problems | |
3250 # (the dirname of $[0] is not the place where we might find the | |
3251 # original and so on. Autoconf is especially sensible to this). | |
3252 . ./$as_me.lineno | |
3253 # Exit status is that of the last command. | |
3254 exit | |
3255 } | |
3256 | |
3257 | |
3258 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | |
3259 *c*,-n*) ECHO_N= ECHO_C=' | |
3260 ' ECHO_T=' ' ;; | |
3261 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
3262 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
3263 esac | |
3264 | |
3265 if expr a : '\(a\)' >/dev/null 2>&1; then | |
3266 as_expr=expr | |
3267 else | |
3268 as_expr=false | |
3269 fi | |
3270 | |
3271 rm -f conf$$ conf$$.exe conf$$.file | |
3272 echo >conf$$.file | |
3273 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
3274 # We could just check for DJGPP; but this test a) works b) is more generic | |
3275 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
3276 if test -f conf$$.exe; then | |
3277 # Don't use ln at all; we don't have any links | |
3278 as_ln_s='cp -p' | |
3279 else | |
3280 as_ln_s='ln -s' | |
3281 fi | |
3282 elif ln conf$$.file conf$$ 2>/dev/null; then | |
3283 as_ln_s=ln | |
3284 else | |
3285 as_ln_s='cp -p' | |
3286 fi | |
3287 rm -f conf$$ conf$$.exe conf$$.file | |
3288 | |
3289 if mkdir -p . 2>/dev/null; then | |
3290 as_mkdir_p=: | |
3291 else | |
3292 as_mkdir_p=false | |
3293 fi | |
3294 | |
3295 as_executable_p="test -f" | |
3296 | |
3297 # Sed expression to map a string onto a valid CPP name. | |
3298 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
3299 | |
3300 # Sed expression to map a string onto a valid variable name. | |
3301 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
3302 | |
3303 | |
3304 # IFS | |
3305 # We need space, tab and new line, in precisely that order. | |
3306 as_nl=' | |
3307 ' | |
3308 IFS=" $as_nl" | |
3309 | |
3310 # CDPATH. | |
3311 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
3312 | |
3313 exec 6>&1 | |
3314 | |
3315 # Open the log real soon, to keep \$[0] and so on meaningful, and to | |
3316 # report actual input values of CONFIG_FILES etc. instead of their | |
3317 # values after options handling. Logging --version etc. is OK. | |
3318 exec 5>>config.log | 4266 exec 5>>config.log |
3319 { | 4267 { |
3320 echo | 4268 echo |
3321 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 4269 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
3322 ## Running $as_me. ## | 4270 ## Running $as_me. ## |
3323 _ASBOX | 4271 _ASBOX |
4272 $as_echo "$ac_log" | |
3324 } >&5 | 4273 } >&5 |
3325 cat >&5 <<_CSEOF | 4274 |
3326 | 4275 _ACEOF |
3327 This file was extended by PostgreSQL module $as_me 1.0, which was | 4276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3328 generated by GNU Autoconf 2.53a. Invocation command line was | 4277 _ACEOF |
3329 | 4278 |
3330 CONFIG_FILES = $CONFIG_FILES | 4279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3331 CONFIG_HEADERS = $CONFIG_HEADERS | 4280 |
3332 CONFIG_LINKS = $CONFIG_LINKS | 4281 # Handling of arguments. |
3333 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
3334 $ $0 $@ | |
3335 | |
3336 _CSEOF | |
3337 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | |
3338 echo >&5 | |
3339 _ACEOF | |
3340 | |
3341 # Files that config.status was made for. | |
3342 if test -n "$ac_config_files"; then | |
3343 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
3344 fi | |
3345 | |
3346 if test -n "$ac_config_headers"; then | |
3347 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
3348 fi | |
3349 | |
3350 if test -n "$ac_config_links"; then | |
3351 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
3352 fi | |
3353 | |
3354 if test -n "$ac_config_commands"; then | |
3355 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
3356 fi | |
3357 | |
3358 cat >>$CONFIG_STATUS <<\_ACEOF | |
3359 | |
3360 ac_cs_usage="\ | |
3361 \`$as_me' instantiates files from templates according to the | |
3362 current configuration. | |
3363 | |
3364 Usage: $0 [OPTIONS] [FILE]... | |
3365 | |
3366 -h, --help print this help, then exit | |
3367 -V, --version print version number, then exit | |
3368 -d, --debug don't remove temporary files | |
3369 --recheck update $as_me by reconfiguring in the same conditions | |
3370 --file=FILE[:TEMPLATE] | |
3371 instantiate the configuration file FILE | |
3372 | |
3373 Configuration files: | |
3374 $config_files | |
3375 | |
3376 Report bugs to <bug-autoconf@gnu.org>." | |
3377 _ACEOF | |
3378 | |
3379 cat >>$CONFIG_STATUS <<_ACEOF | |
3380 ac_cs_version="\\ | |
3381 PostgreSQL module config.status 1.0 | |
3382 configured by $0, generated by GNU Autoconf 2.53a, | |
3383 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | |
3384 | |
3385 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
3386 Free Software Foundation, Inc. | |
3387 This config.status script is free software; the Free Software Foundation | |
3388 gives unlimited permission to copy, distribute and modify it." | |
3389 srcdir=$srcdir | |
3390 INSTALL="$INSTALL" | |
3391 _ACEOF | |
3392 | |
3393 cat >>$CONFIG_STATUS <<\_ACEOF | |
3394 # If no file are specified by the user, then we need to provide default | |
3395 # value. By we need to know if files were specified by the user. | |
3396 ac_need_defaults=: | |
3397 while test $# != 0 | |
3398 do | |
3399 case $1 in | |
3400 --*=*) | |
3401 ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
3402 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
3403 ac_shift=: | |
3404 ;; | |
3405 -*) | |
3406 ac_option=$1 | |
3407 ac_optarg=$2 | |
3408 ac_shift=shift | |
3409 ;; | |
3410 *) # This is not an option, so the user has probably given explicit | |
3411 # arguments. | |
3412 ac_option=$1 | |
3413 ac_need_defaults=false;; | |
3414 esac | |
3415 | |
3416 case $ac_option in | |
3417 # Handling of the options. | |
3418 _ACEOF | |
3419 cat >>$CONFIG_STATUS <<_ACEOF | |
3420 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
3421 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | |
3422 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | |
3423 _ACEOF | |
3424 cat >>$CONFIG_STATUS <<\_ACEOF | |
3425 --version | --vers* | -V ) | |
3426 echo "$ac_cs_version"; exit 0 ;; | |
3427 --he | --h) | |
3428 # Conflict between --help and --header | |
3429 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | |
3430 Try \`$0 --help' for more information." >&5 | |
3431 echo "$as_me: error: ambiguous option: $1 | |
3432 Try \`$0 --help' for more information." >&2;} | |
3433 { (exit 1); exit 1; }; };; | |
3434 --help | --hel | -h ) | |
3435 echo "$ac_cs_usage"; exit 0 ;; | |
3436 --debug | --d* | -d ) | |
3437 debug=: ;; | |
3438 --file | --fil | --fi | --f ) | |
3439 $ac_shift | |
3440 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
3441 ac_need_defaults=false;; | |
3442 --header | --heade | --head | --hea ) | |
3443 $ac_shift | |
3444 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
3445 ac_need_defaults=false;; | |
3446 | |
3447 # This is an error. | |
3448 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | |
3449 Try \`$0 --help' for more information." >&5 | |
3450 echo "$as_me: error: unrecognized option: $1 | |
3451 Try \`$0 --help' for more information." >&2;} | |
3452 { (exit 1); exit 1; }; } ;; | |
3453 | |
3454 *) ac_config_targets="$ac_config_targets $1" ;; | |
3455 | |
3456 esac | |
3457 shift | |
3458 done | |
3459 | |
3460 _ACEOF | |
3461 | |
3462 | |
3463 | |
3464 | |
3465 | |
3466 cat >>$CONFIG_STATUS <<\_ACEOF | |
3467 for ac_config_target in $ac_config_targets | 4282 for ac_config_target in $ac_config_targets |
3468 do | 4283 do |
3469 case "$ac_config_target" in | 4284 case $ac_config_target in |
3470 # Handling of arguments. | 4285 "Makefile.in") CONFIG_FILES="$CONFIG_FILES Makefile.in" ;; |
3471 "Makefile.in" ) CONFIG_FILES="$CONFIG_FILES Makefile.in" ;; | 4286 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
3472 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 4287 |
3473 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 4288 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
3474 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
3475 { (exit 1); exit 1; }; };; | |
3476 esac | 4289 esac |
3477 done | 4290 done |
4291 | |
3478 | 4292 |
3479 # If the user did not use the arguments to specify the items to instantiate, | 4293 # If the user did not use the arguments to specify the items to instantiate, |
3480 # then the envvar interface is used. Set only those that are not. | 4294 # then the envvar interface is used. Set only those that are not. |
3481 # We use the long form for the default assignment because of an extremely | 4295 # We use the long form for the default assignment because of an extremely |
3482 # bizarre bug on SunOS 4.1.3. | 4296 # bizarre bug on SunOS 4.1.3. |
3483 if $ac_need_defaults; then | 4297 if $ac_need_defaults; then |
3484 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 4298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
3485 fi | 4299 fi |
3486 | 4300 |
3487 # Create a temporary directory, and hook for its removal unless debugging. | 4301 # Have a temporary directory for convenience. Make it in the build tree |
4302 # simply because there is no reason against having it here, and in addition, | |
4303 # creating and moving files from /tmp can sometimes cause problems. | |
4304 # Hook for its removal unless debugging. | |
4305 # Note that there is a small window in which the directory will not be cleaned: | |
4306 # after its creation but before its name has been assigned to `$tmp'. | |
3488 $debug || | 4307 $debug || |
3489 { | 4308 { |
3490 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 4309 tmp= ac_tmp= |
3491 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 4310 trap 'exit_status=$? |
4311 : "${ac_tmp:=$tmp}" | |
4312 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
4313 ' 0 | |
4314 trap 'as_fn_exit 1' 1 2 13 15 | |
3492 } | 4315 } |
3493 | |
3494 # Create a (secure) tmp directory for tmp files. | 4316 # Create a (secure) tmp directory for tmp files. |
3495 : ${TMPDIR=/tmp} | 4317 |
3496 { | 4318 { |
3497 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | 4319 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
3498 test -n "$tmp" && test -d "$tmp" | 4320 test -d "$tmp" |
3499 } || | 4321 } || |
3500 { | 4322 { |
3501 tmp=$TMPDIR/cs$$-$RANDOM | 4323 tmp=./conf$$-$RANDOM |
3502 (umask 077 && mkdir $tmp) | 4324 (umask 077 && mkdir "$tmp") |
3503 } || | 4325 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
4326 ac_tmp=$tmp | |
4327 | |
4328 # Set up the scripts for CONFIG_FILES section. | |
4329 # No need to generate them if there are no CONFIG_FILES. | |
4330 # This happens for instance with `./config.status config.h'. | |
4331 if test -n "$CONFIG_FILES"; then | |
4332 | |
4333 | |
4334 ac_cr=`echo X | tr X '\015'` | |
4335 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
4336 # But we know of no other shell where ac_cr would be empty at this | |
4337 # point, so we can use a bashism as a fallback. | |
4338 if test "x$ac_cr" = x; then | |
4339 eval ac_cr=\$\'\\r\' | |
4340 fi | |
4341 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
4342 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
4343 ac_cs_awk_cr='\\r' | |
4344 else | |
4345 ac_cs_awk_cr=$ac_cr | |
4346 fi | |
4347 | |
4348 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
4349 _ACEOF | |
4350 | |
4351 | |
3504 { | 4352 { |
3505 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 4353 echo "cat >conf$$subs.awk <<_ACEOF" && |
3506 { (exit 1); exit 1; } | 4354 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
4355 echo "_ACEOF" | |
4356 } >conf$$subs.sh || | |
4357 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4358 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
4359 ac_delim='%!_!# ' | |
4360 for ac_last_try in false false false false false :; do | |
4361 . ./conf$$subs.sh || | |
4362 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4363 | |
4364 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
4365 if test $ac_delim_n = $ac_delim_num; then | |
4366 break | |
4367 elif $ac_last_try; then | |
4368 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
4369 else | |
4370 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
4371 fi | |
4372 done | |
4373 rm -f conf$$subs.sh | |
4374 | |
4375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
4376 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
4377 _ACEOF | |
4378 sed -n ' | |
4379 h | |
4380 s/^/S["/; s/!.*/"]=/ | |
4381 p | |
4382 g | |
4383 s/^[^!]*!// | |
4384 :repl | |
4385 t repl | |
4386 s/'"$ac_delim"'$// | |
4387 t delim | |
4388 :nl | |
4389 h | |
4390 s/\(.\{148\}\)..*/\1/ | |
4391 t more1 | |
4392 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
4393 p | |
4394 n | |
4395 b repl | |
4396 :more1 | |
4397 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
4398 p | |
4399 g | |
4400 s/.\{148\}// | |
4401 t nl | |
4402 :delim | |
4403 h | |
4404 s/\(.\{148\}\)..*/\1/ | |
4405 t more2 | |
4406 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
4407 p | |
4408 b | |
4409 :more2 | |
4410 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
4411 p | |
4412 g | |
4413 s/.\{148\}// | |
4414 t delim | |
4415 ' <conf$$subs.awk | sed ' | |
4416 /^[^""]/{ | |
4417 N | |
4418 s/\n// | |
3507 } | 4419 } |
3508 | 4420 ' >>$CONFIG_STATUS || ac_write_fail=1 |
3509 _ACEOF | 4421 rm -f conf$$subs.awk |
3510 | 4422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3511 cat >>$CONFIG_STATUS <<_ACEOF | 4423 _ACAWK |
3512 | 4424 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
3513 # | 4425 for (key in S) S_is_set[key] = 1 |
3514 # CONFIG_FILES section. | 4426 FS = "" |
3515 # | 4427 |
3516 | 4428 } |
3517 # No need to generate the scripts if there are no CONFIG_FILES. | 4429 { |
3518 # This happens for instance when ./config.status config.h | 4430 line = $ 0 |
3519 if test -n "\$CONFIG_FILES"; then | 4431 nfields = split(line, field, "@") |
3520 # Protect against being on the right side of a sed subst in config.status. | 4432 substed = 0 |
3521 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 4433 len = length(field[1]) |
3522 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 4434 for (i = 2; i < nfields; i++) { |
3523 s,@SHELL@,$SHELL,;t t | 4435 key = field[i] |
3524 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 4436 keylen = length(key) |
3525 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 4437 if (S_is_set[key]) { |
3526 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 4438 value = S[key] |
3527 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 4439 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
3528 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 4440 len += length(value) + length(field[++i]) |
3529 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 4441 substed = 1 |
3530 s,@exec_prefix@,$exec_prefix,;t t | 4442 } else |
3531 s,@prefix@,$prefix,;t t | 4443 len += 1 + keylen |
3532 s,@program_transform_name@,$program_transform_name,;t t | 4444 } |
3533 s,@bindir@,$bindir,;t t | 4445 |
3534 s,@sbindir@,$sbindir,;t t | 4446 print line |
3535 s,@libexecdir@,$libexecdir,;t t | 4447 } |
3536 s,@datadir@,$datadir,;t t | 4448 |
3537 s,@sysconfdir@,$sysconfdir,;t t | 4449 _ACAWK |
3538 s,@sharedstatedir@,$sharedstatedir,;t t | 4450 _ACEOF |
3539 s,@localstatedir@,$localstatedir,;t t | 4451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3540 s,@libdir@,$libdir,;t t | 4452 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
3541 s,@includedir@,$includedir,;t t | 4453 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
3542 s,@oldincludedir@,$oldincludedir,;t t | 4454 else |
3543 s,@infodir@,$infodir,;t t | 4455 cat |
3544 s,@mandir@,$mandir,;t t | 4456 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
3545 s,@build_alias@,$build_alias,;t t | 4457 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
3546 s,@host_alias@,$host_alias,;t t | 4458 _ACEOF |
3547 s,@target_alias@,$target_alias,;t t | 4459 |
3548 s,@DEFS@,$DEFS,;t t | 4460 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
3549 s,@ECHO_C@,$ECHO_C,;t t | 4461 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
3550 s,@ECHO_N@,$ECHO_N,;t t | 4462 # trailing colons and then remove the whole line if VPATH becomes empty |
3551 s,@ECHO_T@,$ECHO_T,;t t | 4463 # (actually we leave an empty line to preserve line numbers). |
3552 s,@LIBS@,$LIBS,;t t | 4464 if test "x$srcdir" = x.; then |
3553 s,@CC@,$CC,;t t | 4465 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
3554 s,@CFLAGS@,$CFLAGS,;t t | 4466 h |
3555 s,@LDFLAGS@,$LDFLAGS,;t t | 4467 s/// |
3556 s,@CPPFLAGS@,$CPPFLAGS,;t t | 4468 s/^/:/ |
3557 s,@ac_ct_CC@,$ac_ct_CC,;t t | 4469 s/[ ]*$/:/ |
3558 s,@EXEEXT@,$EXEEXT,;t t | 4470 s/:\$(srcdir):/:/g |
3559 s,@OBJEXT@,$OBJEXT,;t t | 4471 s/:\${srcdir}:/:/g |
3560 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 4472 s/:@srcdir@:/:/g |
3561 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 4473 s/^:*// |
3562 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 4474 s/:*$// |
3563 s,@ELLCC@,$ELLCC,;t t | 4475 x |
3564 s,@CPP@,$CPP,;t t | 4476 s/\(=[ ]*\).*/\1/ |
3565 s,@postgresql_libs@,$postgresql_libs,;t t | 4477 G |
3566 s,@PROGNAME@,$PROGNAME,;t t | 4478 s/\n// |
3567 s,@MOD_CC@,$MOD_CC,;t t | 4479 s/^[^=]*=[ ]*$// |
3568 s,@MODARCHDIR@,$MODARCHDIR,;t t | 4480 }' |
3569 s,@MAKE_DOCFILE@,$MAKE_DOCFILE,;t t | 4481 fi |
3570 s,@MODCFLAGS@,$MODCFLAGS,;t t | 4482 |
3571 s,@INSTALLPATH@,$INSTALLPATH,;t t | 4483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3572 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t | 4484 fi # test -n "$CONFIG_FILES" |
3573 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t | 4485 |
3574 CEOF | 4486 |
3575 | 4487 eval set X " :F $CONFIG_FILES " |
3576 _ACEOF | 4488 shift |
3577 | 4489 for ac_tag |
3578 cat >>$CONFIG_STATUS <<\_ACEOF | 4490 do |
3579 # Split the substitutions into bite-sized pieces for seds with | 4491 case $ac_tag in |
3580 # small command number limits, like on Digital OSF/1 and HP-UX. | 4492 :[FHLC]) ac_mode=$ac_tag; continue;; |
3581 ac_max_sed_lines=48 | 4493 esac |
3582 ac_sed_frag=1 # Number of current file. | 4494 case $ac_mode$ac_tag in |
3583 ac_beg=1 # First line for current file. | 4495 :[FHL]*:*);; |
3584 ac_end=$ac_max_sed_lines # Line after last line for current file. | 4496 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
3585 ac_more_lines=: | 4497 :[FH]-) ac_tag=-:-;; |
3586 ac_sed_cmds= | 4498 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
3587 while $ac_more_lines; do | 4499 esac |
3588 if test $ac_beg -gt 1; then | 4500 ac_save_IFS=$IFS |
3589 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 4501 IFS=: |
3590 else | 4502 set x $ac_tag |
3591 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 4503 IFS=$ac_save_IFS |
4504 shift | |
4505 ac_file=$1 | |
4506 shift | |
4507 | |
4508 case $ac_mode in | |
4509 :L) ac_source=$1;; | |
4510 :[FH]) | |
4511 ac_file_inputs= | |
4512 for ac_f | |
4513 do | |
4514 case $ac_f in | |
4515 -) ac_f="$ac_tmp/stdin";; | |
4516 *) # Look for the file first in the build tree, then in the source tree | |
4517 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
4518 # because $ac_f cannot contain `:'. | |
4519 test -f "$ac_f" || | |
4520 case $ac_f in | |
4521 [\\/$]*) false;; | |
4522 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
4523 esac || | |
4524 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
4525 esac | |
4526 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
4527 as_fn_append ac_file_inputs " '$ac_f'" | |
4528 done | |
4529 | |
4530 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
4531 # use $as_me), people would be surprised to read: | |
4532 # /* config.h. Generated by config.status. */ | |
4533 configure_input='Generated from '` | |
4534 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
4535 `' by configure.' | |
4536 if test x"$ac_file" != x-; then | |
4537 configure_input="$ac_file. $configure_input" | |
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
4539 $as_echo "$as_me: creating $ac_file" >&6;} | |
3592 fi | 4540 fi |
3593 if test ! -s $tmp/subs.frag; then | 4541 # Neutralize special characters interpreted by sed in replacement strings. |
3594 ac_more_lines=false | 4542 case $configure_input in #( |
3595 else | 4543 *\&* | *\|* | *\\* ) |
3596 # The purpose of the label and of the branching condition is to | 4544 ac_sed_conf_input=`$as_echo "$configure_input" | |
3597 # speed up the sed processing (if there are no `@' at all, there | 4545 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
3598 # is no need to browse any of the substitutions). | 4546 *) ac_sed_conf_input=$configure_input;; |
3599 # These are the two extra sed commands mentioned above. | 4547 esac |
3600 (echo ':t | 4548 |
3601 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 4549 case $ac_tag in |
3602 if test -z "$ac_sed_cmds"; then | 4550 *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
3603 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 4551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
3604 else | 4552 esac |
3605 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 4553 ;; |
3606 fi | |
3607 ac_sed_frag=`expr $ac_sed_frag + 1` | |
3608 ac_beg=$ac_end | |
3609 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
3610 fi | |
3611 done | |
3612 if test -z "$ac_sed_cmds"; then | |
3613 ac_sed_cmds=cat | |
3614 fi | |
3615 fi # test -n "$CONFIG_FILES" | |
3616 | |
3617 _ACEOF | |
3618 cat >>$CONFIG_STATUS <<\_ACEOF | |
3619 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
3620 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
3621 case $ac_file in | |
3622 - | *:- | *:-:* ) # input from stdin | |
3623 cat >$tmp/stdin | |
3624 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3625 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3626 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3627 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3628 * ) ac_file_in=$ac_file.in ;; | |
3629 esac | 4554 esac |
3630 | 4555 |
3631 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 4556 ac_dir=`$as_dirname -- "$ac_file" || |
3632 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
3633 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 4557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3634 X"$ac_file" : 'X\(//\)[^/]' \| \ | 4558 X"$ac_file" : 'X\(//\)[^/]' \| \ |
3635 X"$ac_file" : 'X\(//\)$' \| \ | 4559 X"$ac_file" : 'X\(//\)$' \| \ |
3636 X"$ac_file" : 'X\(/\)' \| \ | 4560 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
3637 . : '\(.\)' 2>/dev/null || | 4561 $as_echo X"$ac_file" | |
3638 echo X"$ac_file" | | 4562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 4563 s//\1/ |
3640 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 4564 q |
3641 /^X\(\/\/\)$/{ s//\1/; q; } | 4565 } |
3642 /^X\(\/\).*/{ s//\1/; q; } | 4566 /^X\(\/\/\)[^/].*/{ |
3643 s/.*/./; q'` | 4567 s//\1/ |
3644 { if $as_mkdir_p; then | 4568 q |
3645 mkdir -p "$ac_dir" | 4569 } |
3646 else | 4570 /^X\(\/\/\)$/{ |
3647 as_dir="$ac_dir" | 4571 s//\1/ |
3648 as_dirs= | 4572 q |
3649 while test ! -d "$as_dir"; do | 4573 } |
3650 as_dirs="$as_dir $as_dirs" | 4574 /^X\(\/\).*/{ |
3651 as_dir=`(dirname "$as_dir") 2>/dev/null || | 4575 s//\1/ |
3652 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 4576 q |
3653 X"$as_dir" : 'X\(//\)[^/]' \| \ | 4577 } |
3654 X"$as_dir" : 'X\(//\)$' \| \ | 4578 s/.*/./; q'` |
3655 X"$as_dir" : 'X\(/\)' \| \ | 4579 as_dir="$ac_dir"; as_fn_mkdir_p |
3656 . : '\(.\)' 2>/dev/null || | |
3657 echo X"$as_dir" | | |
3658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
3659 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
3660 /^X\(\/\/\)$/{ s//\1/; q; } | |
3661 /^X\(\/\).*/{ s//\1/; q; } | |
3662 s/.*/./; q'` | |
3663 done | |
3664 test ! -n "$as_dirs" || mkdir $as_dirs | |
3665 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
3666 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
3667 { (exit 1); exit 1; }; }; } | |
3668 | |
3669 ac_builddir=. | 4580 ac_builddir=. |
3670 | 4581 |
3671 if test "$ac_dir" != .; then | 4582 case "$ac_dir" in |
3672 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 4583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3673 # A "../" for each directory in $ac_dir_suffix. | 4584 *) |
3674 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 4585 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
3675 else | 4586 # A ".." for each directory in $ac_dir_suffix. |
3676 ac_dir_suffix= ac_top_builddir= | 4587 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
3677 fi | 4588 case $ac_top_builddir_sub in |
4589 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
4590 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
4591 esac ;; | |
4592 esac | |
4593 ac_abs_top_builddir=$ac_pwd | |
4594 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
4595 # for backward compatibility: | |
4596 ac_top_builddir=$ac_top_build_prefix | |
3678 | 4597 |
3679 case $srcdir in | 4598 case $srcdir in |
3680 .) # No --srcdir option. We are building in place. | 4599 .) # We are building in place. |
3681 ac_srcdir=. | 4600 ac_srcdir=. |
3682 if test -z "$ac_top_builddir"; then | 4601 ac_top_srcdir=$ac_top_builddir_sub |
3683 ac_top_srcdir=. | 4602 ac_abs_top_srcdir=$ac_pwd ;; |
3684 else | 4603 [\\/]* | ?:[\\/]* ) # Absolute name. |
3685 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
3686 fi ;; | |
3687 [\\/]* | ?:[\\/]* ) # Absolute path. | |
3688 ac_srcdir=$srcdir$ac_dir_suffix; | 4604 ac_srcdir=$srcdir$ac_dir_suffix; |
3689 ac_top_srcdir=$srcdir ;; | 4605 ac_top_srcdir=$srcdir |
3690 *) # Relative path. | 4606 ac_abs_top_srcdir=$srcdir ;; |
3691 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 4607 *) # Relative name. |
3692 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 4608 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
4609 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
4610 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
3693 esac | 4611 esac |
3694 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 4612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
3695 # absolute. | 4613 |
3696 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 4614 |
3697 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 4615 case $ac_mode in |
3698 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 4616 :F) |
3699 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 4617 # |
3700 | 4618 # CONFIG_FILE |
4619 # | |
3701 | 4620 |
3702 case $INSTALL in | 4621 case $INSTALL in |
3703 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 4622 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
3704 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 4623 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
3705 esac | 4624 esac |
3706 | 4625 _ACEOF |
3707 if test x"$ac_file" != x-; then | 4626 |
3708 { echo "$as_me:$LINENO: creating $ac_file" >&5 | 4627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3709 echo "$as_me: creating $ac_file" >&6;} | 4628 # If the template does not know about datarootdir, expand it. |
3710 rm -f "$ac_file" | 4629 # FIXME: This hack should be removed a few years after 2.60. |
3711 fi | 4630 ac_datarootdir_hack=; ac_datarootdir_seen= |
3712 # Let's still pretend it is `configure' which instantiates (i.e., don't | 4631 ac_sed_dataroot=' |
3713 # use $as_me), people would be surprised to read: | 4632 /datarootdir/ { |
3714 # /* config.h. Generated by config.status. */ | 4633 p |
3715 if test x"$ac_file" = x-; then | 4634 q |
3716 configure_input= | 4635 } |
3717 else | 4636 /@datadir@/p |
3718 configure_input="$ac_file. " | 4637 /@docdir@/p |
3719 fi | 4638 /@infodir@/p |
3720 configure_input=$configure_input"Generated from `echo $ac_file_in | | 4639 /@localedir@/p |
3721 sed 's,.*/,,'` by configure." | 4640 /@mandir@/p' |
3722 | 4641 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
3723 # First look for the input files in the build tree, otherwise in the | 4642 *datarootdir*) ac_datarootdir_seen=yes;; |
3724 # src tree. | 4643 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
3725 ac_file_inputs=`IFS=: | 4644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
3726 for f in $ac_file_in; do | 4645 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
3727 case $f in | 4646 _ACEOF |
3728 -) echo $tmp/stdin ;; | 4647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3729 [\\/$]*) | 4648 ac_datarootdir_hack=' |
3730 # Absolute (can't be DOS-style, as IFS=:) | 4649 s&@datadir@&$datadir&g |
3731 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 4650 s&@docdir@&$docdir&g |
3732 echo "$as_me: error: cannot find input file: $f" >&2;} | 4651 s&@infodir@&$infodir&g |
3733 { (exit 1); exit 1; }; } | 4652 s&@localedir@&$localedir&g |
3734 echo $f;; | 4653 s&@mandir@&$mandir&g |
3735 *) # Relative | 4654 s&\\\${datarootdir}&$datarootdir&g' ;; |
3736 if test -f "$f"; then | 4655 esac |
3737 # Build tree | 4656 _ACEOF |
3738 echo $f | 4657 |
3739 elif test -f "$srcdir/$f"; then | 4658 # Neutralize VPATH when `$srcdir' = `.'. |
3740 # Source tree | 4659 # Shell code in configure.ac might set extrasub. |
3741 echo $srcdir/$f | 4660 # FIXME: do we really want to maintain this feature? |
3742 else | 4661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
3743 # /dev/null tree | 4662 ac_sed_extra="$ac_vpsub |
3744 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
3745 echo "$as_me: error: cannot find input file: $f" >&2;} | |
3746 { (exit 1); exit 1; }; } | |
3747 fi;; | |
3748 esac | |
3749 done` || { (exit 1); exit 1; } | |
3750 _ACEOF | |
3751 cat >>$CONFIG_STATUS <<_ACEOF | |
3752 sed "$ac_vpsub | |
3753 $extrasub | 4663 $extrasub |
3754 _ACEOF | 4664 _ACEOF |
3755 cat >>$CONFIG_STATUS <<\_ACEOF | 4665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
3756 :t | 4666 :t |
3757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 4667 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
3758 s,@configure_input@,$configure_input,;t t | 4668 s|@configure_input@|$ac_sed_conf_input|;t t |
3759 s,@srcdir@,$ac_srcdir,;t t | 4669 s&@top_builddir@&$ac_top_builddir_sub&;t t |
3760 s,@abs_srcdir@,$ac_abs_srcdir,;t t | 4670 s&@top_build_prefix@&$ac_top_build_prefix&;t t |
3761 s,@top_srcdir@,$ac_top_srcdir,;t t | 4671 s&@srcdir@&$ac_srcdir&;t t |
3762 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 4672 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
3763 s,@builddir@,$ac_builddir,;t t | 4673 s&@top_srcdir@&$ac_top_srcdir&;t t |
3764 s,@abs_builddir@,$ac_abs_builddir,;t t | 4674 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
3765 s,@top_builddir@,$ac_top_builddir,;t t | 4675 s&@builddir@&$ac_builddir&;t t |
3766 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 4676 s&@abs_builddir@&$ac_abs_builddir&;t t |
3767 s,@INSTALL@,$ac_INSTALL,;t t | 4677 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
3768 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 4678 s&@INSTALL@&$ac_INSTALL&;t t |
3769 rm -f $tmp/stdin | 4679 $ac_datarootdir_hack |
3770 if test x"$ac_file" != x-; then | 4680 " |
3771 mv $tmp/out $ac_file | 4681 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
3772 else | 4682 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3773 cat $tmp/out | 4683 |
3774 rm -f $tmp/out | 4684 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
3775 fi | 4685 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
3776 | 4686 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
3777 done | 4687 "$ac_tmp/out"`; test -z "$ac_out"; } && |
3778 _ACEOF | 4688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3779 | 4689 which seems to be undefined. Please make sure it is defined" >&5 |
3780 cat >>$CONFIG_STATUS <<\_ACEOF | 4690 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
3781 | 4691 which seems to be undefined. Please make sure it is defined" >&2;} |
3782 { (exit 0); exit 0; } | 4692 |
3783 _ACEOF | 4693 rm -f "$ac_tmp/stdin" |
3784 chmod +x $CONFIG_STATUS | 4694 case $ac_file in |
4695 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
4696 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
4697 esac \ | |
4698 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
4699 ;; | |
4700 | |
4701 | |
4702 | |
4703 esac | |
4704 | |
4705 done # for ac_tag | |
4706 | |
4707 | |
4708 as_fn_exit 0 | |
4709 _ACEOF | |
3785 ac_clean_files=$ac_clean_files_save | 4710 ac_clean_files=$ac_clean_files_save |
4711 | |
4712 test $ac_write_fail = 0 || | |
4713 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
3786 | 4714 |
3787 | 4715 |
3788 # configure is writing to config.log, and then calls config.status. | 4716 # configure is writing to config.log, and then calls config.status. |
3789 # config.status does its own redirection, appending to config.log. | 4717 # config.status does its own redirection, appending to config.log. |
3790 # Unfortunately, on DOS this fails, as config.log is still kept open | 4718 # Unfortunately, on DOS this fails, as config.log is still kept open |
3793 # effectively closing config.log, so it can be properly (re)opened and | 4721 # effectively closing config.log, so it can be properly (re)opened and |
3794 # appended to by config.status. When coming back to configure, we | 4722 # appended to by config.status. When coming back to configure, we |
3795 # need to make the FD available again. | 4723 # need to make the FD available again. |
3796 if test "$no_create" != yes; then | 4724 if test "$no_create" != yes; then |
3797 ac_cs_success=: | 4725 ac_cs_success=: |
4726 ac_config_status_args= | |
4727 test "$silent" = yes && | |
4728 ac_config_status_args="$ac_config_status_args --quiet" | |
3798 exec 5>/dev/null | 4729 exec 5>/dev/null |
3799 $SHELL $CONFIG_STATUS || ac_cs_success=false | 4730 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3800 exec 5>>config.log | 4731 exec 5>>config.log |
3801 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 4732 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3802 # would make configure fail if this is the last instruction. | 4733 # would make configure fail if this is the last instruction. |
3803 $ac_cs_success || { (exit 1); exit 1; } | 4734 $ac_cs_success || as_fn_exit 1 |
3804 fi | 4735 fi |
3805 | 4736 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
3806 | 4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
4738 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
4739 fi | |
4740 | |
4741 |