/[svn]/hopm/trunk/configure
ViewVC logotype

Contents of /hopm/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5352 - (show annotations)
Sun Jan 11 13:26:11 2015 UTC (4 years, 7 months ago) by michael
File size: 442053 byte(s)
- automake 1.15

1 #! /bin/sh
2 # From configure.ac Id: configure.ac 5314 2015-01-06 13:27:34Z michael .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for hopm TRUNK.
5 #
6 # Report bugs to <bugs@ircd-hybrid.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
153 * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160 fi
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 emulate sh
166 NULLCMD=:
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 setopt NO_GLOB_SUBST
171 else
172 case \`(set -o) 2>/dev/null\` in #(
173 *posix*) :
174 set -o posix ;; #(
175 *) :
176 ;;
177 esac
178 fi
179 "
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194 exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 test \$(( 1 + 1 )) = 2 || exit 1"
211 if (eval "$as_required") 2>/dev/null; then :
212 as_have_required=yes
213 else
214 as_have_required=no
215 fi
216 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
217
218 else
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 as_found=false
221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 as_found=:
226 case $as_dir in #(
227 /*)
228 for as_base in sh bash ksh sh5; do
229 # Try only shells that exist, to save several forks.
230 as_shell=$as_dir/$as_base
231 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 CONFIG_SHELL=$as_shell as_have_required=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
235 break 2
236 fi
237 fi
238 done;;
239 esac
240 as_found=false
241 done
242 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
244 CONFIG_SHELL=$SHELL as_have_required=yes
245 fi; }
246 IFS=$as_save_IFS
247
248
249 if test "x$CONFIG_SHELL" != x; then :
250 export CONFIG_SHELL
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
255 BASH_ENV=/dev/null
256 ENV=/dev/null
257 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 case $- in # ((((
259 *v*x* | *x*v* ) as_opts=-vx ;;
260 *v* ) as_opts=-v ;;
261 *x* ) as_opts=-x ;;
262 * ) as_opts= ;;
263 esac
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 exit 255
269 fi
270
271 if test x$as_have_required = xno; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x${ZSH_VERSION+set} = xset ; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 else
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: bugs@ircd-hybrid.org about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311 return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319 set +e
320 as_fn_set_status $1
321 exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
387 {
388 eval $1+=\$2
389 }'
390 else
391 as_fn_append ()
392 {
393 eval $1=\$$1\$2
394 }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else
408 as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 xy) ECHO_C='\c';;
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 ECHO_T=' ';;
520 esac;;
521 *)
522 ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
528 else
529 rm -f conf$$.dir
530 mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s='ln -s'
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 as_ln_s='cp -pR'
541 elif ln conf$$.file conf$$ 2>/dev/null; then
542 as_ln_s=ln
543 else
544 as_ln_s='cp -pR'
545 fi
546 else
547 as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
554 else
555 test -d ./-p && rmdir ./-p
556 as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='hopm'
593 PACKAGE_TARNAME='hopm'
594 PACKAGE_VERSION='TRUNK'
595 PACKAGE_STRING='hopm TRUNK'
596 PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
597 PACKAGE_URL=''
598
599 ac_unique_file="src/opercmd.h"
600 ac_default_prefix=\${HOME}/hopm
601 # Factoring default headers for most tests.
602 ac_includes_default="\
603 #include <stdio.h>
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
606 #endif
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
609 #endif
610 #ifdef STDC_HEADERS
611 # include <stdlib.h>
612 # include <stddef.h>
613 #else
614 # ifdef HAVE_STDLIB_H
615 # include <stdlib.h>
616 # endif
617 #endif
618 #ifdef HAVE_STRING_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
620 # include <memory.h>
621 # endif
622 # include <string.h>
623 #endif
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
626 #endif
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
629 #endif
630 #ifdef HAVE_STDINT_H
631 # include <stdint.h>
632 #endif
633 #ifdef HAVE_UNISTD_H
634 # include <unistd.h>
635 #endif"
636
637 ac_subst_vars='am__EXEEXT_FALSE
638 am__EXEEXT_TRUE
639 LTLIBOBJS
640 LIBOBJS
641 LEXLIB
642 LEX_OUTPUT_ROOT
643 LEX
644 YFLAGS
645 YACC
646 CPP
647 OTOOL64
648 OTOOL
649 LIPO
650 NMEDIT
651 DSYMUTIL
652 MANIFEST_TOOL
653 RANLIB
654 ac_ct_AR
655 AR
656 DLLTOOL
657 OBJDUMP
658 LN_S
659 NM
660 ac_ct_DUMPBIN
661 DUMPBIN
662 LD
663 FGREP
664 EGREP
665 GREP
666 SED
667 host_os
668 host_vendor
669 host_cpu
670 host
671 build_os
672 build_vendor
673 build_cpu
674 build
675 LIBTOOL
676 am__fastdepCC_FALSE
677 am__fastdepCC_TRUE
678 CCDEPMODE
679 am__nodep
680 AMDEPBACKSLASH
681 AMDEP_FALSE
682 AMDEP_TRUE
683 am__quote
684 am__include
685 DEPDIR
686 OBJEXT
687 EXEEXT
688 ac_ct_CC
689 CPPFLAGS
690 LDFLAGS
691 CFLAGS
692 CC
693 MAINT
694 MAINTAINER_MODE_FALSE
695 MAINTAINER_MODE_TRUE
696 AM_BACKSLASH
697 AM_DEFAULT_VERBOSITY
698 AM_DEFAULT_V
699 AM_V
700 am__untar
701 am__tar
702 AMTAR
703 am__leading_dot
704 SET_MAKE
705 AWK
706 mkdir_p
707 MKDIR_P
708 INSTALL_STRIP_PROGRAM
709 STRIP
710 install_sh
711 MAKEINFO
712 AUTOHEADER
713 AUTOMAKE
714 AUTOCONF
715 ACLOCAL
716 VERSION
717 PACKAGE
718 CYGPATH_W
719 am__isrc
720 INSTALL_DATA
721 INSTALL_SCRIPT
722 INSTALL_PROGRAM
723 target_alias
724 host_alias
725 build_alias
726 LIBS
727 ECHO_T
728 ECHO_N
729 ECHO_C
730 DEFS
731 mandir
732 localedir
733 libdir
734 psdir
735 pdfdir
736 dvidir
737 htmldir
738 infodir
739 docdir
740 oldincludedir
741 includedir
742 localstatedir
743 sharedstatedir
744 sysconfdir
745 datadir
746 datarootdir
747 libexecdir
748 sbindir
749 bindir
750 program_transform_name
751 prefix
752 exec_prefix
753 PACKAGE_URL
754 PACKAGE_BUGREPORT
755 PACKAGE_STRING
756 PACKAGE_VERSION
757 PACKAGE_TARNAME
758 PACKAGE_NAME
759 PATH_SEPARATOR
760 SHELL'
761 ac_subst_files=''
762 ac_user_opts='
763 enable_option_checking
764 enable_silent_rules
765 enable_maintainer_mode
766 enable_dependency_tracking
767 enable_shared
768 enable_static
769 with_pic
770 enable_fast_install
771 with_aix_soname
772 with_gnu_ld
773 with_sysroot
774 enable_libtool_lock
775 '
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
779 CC
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
784 CPP
785 YACC
786 YFLAGS'
787
788
789 # Initialize some variables set by options.
790 ac_init_help=
791 ac_init_version=false
792 ac_unrecognized_opts=
793 ac_unrecognized_sep=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
810
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
836
837 ac_prev=
838 ac_dashdash=
839 for ac_option
840 do
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
846 fi
847
848 case $ac_option in
849 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *=) ac_optarg= ;;
851 *) ac_optarg=yes ;;
852 esac
853
854 # Accept the important Cygnus configure options, so we can diagnose typos.
855
856 case $ac_dashdash$ac_option in
857 --)
858 ac_dashdash=yes ;;
859
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
864
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
869
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
876
877 --config-cache | -C)
878 cache_file=config.cache ;;
879
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
884
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
891
892 -disable-* | --disable-*)
893 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 as_fn_error $? "invalid feature name: $ac_useropt"
897 ac_useropt_orig=$ac_useropt
898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
900 *"
901 "enable_$ac_useropt"
902 "*) ;;
903 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep=', ';;
905 esac
906 eval enable_$ac_useropt=no ;;
907
908 -docdir | --docdir | --docdi | --doc | --do)
909 ac_prev=docdir ;;
910 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
911 docdir=$ac_optarg ;;
912
913 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
914 ac_prev=dvidir ;;
915 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
916 dvidir=$ac_optarg ;;
917
918 -enable-* | --enable-*)
919 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922 as_fn_error $? "invalid feature name: $ac_useropt"
923 ac_useropt_orig=$ac_useropt
924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
926 *"
927 "enable_$ac_useropt"
928 "*) ;;
929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep=', ';;
931 esac
932 eval enable_$ac_useropt=\$ac_optarg ;;
933
934 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
935 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
936 | --exec | --exe | --ex)
937 ac_prev=exec_prefix ;;
938 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
939 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
940 | --exec=* | --exe=* | --ex=*)
941 exec_prefix=$ac_optarg ;;
942
943 -gas | --gas | --ga | --g)
944 # Obsolete; use --with-gas.
945 with_gas=yes ;;
946
947 -help | --help | --hel | --he | -h)
948 ac_init_help=long ;;
949 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
950 ac_init_help=recursive ;;
951 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
952 ac_init_help=short ;;
953
954 -host | --host | --hos | --ho)
955 ac_prev=host_alias ;;
956 -host=* | --host=* | --hos=* | --ho=*)
957 host_alias=$ac_optarg ;;
958
959 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
960 ac_prev=htmldir ;;
961 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
962 | --ht=*)
963 htmldir=$ac_optarg ;;
964
965 -includedir | --includedir | --includedi | --included | --include \
966 | --includ | --inclu | --incl | --inc)
967 ac_prev=includedir ;;
968 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
969 | --includ=* | --inclu=* | --incl=* | --inc=*)
970 includedir=$ac_optarg ;;
971
972 -infodir | --infodir | --infodi | --infod | --info | --inf)
973 ac_prev=infodir ;;
974 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
975 infodir=$ac_optarg ;;
976
977 -libdir | --libdir | --libdi | --libd)
978 ac_prev=libdir ;;
979 -libdir=* | --libdir=* | --libdi=* | --libd=*)
980 libdir=$ac_optarg ;;
981
982 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
983 | --libexe | --libex | --libe)
984 ac_prev=libexecdir ;;
985 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
986 | --libexe=* | --libex=* | --libe=*)
987 libexecdir=$ac_optarg ;;
988
989 -localedir | --localedir | --localedi | --localed | --locale)
990 ac_prev=localedir ;;
991 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
992 localedir=$ac_optarg ;;
993
994 -localstatedir | --localstatedir | --localstatedi | --localstated \
995 | --localstate | --localstat | --localsta | --localst | --locals)
996 ac_prev=localstatedir ;;
997 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
998 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
999 localstatedir=$ac_optarg ;;
1000
1001 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1002 ac_prev=mandir ;;
1003 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1004 mandir=$ac_optarg ;;
1005
1006 -nfp | --nfp | --nf)
1007 # Obsolete; use --without-fp.
1008 with_fp=no ;;
1009
1010 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1011 | --no-cr | --no-c | -n)
1012 no_create=yes ;;
1013
1014 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1015 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1016 no_recursion=yes ;;
1017
1018 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1019 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1020 | --oldin | --oldi | --old | --ol | --o)
1021 ac_prev=oldincludedir ;;
1022 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1023 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1024 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1025 oldincludedir=$ac_optarg ;;
1026
1027 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1028 ac_prev=prefix ;;
1029 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1030 prefix=$ac_optarg ;;
1031
1032 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1033 | --program-pre | --program-pr | --program-p)
1034 ac_prev=program_prefix ;;
1035 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1036 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1037 program_prefix=$ac_optarg ;;
1038
1039 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1040 | --program-suf | --program-su | --program-s)
1041 ac_prev=program_suffix ;;
1042 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1043 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1044 program_suffix=$ac_optarg ;;
1045
1046 -program-transform-name | --program-transform-name \
1047 | --program-transform-nam | --program-transform-na \
1048 | --program-transform-n | --program-transform- \
1049 | --program-transform | --program-transfor \
1050 | --program-transfo | --program-transf \
1051 | --program-trans | --program-tran \
1052 | --progr-tra | --program-tr | --program-t)
1053 ac_prev=program_transform_name ;;
1054 -program-transform-name=* | --program-transform-name=* \
1055 | --program-transform-nam=* | --program-transform-na=* \
1056 | --program-transform-n=* | --program-transform-=* \
1057 | --program-transform=* | --program-transfor=* \
1058 | --program-transfo=* | --program-transf=* \
1059 | --program-trans=* | --program-tran=* \
1060 | --progr-tra=* | --program-tr=* | --program-t=*)
1061 program_transform_name=$ac_optarg ;;
1062
1063 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1064 ac_prev=pdfdir ;;
1065 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1066 pdfdir=$ac_optarg ;;
1067
1068 -psdir | --psdir | --psdi | --psd | --ps)
1069 ac_prev=psdir ;;
1070 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1071 psdir=$ac_optarg ;;
1072
1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 | -silent | --silent | --silen | --sile | --sil)
1075 silent=yes ;;
1076
1077 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1078 ac_prev=sbindir ;;
1079 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1080 | --sbi=* | --sb=*)
1081 sbindir=$ac_optarg ;;
1082
1083 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1084 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1085 | --sharedst | --shareds | --shared | --share | --shar \
1086 | --sha | --sh)
1087 ac_prev=sharedstatedir ;;
1088 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1089 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1090 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1091 | --sha=* | --sh=*)
1092 sharedstatedir=$ac_optarg ;;
1093
1094 -site | --site | --sit)
1095 ac_prev=site ;;
1096 -site=* | --site=* | --sit=*)
1097 site=$ac_optarg ;;
1098
1099 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1100 ac_prev=srcdir ;;
1101 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1102 srcdir=$ac_optarg ;;
1103
1104 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1105 | --syscon | --sysco | --sysc | --sys | --sy)
1106 ac_prev=sysconfdir ;;
1107 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1108 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1109 sysconfdir=$ac_optarg ;;
1110
1111 -target | --target | --targe | --targ | --tar | --ta | --t)
1112 ac_prev=target_alias ;;
1113 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1114 target_alias=$ac_optarg ;;
1115
1116 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1117 verbose=yes ;;
1118
1119 -version | --version | --versio | --versi | --vers | -V)
1120 ac_init_version=: ;;
1121
1122 -with-* | --with-*)
1123 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126 as_fn_error $? "invalid package name: $ac_useropt"
1127 ac_useropt_orig=$ac_useropt
1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1130 *"
1131 "with_$ac_useropt"
1132 "*) ;;
1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1134 ac_unrecognized_sep=', ';;
1135 esac
1136 eval with_$ac_useropt=\$ac_optarg ;;
1137
1138 -without-* | --without-*)
1139 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142 as_fn_error $? "invalid package name: $ac_useropt"
1143 ac_useropt_orig=$ac_useropt
1144 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1146 *"
1147 "with_$ac_useropt"
1148 "*) ;;
1149 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1150 ac_unrecognized_sep=', ';;
1151 esac
1152 eval with_$ac_useropt=no ;;
1153
1154 --x)
1155 # Obsolete; use --with-x.
1156 with_x=yes ;;
1157
1158 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1159 | --x-incl | --x-inc | --x-in | --x-i)
1160 ac_prev=x_includes ;;
1161 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1162 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1163 x_includes=$ac_optarg ;;
1164
1165 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1166 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1167 ac_prev=x_libraries ;;
1168 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1170 x_libraries=$ac_optarg ;;
1171
1172 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1173 Try \`$0 --help' for more information"
1174 ;;
1175
1176 *=*)
1177 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1178 # Reject names that are not valid shell variable names.
1179 case $ac_envvar in #(
1180 '' | [0-9]* | *[!_$as_cr_alnum]* )
1181 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1182 esac
1183 eval $ac_envvar=\$ac_optarg
1184 export $ac_envvar ;;
1185
1186 *)
1187 # FIXME: should be removed in autoconf 3.0.
1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1192 ;;
1193
1194 esac
1195 done
1196
1197 if test -n "$ac_prev"; then
1198 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1199 as_fn_error $? "missing argument to $ac_option"
1200 fi
1201
1202 if test -n "$ac_unrecognized_opts"; then
1203 case $enable_option_checking in
1204 no) ;;
1205 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 esac
1208 fi
1209
1210 # Check all directory arguments for consistency.
1211 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214 libdir localedir mandir
1215 do
1216 eval ac_val=\$$ac_var
1217 # Remove trailing slashes.
1218 case $ac_val in
1219 */ )
1220 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221 eval $ac_var=\$ac_val;;
1222 esac
1223 # Be sure to have absolute directory names.
1224 case $ac_val in
1225 [\\/$]* | ?:[\\/]* ) continue;;
1226 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1227 esac
1228 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1229 done
1230
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1234 build=$build_alias
1235 host=$host_alias
1236 target=$target_alias
1237
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x; then
1240 if test "x$build_alias" = x; then
1241 cross_compiling=maybe
1242 elif test "x$build_alias" != "x$host_alias"; then
1243 cross_compiling=yes
1244 fi
1245 fi
1246
1247 ac_tool_prefix=
1248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1249
1250 test "$silent" = yes && exec 6>/dev/null
1251
1252
1253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di=`ls -di .` &&
1255 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error $? "working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error $? "pwd does not report name of working directory"
1259
1260
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1272 s//\1/
1273 q
1274 }
1275 /^X\(\/\/\)[^/].*/{
1276 s//\1/
1277 q
1278 }
1279 /^X\(\/\/\)$/{
1280 s//\1/
1281 q
1282 }
1283 /^X\(\/\).*/{
1284 s//\1/
1285 q
1286 }
1287 s/.*/./; q'`
1288 srcdir=$ac_confdir
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 srcdir=..
1291 fi
1292 else
1293 ac_srcdir_defaulted=no
1294 fi
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1297 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1298 fi
1299 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 ac_abs_confdir=`(
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1302 pwd)`
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1305 srcdir=.
1306 fi
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1310 case $srcdir in
1311 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 esac
1313 for ac_var in $ac_precious_vars; do
1314 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_${ac_var}_value=\$${ac_var}
1316 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1318 done
1319
1320 #
1321 # Report the --help message.
1322 #
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1326 cat <<_ACEOF
1327 \`configure' configures hopm TRUNK to adapt to many kinds of systems.
1328
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1330
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1333
1334 Defaults for the options are specified in brackets.
1335
1336 Configuration:
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking ...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1351 [PREFIX]
1352
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1357
1358 For better control, use the options below.
1359
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/hopm]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1380 _ACEOF
1381
1382 cat <<\_ACEOF
1383
1384 Program names:
1385 --program-prefix=PREFIX prepend PREFIX to installed program names
1386 --program-suffix=SUFFIX append SUFFIX to installed program names
1387 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1388
1389 System types:
1390 --build=BUILD configure for building on BUILD [guessed]
1391 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1392 _ACEOF
1393 fi
1394
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive ) echo "Configuration of hopm TRUNK:";;
1398 esac
1399 cat <<\_ACEOF
1400
1401 Optional Features:
1402 --disable-option-checking ignore unrecognized --enable/--with options
1403 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1404 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1405 --enable-silent-rules less verbose build output (undo: "make V=1")
1406 --disable-silent-rules verbose build output (undo: "make V=0")
1407 --enable-maintainer-mode
1408 enable make rules and dependencies not useful (and
1409 sometimes confusing) to the casual installer
1410 --enable-dependency-tracking
1411 do not reject slow dependency extractors
1412 --disable-dependency-tracking
1413 speeds up one-time build
1414 --enable-shared[=PKGS] build shared libraries [default=yes]
1415 --enable-static[=PKGS] build static libraries [default=yes]
1416 --enable-fast-install[=PKGS]
1417 optimize for fast installation [default=yes]
1418 --disable-libtool-lock avoid locking (might break parallel builds)
1419
1420 Optional Packages:
1421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1423 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1424 both]
1425 --with-aix-soname=aix|svr4|both
1426 shared library versioning (aka "SONAME") variant to
1427 provide on AIX, [default=aix].
1428 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1429 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1430 compiler's sysroot if not specified).
1431
1432 Some influential environment variables:
1433 CC C compiler command
1434 CFLAGS C compiler flags
1435 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1436 nonstandard directory <lib dir>
1437 LIBS libraries to pass to the linker, e.g. -l<library>
1438 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1439 you have headers in a nonstandard directory <include dir>
1440 CPP C preprocessor
1441 YACC The `Yet Another Compiler Compiler' implementation to use.
1442 Defaults to the first program found out of: `bison -y', `byacc',
1443 `yacc'.
1444 YFLAGS The list of arguments that will be passed by default to $YACC.
1445 This script will default YFLAGS to the empty string to avoid a
1446 default value of `-d' given by some make applications.
1447
1448 Use these variables to override the choices made by `configure' or to help
1449 it to find libraries and programs with nonstandard names/locations.
1450
1451 Report bugs to <bugs@ircd-hybrid.org>.
1452 _ACEOF
1453 ac_status=$?
1454 fi
1455
1456 if test "$ac_init_help" = "recursive"; then
1457 # If there are subdirs, report their specific --help.
1458 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1459 test -d "$ac_dir" ||
1460 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1461 continue
1462 ac_builddir=.
1463
1464 case "$ac_dir" in
1465 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466 *)
1467 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1468 # A ".." for each directory in $ac_dir_suffix.
1469 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1470 case $ac_top_builddir_sub in
1471 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 esac ;;
1474 esac
1475 ac_abs_top_builddir=$ac_pwd
1476 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1477 # for backward compatibility:
1478 ac_top_builddir=$ac_top_build_prefix
1479
1480 case $srcdir in
1481 .) # We are building in place.
1482 ac_srcdir=.
1483 ac_top_srcdir=$ac_top_builddir_sub
1484 ac_abs_top_srcdir=$ac_pwd ;;
1485 [\\/]* | ?:[\\/]* ) # Absolute name.
1486 ac_srcdir=$srcdir$ac_dir_suffix;
1487 ac_top_srcdir=$srcdir
1488 ac_abs_top_srcdir=$srcdir ;;
1489 *) # Relative name.
1490 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1491 ac_top_srcdir=$ac_top_build_prefix$srcdir
1492 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493 esac
1494 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495
1496 cd "$ac_dir" || { ac_status=$?; continue; }
1497 # Check for guested configure.
1498 if test -f "$ac_srcdir/configure.gnu"; then
1499 echo &&
1500 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1501 elif test -f "$ac_srcdir/configure"; then
1502 echo &&
1503 $SHELL "$ac_srcdir/configure" --help=recursive
1504 else
1505 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 fi || ac_status=$?
1507 cd "$ac_pwd" || { ac_status=$?; break; }
1508 done
1509 fi
1510
1511 test -n "$ac_init_help" && exit $ac_status
1512 if $ac_init_version; then
1513 cat <<\_ACEOF
1514 hopm configure TRUNK
1515 generated by GNU Autoconf 2.69
1516
1517 Copyright (C) 2012 Free Software Foundation, Inc.
1518 This configure script is free software; the Free Software Foundation
1519 gives unlimited permission to copy, distribute and modify it.
1520 _ACEOF
1521 exit
1522 fi
1523
1524 ## ------------------------ ##
1525 ## Autoconf initialization. ##
1526 ## ------------------------ ##
1527
1528 # ac_fn_c_try_compile LINENO
1529 # --------------------------
1530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1531 ac_fn_c_try_compile ()
1532 {
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 rm -f conftest.$ac_objext
1535 if { { ac_try="$ac_compile"
1536 case "(($ac_try" in
1537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538 *) ac_try_echo=$ac_try;;
1539 esac
1540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541 $as_echo "$ac_try_echo"; } >&5
1542 (eval "$ac_compile") 2>conftest.err
1543 ac_status=$?
1544 if test -s conftest.err; then
1545 grep -v '^ *+' conftest.err >conftest.er1
1546 cat conftest.er1 >&5
1547 mv -f conftest.er1 conftest.err
1548 fi
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; } && {
1551 test -z "$ac_c_werror_flag" ||
1552 test ! -s conftest.err
1553 } && test -s conftest.$ac_objext; then :
1554 ac_retval=0
1555 else
1556 $as_echo "$as_me: failed program was:" >&5
1557 sed 's/^/| /' conftest.$ac_ext >&5
1558
1559 ac_retval=1
1560 fi
1561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562 as_fn_set_status $ac_retval
1563
1564 } # ac_fn_c_try_compile
1565
1566 # ac_fn_c_try_link LINENO
1567 # -----------------------
1568 # Try to link conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_link ()
1570 {
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 rm -f conftest.$ac_objext conftest$ac_exeext
1573 if { { ac_try="$ac_link"
1574 case "(($ac_try" in
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1577 esac
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_link") 2>conftest.err
1581 ac_status=$?
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1586 fi
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest$ac_exeext && {
1592 test "$cross_compiling" = yes ||
1593 test -x conftest$ac_exeext
1594 }; then :
1595 ac_retval=0
1596 else
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1599
1600 ac_retval=1
1601 fi
1602 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1603 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1604 # interfere with the next link command; also delete a directory that is
1605 # left behind by Apple's compiler. We do this before executing the actions.
1606 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608 as_fn_set_status $ac_retval
1609
1610 } # ac_fn_c_try_link
1611
1612 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1613 # -------------------------------------------------------
1614 # Tests whether HEADER exists and can be compiled using the include files in
1615 # INCLUDES, setting the cache variable VAR accordingly.
1616 ac_fn_c_check_header_compile ()
1617 {
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1620 $as_echo_n "checking for $2... " >&6; }
1621 if eval \${$3+:} false; then :
1622 $as_echo_n "(cached) " >&6
1623 else
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1626 $4
1627 #include <$2>
1628 _ACEOF
1629 if ac_fn_c_try_compile "$LINENO"; then :
1630 eval "$3=yes"
1631 else
1632 eval "$3=no"
1633 fi
1634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 fi
1636 eval ac_res=\$$3
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1638 $as_echo "$ac_res" >&6; }
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640
1641 } # ac_fn_c_check_header_compile
1642
1643 # ac_fn_c_try_cpp LINENO
1644 # ----------------------
1645 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_c_try_cpp ()
1647 {
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if { { ac_try="$ac_cpp conftest.$ac_ext"
1650 case "(($ac_try" in
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1653 esac
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1657 ac_status=$?
1658 if test -s conftest.err; then
1659 grep -v '^ *+' conftest.err >conftest.er1
1660 cat conftest.er1 >&5
1661 mv -f conftest.er1 conftest.err
1662 fi
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } > conftest.i && {
1665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 }; then :
1668 ac_retval=0
1669 else
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.$ac_ext >&5
1672
1673 ac_retval=1
1674 fi
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1677
1678 } # ac_fn_c_try_cpp
1679
1680 # ac_fn_c_try_run LINENO
1681 # ----------------------
1682 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1683 # that executables *can* be run.
1684 ac_fn_c_try_run ()
1685 {
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 if { { ac_try="$ac_link"
1688 case "(($ac_try" in
1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1691 esac
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_link") 2>&5
1695 ac_status=$?
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1698 { { case "(($ac_try" in
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_try") 2>&5
1705 ac_status=$?
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; }; }; then :
1708 ac_retval=0
1709 else
1710 $as_echo "$as_me: program exited with status $ac_status" >&5
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1713
1714 ac_retval=$ac_status
1715 fi
1716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 as_fn_set_status $ac_retval
1719
1720 } # ac_fn_c_try_run
1721
1722 # ac_fn_c_check_func LINENO FUNC VAR
1723 # ----------------------------------
1724 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1725 ac_fn_c_check_func ()
1726 {
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \${$3+:} false; then :
1731 $as_echo_n "(cached) " >&6
1732 else
1733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734 /* end confdefs.h. */
1735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1737 #define $2 innocuous_$2
1738
1739 /* System header to define __stub macros and hopefully few prototypes,
1740 which can conflict with char $2 (); below.
1741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1742 <limits.h> exists even on freestanding compilers. */
1743
1744 #ifdef __STDC__
1745 # include <limits.h>
1746 #else
1747 # include <assert.h>
1748 #endif
1749
1750 #undef $2
1751
1752 /* Override any GCC internal prototype to avoid an error.
1753 Use char because int might match the return type of a GCC
1754 builtin and then its argument prototype would still apply. */
1755 #ifdef __cplusplus
1756 extern "C"
1757 #endif
1758 char $2 ();
1759 /* The GNU C library defines this for functions which it implements
1760 to always fail with ENOSYS. Some functions are actually named
1761 something starting with __ and the normal name is an alias. */
1762 #if defined __stub_$2 || defined __stub___$2
1763 choke me
1764 #endif
1765
1766 int
1767 main ()
1768 {
1769 return $2 ();
1770 ;
1771 return 0;
1772 }
1773 _ACEOF
1774 if ac_fn_c_try_link "$LINENO"; then :
1775 eval "$3=yes"
1776 else
1777 eval "$3=no"
1778 fi
1779 rm -f core conftest.err conftest.$ac_objext \
1780 conftest$ac_exeext conftest.$ac_ext
1781 fi
1782 eval ac_res=\$$3
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786
1787 } # ac_fn_c_check_func
1788 cat >config.log <<_ACEOF
1789 This file contains any messages produced by compilers while
1790 running configure, to aid debugging if configure makes a mistake.
1791
1792 It was created by hopm $as_me TRUNK, which was
1793 generated by GNU Autoconf 2.69. Invocation command line was
1794
1795 $ $0 $@
1796
1797 _ACEOF
1798 exec 5>>config.log
1799 {
1800 cat <<_ASUNAME
1801 ## --------- ##
1802 ## Platform. ##
1803 ## --------- ##
1804
1805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1810
1811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1812 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1813
1814 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1815 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1817 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1818 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1819 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1820 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1821
1822 _ASUNAME
1823
1824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1825 for as_dir in $PATH
1826 do
1827 IFS=$as_save_IFS
1828 test -z "$as_dir" && as_dir=.
1829 $as_echo "PATH: $as_dir"
1830 done
1831 IFS=$as_save_IFS
1832
1833 } >&5
1834
1835 cat >&5 <<_ACEOF
1836
1837
1838 ## ----------- ##
1839 ## Core tests. ##
1840 ## ----------- ##
1841
1842 _ACEOF
1843
1844
1845 # Keep a trace of the command line.
1846 # Strip out --no-create and --no-recursion so they do not pile up.
1847 # Strip out --silent because we don't want to record it for future runs.
1848 # Also quote any args containing shell meta-characters.
1849 # Make two passes to allow for proper duplicate-argument suppression.
1850 ac_configure_args=
1851 ac_configure_args0=
1852 ac_configure_args1=
1853 ac_must_keep_next=false
1854 for ac_pass in 1 2
1855 do
1856 for ac_arg
1857 do
1858 case $ac_arg in
1859 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1861 | -silent | --silent | --silen | --sile | --sil)
1862 continue ;;
1863 *\'*)
1864 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1865 esac
1866 case $ac_pass in
1867 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1868 2)
1869 as_fn_append ac_configure_args1 " '$ac_arg'"
1870 if test $ac_must_keep_next = true; then
1871 ac_must_keep_next=false # Got value, back to normal.
1872 else
1873 case $ac_arg in
1874 *=* | --config-cache | -C | -disable-* | --disable-* \
1875 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1876 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1877 | -with-* | --with-* | -without-* | --without-* | --x)
1878 case "$ac_configure_args0 " in
1879 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1880 esac
1881 ;;
1882 -* ) ac_must_keep_next=true ;;
1883 esac
1884 fi
1885 as_fn_append ac_configure_args " '$ac_arg'"
1886 ;;
1887 esac
1888 done
1889 done
1890 { ac_configure_args0=; unset ac_configure_args0;}
1891 { ac_configure_args1=; unset ac_configure_args1;}
1892
1893 # When interrupted or exit'd, cleanup temporary files, and complete
1894 # config.log. We remove comments because anyway the quotes in there
1895 # would cause problems or look ugly.
1896 # WARNING: Use '\'' to represent an apostrophe within the trap.
1897 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1898 trap 'exit_status=$?
1899 # Save into config.log some information that might help in debugging.
1900 {
1901 echo
1902
1903 $as_echo "## ---------------- ##
1904 ## Cache variables. ##
1905 ## ---------------- ##"
1906 echo
1907 # The following way of writing the cache mishandles newlines in values,
1908 (
1909 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1910 eval ac_val=\$$ac_var
1911 case $ac_val in #(
1912 *${as_nl}*)
1913 case $ac_var in #(
1914 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1915 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1916 esac
1917 case $ac_var in #(
1918 _ | IFS | as_nl) ;; #(
1919 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1920 *) { eval $ac_var=; unset $ac_var;} ;;
1921 esac ;;
1922 esac
1923 done
1924 (set) 2>&1 |
1925 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1926 *${as_nl}ac_space=\ *)
1927 sed -n \
1928 "s/'\''/'\''\\\\'\'''\''/g;
1929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1930 ;; #(
1931 *)
1932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1933 ;;
1934 esac |
1935 sort
1936 )
1937 echo
1938
1939 $as_echo "## ----------------- ##
1940 ## Output variables. ##
1941 ## ----------------- ##"
1942 echo
1943 for ac_var in $ac_subst_vars
1944 do
1945 eval ac_val=\$$ac_var
1946 case $ac_val in
1947 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1948 esac
1949 $as_echo "$ac_var='\''$ac_val'\''"
1950 done | sort
1951 echo
1952
1953 if test -n "$ac_subst_files"; then
1954 $as_echo "## ------------------- ##
1955 ## File substitutions. ##
1956 ## ------------------- ##"
1957 echo
1958 for ac_var in $ac_subst_files
1959 do
1960 eval ac_val=\$$ac_var
1961 case $ac_val in
1962 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1963 esac
1964 $as_echo "$ac_var='\''$ac_val'\''"
1965 done | sort
1966 echo
1967 fi
1968
1969 if test -s confdefs.h; then
1970 $as_echo "## ----------- ##
1971 ## confdefs.h. ##
1972 ## ----------- ##"
1973 echo
1974 cat confdefs.h
1975 echo
1976 fi
1977 test "$ac_signal" != 0 &&
1978 $as_echo "$as_me: caught signal $ac_signal"
1979 $as_echo "$as_me: exit $exit_status"
1980 } >&5
1981 rm -f core *.core core.conftest.* &&
1982 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1983 exit $exit_status
1984 ' 0
1985 for ac_signal in 1 2 13 15; do
1986 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1987 done
1988 ac_signal=0
1989
1990 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1991 rm -f -r conftest* confdefs.h
1992
1993 $as_echo "/* confdefs.h */" > confdefs.h
1994
1995 # Predefined preprocessor variables.
1996
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_NAME "$PACKAGE_NAME"
1999 _ACEOF
2000
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2003 _ACEOF
2004
2005 cat >>confdefs.h <<_ACEOF
2006 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2007 _ACEOF
2008
2009 cat >>confdefs.h <<_ACEOF
2010 #define PACKAGE_STRING "$PACKAGE_STRING"
2011 _ACEOF
2012
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2015 _ACEOF
2016
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_URL "$PACKAGE_URL"
2019 _ACEOF
2020
2021
2022 # Let the site file select an alternate cache file if it wants to.
2023 # Prefer an explicitly selected file to automatically selected ones.
2024 ac_site_file1=NONE
2025 ac_site_file2=NONE
2026 if test -n "$CONFIG_SITE"; then
2027 # We do not want a PATH search for config.site.
2028 case $CONFIG_SITE in #((
2029 -*) ac_site_file1=./$CONFIG_SITE;;
2030 */*) ac_site_file1=$CONFIG_SITE;;
2031 *) ac_site_file1=./$CONFIG_SITE;;
2032 esac
2033 elif test "x$prefix" != xNONE; then
2034 ac_site_file1=$prefix/share/config.site
2035 ac_site_file2=$prefix/etc/config.site
2036 else
2037 ac_site_file1=$ac_default_prefix/share/config.site
2038 ac_site_file2=$ac_default_prefix/etc/config.site
2039 fi
2040 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2041 do
2042 test "x$ac_site_file" = xNONE && continue
2043 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2045 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2046 sed 's/^/| /' "$ac_site_file" >&5
2047 . "$ac_site_file" \
2048 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2050 as_fn_error $? "failed to load site script $ac_site_file
2051 See \`config.log' for more details" "$LINENO" 5; }
2052 fi
2053 done
2054
2055 if test -r "$cache_file"; then
2056 # Some versions of bash will fail to source /dev/null (special files
2057 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2058 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2060 $as_echo "$as_me: loading cache $cache_file" >&6;}
2061 case $cache_file in
2062 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2063 *) . "./$cache_file";;
2064 esac
2065 fi
2066 else
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2068 $as_echo "$as_me: creating cache $cache_file" >&6;}
2069 >$cache_file
2070 fi
2071
2072 # Check that the precious variables saved in the cache have kept the same
2073 # value.
2074 ac_cache_corrupted=false
2075 for ac_var in $ac_precious_vars; do
2076 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2077 eval ac_new_set=\$ac_env_${ac_var}_set
2078 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2079 eval ac_new_val=\$ac_env_${ac_var}_value
2080 case $ac_old_set,$ac_new_set in
2081 set,)
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2083 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2084 ac_cache_corrupted=: ;;
2085 ,set)
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2087 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2088 ac_cache_corrupted=: ;;
2089 ,);;
2090 *)
2091 if test "x$ac_old_val" != "x$ac_new_val"; then
2092 # differences in whitespace do not lead to failure.
2093 ac_old_val_w=`echo x $ac_old_val`
2094 ac_new_val_w=`echo x $ac_new_val`
2095 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2097 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2098 ac_cache_corrupted=:
2099 else
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2101 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2102 eval $ac_var=\$ac_old_val
2103 fi
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2105 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2107 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2108 fi;;
2109 esac
2110 # Pass precious variables to config.status.
2111 if test "$ac_new_set" = set; then
2112 case $ac_new_val in
2113 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2114 *) ac_arg=$ac_var=$ac_new_val ;;
2115 esac
2116 case " $ac_configure_args " in
2117 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2118 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2119 esac
2120 fi
2121 done
2122 if $ac_cache_corrupted; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2126 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2127 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2128 fi
2129 ## -------------------- ##
2130 ## Main body of script. ##
2131 ## -------------------- ##
2132
2133 ac_ext=c
2134 ac_cpp='$CPP $CPPFLAGS'
2135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2138
2139
2140 am__api_version='1.15'
2141
2142 ac_aux_dir=
2143 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2144 if test -f "$ac_dir/install-sh"; then
2145 ac_aux_dir=$ac_dir
2146 ac_install_sh="$ac_aux_dir/install-sh -c"
2147 break
2148 elif test -f "$ac_dir/install.sh"; then
2149 ac_aux_dir=$ac_dir
2150 ac_install_sh="$ac_aux_dir/install.sh -c"
2151 break
2152 elif test -f "$ac_dir/shtool"; then
2153 ac_aux_dir=$ac_dir
2154 ac_install_sh="$ac_aux_dir/shtool install -c"
2155 break
2156 fi
2157 done
2158 if test -z "$ac_aux_dir"; then
2159 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2160 fi
2161
2162 # These three variables are undocumented and unsupported,
2163 # and are intended to be withdrawn in a future Autoconf release.
2164 # They can cause serious problems if a builder's source tree is in a directory
2165 # whose full name contains unusual characters.
2166 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2167 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2168 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2169
2170
2171 # Find a good install program. We prefer a C program (faster),
2172 # so one script is as good as another. But avoid the broken or
2173 # incompatible versions:
2174 # SysV /etc/install, /usr/sbin/install
2175 # SunOS /usr/etc/install
2176 # IRIX /sbin/install
2177 # AIX /bin/install
2178 # AmigaOS /C/install, which installs bootblocks on floppy discs
2179 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2180 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2181 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2182 # OS/2's system install, which has a completely different semantic
2183 # ./install, which can be erroneously created by make from ./install.sh.
2184 # Reject install programs that cannot install multiple files.
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2186 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2187 if test -z "$INSTALL"; then
2188 if ${ac_cv_path_install+:} false; then :
2189 $as_echo_n "(cached) " >&6
2190 else
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 for as_dir in $PATH
2193 do
2194 IFS=$as_save_IFS
2195 test -z "$as_dir" && as_dir=.
2196 # Account for people who put trailing slashes in PATH elements.
2197 case $as_dir/ in #((
2198 ./ | .// | /[cC]/* | \
2199 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2200 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2201 /usr/ucb/* ) ;;
2202 *)
2203 # OSF1 and SCO ODT 3.0 have their own names for install.
2204 # Don't use installbsd from OSF since it installs stuff as root
2205 # by default.
2206 for ac_prog in ginstall scoinst install; do
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2209 if test $ac_prog = install &&
2210 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2211 # AIX install. It has an incompatible calling convention.
2212 :
2213 elif test $ac_prog = install &&
2214 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2215 # program-specific install script used by HP pwplus--don't use.
2216 :
2217 else
2218 rm -rf conftest.one conftest.two conftest.dir
2219 echo one > conftest.one
2220 echo two > conftest.two
2221 mkdir conftest.dir
2222 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2223 test -s conftest.one && test -s conftest.two &&
2224 test -s conftest.dir/conftest.one &&
2225 test -s conftest.dir/conftest.two
2226 then
2227 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2228 break 3
2229 fi
2230 fi
2231 fi
2232 done
2233 done
2234 ;;
2235 esac
2236
2237 done
2238 IFS=$as_save_IFS
2239
2240 rm -rf conftest.one conftest.two conftest.dir
2241
2242 fi
2243 if test "${ac_cv_path_install+set}" = set; then
2244 INSTALL=$ac_cv_path_install
2245 else
2246 # As a last resort, use the slow shell script. Don't cache a
2247 # value for INSTALL within a source directory, because that will
2248 # break other packages using the cache if that directory is
2249 # removed, or if the value is a relative name.
2250 INSTALL=$ac_install_sh
2251 fi
2252 fi
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2254 $as_echo "$INSTALL" >&6; }
2255
2256 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2257 # It thinks the first close brace ends the variable substitution.
2258 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2259
2260 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2261
2262 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2263
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2265 $as_echo_n "checking whether build environment is sane... " >&6; }
2266 # Reject unsafe characters in $srcdir or the absolute working directory
2267 # name. Accept space and tab only in the latter.
2268 am_lf='
2269 '
2270 case `pwd` in
2271 *[\\\"\#\$\&\'\`$am_lf]*)
2272 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2273 esac
2274 case $srcdir in
2275 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2276 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2277 esac
2278
2279 # Do 'set' in a subshell so we don't clobber the current shell's
2280 # arguments. Must try -L first in case configure is actually a
2281 # symlink; some systems play weird games with the mod time of symlinks
2282 # (eg FreeBSD returns the mod time of the symlink's containing
2283 # directory).
2284 if (
2285 am_has_slept=no
2286 for am_try in 1 2; do
2287 echo "timestamp, slept: $am_has_slept" > conftest.file
2288 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2289 if test "$*" = "X"; then
2290 # -L didn't work.
2291 set X `ls -t "$srcdir/configure" conftest.file`
2292 fi
2293 if test "$*" != "X $srcdir/configure conftest.file" \
2294 && test "$*" != "X conftest.file $srcdir/configure"; then
2295
2296 # If neither matched, then we have a broken ls. This can happen
2297 # if, for instance, CONFIG_SHELL is bash and it inherits a
2298 # broken ls alias from the environment. This has actually
2299 # happened. Such a system could not be considered "sane".
2300 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2301 alias in your environment" "$LINENO" 5
2302 fi
2303 if test "$2" = conftest.file || test $am_try -eq 2; then
2304 break
2305 fi
2306 # Just in case.
2307 sleep 1
2308 am_has_slept=yes
2309 done
2310 test "$2" = conftest.file
2311 )
2312 then
2313 # Ok.
2314 :
2315 else
2316 as_fn_error $? "newly created file is older than distributed files!
2317 Check your system clock" "$LINENO" 5
2318 fi
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2320 $as_echo "yes" >&6; }
2321 # If we didn't sleep, we still need to ensure time stamps of config.status and
2322 # generated files are strictly newer.
2323 am_sleep_pid=
2324 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2325 ( sleep 1 ) &
2326 am_sleep_pid=$!
2327 fi
2328
2329 rm -f conftest.file
2330
2331 test "$program_prefix" != NONE &&
2332 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2333 # Use a double $ so make ignores it.
2334 test "$program_suffix" != NONE &&
2335 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2336 # Double any \ or $.
2337 # By default was `s,x,x', remove it if useless.
2338 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2339 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2340
2341 # Expand $ac_aux_dir to an absolute path.
2342 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2343
2344 if test x"${MISSING+set}" != xset; then
2345 case $am_aux_dir in
2346 *\ * | *\ *)
2347 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2348 *)
2349 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2350 esac
2351 fi
2352 # Use eval to expand $SHELL
2353 if eval "$MISSING --is-lightweight"; then
2354 am_missing_run="$MISSING "
2355 else
2356 am_missing_run=
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2358 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2359 fi
2360
2361 if test x"${install_sh+set}" != xset; then
2362 case $am_aux_dir in
2363 *\ * | *\ *)
2364 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2365 *)
2366 install_sh="\${SHELL} $am_aux_dir/install-sh"
2367 esac
2368 fi
2369
2370 # Installed binaries are usually stripped using 'strip' when the user
2371 # run "make install-strip". However 'strip' might not be the right
2372 # tool to use in cross-compilation environments, therefore Automake
2373 # will honor the 'STRIP' environment variable to overrule this program.
2374 if test "$cross_compiling" != no; then
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2377 set dummy ${ac_tool_prefix}strip; ac_word=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if ${ac_cv_prog_STRIP+:} false; then :
2381 $as_echo_n "(cached) " >&6
2382 else
2383 if test -n "$STRIP"; then
2384 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2385 else
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 for as_dir in $PATH
2388 do
2389 IFS=$as_save_IFS
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 break 2
2396 fi
2397 done
2398 done
2399 IFS=$as_save_IFS
2400
2401 fi
2402 fi
2403 STRIP=$ac_cv_prog_STRIP
2404 if test -n "$STRIP"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2406 $as_echo "$STRIP" >&6; }
2407 else
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2409 $as_echo "no" >&6; }
2410 fi
2411
2412
2413 fi
2414 if test -z "$ac_cv_prog_STRIP"; then
2415 ac_ct_STRIP=$STRIP
2416 # Extract the first word of "strip", so it can be a program name with args.
2417 set dummy strip; ac_word=$2
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2421 $as_echo_n "(cached) " >&6
2422 else
2423 if test -n "$ac_ct_STRIP"; then
2424 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2425 else
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 for as_dir in $PATH
2428 do
2429 IFS=$as_save_IFS
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2433 ac_cv_prog_ac_ct_STRIP="strip"
2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 break 2
2436 fi
2437 done
2438 done
2439 IFS=$as_save_IFS
2440
2441 fi
2442 fi
2443 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2444 if test -n "$ac_ct_STRIP"; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2446 $as_echo "$ac_ct_STRIP" >&6; }
2447 else
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449 $as_echo "no" >&6; }
2450 fi
2451
2452 if test "x$ac_ct_STRIP" = x; then
2453 STRIP=":"
2454 else
2455 case $cross_compiling:$ac_tool_warned in
2456 yes:)
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2459 ac_tool_warned=yes ;;
2460 esac
2461 STRIP=$ac_ct_STRIP
2462 fi
2463 else
2464 STRIP="$ac_cv_prog_STRIP"
2465 fi
2466
2467 fi
2468 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2469
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2471 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2472 if test -z "$MKDIR_P"; then
2473 if ${ac_cv_path_mkdir+:} false; then :
2474 $as_echo_n "(cached) " >&6
2475 else
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2478 do
2479 IFS=$as_save_IFS
2480 test -z "$as_dir" && as_dir=.
2481 for ac_prog in mkdir gmkdir; do
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2484 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2485 'mkdir (GNU coreutils) '* | \
2486 'mkdir (coreutils) '* | \
2487 'mkdir (fileutils) '4.1*)
2488 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2489 break 3;;
2490 esac
2491 done
2492 done
2493 done
2494 IFS=$as_save_IFS
2495
2496 fi
2497
2498 test -d ./--version && rmdir ./--version
2499 if test "${ac_cv_path_mkdir+set}" = set; then
2500 MKDIR_P="$ac_cv_path_mkdir -p"
2501 else
2502 # As a last resort, use the slow shell script. Don't cache a
2503 # value for MKDIR_P within a source directory, because that will
2504 # break other packages using the cache if that directory is
2505 # removed, or if the value is a relative name.
2506 MKDIR_P="$ac_install_sh -d"
2507 fi
2508 fi
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2510 $as_echo "$MKDIR_P" >&6; }
2511
2512 for ac_prog in gawk mawk nawk awk
2513 do
2514 # Extract the first word of "$ac_prog", so it can be a program name with args.
2515 set dummy $ac_prog; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_AWK+:} false; then :
2519 $as_echo_n "(cached) " >&6
2520 else
2521 if test -n "$AWK"; then
2522 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2523 else
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2526 do
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_AWK="$ac_prog"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 break 2
2534 fi
2535 done
2536 done
2537 IFS=$as_save_IFS
2538
2539 fi
2540 fi
2541 AWK=$ac_cv_prog_AWK
2542 if test -n "$AWK"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2544 $as_echo "$AWK" >&6; }
2545 else
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2548 fi
2549
2550
2551 test -n "$AWK" && break
2552 done
2553
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2555 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2556 set x ${MAKE-make}
2557 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2558 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2559 $as_echo_n "(cached) " >&6
2560 else
2561 cat >conftest.make <<\_ACEOF
2562 SHELL = /bin/sh
2563 all:
2564 @echo '@@@%%%=$(MAKE)=@@@%%%'
2565 _ACEOF
2566 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2567 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2568 *@@@%%%=?*=@@@%%%*)
2569 eval ac_cv_prog_make_${ac_make}_set=yes;;
2570 *)
2571 eval ac_cv_prog_make_${ac_make}_set=no;;
2572 esac
2573 rm -f conftest.make
2574 fi
2575 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2577 $as_echo "yes" >&6; }
2578 SET_MAKE=
2579 else
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2582 SET_MAKE="MAKE=${MAKE-make}"
2583 fi
2584
2585 rm -rf .tst 2>/dev/null
2586 mkdir .tst 2>/dev/null
2587 if test -d .tst; then
2588 am__leading_dot=.
2589 else
2590 am__leading_dot=_
2591 fi
2592 rmdir .tst 2>/dev/null
2593
2594 # Check whether --enable-silent-rules was given.
2595 if test "${enable_silent_rules+set}" = set; then :
2596 enableval=$enable_silent_rules;
2597 fi
2598
2599 case $enable_silent_rules in # (((
2600 yes) AM_DEFAULT_VERBOSITY=0;;
2601 no) AM_DEFAULT_VERBOSITY=1;;
2602 *) AM_DEFAULT_VERBOSITY=1;;
2603 esac
2604 am_make=${MAKE-make}
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2606 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2607 if ${am_cv_make_support_nested_variables+:} false; then :
2608 $as_echo_n "(cached) " >&6
2609 else
2610 if $as_echo 'TRUE=$(BAR$(V))
2611 BAR0=false
2612 BAR1=true
2613 V=1
2614 am__doit:
2615 @$(TRUE)
2616 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2617 am_cv_make_support_nested_variables=yes
2618 else
2619 am_cv_make_support_nested_variables=no
2620 fi
2621 fi
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2623 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2624 if test $am_cv_make_support_nested_variables = yes; then
2625 AM_V='$(V)'
2626 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2627 else
2628 AM_V=$AM_DEFAULT_VERBOSITY
2629 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2630 fi
2631 AM_BACKSLASH='\'
2632
2633 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2634 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2635 # is not polluted with repeated "-I."
2636 am__isrc=' -I$(srcdir)'
2637 # test to see if srcdir already configured
2638 if test -f $srcdir/config.status; then
2639 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2640 fi
2641 fi
2642
2643 # test whether we have cygpath
2644 if test -z "$CYGPATH_W"; then
2645 if (cygpath --version) >/dev/null 2>/dev/null; then
2646 CYGPATH_W='cygpath -w'
2647 else
2648 CYGPATH_W=echo
2649 fi
2650 fi
2651
2652
2653 # Define the identity of the package.
2654 PACKAGE='hopm'
2655 VERSION='TRUNK'
2656
2657
2658 cat >>confdefs.h <<_ACEOF
2659 #define PACKAGE "$PACKAGE"
2660 _ACEOF
2661
2662
2663 cat >>confdefs.h <<_ACEOF
2664 #define VERSION "$VERSION"
2665 _ACEOF
2666
2667 # Some tools Automake needs.
2668
2669 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2670
2671
2672 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2673
2674
2675 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2676
2677
2678 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2679
2680
2681 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2682
2683 # For better backward compatibility. To be removed once Automake 1.9.x
2684 # dies out for good. For more background, see:
2685 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2686 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2687 mkdir_p='$(MKDIR_P)'
2688
2689 # We need awk for the "check" target (and possibly the TAP driver). The
2690 # system "awk" is bad on some platforms.
2691 # Always define AMTAR for backward compatibility. Yes, it's still used
2692 # in the wild :-( We should find a proper way to deprecate it ...
2693 AMTAR='$${TAR-tar}'
2694
2695
2696 # We'll loop over all known methods to create a tar archive until one works.
2697 _am_tools='gnutar pax cpio none'
2698
2699 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2700
2701
2702
2703
2704
2705
2706 # POSIX will say in a future version that running "rm -f" with no argument
2707 # is OK; and we want to be able to make that assumption in our Makefile
2708 # recipes. So use an aggressive probe to check that the usage we want is
2709 # actually supported "in the wild" to an acceptable degree.
2710 # See automake bug#10828.
2711 # To make any issue more visible, cause the running configure to be aborted
2712 # by default if the 'rm' program in use doesn't match our expectations; the
2713 # user can still override this though.
2714 if rm -f && rm -fr && rm -rf; then : OK; else
2715 cat >&2 <<'END'
2716 Oops!
2717
2718 Your 'rm' program seems unable to run without file operands specified
2719 on the command line, even when the '-f' option is present. This is contrary
2720 to the behaviour of most rm programs out there, and not conforming with
2721 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2722
2723 Please tell bug-automake@gnu.org about your system, including the value
2724 of your $PATH and any error possibly output before this message. This
2725 can help us improve future automake versions.
2726
2727 END
2728 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2729 echo 'Configuration will proceed anyway, since you have set the' >&2
2730 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2731 echo >&2
2732 else
2733 cat >&2 <<'END'
2734 Aborting the configuration process, to ensure you take notice of the issue.
2735
2736 You can download and install GNU coreutils to get an 'rm' implementation
2737 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2738
2739 If you want to complete the configuration process using your problematic
2740 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2741 to "yes", and re-run configure.
2742
2743 END
2744 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2745 fi
2746 fi
2747
2748
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2750 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2751 # Check whether --enable-maintainer-mode was given.
2752 if test "${enable_maintainer_mode+set}" = set; then :
2753 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2754 else
2755 USE_MAINTAINER_MODE=no
2756 fi
2757
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2759 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2760 if test $USE_MAINTAINER_MODE = yes; then
2761 MAINTAINER_MODE_TRUE=
2762 MAINTAINER_MODE_FALSE='#'
2763 else
2764 MAINTAINER_MODE_TRUE='#'
2765 MAINTAINER_MODE_FALSE=
2766 fi
2767
2768 MAINT=$MAINTAINER_MODE_TRUE
2769
2770
2771
2772 ac_config_headers="$ac_config_headers src/setup.h"
2773
2774
2775
2776 DEPDIR="${am__leading_dot}deps"
2777
2778 ac_config_commands="$ac_config_commands depfiles"
2779
2780
2781 am_make=${MAKE-make}
2782 cat > confinc << 'END'
2783 am__doit:
2784 @echo this is the am__doit target
2785 .PHONY: am__doit
2786 END
2787 # If we don't find an include directive, just comment out the code.
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2789 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2790 am__include="#"
2791 am__quote=
2792 _am_result=none
2793 # First try GNU make style include.
2794 echo "include confinc" > confmf
2795 # Ignore all kinds of additional output from 'make'.
2796 case `$am_make -s -f confmf 2> /dev/null` in #(
2797 *the\ am__doit\ target*)
2798 am__include=include
2799 am__quote=
2800 _am_result=GNU
2801 ;;
2802 esac
2803 # Now try BSD make style include.
2804 if test "$am__include" = "#"; then
2805 echo '.include "confinc"' > confmf
2806 case `$am_make -s -f confmf 2> /dev/null` in #(
2807 *the\ am__doit\ target*)
2808 am__include=.include
2809 am__quote="\""
2810 _am_result=BSD
2811 ;;
2812 esac
2813 fi
2814
2815
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2817 $as_echo "$_am_result" >&6; }
2818 rm -f confinc confmf
2819
2820 # Check whether --enable-dependency-tracking was given.
2821 if test "${enable_dependency_tracking+set}" = set; then :
2822 enableval=$enable_dependency_tracking;
2823 fi
2824
2825 if test "x$enable_dependency_tracking" != xno; then
2826 am_depcomp="$ac_aux_dir/depcomp"
2827 AMDEPBACKSLASH='\'
2828 am__nodep='_no'
2829 fi
2830 if test "x$enable_dependency_tracking" != xno; then
2831 AMDEP_TRUE=
2832 AMDEP_FALSE='#'
2833 else
2834 AMDEP_TRUE='#'
2835 AMDEP_FALSE=
2836 fi
2837
2838
2839 ac_ext=c
2840 ac_cpp='$CPP $CPPFLAGS'
2841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2844 if test -n "$ac_tool_prefix"; then
2845 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2846 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if ${ac_cv_prog_CC+:} false; then :
2850 $as_echo_n "(cached) " >&6
2851 else
2852 if test -n "$CC"; then
2853 ac_cv_prog_CC="$CC" # Let the user override the test.
2854 else
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 for as_dir in $PATH
2857 do
2858 IFS=$as_save_IFS
2859 test -z "$as_dir" && as_dir=.
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 break 2
2865 fi
2866 done
2867 done
2868 IFS=$as_save_IFS
2869
2870 fi
2871 fi
2872 CC=$ac_cv_prog_CC
2873 if test -n "$CC"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2875 $as_echo "$CC" >&6; }
2876 else
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2879 fi
2880
2881
2882 fi
2883 if test -z "$ac_cv_prog_CC"; then
2884 ac_ct_CC=$CC
2885 # Extract the first word of "gcc", so it can be a program name with args.
2886 set dummy gcc; ac_word=$2
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2890 $as_echo_n "(cached) " >&6
2891 else
2892 if test -n "$ac_ct_CC"; then
2893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2894 else
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 for as_dir in $PATH
2897 do
2898 IFS=$as_save_IFS
2899 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do
2901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2902 ac_cv_prog_ac_ct_CC="gcc"
2903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 break 2
2905 fi
2906 done
2907 done
2908 IFS=$as_save_IFS
2909
2910 fi
2911 fi
2912 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2913 if test -n "$ac_ct_CC"; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2915 $as_echo "$ac_ct_CC" >&6; }
2916 else
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918 $as_echo "no" >&6; }
2919 fi
2920
2921 if test "x$ac_ct_CC" = x; then
2922 CC=""
2923 else
2924 case $cross_compiling:$ac_tool_warned in
2925 yes:)
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2928 ac_tool_warned=yes ;;
2929 esac
2930 CC=$ac_ct_CC
2931 fi
2932 else
2933 CC="$ac_cv_prog_CC"
2934 fi
2935
2936 if test -z "$CC"; then
2937 if test -n "$ac_tool_prefix"; then
2938 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2939 set dummy ${ac_tool_prefix}cc; ac_word=$2
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941 $as_echo_n "checking for $ac_word... " >&6; }
2942 if ${ac_cv_prog_CC+:} false; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 if test -n "$CC"; then
2946 ac_cv_prog_CC="$CC" # Let the user override the test.
2947 else
2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949 for as_dir in $PATH
2950 do
2951 IFS=$as_save_IFS
2952 test -z "$as_dir" && as_dir=.
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2955 ac_cv_prog_CC="${ac_tool_prefix}cc"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 break 2
2958 fi
2959 done
2960 done
2961 IFS=$as_save_IFS
2962
2963 fi
2964 fi
2965 CC=$ac_cv_prog_CC
2966 if test -n "$CC"; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2968 $as_echo "$CC" >&6; }
2969 else
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2972 fi
2973
2974
2975 fi
2976 fi
2977 if test -z "$CC"; then
2978 # Extract the first word of "cc", so it can be a program name with args.
2979 set dummy cc; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_CC+:} false; then :
2983 $as_echo_n "(cached) " >&6
2984 else
2985 if test -n "$CC"; then
2986 ac_cv_prog_CC="$CC" # Let the user override the test.
2987 else
2988 ac_prog_rejected=no
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH
2991 do
2992 IFS=$as_save_IFS
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2997 ac_prog_rejected=yes
2998 continue
2999 fi
3000 ac_cv_prog_CC="cc"
3001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 break 2
3003 fi
3004 done
3005 done
3006 IFS=$as_save_IFS
3007
3008 if test $ac_prog_rejected = yes; then
3009 # We found a bogon in the path, so make sure we never use it.
3010 set dummy $ac_cv_prog_CC
3011 shift
3012 if test $# != 0; then
3013 # We chose a different compiler from the bogus one.
3014 # However, it has the same basename, so the bogon will be chosen
3015 # first if we set CC to just the basename; use the full file name.
3016 shift
3017 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3018 fi
3019 fi
3020 fi
3021 fi
3022 CC=$ac_cv_prog_CC
3023 if test -n "$CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3025 $as_echo "$CC" >&6; }
3026 else
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3029 fi
3030
3031
3032 fi
3033 if test -z "$CC"; then
3034 if test -n "$ac_tool_prefix"; then
3035 for ac_prog in cl.exe
3036 do
3037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3040 $as_echo_n "checking for $ac_word... " >&6; }
3041 if ${ac_cv_prog_CC+:} false; then :
3042 $as_echo_n "(cached) " >&6
3043 else
3044 if test -n "$CC"; then
3045 ac_cv_prog_CC="$CC" # Let the user override the test.
3046 else
3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 for as_dir in $PATH
3049 do
3050 IFS=$as_save_IFS
3051 test -z "$as_dir" && as_dir=.
3052 for ac_exec_ext in '' $ac_executable_extensions; do
3053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3054 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 break 2
3057 fi
3058 done
3059 done
3060 IFS=$as_save_IFS
3061
3062 fi
3063 fi
3064 CC=$ac_cv_prog_CC
3065 if test -n "$CC"; then
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3067 $as_echo "$CC" >&6; }
3068 else
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 $as_echo "no" >&6; }
3071 fi
3072
3073
3074 test -n "$CC" && break
3075 done
3076 fi
3077 if test -z "$CC"; then
3078 ac_ct_CC=$CC
3079 for ac_prog in cl.exe
3080 do
3081 # Extract the first word of "$ac_prog", so it can be a program name with args.
3082 set dummy $ac_prog; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3086 $as_echo_n "(cached) " >&6
3087 else
3088 if test -n "$ac_ct_CC"; then
3089 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3090 else
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094 IFS=$as_save_IFS
3095 test -z "$as_dir" && as_dir=.
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098 ac_cv_prog_ac_ct_CC="$ac_prog"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 break 2
3101 fi
3102 done
3103 done
3104 IFS=$as_save_IFS
3105
3106 fi
3107 fi
3108 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3109 if test -n "$ac_ct_CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3111 $as_echo "$ac_ct_CC" >&6; }
3112 else
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3115 fi
3116
3117
3118 test -n "$ac_ct_CC" && break
3119 done
3120
3121 if test "x$ac_ct_CC" = x; then
3122 CC=""
3123 else
3124 case $cross_compiling:$ac_tool_warned in
3125 yes:)
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3128 ac_tool_warned=yes ;;
3129 esac
3130 CC=$ac_ct_CC
3131 fi
3132 fi
3133
3134 fi
3135
3136
3137 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error $? "no acceptable C compiler found in \$PATH
3140 See \`config.log' for more details" "$LINENO" 5; }
3141
3142 # Provide some information about the compiler.
3143 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3144 set X $ac_compile
3145 ac_compiler=$2
3146 for ac_option in --version -v -V -qversion; do
3147 { { ac_try="$ac_compiler $ac_option >&5"
3148 case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3155 ac_status=$?
3156 if test -s conftest.err; then
3157 sed '10a\
3158 ... rest of stderr output deleted ...
3159 10q' conftest.err >conftest.er1
3160 cat conftest.er1 >&5
3161 fi
3162 rm -f conftest.er1 conftest.err
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }
3165 done
3166
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3169
3170 int
3171 main ()
3172 {
3173
3174 ;
3175 return 0;
3176 }
3177 _ACEOF
3178 ac_clean_files_save=$ac_clean_files
3179 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3180 # Try to create an executable without -o first, disregard a.out.
3181 # It will help us diagnose broken compilers, and finding out an intuition
3182 # of exeext.
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3184 $as_echo_n "checking whether the C compiler works... " >&6; }
3185 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3186
3187 # The possible output files:
3188 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3189
3190 ac_rmfiles=
3191 for ac_file in $ac_files
3192 do
3193 case $ac_file in
3194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3195 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3196 esac
3197 done
3198 rm -f $ac_rmfiles
3199
3200 if { { ac_try="$ac_link_default"
3201 case "(($ac_try" in
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3204 esac
3205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3206 $as_echo "$ac_try_echo"; } >&5
3207 (eval "$ac_link_default") 2>&5
3208 ac_status=$?
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; }; then :
3211 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3212 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3213 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3214 # so that the user can short-circuit this test for compilers unknown to
3215 # Autoconf.
3216 for ac_file in $ac_files ''
3217 do
3218 test -f "$ac_file" || continue
3219 case $ac_file in
3220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3221 ;;
3222 [ab].out )
3223 # We found the default executable, but exeext='' is most
3224 # certainly right.
3225 break;;
3226 *.* )
3227 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3228 then :; else
3229 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3230 fi
3231 # We set ac_cv_exeext here because the later test for it is not
3232 # safe: cross compilers may not add the suffix if given an `-o'
3233 # argument, so we may need to know it at that point already.
3234 # Even if this section looks crufty: it has the advantage of
3235 # actually working.
3236 break;;
3237 * )
3238 break;;
3239 esac
3240 done
3241 test "$ac_cv_exeext" = no && ac_cv_exeext=
3242
3243 else
3244 ac_file=''
3245 fi
3246 if test -z "$ac_file"; then :
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 $as_echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3251
3252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 as_fn_error 77 "C compiler cannot create executables
3255 See \`config.log' for more details" "$LINENO" 5; }
3256 else
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3258 $as_echo "yes" >&6; }
3259 fi
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3261 $as_echo_n "checking for C compiler default output file name... " >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3263 $as_echo "$ac_file" >&6; }
3264 ac_exeext=$ac_cv_exeext
3265
3266 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3267 ac_clean_files=$ac_clean_files_save
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3269 $as_echo_n "checking for suffix of executables... " >&6; }
3270 if { { ac_try="$ac_link"
3271 case "(($ac_try" in
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3274 esac
3275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3276 $as_echo "$ac_try_echo"; } >&5
3277 (eval "$ac_link") 2>&5
3278 ac_status=$?
3279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3280 test $ac_status = 0; }; then :
3281 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3282 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3283 # work properly (i.e., refer to `conftest.exe'), while it won't with
3284 # `rm'.
3285 for ac_file in conftest.exe conftest conftest.*; do
3286 test -f "$ac_file" || continue
3287 case $ac_file in
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3289 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3290 break;;
3291 * ) break;;
3292 esac
3293 done
3294 else
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3298 See \`config.log' for more details" "$LINENO" 5; }
3299 fi
3300 rm -f conftest conftest$ac_cv_exeext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3302 $as_echo "$ac_cv_exeext" >&6; }
3303
3304 rm -f conftest.$ac_ext
3305 EXEEXT=$ac_cv_exeext
3306 ac_exeext=$EXEEXT
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3309 #include <stdio.h>
3310 int
3311 main ()
3312 {
3313 FILE *f = fopen ("conftest.out", "w");
3314 return ferror (f) || fclose (f) != 0;
3315
3316 ;
3317 return 0;
3318 }
3319 _ACEOF
3320 ac_clean_files="$ac_clean_files conftest.out"
3321 # Check that the compiler produces executables we can run. If not, either
3322 # the compiler is broken, or we cross compile.
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3324 $as_echo_n "checking whether we are cross compiling... " >&6; }
3325 if test "$cross_compiling" != yes; then
3326 { { ac_try="$ac_link"
3327 case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3330 esac
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_link") 2>&5
3334 ac_status=$?
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }
3337 if { ac_try='./conftest$ac_cv_exeext'
3338 { { case "(($ac_try" in
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3341 esac
3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343 $as_echo "$ac_try_echo"; } >&5
3344 (eval "$ac_try") 2>&5
3345 ac_status=$?
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }; }; then
3348 cross_compiling=no
3349 else
3350 if test "$cross_compiling" = maybe; then
3351 cross_compiling=yes
3352 else
3353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $? "cannot run C compiled programs.
3356 If you meant to cross compile, use \`--host'.
3357 See \`config.log' for more details" "$LINENO" 5; }
3358 fi
3359 fi
3360 fi
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3362 $as_echo "$cross_compiling" >&6; }
3363
3364 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3365 ac_clean_files=$ac_clean_files_save
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3367 $as_echo_n "checking for suffix of object files... " >&6; }
3368 if ${ac_cv_objext+:} false; then :
3369 $as_echo_n "(cached) " >&6
3370 else
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3373
3374 int
3375 main ()
3376 {
3377
3378 ;
3379 return 0;
3380 }
3381 _ACEOF
3382 rm -f conftest.o conftest.obj
3383 if { { ac_try="$ac_compile"
3384 case "(($ac_try" in
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3387 esac
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_compile") 2>&5
3391 ac_status=$?
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; then :
3394 for ac_file in conftest.o conftest.obj conftest.*; do
3395 test -f "$ac_file" || continue;
3396 case $ac_file in
3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3398 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3399 break;;
3400 esac
3401 done
3402 else
3403 $as_echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3405
3406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408 as_fn_error $? "cannot compute suffix of object files: cannot compile
3409 See \`config.log' for more details" "$LINENO" 5; }
3410 fi
3411 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3412 fi
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3414 $as_echo "$ac_cv_objext" >&6; }
3415 OBJEXT=$ac_cv_objext
3416 ac_objext=$OBJEXT
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3418 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3419 if ${ac_cv_c_compiler_gnu+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421 else
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3424
3425 int
3426 main ()
3427 {
3428 #ifndef __GNUC__
3429 choke me
3430 #endif
3431
3432 ;
3433 return 0;
3434 }
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 ac_compiler_gnu=yes
3438 else
3439 ac_compiler_gnu=no
3440 fi
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3443
3444 fi
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3446 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3447 if test $ac_compiler_gnu = yes; then
3448 GCC=yes
3449 else
3450 GCC=
3451 fi
3452 ac_test_CFLAGS=${CFLAGS+set}
3453 ac_save_CFLAGS=$CFLAGS
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3455 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3456 if ${ac_cv_prog_cc_g+:} false; then :
3457 $as_echo_n "(cached) " >&6
3458 else
3459 ac_save_c_werror_flag=$ac_c_werror_flag
3460 ac_c_werror_flag=yes
3461 ac_cv_prog_cc_g=no
3462 CFLAGS="-g"
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3465
3466 int
3467 main ()
3468 {
3469
3470 ;
3471 return 0;
3472 }
3473 _ACEOF
3474 if ac_fn_c_try_compile "$LINENO"; then :
3475 ac_cv_prog_cc_g=yes
3476 else
3477 CFLAGS=""
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3480
3481 int
3482 main ()
3483 {
3484
3485 ;
3486 return 0;
3487 }
3488 _ACEOF
3489 if ac_fn_c_try_compile "$LINENO"; then :
3490
3491 else
3492 ac_c_werror_flag=$ac_save_c_werror_flag
3493 CFLAGS="-g"
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3496
3497 int
3498 main ()
3499 {
3500
3501 ;
3502 return 0;
3503 }
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 ac_cv_prog_cc_g=yes
3507 fi
3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 fi
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 fi
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 ac_c_werror_flag=$ac_save_c_werror_flag
3514 fi
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3516 $as_echo "$ac_cv_prog_cc_g" >&6; }
3517 if test "$ac_test_CFLAGS" = set; then
3518 CFLAGS=$ac_save_CFLAGS
3519 elif test $ac_cv_prog_cc_g = yes; then
3520 if test "$GCC" = yes; then
3521 CFLAGS="-g -O2"
3522 else
3523 CFLAGS="-g"
3524 fi
3525 else
3526 if test "$GCC" = yes; then
3527 CFLAGS="-O2"
3528 else
3529 CFLAGS=
3530 fi
3531 fi
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3533 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3534 if ${ac_cv_prog_cc_c89+:} false; then :
3535 $as_echo_n "(cached) " >&6
3536 else
3537 ac_cv_prog_cc_c89=no
3538 ac_save_CC=$CC
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3541 #include <stdarg.h>
3542 #include <stdio.h>
3543 struct stat;
3544 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3545 struct buf { int x; };
3546 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3547 static char *e (p, i)
3548 char **p;
3549 int i;
3550 {
3551 return p[i];
3552 }
3553 static char *f (char * (*g) (char **, int), char **p, ...)
3554 {
3555 char *s;
3556 va_list v;
3557 va_start (v,p);
3558 s = g (p, va_arg (v,int));
3559 va_end (v);
3560 return s;
3561 }
3562
3563 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3564 function prototypes and stuff, but not '\xHH' hex character constants.
3565 These don't provoke an error unfortunately, instead are silently treated
3566 as 'x'. The following induces an error, until -std is added to get
3567 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3568 array size at least. It's necessary to write '\x00'==0 to get something
3569 that's true only with -std. */
3570 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3571
3572 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3573 inside strings and character constants. */
3574 #define FOO(x) 'x'
3575 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3576
3577 int test (int i, double x);
3578 struct s1 {int (*f) (int a);};
3579 struct s2 {int (*f) (double a);};
3580 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3581 int argc;
3582 char **argv;
3583 int
3584 main ()
3585 {
3586 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3587 ;
3588 return 0;
3589 }
3590 _ACEOF
3591 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3592 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3593 do
3594 CC="$ac_save_CC $ac_arg"
3595 if ac_fn_c_try_compile "$LINENO"; then :
3596 ac_cv_prog_cc_c89=$ac_arg
3597 fi
3598 rm -f core conftest.err conftest.$ac_objext
3599 test "x$ac_cv_prog_cc_c89" != "xno" && break
3600 done
3601 rm -f conftest.$ac_ext
3602 CC=$ac_save_CC
3603
3604 fi
3605 # AC_CACHE_VAL
3606 case "x$ac_cv_prog_cc_c89" in
3607 x)
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3609 $as_echo "none needed" >&6; } ;;
3610 xno)
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3612 $as_echo "unsupported" >&6; } ;;
3613 *)
3614 CC="$CC $ac_cv_prog_cc_c89"
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3616 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3617 esac
3618 if test "x$ac_cv_prog_cc_c89" != xno; then :
3619
3620 fi
3621
3622 ac_ext=c
3623 ac_cpp='$CPP $CPPFLAGS'
3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3634 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3635 if ${am_cv_prog_cc_c_o+:} false; then :
3636 $as_echo_n "(cached) " >&6
3637 else
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3640
3641 int
3642 main ()
3643 {
3644
3645 ;
3646 return 0;
3647 }
3648 _ACEOF
3649 # Make sure it works both with $CC and with simple cc.
3650 # Following AC_PROG_CC_C_O, we do the test twice because some
3651 # compilers refuse to overwrite an existing .o file with -o,
3652 # though they will create one.
3653 am_cv_prog_cc_c_o=yes
3654 for am_i in 1 2; do
3655 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3656 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3657 ac_status=$?
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } \
3660 && test -f conftest2.$ac_objext; then
3661 : OK
3662 else
3663 am_cv_prog_cc_c_o=no
3664 break
3665 fi
3666 done
3667 rm -f core conftest*
3668 unset am_i
3669 fi
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3671 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3672 if test "$am_cv_prog_cc_c_o" != yes; then
3673 # Losing compiler, so override with the script.
3674 # FIXME: It is wrong to rewrite CC.
3675 # But if we don't then we get into trouble of one sort or another.
3676 # A longer-term fix would be to have automake use am__CC in this case,
3677 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3678 CC="$am_aux_dir/compile $CC"
3679 fi
3680 ac_ext=c
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685
3686
3687 depcc="$CC" am_compiler_list=
3688
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3690 $as_echo_n "checking dependency style of $depcc... " >&6; }
3691 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3692 $as_echo_n "(cached) " >&6
3693 else
3694 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3695 # We make a subdir and do the tests there. Otherwise we can end up
3696 # making bogus files that we don't know about and never remove. For
3697 # instance it was reported that on HP-UX the gcc test will end up
3698 # making a dummy file named 'D' -- because '-MD' means "put the output
3699 # in D".
3700 rm -rf conftest.dir
3701 mkdir conftest.dir
3702 # Copy depcomp to subdir because otherwise we won't find it if we're
3703 # using a relative directory.
3704 cp "$am_depcomp" conftest.dir
3705 cd conftest.dir
3706 # We will build objects and dependencies in a subdirectory because
3707 # it helps to detect inapplicable dependency modes. For instance
3708 # both Tru64's cc and ICC support -MD to output dependencies as a
3709 # side effect of compilation, but ICC will put the dependencies in
3710 # the current directory while Tru64 will put them in the object
3711 # directory.
3712 mkdir sub
3713
3714 am_cv_CC_dependencies_compiler_type=none
3715 if test "$am_compiler_list" = ""; then
3716 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3717 fi
3718 am__universal=false
3719 case " $depcc " in #(
3720 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3721 esac
3722
3723 for depmode in $am_compiler_list; do
3724 # Setup a source with many dependencies, because some compilers
3725 # like to wrap large dependency lists on column 80 (with \), and
3726 # we should not choose a depcomp mode which is confused by this.
3727 #
3728 # We need to recreate these files for each test, as the compiler may
3729 # overwrite some of them when testing with obscure command lines.
3730 # This happens at least with the AIX C compiler.
3731 : > sub/conftest.c
3732 for i in 1 2 3 4 5 6; do
3733 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3734 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3735 # Solaris 10 /bin/sh.
3736 echo '/* dummy */' > sub/conftst$i.h
3737 done
3738 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3739
3740 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3741 # mode. It turns out that the SunPro C++ compiler does not properly
3742 # handle '-M -o', and we need to detect this. Also, some Intel
3743 # versions had trouble with output in subdirs.
3744 am__obj=sub/conftest.${OBJEXT-o}
3745 am__minus_obj="-o $am__obj"
3746 case $depmode in
3747 gcc)
3748 # This depmode causes a compiler race in universal mode.
3749 test "$am__universal" = false || continue
3750 ;;
3751 nosideeffect)
3752 # After this tag, mechanisms are not by side-effect, so they'll
3753 # only be used when explicitly requested.
3754 if test "x$enable_dependency_tracking" = xyes; then
3755 continue
3756 else
3757 break
3758 fi
3759 ;;
3760 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3761 # This compiler won't grok '-c -o', but also, the minuso test has
3762 # not run yet. These depmodes are late enough in the game, and
3763 # so weak that their functioning should not be impacted.
3764 am__obj=conftest.${OBJEXT-o}
3765 am__minus_obj=
3766 ;;
3767 none) break ;;
3768 esac
3769 if depmode=$depmode \
3770 source=sub/conftest.c object=$am__obj \
3771 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3772 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3773 >/dev/null 2>conftest.err &&
3774 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3775 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3776 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3777 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3778 # icc doesn't choke on unknown options, it will just issue warnings
3779 # or remarks (even with -Werror). So we grep stderr for any message
3780 # that says an option was ignored or not supported.
3781 # When given -MP, icc 7.0 and 7.1 complain thusly:
3782 # icc: Command line warning: ignoring option '-M'; no argument required
3783 # The diagnosis changed in icc 8.0:
3784 # icc: Command line remark: option '-MP' not supported
3785 if (grep 'ignoring option' conftest.err ||
3786 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3787 am_cv_CC_dependencies_compiler_type=$depmode
3788 break
3789 fi
3790 fi
3791 done
3792
3793 cd ..
3794 rm -rf conftest.dir
3795 else
3796 am_cv_CC_dependencies_compiler_type=none
3797 fi
3798
3799 fi
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3801 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3802 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3803
3804 if
3805 test "x$enable_dependency_tracking" != xno \
3806 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3807 am__fastdepCC_TRUE=
3808 am__fastdepCC_FALSE='#'
3809 else
3810 am__fastdepCC_TRUE='#'
3811 am__fastdepCC_FALSE=
3812 fi
3813
3814
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3816 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3817 if ${ac_cv_prog_cc_c99+:} false; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 ac_cv_prog_cc_c99=no
3821 ac_save_CC=$CC
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3824 #include <stdarg.h>
3825 #include <stdbool.h>
3826 #include <stdlib.h>
3827 #include <wchar.h>
3828 #include <stdio.h>
3829
3830 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3831 #define debug(...) fprintf (stderr, __VA_ARGS__)
3832 #define showlist(...) puts (#__VA_ARGS__)
3833 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3834 static void
3835 test_varargs_macros (void)
3836 {
3837 int x = 1234;
3838 int y = 5678;
3839 debug ("Flag");
3840 debug ("X = %d\n", x);
3841 showlist (The first, second, and third items.);
3842 report (x>y, "x is %d but y is %d", x, y);
3843 }
3844
3845 // Check long long types.
3846 #define BIG64 18446744073709551615ull
3847 #define BIG32 4294967295ul
3848 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3849 #if !BIG_OK
3850 your preprocessor is broken;
3851 #endif
3852 #if BIG_OK
3853 #else
3854 your preprocessor is broken;
3855 #endif
3856 static long long int bignum = -9223372036854775807LL;
3857 static unsigned long long int ubignum = BIG64;
3858
3859 struct incomplete_array
3860 {
3861 int datasize;
3862 double data[];
3863 };
3864
3865 struct named_init {
3866 int number;
3867 const wchar_t *name;
3868 double average;
3869 };
3870
3871 typedef const char *ccp;
3872
3873 static inline int
3874 test_restrict (ccp restrict text)
3875 {
3876 // See if C++-style comments work.
3877 // Iterate through items via the restricted pointer.
3878 // Also check for declarations in for loops.
3879 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3880 continue;
3881 return 0;
3882 }
3883
3884 // Check varargs and va_copy.
3885 static void
3886 test_varargs (const char *format, ...)
3887 {
3888 va_list args;
3889 va_start (args, format);
3890 va_list args_copy;
3891 va_copy (args_copy, args);
3892
3893 const char *str;
3894 int number;
3895 float fnumber;
3896
3897 while (*format)
3898 {
3899 switch (*format++)
3900 {
3901 case 's': // string
3902 str = va_arg (args_copy, const char *);
3903 break;
3904 case 'd': // int
3905 number = va_arg (args_copy, int);
3906 break;
3907 case 'f': // float
3908 fnumber = va_arg (args_copy, double);
3909 break;
3910 default:
3911 break;
3912 }
3913 }
3914 va_end (args_copy);
3915 va_end (args);
3916 }
3917
3918 int
3919 main ()
3920 {
3921
3922 // Check bool.
3923 _Bool success = false;
3924
3925 // Check restrict.
3926 if (test_restrict ("String literal") == 0)
3927 success = true;
3928 char *restrict newvar = "Another string";
3929
3930 // Check varargs.
3931 test_varargs ("s, d' f .", "string", 65, 34.234);
3932 test_varargs_macros ();
3933
3934 // Check flexible array members.
3935 struct incomplete_array *ia =
3936 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3937 ia->datasize = 10;
3938 for (int i = 0; i < ia->datasize; ++i)
3939 ia->data[i] = i * 1.234;
3940
3941 // Check named initializers.
3942 struct named_init ni = {
3943 .number = 34,
3944 .name = L"Test wide string",
3945 .average = 543.34343,
3946 };
3947
3948 ni.number = 58;
3949
3950 int dynamic_array[ni.number];
3951 dynamic_array[ni.number - 1] = 543;
3952
3953 // work around unused variable warnings
3954 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3955 || dynamic_array[ni.number - 1] != 543);
3956
3957 ;
3958 return 0;
3959 }
3960 _ACEOF
3961 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3962 do
3963 CC="$ac_save_CC $ac_arg"
3964 if ac_fn_c_try_compile "$LINENO"; then :
3965 ac_cv_prog_cc_c99=$ac_arg
3966 fi
3967 rm -f core conftest.err conftest.$ac_objext
3968 test "x$ac_cv_prog_cc_c99" != "xno" && break
3969 done
3970 rm -f conftest.$ac_ext
3971 CC=$ac_save_CC
3972
3973 fi
3974 # AC_CACHE_VAL
3975 case "x$ac_cv_prog_cc_c99" in
3976 x)
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3978 $as_echo "none needed" >&6; } ;;
3979 xno)
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3981 $as_echo "unsupported" >&6; } ;;
3982 *)
3983 CC="$CC $ac_cv_prog_cc_c99"
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3985 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3986 esac
3987 if test "x$ac_cv_prog_cc_c99" != xno; then :
3988
3989 fi
3990
3991
3992 if test "$ac_cv_prog_cc_c99" = "no"; then :
3993 as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5
3994 fi
3995 case `pwd` in
3996 *\ * | *\ *)
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3998 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3999 esac
4000
4001
4002
4003 macro_version='2.4.4'
4004 macro_revision='2.4.4'
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018 ltmain=$ac_aux_dir/ltmain.sh
4019
4020 # Make sure we can run config.sub.
4021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4022 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4023
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4025 $as_echo_n "checking build system type... " >&6; }
4026 if ${ac_cv_build+:} false; then :
4027 $as_echo_n "(cached) " >&6
4028 else
4029 ac_build_alias=$build_alias
4030 test "x$ac_build_alias" = x &&
4031 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4032 test "x$ac_build_alias" = x &&
4033 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4034 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4035 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4036
4037 fi
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4039 $as_echo "$ac_cv_build" >&6; }
4040 case $ac_cv_build in
4041 *-*-*) ;;
4042 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4043 esac
4044 build=$ac_cv_build
4045 ac_save_IFS=$IFS; IFS='-'
4046 set x $ac_cv_build
4047 shift
4048 build_cpu=$1
4049 build_vendor=$2
4050 shift; shift
4051 # Remember, the first character of IFS is used to create $*,
4052 # except with old shells:
4053 build_os=$*
4054 IFS=$ac_save_IFS
4055 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4056
4057
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4059 $as_echo_n "checking host system type... " >&6; }
4060 if ${ac_cv_host+:} false; then :
4061 $as_echo_n "(cached) " >&6
4062 else
4063 if test "x$host_alias" = x; then
4064 ac_cv_host=$ac_cv_build
4065 else
4066 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4067 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4068 fi
4069
4070 fi
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4072 $as_echo "$ac_cv_host" >&6; }
4073 case $ac_cv_host in
4074 *-*-*) ;;
4075 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4076 esac
4077 host=$ac_cv_host
4078 ac_save_IFS=$IFS; IFS='-'
4079 set x $ac_cv_host
4080 shift
4081 host_cpu=$1
4082 host_vendor=$2
4083 shift; shift
4084 # Remember, the first character of IFS is used to create $*,
4085 # except with old shells:
4086 host_os=$*
4087 IFS=$ac_save_IFS
4088 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4089
4090
4091 # Backslashify metacharacters that are still active within
4092 # double-quoted strings.
4093 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4094
4095 # Same as above, but do not quote variable references.
4096 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4097
4098 # Sed substitution to delay expansion of an escaped shell variable in a
4099 # double_quote_subst'ed string.
4100 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4101
4102 # Sed substitution to delay expansion of an escaped single quote.
4103 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4104
4105 # Sed substitution to avoid accidental globbing in evaled expressions
4106 no_glob_subst='s/\*/\\\*/g'
4107
4108 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4109 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4110 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4111
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4113 $as_echo_n "checking how to print strings... " >&6; }
4114 # Test print first, because it will be a builtin if present.
4115 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4116 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4117 ECHO='print -r --'
4118 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4119 ECHO='printf %s\n'
4120 else
4121 # Use this function as a fallback that always works.
4122 func_fallback_echo ()
4123 {
4124 eval 'cat <<_LTECHO_EOF
4125 $1
4126 _LTECHO_EOF'
4127 }
4128 ECHO='func_fallback_echo'
4129 fi
4130
4131 # func_echo_all arg...
4132 # Invoke $ECHO with all args, space-separated.
4133 func_echo_all ()
4134 {
4135 $ECHO ""
4136 }
4137
4138 case $ECHO in
4139 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4140 $as_echo "printf" >&6; } ;;
4141 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4142 $as_echo "print -r" >&6; } ;;
4143 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4144 $as_echo "cat" >&6; } ;;
4145 esac
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4161 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4162 if ${ac_cv_path_SED+:} false; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4166 for ac_i in 1 2 3 4 5 6 7; do
4167 ac_script="$ac_script$as_nl$ac_script"
4168 done
4169 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4170 { ac_script=; unset ac_script;}
4171 if test -z "$SED"; then
4172 ac_path_SED_found=false
4173 # Loop through the user's path and test for each of PROGNAME-LIST
4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175 for as_dir in $PATH
4176 do
4177 IFS=$as_save_IFS
4178 test -z "$as_dir" && as_dir=.
4179 for ac_prog in sed gsed; do
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4182 as_fn_executable_p "$ac_path_SED" || continue
4183 # Check for GNU ac_path_SED and select it if it is found.
4184 # Check for GNU $ac_path_SED
4185 case `"$ac_path_SED" --version 2>&1` in
4186 *GNU*)
4187 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4188 *)
4189 ac_count=0
4190 $as_echo_n 0123456789 >"conftest.in"
4191 while :
4192 do
4193 cat "conftest.in" "conftest.in" >"conftest.tmp"
4194 mv "conftest.tmp" "conftest.in"
4195 cp "conftest.in" "conftest.nl"
4196 $as_echo '' >> "conftest.nl"
4197 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4198 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4199 as_fn_arith $ac_count + 1 && ac_count=$as_val
4200 if test $ac_count -gt ${ac_path_SED_max-0}; then
4201 # Best one so far, save it but keep looking for a better one
4202 ac_cv_path_SED="$ac_path_SED"
4203 ac_path_SED_max=$ac_count
4204 fi
4205 # 10*(2^10) chars as input seems more than enough
4206 test $ac_count -gt 10 && break
4207 done
4208 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4209 esac
4210
4211 $ac_path_SED_found && break 3
4212 done
4213 done
4214 done
4215 IFS=$as_save_IFS
4216 if test -z "$ac_cv_path_SED"; then
4217 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4218 fi
4219 else
4220 ac_cv_path_SED=$SED
4221 fi
4222
4223 fi
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4225 $as_echo "$ac_cv_path_SED" >&6; }
4226 SED="$ac_cv_path_SED"
4227 rm -f conftest.sed
4228
4229 test -z "$SED" && SED=sed
4230 Xsed="$SED -e 1s/^X//"
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4243 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4244 if ${ac_cv_path_GREP+:} false; then :
4245 $as_echo_n "(cached) " >&6
4246 else
4247 if test -z "$GREP"; then
4248 ac_path_GREP_found=false
4249 # Loop through the user's path and test for each of PROGNAME-LIST
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4252 do
4253 IFS=$as_save_IFS
4254 test -z "$as_dir" && as_dir=.
4255 for ac_prog in grep ggrep; do
4256 for ac_exec_ext in '' $ac_executable_extensions; do
4257 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4258 as_fn_executable_p "$ac_path_GREP" || continue
4259 # Check for GNU ac_path_GREP and select it if it is found.
4260 # Check for GNU $ac_path_GREP
4261 case `"$ac_path_GREP" --version 2>&1` in
4262 *GNU*)
4263 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4264 *)
4265 ac_count=0
4266 $as_echo_n 0123456789 >"conftest.in"
4267 while :
4268 do
4269 cat "conftest.in" "conftest.in" >"conftest.tmp"
4270 mv "conftest.tmp" "conftest.in"
4271 cp "conftest.in" "conftest.nl"
4272 $as_echo 'GREP' >> "conftest.nl"
4273 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4274 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4275 as_fn_arith $ac_count + 1 && ac_count=$as_val
4276 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4277 # Best one so far, save it but keep looking for a better one
4278 ac_cv_path_GREP="$ac_path_GREP"
4279 ac_path_GREP_max=$ac_count
4280 fi
4281 # 10*(2^10) chars as input seems more than enough
4282 test $ac_count -gt 10 && break
4283 done
4284 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4285 esac
4286
4287 $ac_path_GREP_found && break 3
4288 done
4289 done
4290 done
4291 IFS=$as_save_IFS
4292 if test -z "$ac_cv_path_GREP"; then
4293 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5