annotate configure @ 500:614a3177b15c noffle tip

Add mail-from option. Some modern mail systems will try and ensure the sender email is a legitimate address. Which will fail if there isn't such an address.
author Jim Hague <jim.hague@acm.org>
date Wed, 14 Aug 2013 12:04:39 +0100
parents d09bcf917ac9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1 #! /bin/sh
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3 # Generated by GNU Autoconf 2.69.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
7 #
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
8 #
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
9 # This configure script is free software; the Free Software Foundation
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
10 # gives unlimited permission to copy, distribute and modify it.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
11 ## -------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
12 ## M4sh Initialization. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
13 ## -------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
14
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
15 # Be more Bourne compatible
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
16 DUALCASE=1; export DUALCASE # for MKS sh
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
18 emulate sh
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
19 NULLCMD=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
21 # is contrary to our usage. Disable this feature.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
22 alias -g '${1+"$@"}'='"$@"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
23 setopt NO_GLOB_SUBST
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
24 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
25 case `(set -o) 2>/dev/null` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
26 *posix*) :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
27 set -o posix ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
28 *) :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
29 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
30 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
31 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
32
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
33
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
34 as_nl='
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
35 '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
36 export as_nl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
42 # but without wasting forks for bash or zsh.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
45 as_echo='print -r --'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
46 as_echo_n='print -rn --'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
48 as_echo='printf %s\n'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
49 as_echo_n='printf %s'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
50 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
53 as_echo_n='/usr/ucb/echo -n'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
54 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
56 as_echo_n_body='eval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
57 arg=$1;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
58 case $arg in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
59 *"$as_nl"*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
60 expr "X$arg" : "X\\(.*\\)$as_nl";
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
62 esac;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
64 '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
65 export as_echo_n_body
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
66 as_echo_n='sh -c $as_echo_n_body as_echo'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
67 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
68 export as_echo_body
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
69 as_echo='sh -c $as_echo_body as_echo'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
70 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
71
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
72 # The user is always right.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
73 if test "${PATH_SEPARATOR+set}" != set; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
74 PATH_SEPARATOR=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
77 PATH_SEPARATOR=';'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
78 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
79 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
80
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
81
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
82 # IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
83 # We need space, tab and new line, in precisely that order. Quoting is
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
84 # there to prevent editors from complaining about space-tab.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
86 # splitting by setting IFS to empty value.)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
87 IFS=" "" $as_nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
88
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
89 # Find who we are. Look in the path if we contain no directory separator.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
90 as_myself=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
91 case $0 in #((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
92 *[\\/]* ) as_myself=$0 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
94 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
95 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
96 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
97 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
99 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
100 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
101
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
102 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
103 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
105 # in which case we are not to be found in the path.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
106 if test "x$as_myself" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
107 as_myself=$0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
108 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
109 if test ! -f "$as_myself"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
111 exit 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
112 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
113
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
114 # Unset variables that we do not need and which cause bugs (e.g. in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
116 # suppresses any "Segmentation fault" message there. '((' could
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
117 # trigger a bug in pdksh 5.2.14.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
118 for as_var in BASH_ENV ENV MAIL MAILPATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
119 do eval test x\${$as_var+set} = xset \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
121 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
122 PS1='$ '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
123 PS2='> '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
124 PS4='+ '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
125
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
126 # NLS nuisances.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
127 LC_ALL=C
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
128 export LC_ALL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
129 LANGUAGE=C
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
130 export LANGUAGE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
131
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
132 # CDPATH.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
134
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
135 # Use a proper internal environment variable to ensure we don't fall
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
136 # into an infinite loop, continuously re-executing ourselves.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
138 _as_can_reexec=no; export _as_can_reexec;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
139 # We cannot yet assume a decent shell, so we have to provide a
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
140 # neutralization value for shells without unset; and this also
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
141 # works around shells that cannot unset nonexistent variables.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
142 # Preserve -v and -x to the replacement shell.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
143 BASH_ENV=/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
144 ENV=/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
146 case $- in # ((((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
147 *v*x* | *x*v* ) as_opts=-vx ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
148 *v* ) as_opts=-v ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
149 *x* ) as_opts=-x ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
150 * ) as_opts= ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
151 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
153 # Admittedly, this is quite paranoid, since all the known shells bail
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
154 # out after a failed `exec'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
156 as_fn_exit 255
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
157 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
158 # We don't want this to propagate to other subprocesses.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
159 { _as_can_reexec=; unset _as_can_reexec;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
160 if test "x$CONFIG_SHELL" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
162 emulate sh
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
163 NULLCMD=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
165 # is contrary to our usage. Disable this feature.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
167 setopt NO_GLOB_SUBST
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
168 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
169 case \`(set -o) 2>/dev/null\` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
170 *posix*) :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
171 set -o posix ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
172 *) :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
173 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
174 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
175 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
176 "
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
177 as_required="as_fn_return () { (exit \$1); }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
178 as_fn_success () { as_fn_return 0; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
179 as_fn_failure () { as_fn_return 1; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
180 as_fn_ret_success () { return 0; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
181 as_fn_ret_failure () { return 1; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
182
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
183 exitcode=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
189
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
190 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
191 exitcode=1; echo positional parameters were not saved.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
192 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
193 test x\$exitcode = x0 || exit 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
194 test -x / || exit 1"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
199 test \$(( 1 + 1 )) = 2 || exit 1"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
200 if (eval "$as_required") 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
201 as_have_required=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
202 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
203 as_have_required=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
204 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
206
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
207 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
209 as_found=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
211 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
212 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
213 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
214 as_found=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
215 case $as_dir in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
216 /*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
217 for as_base in sh bash ksh sh5; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
218 # Try only shells that exist, to save several forks.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
219 as_shell=$as_dir/$as_base
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
222 CONFIG_SHELL=$as_shell as_have_required=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
224 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
225 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
226 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
227 done;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
228 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
229 as_found=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
230 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
233 CONFIG_SHELL=$SHELL as_have_required=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
234 fi; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
235 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
236
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
237
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
238 if test "x$CONFIG_SHELL" != x; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
239 export CONFIG_SHELL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
240 # We cannot yet assume a decent shell, so we have to provide a
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
241 # neutralization value for shells without unset; and this also
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
242 # works around shells that cannot unset nonexistent variables.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
243 # Preserve -v and -x to the replacement shell.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
244 BASH_ENV=/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
245 ENV=/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
247 case $- in # ((((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
248 *v*x* | *x*v* ) as_opts=-vx ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
249 *v* ) as_opts=-v ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
250 *x* ) as_opts=-x ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
251 * ) as_opts= ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
252 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
254 # Admittedly, this is quite paranoid, since all the known shells bail
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
255 # out after a failed `exec'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
257 exit 255
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
258 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
259
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
260 if test x$as_have_required = xno; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
261 $as_echo "$0: This script requires a shell more modern than all"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
262 $as_echo "$0: the shells that I found on your system."
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
263 if test x${ZSH_VERSION+set} = xset ; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
266 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
268 $0: including any error possibly output before this
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
269 $0: message. Then install a modern shell, or manually run
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
270 $0: the script under such a shell if you do have one."
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
271 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
272 exit 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
273 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
274 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
275 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
276 SHELL=${CONFIG_SHELL-/bin/sh}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
277 export SHELL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
278 # Unset more variables known to interfere with behavior of common tools.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
279 CLICOLOR_FORCE= GREP_OPTIONS=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
280 unset CLICOLOR_FORCE GREP_OPTIONS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
281
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
282 ## --------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
283 ## M4sh Shell Functions. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
284 ## --------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
285 # as_fn_unset VAR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
286 # ---------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
287 # Portably unset VAR.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
288 as_fn_unset ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
289 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
290 { eval $1=; unset $1;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
291 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
292 as_unset=as_fn_unset
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
293
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
294 # as_fn_set_status STATUS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
295 # -----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
296 # Set $? to STATUS, without forking.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
297 as_fn_set_status ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
298 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
299 return $1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
300 } # as_fn_set_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
301
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
302 # as_fn_exit STATUS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
303 # -----------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
305 as_fn_exit ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
306 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
307 set +e
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
308 as_fn_set_status $1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
309 exit $1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
310 } # as_fn_exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
311
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
312 # as_fn_mkdir_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
313 # -------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
314 # Create "$as_dir" as a directory, including parents if necessary.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
315 as_fn_mkdir_p ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
316 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
317
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
318 case $as_dir in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
319 -*) as_dir=./$as_dir;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
320 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
321 test -d "$as_dir" || eval $as_mkdir_p || {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
322 as_dirs=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
323 while :; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
324 case $as_dir in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
326 *) as_qdir=$as_dir;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
327 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
328 as_dirs="'$as_qdir' $as_dirs"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
329 as_dir=`$as_dirname -- "$as_dir" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
331 X"$as_dir" : 'X\(//\)[^/]' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
332 X"$as_dir" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
334 $as_echo X"$as_dir" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
336 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
337 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
338 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
339 /^X\(\/\/\)[^/].*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
340 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
341 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
342 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
343 /^X\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
344 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
345 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
346 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
347 /^X\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
348 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
349 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
350 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
351 s/.*/./; q'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
352 test -d "$as_dir" && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
353 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
356
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
357
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
358 } # as_fn_mkdir_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
359
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
360 # as_fn_executable_p FILE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
361 # -----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
362 # Test if FILE is an executable regular file.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
363 as_fn_executable_p ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
364 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
365 test -f "$1" && test -x "$1"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
366 } # as_fn_executable_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
367 # as_fn_append VAR VALUE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
368 # ----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
370 # advantage of any shell optimizations that allow amortized linear growth over
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
371 # repeated appends, instead of the typical quadratic growth present in naive
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
372 # implementations.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
374 eval 'as_fn_append ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
375 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
376 eval $1+=\$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
377 }'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
378 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
379 as_fn_append ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
380 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
381 eval $1=\$$1\$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
382 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
383 fi # as_fn_append
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
384
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
385 # as_fn_arith ARG...
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
386 # ------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
389 # must be portable across $(()) and expr.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
391 eval 'as_fn_arith ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
392 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
393 as_val=$(( $* ))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
394 }'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
395 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
396 as_fn_arith ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
397 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
398 as_val=`expr "$@" || test $? -eq 1`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
399 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
400 fi # as_fn_arith
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
401
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
402
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
404 # ----------------------------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
407 # script with STATUS, using 1 if that was 0.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
408 as_fn_error ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
409 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
410 as_status=$1; test $as_status -eq 0 && as_status=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
411 if test "$4"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
414 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
415 $as_echo "$as_me: error: $2" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
416 as_fn_exit $as_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
417 } # as_fn_error
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
418
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
421 as_expr=expr
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
422 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
423 as_expr=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
424 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
425
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
427 as_basename=basename
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
428 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
429 as_basename=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
430 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
431
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
433 as_dirname=dirname
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
434 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
435 as_dirname=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
436 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
437
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
438 as_me=`$as_basename -- "$0" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
440 X"$0" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
442 $as_echo X/"$0" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
444 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
445 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
446 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
447 /^X\/\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
448 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
449 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
450 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
451 /^X\/\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
452 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
453 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
454 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
455 s/.*/./; q'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
456
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
457 # Avoid depending upon Character Ranges.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
461 as_cr_digits='0123456789'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
463
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
464
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
470 sed -n '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
471 p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
472 /[$]LINENO/=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
473 ' <$as_myself |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
474 sed '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
475 s/[$]LINENO.*/&-/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
476 t lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
477 b
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
478 :lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
479 N
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
480 :loop
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
482 t loop
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
483 s/-\n.*//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
484 ' >$as_me.lineno &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
485 chmod +x "$as_me.lineno" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
487
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
489 # already done that, so ensure we don't try to do so again and fall
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
490 # in an infinite loop. This has already happened in practice.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
491 _as_can_reexec=no; export _as_can_reexec
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
492 # Don't try to exec as it changes $[0], causing all sort of problems
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
493 # (the dirname of $[0] is not the place where we might find the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
494 # original and so on. Autoconf is especially sensitive to this).
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
495 . "./$as_me.lineno"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
496 # Exit status is that of the last command.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
497 exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
498 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
499
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
500 ECHO_C= ECHO_N= ECHO_T=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
501 case `echo -n x` in #(((((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
502 -n*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
503 case `echo 'xy\c'` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
505 xy) ECHO_C='\c';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
507 ECHO_T=' ';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
508 esac;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
509 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
510 ECHO_N='-n';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
511 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
512
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
513 rm -f conf$$ conf$$.exe conf$$.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
514 if test -d conf$$.dir; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
515 rm -f conf$$.dir/conf$$.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
516 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
517 rm -f conf$$.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
518 mkdir conf$$.dir 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
519 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
520 if (echo >conf$$.file) 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
522 as_ln_s='ln -s'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
523 # ... but there are two gotchas:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
526 # In both cases, we have to default to `cp -pR'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
528 as_ln_s='cp -pR'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
529 elif ln conf$$.file conf$$ 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
530 as_ln_s=ln
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
531 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
532 as_ln_s='cp -pR'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
533 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
534 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
535 as_ln_s='cp -pR'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
536 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
538 rmdir conf$$.dir 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
539
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
540 if mkdir -p . 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
541 as_mkdir_p='mkdir -p "$as_dir"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
542 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
543 test -d ./-p && rmdir ./-p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
544 as_mkdir_p=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
545 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
546
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
547 as_test_x='test -x'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
548 as_executable_p=as_fn_executable_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
549
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
550 # Sed expression to map a string onto a valid CPP name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
552
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
553 # Sed expression to map a string onto a valid variable name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
555
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
556
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
557 test -n "$DJDIR" || exec 7<&0 </dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
558 exec 6>&1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
559
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
560 # Name of the host.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
562 # so uname gets run too.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
564
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
565 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
566 # Initializations.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
567 #
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
568 ac_default_prefix=/usr/local
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
569 ac_clean_files=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
570 ac_config_libobj_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
571 LIBOBJS=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
572 cross_compiling=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
573 subdirs=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
574 MFLAGS=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
575 MAKEFLAGS=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
576
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
577 # Identity of this package.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
578 PACKAGE_NAME=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
579 PACKAGE_TARNAME=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
580 PACKAGE_VERSION=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
581 PACKAGE_STRING=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
582 PACKAGE_BUGREPORT=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
583 PACKAGE_URL=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
584
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
585 ac_unique_file="src/noffle.c"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
586 # Factoring default headers for most tests.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
587 ac_includes_default="\
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
588 #include <stdio.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
589 #ifdef HAVE_SYS_TYPES_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
590 # include <sys/types.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
591 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
592 #ifdef HAVE_SYS_STAT_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
593 # include <sys/stat.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
594 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
595 #ifdef STDC_HEADERS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
596 # include <stdlib.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
597 # include <stddef.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
598 #else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
599 # ifdef HAVE_STDLIB_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
600 # include <stdlib.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
601 # endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
602 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
603 #ifdef HAVE_STRING_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
605 # include <memory.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
606 # endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
607 # include <string.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
608 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
609 #ifdef HAVE_STRINGS_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
610 # include <strings.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
611 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
612 #ifdef HAVE_INTTYPES_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
613 # include <inttypes.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
614 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
615 #ifdef HAVE_STDINT_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
616 # include <stdint.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
617 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
618 #ifdef HAVE_UNISTD_H
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
619 # include <unistd.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
620 #endif"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
621
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
622 ac_subst_vars='am__EXEEXT_FALSE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
623 am__EXEEXT_TRUE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
624 LTLIBOBJS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
625 LIBOBJS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
626 DOCDIR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
627 CONFIGFILE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
628 SPOOLDIR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
629 USERSFILE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
630 LIBPAM
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
631 SENDMAILPROG
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
632 EGREP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
633 GREP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
634 CPP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
635 am__fastdepCC_FALSE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
636 am__fastdepCC_TRUE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
637 CCDEPMODE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
638 am__nodep
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
639 AMDEPBACKSLASH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
640 AMDEP_FALSE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
641 AMDEP_TRUE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
642 am__quote
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
643 am__include
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
644 DEPDIR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
645 OBJEXT
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
646 EXEEXT
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
647 ac_ct_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
648 CPPFLAGS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
649 LDFLAGS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
650 CFLAGS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
651 CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
652 AM_BACKSLASH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
653 AM_DEFAULT_VERBOSITY
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
654 AM_DEFAULT_V
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
655 AM_V
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
656 am__untar
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
657 am__tar
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
658 AMTAR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
659 am__leading_dot
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
660 SET_MAKE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
661 AWK
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
662 mkdir_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
663 MKDIR_P
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
664 INSTALL_STRIP_PROGRAM
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
665 STRIP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
666 install_sh
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
667 MAKEINFO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
668 AUTOHEADER
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
669 AUTOMAKE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
670 AUTOCONF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
671 ACLOCAL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
672 VERSION
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
673 PACKAGE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
674 CYGPATH_W
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
675 am__isrc
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
676 INSTALL_DATA
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
677 INSTALL_SCRIPT
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
678 INSTALL_PROGRAM
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
679 target_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
680 host_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
681 build_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
682 LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
683 ECHO_T
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
684 ECHO_N
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
685 ECHO_C
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
686 DEFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
687 mandir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
688 localedir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
689 libdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
690 psdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
691 pdfdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
692 dvidir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
693 htmldir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
694 infodir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
695 docdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
696 oldincludedir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
697 includedir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
698 localstatedir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
699 sharedstatedir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
700 sysconfdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
701 datadir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
702 datarootdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
703 libexecdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
704 sbindir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
705 bindir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
706 program_transform_name
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
707 prefix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
708 exec_prefix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
709 PACKAGE_URL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
710 PACKAGE_BUGREPORT
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
711 PACKAGE_STRING
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
712 PACKAGE_VERSION
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
713 PACKAGE_TARNAME
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
714 PACKAGE_NAME
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
715 PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
716 SHELL'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
717 ac_subst_files=''
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
718 ac_user_opts='
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
719 enable_option_checking
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
720 enable_silent_rules
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
721 enable_dependency_tracking
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
722 with_gdbm_include
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
723 with_gdbm_libdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
724 enable_auth
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
725 with_usersfile
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
726 enable_debug
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
727 with_docdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
728 with_spooldir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
729 with_configfile
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
730 '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
731 ac_precious_vars='build_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
732 host_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
733 target_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
734 CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
735 CFLAGS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
736 LDFLAGS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
737 LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
738 CPPFLAGS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
739 CPP'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
740
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
741
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
742 # Initialize some variables set by options.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
743 ac_init_help=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
744 ac_init_version=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
745 ac_unrecognized_opts=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
746 ac_unrecognized_sep=
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
747 # The variables have the same names as the options, with
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
748 # dashes changed to underlines.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
749 cache_file=/dev/null
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
750 exec_prefix=NONE
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
751 no_create=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
752 no_recursion=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
753 prefix=NONE
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
754 program_prefix=NONE
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
755 program_suffix=NONE
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
756 program_transform_name=s,x,x,
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
757 silent=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
758 site=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
759 srcdir=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
760 verbose=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
761 x_includes=NONE
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
762 x_libraries=NONE
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
763
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
764 # Installation directory options.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
766 # and all the variables that are supposed to be based on exec_prefix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
767 # by default will actually change.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
768 # Use braces instead of parens because sh, perl, etc. also accept them.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
769 # (The list follows the same order as the GNU Coding Standards.)
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
770 bindir='${exec_prefix}/bin'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
771 sbindir='${exec_prefix}/sbin'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
772 libexecdir='${exec_prefix}/libexec'
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
773 datarootdir='${prefix}/share'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
774 datadir='${datarootdir}'
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
775 sysconfdir='${prefix}/etc'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
776 sharedstatedir='${prefix}/com'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
777 localstatedir='${prefix}/var'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
778 includedir='${prefix}/include'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
779 oldincludedir='/usr/include'
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
780 docdir='${datarootdir}/doc/${PACKAGE}'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
781 infodir='${datarootdir}/info'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
782 htmldir='${docdir}'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
783 dvidir='${docdir}'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
784 pdfdir='${docdir}'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
785 psdir='${docdir}'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
786 libdir='${exec_prefix}/lib'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
787 localedir='${datarootdir}/locale'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
788 mandir='${datarootdir}/man'
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
789
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
790 ac_prev=
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
791 ac_dashdash=
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
792 for ac_option
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
793 do
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
794 # If the previous option needs an argument, assign it.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
795 if test -n "$ac_prev"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
796 eval $ac_prev=\$ac_option
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
797 ac_prev=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
798 continue
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
799 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
800
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
801 case $ac_option in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
803 *=) ac_optarg= ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
804 *) ac_optarg=yes ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
805 esac
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
806
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
807 # Accept the important Cygnus configure options, so we can diagnose typos.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
808
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
809 case $ac_dashdash$ac_option in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
810 --)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
811 ac_dashdash=yes ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
812
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
813 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
814 ac_prev=bindir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
816 bindir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
817
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
818 -build | --build | --buil | --bui | --bu)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
819 ac_prev=build_alias ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
820 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
821 build_alias=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
822
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
823 -cache-file | --cache-file | --cache-fil | --cache-fi \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
825 ac_prev=cache_file ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
828 cache_file=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
829
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
830 --config-cache | -C)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
831 cache_file=config.cache ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
832
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
833 -datadir | --datadir | --datadi | --datad)
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
834 ac_prev=datadir ;;
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
835 -datadir=* | --datadir=* | --datadi=* | --datad=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
836 datadir=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
837
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
839 | --dataroo | --dataro | --datar)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
840 ac_prev=datarootdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
843 datarootdir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
844
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
845 -disable-* | --disable-*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
847 # Reject names that are not valid shell variable names.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
849 as_fn_error $? "invalid feature name: $ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
850 ac_useropt_orig=$ac_useropt
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
852 case $ac_user_opts in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
853 *"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
854 "enable_$ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
855 "*) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
857 ac_unrecognized_sep=', ';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
858 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
859 eval enable_$ac_useropt=no ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
860
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
861 -docdir | --docdir | --docdi | --doc | --do)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
862 ac_prev=docdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
864 docdir=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
865
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
867 ac_prev=dvidir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
869 dvidir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
870
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
871 -enable-* | --enable-*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
873 # Reject names that are not valid shell variable names.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
875 as_fn_error $? "invalid feature name: $ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
876 ac_useropt_orig=$ac_useropt
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
878 case $ac_user_opts in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
879 *"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
880 "enable_$ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
881 "*) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
883 ac_unrecognized_sep=', ';;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
884 esac
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
885 eval enable_$ac_useropt=\$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
886
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
889 | --exec | --exe | --ex)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
890 ac_prev=exec_prefix ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
893 | --exec=* | --exe=* | --ex=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
894 exec_prefix=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
895
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
896 -gas | --gas | --ga | --g)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
897 # Obsolete; use --with-gas.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
898 with_gas=yes ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
899
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
900 -help | --help | --hel | --he | -h)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
901 ac_init_help=long ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
903 ac_init_help=recursive ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
905 ac_init_help=short ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
906
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
907 -host | --host | --hos | --ho)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
908 ac_prev=host_alias ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
909 -host=* | --host=* | --hos=* | --ho=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
910 host_alias=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
911
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
913 ac_prev=htmldir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
915 | --ht=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
916 htmldir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
917
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
918 -includedir | --includedir | --includedi | --included | --include \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
919 | --includ | --inclu | --incl | --inc)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
920 ac_prev=includedir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
922 | --includ=* | --inclu=* | --incl=* | --inc=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
923 includedir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
924
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
925 -infodir | --infodir | --infodi | --infod | --info | --inf)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
926 ac_prev=infodir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
928 infodir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
929
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
930 -libdir | --libdir | --libdi | --libd)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
931 ac_prev=libdir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
932 -libdir=* | --libdir=* | --libdi=* | --libd=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
933 libdir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
934
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
936 | --libexe | --libex | --libe)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
937 ac_prev=libexecdir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
939 | --libexe=* | --libex=* | --libe=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
940 libexecdir=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
941
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
942 -localedir | --localedir | --localedi | --localed | --locale)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
943 ac_prev=localedir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
945 localedir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
946
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
947 -localstatedir | --localstatedir | --localstatedi | --localstated \
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
948 | --localstate | --localstat | --localsta | --localst | --locals)
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
949 ac_prev=localstatedir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
952 localstatedir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
953
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
955 ac_prev=mandir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
957 mandir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
958
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
959 -nfp | --nfp | --nf)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
960 # Obsolete; use --without-fp.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
961 with_fp=no ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
962
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
964 | --no-cr | --no-c | -n)
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
965 no_create=yes ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
966
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
969 no_recursion=yes ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
970
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
973 | --oldin | --oldi | --old | --ol | --o)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
974 ac_prev=oldincludedir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
978 oldincludedir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
979
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
981 ac_prev=prefix ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
983 prefix=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
984
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
985 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
986 | --program-pre | --program-pr | --program-p)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
987 ac_prev=program_prefix ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
988 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
990 program_prefix=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
991
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
992 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
993 | --program-suf | --program-su | --program-s)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
994 ac_prev=program_suffix ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
995 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
997 program_suffix=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
998
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
999 -program-transform-name | --program-transform-name \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1000 | --program-transform-nam | --program-transform-na \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1001 | --program-transform-n | --program-transform- \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1002 | --program-transform | --program-transfor \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1003 | --program-transfo | --program-transf \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1004 | --program-trans | --program-tran \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1005 | --progr-tra | --program-tr | --program-t)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1006 ac_prev=program_transform_name ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1007 -program-transform-name=* | --program-transform-name=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1008 | --program-transform-nam=* | --program-transform-na=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1009 | --program-transform-n=* | --program-transform-=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1010 | --program-transform=* | --program-transfor=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1011 | --program-transfo=* | --program-transf=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1012 | --program-trans=* | --program-tran=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1013 | --progr-tra=* | --program-tr=* | --program-t=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1014 program_transform_name=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1015
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1017 ac_prev=pdfdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1019 pdfdir=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1020
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1021 -psdir | --psdir | --psdi | --psd | --ps)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1022 ac_prev=psdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1024 psdir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1025
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1027 | -silent | --silent | --silen | --sile | --sil)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1028 silent=yes ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1029
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1031 ac_prev=sbindir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1033 | --sbi=* | --sb=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1034 sbindir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1035
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1038 | --sharedst | --shareds | --shared | --share | --shar \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1039 | --sha | --sh)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1040 ac_prev=sharedstatedir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1044 | --sha=* | --sh=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1045 sharedstatedir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1046
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1047 -site | --site | --sit)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1048 ac_prev=site ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1049 -site=* | --site=* | --sit=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1050 site=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1051
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1053 ac_prev=srcdir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1055 srcdir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1056
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1058 | --syscon | --sysco | --sysc | --sys | --sy)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1059 ac_prev=sysconfdir ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1062 sysconfdir=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1063
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1064 -target | --target | --targe | --targ | --tar | --ta | --t)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1065 ac_prev=target_alias ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1067 target_alias=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1068
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1069 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1070 verbose=yes ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1071
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1072 -version | --version | --versio | --versi | --vers | -V)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1073 ac_init_version=: ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1074
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1075 -with-* | --with-*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1077 # Reject names that are not valid shell variable names.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1079 as_fn_error $? "invalid package name: $ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1080 ac_useropt_orig=$ac_useropt
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1082 case $ac_user_opts in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1083 *"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1084 "with_$ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1085 "*) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1087 ac_unrecognized_sep=', ';;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1088 esac
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1089 eval with_$ac_useropt=\$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1090
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1091 -without-* | --without-*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1093 # Reject names that are not valid shell variable names.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1095 as_fn_error $? "invalid package name: $ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1096 ac_useropt_orig=$ac_useropt
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1098 case $ac_user_opts in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1099 *"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1100 "with_$ac_useropt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1101 "*) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1103 ac_unrecognized_sep=', ';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1104 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1105 eval with_$ac_useropt=no ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1106
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1107 --x)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1108 # Obsolete; use --with-x.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1109 with_x=yes ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1110
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1112 | --x-incl | --x-inc | --x-in | --x-i)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1113 ac_prev=x_includes ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1116 x_includes=$ac_optarg ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1117
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1118 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1120 ac_prev=x_libraries ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1123 x_libraries=$ac_optarg ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1124
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1125 -*) as_fn_error $? "unrecognized option: \`$ac_option'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1126 Try \`$0 --help' for more information"
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1127 ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1128
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1129 *=*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1131 # Reject names that are not valid shell variable names.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1132 case $ac_envvar in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1133 '' | [0-9]* | *[!_$as_cr_alnum]* )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1135 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1136 eval $ac_envvar=\$ac_optarg
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1137 export $ac_envvar ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1138
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1139 *)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1140 # FIXME: should be removed in autoconf 3.0.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1145 ;;
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1146
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1147 esac
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1148 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1149
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1150 if test -n "$ac_prev"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1152 as_fn_error $? "missing argument to $ac_option"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1153 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1154
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1155 if test -n "$ac_unrecognized_opts"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1156 case $enable_option_checking in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1157 no) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1160 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1161 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1162
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1163 # Check all directory arguments for consistency.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1167 libdir localedir mandir
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1168 do
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1169 eval ac_val=\$$ac_var
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1170 # Remove trailing slashes.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1171 case $ac_val in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1172 */ )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1174 eval $ac_var=\$ac_val;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1175 esac
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1176 # Be sure to have absolute directory names.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1177 case $ac_val in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1178 [\\/$]* | ?:[\\/]* ) continue;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1180 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1182 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1183
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1184 # There might be people who depend on the old broken behavior: `$host'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1185 # used to hold the argument of --host etc.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1186 # FIXME: To remove some day.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1187 build=$build_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1188 host=$host_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1189 target=$target_alias
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1190
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1191 # FIXME: To remove some day.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1192 if test "x$host_alias" != x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1193 if test "x$build_alias" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1194 cross_compiling=maybe
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1195 elif test "x$build_alias" != "x$host_alias"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1196 cross_compiling=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1197 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1198 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1199
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1200 ac_tool_prefix=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1201 test -n "$host_alias" && ac_tool_prefix=$host_alias-
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1202
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1203 test "$silent" = yes && exec 6>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1204
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1205
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1206 ac_pwd=`pwd` && test -n "$ac_pwd" &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1207 ac_ls_di=`ls -di .` &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1208 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1209 as_fn_error $? "working directory cannot be determined"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1211 as_fn_error $? "pwd does not report name of working directory"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1212
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1213
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1214 # Find the source files, if location was not specified.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1215 if test -z "$srcdir"; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1216 ac_srcdir_defaulted=yes
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1217 # Try the directory containing this script, then the parent directory.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1218 ac_confdir=`$as_dirname -- "$as_myself" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1219 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1220 X"$as_myself" : 'X\(//\)[^/]' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1221 X"$as_myself" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1222 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1223 $as_echo X"$as_myself" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1225 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1226 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1227 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1228 /^X\(\/\/\)[^/].*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1229 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1230 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1231 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1232 /^X\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1233 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1234 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1235 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1236 /^X\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1237 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1238 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1239 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1240 s/.*/./; q'`
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1241 srcdir=$ac_confdir
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1242 if test ! -r "$srcdir/$ac_unique_file"; then
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1243 srcdir=..
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1244 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1245 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1246 ac_srcdir_defaulted=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1247 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1248 if test ! -r "$srcdir/$ac_unique_file"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1250 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1251 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1253 ac_abs_confdir=`(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1254 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1255 pwd)`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1256 # When building in place, set srcdir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1258 srcdir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1259 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1260 # Remove unnecessary trailing slashes from srcdir.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1261 # Double slashes in file names in object file debugging info
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1262 # mess up M-x gdb in Emacs.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1263 case $srcdir in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1265 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1266 for ac_var in $ac_precious_vars; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1268 eval ac_env_${ac_var}_value=\$${ac_var}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1271 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1272
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1273 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1274 # Report the --help message.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1275 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1276 if test "$ac_init_help" = "long"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1277 # Omit some internal or obsolete options to make the list less imposing.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1278 # This message is too long to be a string in the A/UX 3.1 sh.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1279 cat <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1280 \`configure' configures this package to adapt to many kinds of systems.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1281
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1283
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1286
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1287 Defaults for the options are specified in brackets.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1288
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1289 Configuration:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1290 -h, --help display this help and exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1291 --help=short display options specific to this package
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1292 --help=recursive display the short help of all the included packages
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1293 -V, --version display version information and exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1294 -q, --quiet, --silent do not print \`checking ...' messages
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1295 --cache-file=FILE cache test results in FILE [disabled]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1296 -C, --config-cache alias for \`--cache-file=config.cache'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1297 -n, --no-create do not create output files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1299
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1300 Installation directories:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1301 --prefix=PREFIX install architecture-independent files in PREFIX
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1302 [$ac_default_prefix]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1304 [PREFIX]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1305
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1306 By default, \`make install' will install all the files in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1309 for instance \`--prefix=\$HOME'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1310
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1311 For better control, use the options below.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1312
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1313 Fine tuning of the installation directories:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1314 --bindir=DIR user executables [EPREFIX/bin]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1320 --libdir=DIR object code libraries [EPREFIX/lib]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1321 --includedir=DIR C header files [PREFIX/include]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1329 --htmldir=DIR html documentation [DOCDIR]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1330 --dvidir=DIR dvi documentation [DOCDIR]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1331 --pdfdir=DIR pdf documentation [DOCDIR]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1332 --psdir=DIR ps documentation [DOCDIR]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1333 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1334
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1335 cat <<\_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1336
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1337 Program names:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1338 --program-prefix=PREFIX prepend PREFIX to installed program names
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1339 --program-suffix=SUFFIX append SUFFIX to installed program names
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1340 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1341 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1342 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1343
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1344 if test -n "$ac_init_help"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1345
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1346 cat <<\_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1347
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1348 Optional Features:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1349 --disable-option-checking ignore unrecognized --enable/--with options
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1352 --enable-silent-rules less verbose build output (undo: "make V=1")
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1353 --disable-silent-rules verbose build output (undo: "make V=0")
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1354 --enable-dependency-tracking
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1355 do not reject slow dependency extractors
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1356 --disable-dependency-tracking
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1357 speeds up one-time build
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1358 --enable-auth=no/file/pam enable authentication default=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1359 --enable-debug=no/yes build with debugging default=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1360
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1361 Optional Packages:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1364 --with-gdbm-include=DIR GDBM header files are in DIR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1365 --with-gdbm-libdir=DIR GDBM library files are in DIR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1366 --with-usersfile=FILE users file /etc/noffle.users
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1367 --with-docdir=DIR other documentation PREFIX/share/doc/noffle
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1368 --with-spooldir=DIR news spool directory /var/spool/noffle
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1369 --with-configfile=FILE configuration file /etc/noffle.conf
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1370
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1371 Some influential environment variables:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1372 CC C compiler command
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1373 CFLAGS C compiler flags
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1374 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1375 nonstandard directory <lib dir>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1376 LIBS libraries to pass to the linker, e.g. -l<library>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1377 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1378 you have headers in a nonstandard directory <include dir>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1379 CPP C preprocessor
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1380
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1381 Use these variables to override the choices made by `configure' or to help
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1382 it to find libraries and programs with nonstandard names/locations.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1383
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1384 Report bugs to the package provider.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1385 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1386 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1387 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1388
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1389 if test "$ac_init_help" = "recursive"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1390 # If there are subdirs, report their specific --help.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1392 test -d "$ac_dir" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1394 continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1395 ac_builddir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1396
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1397 case "$ac_dir" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1399 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1400 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1401 # A ".." for each directory in $ac_dir_suffix.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1403 case $ac_top_builddir_sub in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1406 esac ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1407 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1408 ac_abs_top_builddir=$ac_pwd
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1410 # for backward compatibility:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1411 ac_top_builddir=$ac_top_build_prefix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1412
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1413 case $srcdir in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1414 .) # We are building in place.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1415 ac_srcdir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1416 ac_top_srcdir=$ac_top_builddir_sub
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1417 ac_abs_top_srcdir=$ac_pwd ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1419 ac_srcdir=$srcdir$ac_dir_suffix;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1420 ac_top_srcdir=$srcdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1421 ac_abs_top_srcdir=$srcdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1422 *) # Relative name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1426 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1428
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1429 cd "$ac_dir" || { ac_status=$?; continue; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1430 # Check for guested configure.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1431 if test -f "$ac_srcdir/configure.gnu"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1432 echo &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1434 elif test -f "$ac_srcdir/configure"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1435 echo &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1436 $SHELL "$ac_srcdir/configure" --help=recursive
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1437 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1439 fi || ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1440 cd "$ac_pwd" || { ac_status=$?; break; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1441 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1442 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1443
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1444 test -n "$ac_init_help" && exit $ac_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1445 if $ac_init_version; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1446 cat <<\_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1447 configure
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1448 generated by GNU Autoconf 2.69
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1449
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1450 Copyright (C) 2012 Free Software Foundation, Inc.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1451 This configure script is free software; the Free Software Foundation
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1452 gives unlimited permission to copy, distribute and modify it.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1453 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1454 exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1455 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1456
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1457 ## ------------------------ ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1458 ## Autoconf initialization. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1459 ## ------------------------ ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1460
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1461 # ac_fn_c_try_compile LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1462 # --------------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1463 # Try to compile conftest.$ac_ext, and return whether this succeeded.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1464 ac_fn_c_try_compile ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1465 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1467 rm -f conftest.$ac_objext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1468 if { { ac_try="$ac_compile"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1469 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1471 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1472 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1474 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1475 (eval "$ac_compile") 2>conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1476 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1477 if test -s conftest.err; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1478 grep -v '^ *+' conftest.err >conftest.er1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1479 cat conftest.er1 >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1480 mv -f conftest.er1 conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1481 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1483 test $ac_status = 0; } && {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1484 test -z "$ac_c_werror_flag" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1485 test ! -s conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1486 } && test -s conftest.$ac_objext; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1487 ac_retval=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1488 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1489 $as_echo "$as_me: failed program was:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1490 sed 's/^/| /' conftest.$ac_ext >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1491
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1492 ac_retval=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1493 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1495 as_fn_set_status $ac_retval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1496
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1497 } # ac_fn_c_try_compile
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1499 # ac_fn_c_try_cpp LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1500 # ----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1501 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1502 ac_fn_c_try_cpp ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1503 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1505 if { { ac_try="$ac_cpp conftest.$ac_ext"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1506 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1508 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1509 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1511 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1513 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1514 if test -s conftest.err; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1515 grep -v '^ *+' conftest.err >conftest.er1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1516 cat conftest.er1 >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1517 mv -f conftest.er1 conftest.err
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1518 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1520 test $ac_status = 0; } > conftest.i && {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1522 test ! -s conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1523 }; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1524 ac_retval=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1525 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1526 $as_echo "$as_me: failed program was:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1527 sed 's/^/| /' conftest.$ac_ext >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1528
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1529 ac_retval=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1530 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1532 as_fn_set_status $ac_retval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1533
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1534 } # ac_fn_c_try_cpp
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1535
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1536 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1537 # -------------------------------------------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1538 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1539 # the include files in INCLUDES and setting the cache variable VAR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1540 # accordingly.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1541 ac_fn_c_check_header_mongrel ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1542 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1544 if eval \${$3+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1546 $as_echo_n "checking for $2... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1547 if eval \${$3+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1548 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1549 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1550 eval ac_res=\$$3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1552 $as_echo "$ac_res" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1553 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1554 # Is the header compilable?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1556 $as_echo_n "checking $2 usability... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1558 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1559 $4
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1560 #include <$2>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1561 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1562 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1563 ac_header_compiler=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1564 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1565 ac_header_compiler=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1566 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1569 $as_echo "$ac_header_compiler" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1570
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1571 # Is the header present?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1573 $as_echo_n "checking $2 presence... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1575 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1576 #include <$2>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1577 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1578 if ac_fn_c_try_cpp "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1579 ac_header_preproc=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1580 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1581 ac_header_preproc=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1582 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1583 rm -f conftest.err conftest.i conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1585 $as_echo "$ac_header_preproc" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1586
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1587 # So? What about this header?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1589 yes:no: )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1591 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1593 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1594 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1595 no:yes:* )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1597 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1599 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1601 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1603 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1605 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1606 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1607 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1609 $as_echo_n "checking for $2... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1610 if eval \${$3+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1611 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1612 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1613 eval "$3=\$ac_header_compiler"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1614 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1615 eval ac_res=\$$3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1617 $as_echo "$ac_res" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1618 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1620
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1621 } # ac_fn_c_check_header_mongrel
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1622
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1623 # ac_fn_c_try_run LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1624 # ----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1625 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1626 # that executables *can* be run.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1627 ac_fn_c_try_run ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1628 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1630 if { { ac_try="$ac_link"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1631 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1633 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1634 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1636 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1637 (eval "$ac_link") 2>&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1638 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1640 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1641 { { case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1643 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1644 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1646 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1647 (eval "$ac_try") 2>&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1648 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1650 test $ac_status = 0; }; }; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1651 ac_retval=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1652 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1653 $as_echo "$as_me: program exited with status $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1654 $as_echo "$as_me: failed program was:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1655 sed 's/^/| /' conftest.$ac_ext >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1656
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1657 ac_retval=$ac_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1658 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1661 as_fn_set_status $ac_retval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1662
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1663 } # ac_fn_c_try_run
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1664
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1665 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1666 # -------------------------------------------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1667 # Tests whether HEADER exists and can be compiled using the include files in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1668 # INCLUDES, setting the cache variable VAR accordingly.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1669 ac_fn_c_check_header_compile ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1670 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1673 $as_echo_n "checking for $2... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1674 if eval \${$3+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1675 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1676 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1678 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1679 $4
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1680 #include <$2>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1681 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1682 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1683 eval "$3=yes"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1684 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1685 eval "$3=no"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1686 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1688 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1689 eval ac_res=\$$3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1691 $as_echo "$ac_res" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1693
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1694 } # ac_fn_c_check_header_compile
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1695
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1696 # ac_fn_c_try_link LINENO
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1697 # -----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1698 # Try to link conftest.$ac_ext, and return whether this succeeded.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1699 ac_fn_c_try_link ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1700 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1702 rm -f conftest.$ac_objext conftest$ac_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1703 if { { ac_try="$ac_link"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1704 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1706 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1707 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1709 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1710 (eval "$ac_link") 2>conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1711 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1712 if test -s conftest.err; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1713 grep -v '^ *+' conftest.err >conftest.er1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1714 cat conftest.er1 >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1715 mv -f conftest.er1 conftest.err
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
1716 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1718 test $ac_status = 0; } && {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1719 test -z "$ac_c_werror_flag" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1720 test ! -s conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1721 } && test -s conftest$ac_exeext && {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1722 test "$cross_compiling" = yes ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1723 test -x conftest$ac_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1724 }; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1725 ac_retval=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1726 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1727 $as_echo "$as_me: failed program was:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1728 sed 's/^/| /' conftest.$ac_ext >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1729
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1730 ac_retval=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1731 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1732 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1733 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1734 # interfere with the next link command; also delete a directory that is
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1735 # left behind by Apple's compiler. We do this before executing the actions.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1738 as_fn_set_status $ac_retval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1739
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1740 } # ac_fn_c_try_link
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1741
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1742 # ac_fn_c_check_func LINENO FUNC VAR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1743 # ----------------------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1745 ac_fn_c_check_func ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1746 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1749 $as_echo_n "checking for $2... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1750 if eval \${$3+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1751 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1752 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1754 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1757 #define $2 innocuous_$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1758
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1759 /* System header to define __stub macros and hopefully few prototypes,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1760 which can conflict with char $2 (); below.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1762 <limits.h> exists even on freestanding compilers. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1763
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1764 #ifdef __STDC__
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1765 # include <limits.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1766 #else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1767 # include <assert.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1768 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1769
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1770 #undef $2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1771
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1772 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1773 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1774 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1775 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1776 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1777 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1778 char $2 ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1779 /* The GNU C library defines this for functions which it implements
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1780 to always fail with ENOSYS. Some functions are actually named
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1781 something starting with __ and the normal name is an alias. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1782 #if defined __stub_$2 || defined __stub___$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1783 choke me
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1784 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1785
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1786 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1787 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1788 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1789 return $2 ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1790 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1791 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1792 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1793 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1794 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1795 eval "$3=yes"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1796 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1797 eval "$3=no"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1798 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1799 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1800 conftest$ac_exeext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1801 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1802 eval ac_res=\$$3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1804 $as_echo "$ac_res" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1806
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1807 } # ac_fn_c_check_func
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1808
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1809 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1810 # -------------------------------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1811 # Tests whether TYPE exists after having included INCLUDES, setting cache
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1812 # variable VAR accordingly.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1813 ac_fn_c_check_type ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1814 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1817 $as_echo_n "checking for $2... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1818 if eval \${$3+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1819 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1820 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1821 eval "$3=no"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1823 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1824 $4
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1825 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1826 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1827 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1828 if (sizeof ($2))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1829 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1830 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1831 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1832 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1833 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1834 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1836 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1837 $4
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1838 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1839 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1840 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1841 if (sizeof (($2)))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1842 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1843 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1844 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1845 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1846 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1847 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1848
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1849 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1850 eval "$3=yes"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1851 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1853 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1855 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1856 eval ac_res=\$$3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1858 $as_echo "$ac_res" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1860
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1861 } # ac_fn_c_check_type
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1862 cat >config.log <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1863 This file contains any messages produced by compilers while
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1864 running configure, to aid debugging if configure makes a mistake.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1865
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1866 It was created by $as_me, which was
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1867 generated by GNU Autoconf 2.69. Invocation command line was
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1868
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1869 $ $0 $@
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1870
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1871 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1872 exec 5>>config.log
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1873 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1874 cat <<_ASUNAME
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1875 ## --------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1876 ## Platform. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1877 ## --------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1878
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1879 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1880 uname -m = `(uname -m) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1881 uname -r = `(uname -r) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1882 uname -s = `(uname -s) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1883 uname -v = `(uname -v) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1884
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1885 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1886 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1887
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1888 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1889 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1890 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1891 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1892 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1893 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1894 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1895
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1896 _ASUNAME
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1897
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1899 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1900 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1901 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1902 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1903 $as_echo "PATH: $as_dir"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1904 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1905 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1906
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1907 } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1908
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1909 cat >&5 <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1910
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1911
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1912 ## ----------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1913 ## Core tests. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1914 ## ----------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1915
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1916 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1917
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1918
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1919 # Keep a trace of the command line.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1920 # Strip out --no-create and --no-recursion so they do not pile up.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1921 # Strip out --silent because we don't want to record it for future runs.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1922 # Also quote any args containing shell meta-characters.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1923 # Make two passes to allow for proper duplicate-argument suppression.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1924 ac_configure_args=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1925 ac_configure_args0=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1926 ac_configure_args1=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1927 ac_must_keep_next=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1928 for ac_pass in 1 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1929 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1930 for ac_arg
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1931 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1932 case $ac_arg in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1933 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1935 | -silent | --silent | --silen | --sile | --sil)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1936 continue ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1937 *\'*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1938 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1939 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1940 case $ac_pass in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1941 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1942 2)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1943 as_fn_append ac_configure_args1 " '$ac_arg'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1944 if test $ac_must_keep_next = true; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1945 ac_must_keep_next=false # Got value, back to normal.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1946 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1947 case $ac_arg in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1948 *=* | --config-cache | -C | -disable-* | --disable-* \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1949 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1950 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1951 | -with-* | --with-* | -without-* | --without-* | --x)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1952 case "$ac_configure_args0 " in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1953 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1954 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1955 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1956 -* ) ac_must_keep_next=true ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1957 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1958 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1959 as_fn_append ac_configure_args " '$ac_arg'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1960 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1961 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1962 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1963 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1964 { ac_configure_args0=; unset ac_configure_args0;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1965 { ac_configure_args1=; unset ac_configure_args1;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1966
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1967 # When interrupted or exit'd, cleanup temporary files, and complete
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1968 # config.log. We remove comments because anyway the quotes in there
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1969 # would cause problems or look ugly.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1970 # WARNING: Use '\'' to represent an apostrophe within the trap.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1971 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1972 trap 'exit_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1973 # Save into config.log some information that might help in debugging.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1974 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1975 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1976
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1977 $as_echo "## ---------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1978 ## Cache variables. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1979 ## ---------------- ##"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1980 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1981 # The following way of writing the cache mishandles newlines in values,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1982 (
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1983 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1984 eval ac_val=\$$ac_var
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1985 case $ac_val in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1986 *${as_nl}*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1987 case $ac_var in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1988 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1989 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1990 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1991 case $ac_var in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1992 _ | IFS | as_nl) ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1993 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1994 *) { eval $ac_var=; unset $ac_var;} ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1995 esac ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1996 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1997 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1998 (set) 2>&1 |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
1999 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2000 *${as_nl}ac_space=\ *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2001 sed -n \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2002 "s/'\''/'\''\\\\'\'''\''/g;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2004 ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2005 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2007 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2008 esac |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2009 sort
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2010 )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2011 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2012
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2013 $as_echo "## ----------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2014 ## Output variables. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2015 ## ----------------- ##"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2016 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2017 for ac_var in $ac_subst_vars
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2018 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2019 eval ac_val=\$$ac_var
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2020 case $ac_val in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2021 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2022 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2023 $as_echo "$ac_var='\''$ac_val'\''"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2024 done | sort
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2025 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2026
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2027 if test -n "$ac_subst_files"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2028 $as_echo "## ------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2029 ## File substitutions. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2030 ## ------------------- ##"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2031 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2032 for ac_var in $ac_subst_files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2033 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2034 eval ac_val=\$$ac_var
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2035 case $ac_val in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2036 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2037 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2038 $as_echo "$ac_var='\''$ac_val'\''"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2039 done | sort
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2040 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2041 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2042
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2043 if test -s confdefs.h; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2044 $as_echo "## ----------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2045 ## confdefs.h. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2046 ## ----------- ##"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2047 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2048 cat confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2049 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2050 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2051 test "$ac_signal" != 0 &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2052 $as_echo "$as_me: caught signal $ac_signal"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2053 $as_echo "$as_me: exit $exit_status"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2054 } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2055 rm -f core *.core core.conftest.* &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2056 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2057 exit $exit_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2058 ' 0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2059 for ac_signal in 1 2 13 15; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2060 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2061 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2062 ac_signal=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2063
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2064 # confdefs.h avoids OS command line length limits that DEFS can exceed.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2065 rm -f -r conftest* confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2066
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2067 $as_echo "/* confdefs.h */" > confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2068
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2069 # Predefined preprocessor variables.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2070
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2071 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2072 #define PACKAGE_NAME "$PACKAGE_NAME"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2073 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2074
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2075 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2076 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2077 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2078
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2079 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2080 #define PACKAGE_VERSION "$PACKAGE_VERSION"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2081 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2082
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2083 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2084 #define PACKAGE_STRING "$PACKAGE_STRING"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2085 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2086
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2087 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2088 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2089 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2090
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2091 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2092 #define PACKAGE_URL "$PACKAGE_URL"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2093 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2094
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2095
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2096 # Let the site file select an alternate cache file if it wants to.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2097 # Prefer an explicitly selected file to automatically selected ones.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2098 ac_site_file1=NONE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2099 ac_site_file2=NONE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2100 if test -n "$CONFIG_SITE"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2101 # We do not want a PATH search for config.site.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2102 case $CONFIG_SITE in #((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2103 -*) ac_site_file1=./$CONFIG_SITE;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2104 */*) ac_site_file1=$CONFIG_SITE;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2105 *) ac_site_file1=./$CONFIG_SITE;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2106 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2107 elif test "x$prefix" != xNONE; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2108 ac_site_file1=$prefix/share/config.site
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2109 ac_site_file2=$prefix/etc/config.site
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2110 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2111 ac_site_file1=$ac_default_prefix/share/config.site
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2112 ac_site_file2=$ac_default_prefix/etc/config.site
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2113 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2114 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2115 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2116 test "x$ac_site_file" = xNONE && continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2117 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2119 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2120 sed 's/^/| /' "$ac_site_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2121 . "$ac_site_file" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2122 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2124 as_fn_error $? "failed to load site script $ac_site_file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2125 See \`config.log' for more details" "$LINENO" 5; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2126 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2127 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2128
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2129 if test -r "$cache_file"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2130 # Some versions of bash will fail to source /dev/null (special files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2131 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2132 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2134 $as_echo "$as_me: loading cache $cache_file" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2135 case $cache_file in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2136 [\\/]* | ?:[\\/]* ) . "$cache_file";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2137 *) . "./$cache_file";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2138 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2139 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2140 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2142 $as_echo "$as_me: creating cache $cache_file" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2143 >$cache_file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2144 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2145
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2146 # Check that the precious variables saved in the cache have kept the same
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2147 # value.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2148 ac_cache_corrupted=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2149 for ac_var in $ac_precious_vars; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2150 eval ac_old_set=\$ac_cv_env_${ac_var}_set
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2151 eval ac_new_set=\$ac_env_${ac_var}_set
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2152 eval ac_old_val=\$ac_cv_env_${ac_var}_value
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2153 eval ac_new_val=\$ac_env_${ac_var}_value
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2154 case $ac_old_set,$ac_new_set in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2155 set,)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2157 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2158 ac_cache_corrupted=: ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2159 ,set)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2161 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2162 ac_cache_corrupted=: ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2163 ,);;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2164 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2165 if test "x$ac_old_val" != "x$ac_new_val"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2166 # differences in whitespace do not lead to failure.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2167 ac_old_val_w=`echo x $ac_old_val`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2168 ac_new_val_w=`echo x $ac_new_val`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2169 if test "$ac_old_val_w" != "$ac_new_val_w"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2171 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2172 ac_cache_corrupted=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2173 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2175 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2176 eval $ac_var=\$ac_old_val
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2177 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2179 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2181 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2182 fi;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2183 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2184 # Pass precious variables to config.status.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2185 if test "$ac_new_set" = set; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2186 case $ac_new_val in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2187 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2188 *) ac_arg=$ac_var=$ac_new_val ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2189 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2190 case " $ac_configure_args " in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2191 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2192 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2193 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2194 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2195 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2196 if $ac_cache_corrupted; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2200 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2201 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2202 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2203 ## -------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2204 ## Main body of script. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2205 ## -------------------- ##
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2206
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2207 ac_ext=c
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2208 ac_cpp='$CPP $CPPFLAGS'
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2212
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2213
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2214
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2215
278
a0497ffac49b [svn] I'm not very good at automake. Redo with automake2.13.
bears
parents: 277
diff changeset
2216 PACKAGE=noffle
484
d33568bb18ab [svn] * Makefile.in,NEWS,README,aclocal.m4,configure,configure.in,
bears
parents: 438
diff changeset
2217 VERSION=1.2.0rc1
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2218
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2219 ac_config_headers="$ac_config_headers config.h"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2220
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2221 am__api_version='1.13'
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2222
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2223 ac_aux_dir=
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2224 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2225 if test -f "$ac_dir/install-sh"; then
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2226 ac_aux_dir=$ac_dir
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2227 ac_install_sh="$ac_aux_dir/install-sh -c"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2228 break
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2229 elif test -f "$ac_dir/install.sh"; then
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2230 ac_aux_dir=$ac_dir
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2231 ac_install_sh="$ac_aux_dir/install.sh -c"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2232 break
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2233 elif test -f "$ac_dir/shtool"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2234 ac_aux_dir=$ac_dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2235 ac_install_sh="$ac_aux_dir/shtool install -c"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2236 break
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2237 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2238 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2239 if test -z "$ac_aux_dir"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2240 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2241 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2242
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2243 # These three variables are undocumented and unsupported,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2244 # and are intended to be withdrawn in a future Autoconf release.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2245 # They can cause serious problems if a builder's source tree is in a directory
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2246 # whose full name contains unusual characters.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2247 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2248 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2249 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2250
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2251
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2252 # Find a good install program. We prefer a C program (faster),
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2253 # so one script is as good as another. But avoid the broken or
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2254 # incompatible versions:
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2255 # SysV /etc/install, /usr/sbin/install
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2256 # SunOS /usr/etc/install
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2257 # IRIX /sbin/install
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2258 # AIX /bin/install
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2259 # AmigaOS /C/install, which installs bootblocks on floppy discs
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2260 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2261 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2262 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2263 # OS/2's system install, which has a completely different semantic
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2264 # ./install, which can be erroneously created by make from ./install.sh.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2265 # Reject install programs that cannot install multiple files.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2267 $as_echo_n "checking for a BSD-compatible install... " >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2268 if test -z "$INSTALL"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2269 if ${ac_cv_path_install+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2270 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2271 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2273 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2274 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2275 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2276 test -z "$as_dir" && as_dir=.
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2277 # Account for people who put trailing slashes in PATH elements.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2278 case $as_dir/ in #((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2279 ./ | .// | /[cC]/* | \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2280 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2281 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2282 /usr/ucb/* ) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2283 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2284 # OSF1 and SCO ODT 3.0 have their own names for install.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2285 # Don't use installbsd from OSF since it installs stuff as root
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2286 # by default.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2287 for ac_prog in ginstall scoinst install; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2288 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2289 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2290 if test $ac_prog = install &&
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2291 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2292 # AIX install. It has an incompatible calling convention.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2293 :
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2294 elif test $ac_prog = install &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2295 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2296 # program-specific install script used by HP pwplus--don't use.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2297 :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2298 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2299 rm -rf conftest.one conftest.two conftest.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2300 echo one > conftest.one
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2301 echo two > conftest.two
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2302 mkdir conftest.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2303 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2304 test -s conftest.one && test -s conftest.two &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2305 test -s conftest.dir/conftest.one &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2306 test -s conftest.dir/conftest.two
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2307 then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2308 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2309 break 3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2310 fi
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2311 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2312 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2313 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2314 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2315 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2316 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2317
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2318 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2319 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2320
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2321 rm -rf conftest.one conftest.two conftest.dir
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2322
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2323 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2324 if test "${ac_cv_path_install+set}" = set; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2325 INSTALL=$ac_cv_path_install
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2326 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2327 # As a last resort, use the slow shell script. Don't cache a
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2328 # value for INSTALL within a source directory, because that will
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2329 # break other packages using the cache if that directory is
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2330 # removed, or if the value is a relative name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2331 INSTALL=$ac_install_sh
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2332 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2333 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2335 $as_echo "$INSTALL" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2336
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2337 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2338 # It thinks the first close brace ends the variable substitution.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2339 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2340
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2341 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2342
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2343 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2344
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2346 $as_echo_n "checking whether build environment is sane... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2347 # Reject unsafe characters in $srcdir or the absolute working directory
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2348 # name. Accept space and tab only in the latter.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2349 am_lf='
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2350 '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2351 case `pwd` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2352 *[\\\"\#\$\&\'\`$am_lf]*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2353 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2354 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2355 case $srcdir in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2356 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2357 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2358 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2359
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2360 # Do 'set' in a subshell so we don't clobber the current shell's
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2361 # arguments. Must try -L first in case configure is actually a
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2362 # symlink; some systems play weird games with the mod time of symlinks
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2363 # (eg FreeBSD returns the mod time of the symlink's containing
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2364 # directory).
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2365 if (
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2366 am_has_slept=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2367 for am_try in 1 2; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2368 echo "timestamp, slept: $am_has_slept" > conftest.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2369 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2370 if test "$*" = "X"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2371 # -L didn't work.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2372 set X `ls -t "$srcdir/configure" conftest.file`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2373 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2374 if test "$*" != "X $srcdir/configure conftest.file" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2375 && test "$*" != "X conftest.file $srcdir/configure"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2376
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2377 # If neither matched, then we have a broken ls. This can happen
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2378 # if, for instance, CONFIG_SHELL is bash and it inherits a
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2379 # broken ls alias from the environment. This has actually
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2380 # happened. Such a system could not be considered "sane".
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2381 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2382 alias in your environment" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2383 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2384 if test "$2" = conftest.file || test $am_try -eq 2; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2385 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2386 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2387 # Just in case.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2388 sleep 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2389 am_has_slept=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2390 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2391 test "$2" = conftest.file
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2392 )
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2393 then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2394 # Ok.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2395 :
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2396 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2397 as_fn_error $? "newly created file is older than distributed files!
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2398 Check your system clock" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2399 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2401 $as_echo "yes" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2402 # If we didn't sleep, we still need to ensure time stamps of config.status and
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2403 # generated files are strictly newer.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2404 am_sleep_pid=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2405 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2406 ( sleep 1 ) &
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2407 am_sleep_pid=$!
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2408 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2409
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2410 rm -f conftest.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2411
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2412 test "$program_prefix" != NONE &&
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2413 program_transform_name="s&^&$program_prefix&;$program_transform_name"
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2414 # Use a double $ so make ignores it.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2415 test "$program_suffix" != NONE &&
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2416 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2417 # Double any \ or $.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2418 # By default was `s,x,x', remove it if useless.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2419 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2420 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2421
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2422 # expand $ac_aux_dir to an absolute path
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2423 am_aux_dir=`cd $ac_aux_dir && pwd`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2424
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2425 if test x"${MISSING+set}" != xset; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2426 case $am_aux_dir in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2427 *\ * | *\ *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2428 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2429 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2430 MISSING="\${SHELL} $am_aux_dir/missing" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2431 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2432 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2433 # Use eval to expand $SHELL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2434 if eval "$MISSING --is-lightweight"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2435 am_missing_run="$MISSING "
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2436 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2437 am_missing_run=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2439 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2440 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2441
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2442 if test x"${install_sh}" != xset; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2443 case $am_aux_dir in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2444 *\ * | *\ *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2445 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2446 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2447 install_sh="\${SHELL} $am_aux_dir/install-sh"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2448 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2449 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2450
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2451 # Installed binaries are usually stripped using 'strip' when the user
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2452 # run "make install-strip". However 'strip' might not be the right
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2453 # tool to use in cross-compilation environments, therefore Automake
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2454 # will honor the 'STRIP' environment variable to overrule this program.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2455 if test "$cross_compiling" != no; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2456 if test -n "$ac_tool_prefix"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2457 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2458 set dummy ${ac_tool_prefix}strip; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2460 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2461 if ${ac_cv_prog_STRIP+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2462 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2463 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2464 if test -n "$STRIP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2465 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2466 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2468 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2469 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2470 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2471 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2472 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2474 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2476 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2477 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2478 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2479 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2480 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2481
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2482 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2483 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2484 STRIP=$ac_cv_prog_STRIP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2485 if test -n "$STRIP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2487 $as_echo "$STRIP" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2488 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2490 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2491 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2492
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2493
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2494 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2495 if test -z "$ac_cv_prog_STRIP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2496 ac_ct_STRIP=$STRIP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2497 # Extract the first word of "strip", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2498 set dummy strip; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2500 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2501 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2502 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2503 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2504 if test -n "$ac_ct_STRIP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2505 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2506 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2508 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2509 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2510 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2511 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2512 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2514 ac_cv_prog_ac_ct_STRIP="strip"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2516 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2517 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2518 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2519 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2520 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2521
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2522 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2523 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2524 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2525 if test -n "$ac_ct_STRIP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2527 $as_echo "$ac_ct_STRIP" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2528 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2530 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2531 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2532
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2533 if test "x$ac_ct_STRIP" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2534 STRIP=":"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2535 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2536 case $cross_compiling:$ac_tool_warned in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2537 yes:)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2540 ac_tool_warned=yes ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2541 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2542 STRIP=$ac_ct_STRIP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2543 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2544 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2545 STRIP="$ac_cv_prog_STRIP"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2546 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2547
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2548 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2549 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2550
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2552 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2553 if test -z "$MKDIR_P"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2554 if ${ac_cv_path_mkdir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2555 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2556 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2558 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2559 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2560 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2561 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2562 for ac_prog in mkdir gmkdir; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2563 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2564 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2565 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2566 'mkdir (GNU coreutils) '* | \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2567 'mkdir (coreutils) '* | \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2568 'mkdir (fileutils) '4.1*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2569 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2570 break 3;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2571 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2572 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2573 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2574 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2575 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2576
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2577 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2578
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2579 test -d ./--version && rmdir ./--version
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2580 if test "${ac_cv_path_mkdir+set}" = set; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2581 MKDIR_P="$ac_cv_path_mkdir -p"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2582 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2583 # As a last resort, use the slow shell script. Don't cache a
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2584 # value for MKDIR_P within a source directory, because that will
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2585 # break other packages using the cache if that directory is
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2586 # removed, or if the value is a relative name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2587 MKDIR_P="$ac_install_sh -d"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2588 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2589 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2591 $as_echo "$MKDIR_P" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2592
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2593 for ac_prog in gawk mawk nawk awk
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2594 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2595 # Extract the first word of "$ac_prog", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2596 set dummy $ac_prog; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2598 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2599 if ${ac_cv_prog_AWK+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2600 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2601 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2602 if test -n "$AWK"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2603 ac_cv_prog_AWK="$AWK" # Let the user override the test.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2604 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2606 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2607 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2608 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2609 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2610 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2612 ac_cv_prog_AWK="$ac_prog"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2614 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2615 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2616 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2617 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2618 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2619
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2620 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2621 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2622 AWK=$ac_cv_prog_AWK
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2623 if test -n "$AWK"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2625 $as_echo "$AWK" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2626 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2628 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2629 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2630
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2631
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2632 test -n "$AWK" && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2633 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2634
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2636 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2637 set x ${MAKE-make}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2638 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2639 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2640 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2641 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2642 cat >conftest.make <<\_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2643 SHELL = /bin/sh
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2644 all:
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2645 @echo '@@@%%%=$(MAKE)=@@@%%%'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2646 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2647 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2648 case `${MAKE-make} -f conftest.make 2>/dev/null` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2649 *@@@%%%=?*=@@@%%%*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2650 eval ac_cv_prog_make_${ac_make}_set=yes;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2651 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2652 eval ac_cv_prog_make_${ac_make}_set=no;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2653 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2654 rm -f conftest.make
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2655 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2656 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2658 $as_echo "yes" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2659 SET_MAKE=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2660 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2662 $as_echo "no" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2663 SET_MAKE="MAKE=${MAKE-make}"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2664 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2665
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2666 rm -rf .tst 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2667 mkdir .tst 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2668 if test -d .tst; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2669 am__leading_dot=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2670 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2671 am__leading_dot=_
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2672 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2673 rmdir .tst 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2674
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2675 # Check whether --enable-silent-rules was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2676 if test "${enable_silent_rules+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2677 enableval=$enable_silent_rules;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2678 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2679
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2680 case $enable_silent_rules in # (((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2681 yes) AM_DEFAULT_VERBOSITY=0;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2682 no) AM_DEFAULT_VERBOSITY=1;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2683 *) AM_DEFAULT_VERBOSITY=1;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2684 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2685 am_make=${MAKE-make}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2687 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2688 if ${am_cv_make_support_nested_variables+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2689 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2690 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2691 if $as_echo 'TRUE=$(BAR$(V))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2692 BAR0=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2693 BAR1=true
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2694 V=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2695 am__doit:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2696 @$(TRUE)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2697 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2698 am_cv_make_support_nested_variables=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2699 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2700 am_cv_make_support_nested_variables=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2701 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2702 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2704 $as_echo "$am_cv_make_support_nested_variables" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2705 if test $am_cv_make_support_nested_variables = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2706 AM_V='$(V)'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2707 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2708 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2709 AM_V=$AM_DEFAULT_VERBOSITY
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2710 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2711 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2712 AM_BACKSLASH='\'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2713
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2714 if test "`cd $srcdir && pwd`" != "`pwd`"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2715 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2716 # is not polluted with repeated "-I."
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2717 am__isrc=' -I$(srcdir)'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2718 # test to see if srcdir already configured
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2719 if test -f $srcdir/config.status; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2720 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2721 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2722 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2723
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2724 # test whether we have cygpath
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2725 if test -z "$CYGPATH_W"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2726 if (cygpath --version) >/dev/null 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2727 CYGPATH_W='cygpath -w'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2728 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2729 CYGPATH_W=echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2730 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2731 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2732
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2733
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2734 # Define the identity of the package.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2735
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2736 PACKAGE=$PACKAGE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2737 VERSION=$VERSION
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2738
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2739
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2740 cat >>confdefs.h <<_ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2741 #define PACKAGE "$PACKAGE"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2742 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2743
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2744
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2745 cat >>confdefs.h <<_ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2746 #define VERSION "$VERSION"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2747 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2748
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2749 # Some tools Automake needs.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2750
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2751 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2752
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2753
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2754 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2755
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2756
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2757 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2758
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2759
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2760 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2761
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2762
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2763 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2764
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2765 # For better backward compatibility. To be removed once Automake 1.9.x
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2766 # dies out for good. For more background, see:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2767 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2768 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2769 mkdir_p='$(MKDIR_P)'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2770
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2771 # We need awk for the "check" target. The system "awk" is bad on
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2772 # some platforms.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2773 # Always define AMTAR for backward compatibility. Yes, it's still used
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2774 # in the wild :-( We should find a proper way to deprecate it ...
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2775 AMTAR='$${TAR-tar}'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2776
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2777
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2778 # We'll loop over all known methods to create a tar archive until one works.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2779 _am_tools='gnutar pax cpio none'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2780
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2781 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2782
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2783
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2784
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2785
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2786
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2787
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2788
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2789
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2790 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2791
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2792
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2793 ac_ext=c
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2794 ac_cpp='$CPP $CPPFLAGS'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2798
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2799
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2800
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2801
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2802 ac_ext=c
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2803 ac_cpp='$CPP $CPPFLAGS'
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2807 if test -n "$ac_tool_prefix"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2808 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2809 set dummy ${ac_tool_prefix}gcc; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2811 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2812 if ${ac_cv_prog_CC+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2813 $as_echo_n "(cached) " >&6
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2814 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2815 if test -n "$CC"; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2816 ac_cv_prog_CC="$CC" # Let the user override the test.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2817 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2819 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2820 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2821 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2822 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2823 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2825 ac_cv_prog_CC="${ac_tool_prefix}gcc"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2827 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2828 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2829 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2830 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2831 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2832
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2833 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2834 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2835 CC=$ac_cv_prog_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2836 if test -n "$CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2838 $as_echo "$CC" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2839 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2841 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2842 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2843
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2844
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2845 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2846 if test -z "$ac_cv_prog_CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2847 ac_ct_CC=$CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2848 # Extract the first word of "gcc", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2849 set dummy gcc; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2851 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2852 if ${ac_cv_prog_ac_ct_CC+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2853 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2854 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2855 if test -n "$ac_ct_CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2857 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2859 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2860 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2861 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2862 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2863 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2865 ac_cv_prog_ac_ct_CC="gcc"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2867 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2868 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2869 done
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2870 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2871 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2872
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2873 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2874 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2876 if test -n "$ac_ct_CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2878 $as_echo "$ac_ct_CC" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2879 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2881 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2882 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2883
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2884 if test "x$ac_ct_CC" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2885 CC=""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2886 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2887 case $cross_compiling:$ac_tool_warned in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2888 yes:)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2891 ac_tool_warned=yes ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2892 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2893 CC=$ac_ct_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2894 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2895 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2896 CC="$ac_cv_prog_CC"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2897 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2898
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2899 if test -z "$CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2900 if test -n "$ac_tool_prefix"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2901 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2902 set dummy ${ac_tool_prefix}cc; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2904 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2905 if ${ac_cv_prog_CC+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2906 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2907 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2908 if test -n "$CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2909 ac_cv_prog_CC="$CC" # Let the user override the test.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2910 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2912 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2913 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2914 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2915 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2916 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2918 ac_cv_prog_CC="${ac_tool_prefix}cc"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2920 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2921 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2922 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2923 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2924 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2925
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2926 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2927 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2928 CC=$ac_cv_prog_CC
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2929 if test -n "$CC"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2931 $as_echo "$CC" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2932 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2934 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2935 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2936
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2937
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2938 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2939 fi
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2940 if test -z "$CC"; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2941 # Extract the first word of "cc", so it can be a program name with args.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2942 set dummy cc; ac_word=$2
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2944 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2945 if ${ac_cv_prog_CC+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2946 $as_echo_n "(cached) " >&6
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2947 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2948 if test -n "$CC"; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2949 ac_cv_prog_CC="$CC" # Let the user override the test.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2950 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2951 ac_prog_rejected=no
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2953 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2954 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2955 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2956 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2957 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2959 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2960 ac_prog_rejected=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2961 continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2962 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2963 ac_cv_prog_CC="cc"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2965 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2966 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2967 done
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2968 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2969 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2970
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2971 if test $ac_prog_rejected = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2972 # We found a bogon in the path, so make sure we never use it.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2973 set dummy $ac_cv_prog_CC
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2974 shift
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2975 if test $# != 0; then
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2976 # We chose a different compiler from the bogus one.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2977 # However, it has the same basename, so the bogon will be chosen
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2978 # first if we set CC to just the basename; use the full file name.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2979 shift
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2980 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2981 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2982 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2983 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2984 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2985 CC=$ac_cv_prog_CC
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
2986 if test -n "$CC"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2988 $as_echo "$CC" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2989 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2991 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2992 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2993
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2994
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2995 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2996 if test -z "$CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2997 if test -n "$ac_tool_prefix"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2998 for ac_prog in cl.exe
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
2999 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3003 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3004 if ${ac_cv_prog_CC+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3005 $as_echo_n "(cached) " >&6
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3006 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3007 if test -n "$CC"; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3008 ac_cv_prog_CC="$CC" # Let the user override the test.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3009 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3011 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3012 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3013 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3014 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3015 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3017 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3019 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3020 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3021 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3022 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3023 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3024
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3025 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3026 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3027 CC=$ac_cv_prog_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3028 if test -n "$CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3030 $as_echo "$CC" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3031 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3033 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3034 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3035
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3036
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3037 test -n "$CC" && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3038 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3039 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3040 if test -z "$CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3041 ac_ct_CC=$CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3042 for ac_prog in cl.exe
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3043 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3044 # Extract the first word of "$ac_prog", so it can be a program name with args.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3045 set dummy $ac_prog; ac_word=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3047 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3048 if ${ac_cv_prog_ac_ct_CC+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3049 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3050 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3051 if test -n "$ac_ct_CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3052 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3053 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3055 for as_dir in $PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3056 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3057 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3058 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3059 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3061 ac_cv_prog_ac_ct_CC="$ac_prog"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3063 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3064 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3065 done
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3066 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3067 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3068
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3069 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3070 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3072 if test -n "$ac_ct_CC"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3074 $as_echo "$ac_ct_CC" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3075 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3077 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3078 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3079
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3080
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3081 test -n "$ac_ct_CC" && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3082 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3083
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3084 if test "x$ac_ct_CC" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3085 CC=""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3086 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3087 case $cross_compiling:$ac_tool_warned in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3088 yes:)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3091 ac_tool_warned=yes ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3092 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3093 CC=$ac_ct_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3094 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3095 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3096
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3097 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3098
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3099
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3100 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3102 as_fn_error $? "no acceptable C compiler found in \$PATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3103 See \`config.log' for more details" "$LINENO" 5; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3104
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3105 # Provide some information about the compiler.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3106 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3107 set X $ac_compile
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3108 ac_compiler=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3109 for ac_option in --version -v -V -qversion; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3110 { { ac_try="$ac_compiler $ac_option >&5"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3111 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3113 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3114 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3116 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3117 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3118 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3119 if test -s conftest.err; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3120 sed '10a\
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3121 ... rest of stderr output deleted ...
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3122 10q' conftest.err >conftest.er1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3123 cat conftest.er1 >&5
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3124 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3125 rm -f conftest.er1 conftest.err
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3127 test $ac_status = 0; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3128 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3129
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3131 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3132
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3133 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3134 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3135 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3136
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3137 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3138 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3139 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3140 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3141 ac_clean_files_save=$ac_clean_files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3142 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3143 # Try to create an executable without -o first, disregard a.out.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3144 # It will help us diagnose broken compilers, and finding out an intuition
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3145 # of exeext.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3147 $as_echo_n "checking whether the C compiler works... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3148 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3149
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3150 # The possible output files:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3151 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3152
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3153 ac_rmfiles=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3154 for ac_file in $ac_files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3155 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3156 case $ac_file in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3158 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3159 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3160 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3161 rm -f $ac_rmfiles
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3162
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3163 if { { ac_try="$ac_link_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3164 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3166 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3167 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3169 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3170 (eval "$ac_link_default") 2>&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3171 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3173 test $ac_status = 0; }; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3174 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3175 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3176 # in a Makefile. We should not override ac_cv_exeext if it was cached,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3177 # so that the user can short-circuit this test for compilers unknown to
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3178 # Autoconf.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3179 for ac_file in $ac_files ''
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3180 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3181 test -f "$ac_file" || continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3182 case $ac_file in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3184 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3185 [ab].out )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3186 # We found the default executable, but exeext='' is most
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3187 # certainly right.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3188 break;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3189 *.* )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3190 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3191 then :; else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3192 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3193 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3194 # We set ac_cv_exeext here because the later test for it is not
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3195 # safe: cross compilers may not add the suffix if given an `-o'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3196 # argument, so we may need to know it at that point already.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3197 # Even if this section looks crufty: it has the advantage of
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3198 # actually working.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3199 break;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3200 * )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3201 break;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3202 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3203 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3204 test "$ac_cv_exeext" = no && ac_cv_exeext=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3205
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3206 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3207 ac_file=''
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3208 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3209 if test -z "$ac_file"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3211 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3212 $as_echo "$as_me: failed program was:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3213 sed 's/^/| /' conftest.$ac_ext >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3214
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3217 as_fn_error 77 "C compiler cannot create executables
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3218 See \`config.log' for more details" "$LINENO" 5; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3219 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3221 $as_echo "yes" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3222 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3224 $as_echo_n "checking for C compiler default output file name... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3226 $as_echo "$ac_file" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3227 ac_exeext=$ac_cv_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3228
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3229 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3230 ac_clean_files=$ac_clean_files_save
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3232 $as_echo_n "checking for suffix of executables... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3233 if { { ac_try="$ac_link"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3234 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3236 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3237 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3239 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3240 (eval "$ac_link") 2>&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3241 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3243 test $ac_status = 0; }; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3244 # If both `conftest.exe' and `conftest' are `present' (well, observable)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3245 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3246 # work properly (i.e., refer to `conftest.exe'), while it won't with
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3247 # `rm'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3248 for ac_file in conftest.exe conftest conftest.*; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3249 test -f "$ac_file" || continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3250 case $ac_file in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3252 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3253 break;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3254 * ) break;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3255 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3256 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3257 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3260 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3261 See \`config.log' for more details" "$LINENO" 5; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3262 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3263 rm -f conftest conftest$ac_cv_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3265 $as_echo "$ac_cv_exeext" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3266
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3267 rm -f conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3268 EXEEXT=$ac_cv_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3269 ac_exeext=$EXEEXT
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3271 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3272 #include <stdio.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3273 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3274 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3275 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3276 FILE *f = fopen ("conftest.out", "w");
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3277 return ferror (f) || fclose (f) != 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3278
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3279 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3280 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3281 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3282 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3283 ac_clean_files="$ac_clean_files conftest.out"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3284 # Check that the compiler produces executables we can run. If not, either
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3285 # the compiler is broken, or we cross compile.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3287 $as_echo_n "checking whether we are cross compiling... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3288 if test "$cross_compiling" != yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3289 { { ac_try="$ac_link"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3290 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3292 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3293 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3295 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3296 (eval "$ac_link") 2>&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3297 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3299 test $ac_status = 0; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3300 if { ac_try='./conftest$ac_cv_exeext'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3301 { { case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3303 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3304 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3306 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3307 (eval "$ac_try") 2>&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3308 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3310 test $ac_status = 0; }; }; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3311 cross_compiling=no
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3312 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3313 if test "$cross_compiling" = maybe; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3314 cross_compiling=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3315 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3318 as_fn_error $? "cannot run C compiled programs.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3319 If you meant to cross compile, use \`--host'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3320 See \`config.log' for more details" "$LINENO" 5; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3321 fi
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3322 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3323 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3325 $as_echo "$cross_compiling" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3326
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3327 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3328 ac_clean_files=$ac_clean_files_save
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3330 $as_echo_n "checking for suffix of object files... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3331 if ${ac_cv_objext+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3332 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3333 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3335 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3336
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3337 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3338 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3339 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3340
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3341 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3342 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3343 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3344 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3345 rm -f conftest.o conftest.obj
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3346 if { { ac_try="$ac_compile"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3347 case "(($ac_try" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3349 *) ac_try_echo=$ac_try;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3350 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3352 $as_echo "$ac_try_echo"; } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3353 (eval "$ac_compile") 2>&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3354 ac_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3356 test $ac_status = 0; }; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3357 for ac_file in conftest.o conftest.obj conftest.*; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3358 test -f "$ac_file" || continue;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3359 case $ac_file in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3361 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3362 break;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3363 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3364 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3365 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3366 $as_echo "$as_me: failed program was:" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3367 sed 's/^/| /' conftest.$ac_ext >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3368
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3371 as_fn_error $? "cannot compute suffix of object files: cannot compile
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3372 See \`config.log' for more details" "$LINENO" 5; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3373 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3374 rm -f conftest.$ac_cv_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3375 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3377 $as_echo "$ac_cv_objext" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3378 OBJEXT=$ac_cv_objext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3379 ac_objext=$OBJEXT
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3381 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3382 if ${ac_cv_c_compiler_gnu+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3383 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3384 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3386 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3387
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3388 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3389 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3390 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3391 #ifndef __GNUC__
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3392 choke me
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3393 #endif
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3394
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3395 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3396 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3397 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3398 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3399 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3400 ac_compiler_gnu=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3401 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3402 ac_compiler_gnu=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3403 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3405 ac_cv_c_compiler_gnu=$ac_compiler_gnu
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3406
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3407 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3409 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3410 if test $ac_compiler_gnu = yes; then
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3411 GCC=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3412 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3413 GCC=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3414 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3415 ac_test_CFLAGS=${CFLAGS+set}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3416 ac_save_CFLAGS=$CFLAGS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3418 $as_echo_n "checking whether $CC accepts -g... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3419 if ${ac_cv_prog_cc_g+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3420 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3421 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3422 ac_save_c_werror_flag=$ac_c_werror_flag
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3423 ac_c_werror_flag=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3424 ac_cv_prog_cc_g=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3425 CFLAGS="-g"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3427 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3428
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3429 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3430 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3431 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3432
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3433 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3434 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3435 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3436 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3437 if ac_fn_c_try_compile "$LINENO"; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3438 ac_cv_prog_cc_g=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3439 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3440 CFLAGS=""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3442 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3443
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3444 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3445 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3446 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3447
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3448 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3449 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3450 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3451 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3452 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3453
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3454 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3455 ac_c_werror_flag=$ac_save_c_werror_flag
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3456 CFLAGS="-g"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3458 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3459
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3460 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3461 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3462 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3463
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3464 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3465 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3466 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3467 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3468 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3469 ac_cv_prog_cc_g=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3470 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3472 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3474 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3476 ac_c_werror_flag=$ac_save_c_werror_flag
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3477 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3479 $as_echo "$ac_cv_prog_cc_g" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3480 if test "$ac_test_CFLAGS" = set; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3481 CFLAGS=$ac_save_CFLAGS
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3482 elif test $ac_cv_prog_cc_g = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3483 if test "$GCC" = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3484 CFLAGS="-g -O2"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3485 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3486 CFLAGS="-g"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3487 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3488 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3489 if test "$GCC" = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3490 CFLAGS="-O2"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3491 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3492 CFLAGS=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3493 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3494 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3496 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3497 if ${ac_cv_prog_cc_c89+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3498 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3499 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3500 ac_cv_prog_cc_c89=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3501 ac_save_CC=$CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3503 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3504 #include <stdarg.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3505 #include <stdio.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3506 struct stat;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3507 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3508 struct buf { int x; };
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3509 FILE * (*rcsopen) (struct buf *, struct stat *, int);
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3510 static char *e (p, i)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3511 char **p;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3512 int i;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3513 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3514 return p[i];
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3515 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3516 static char *f (char * (*g) (char **, int), char **p, ...)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3517 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3518 char *s;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3519 va_list v;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3520 va_start (v,p);
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3521 s = g (p, va_arg (v,int));
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3522 va_end (v);
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3523 return s;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3524 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3525
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3526 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3527 function prototypes and stuff, but not '\xHH' hex character constants.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3528 These don't provoke an error unfortunately, instead are silently treated
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3529 as 'x'. The following induces an error, until -std is added to get
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3530 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3531 array size at least. It's necessary to write '\x00'==0 to get something
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3532 that's true only with -std. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3533 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3534
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3535 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3536 inside strings and character constants. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3537 #define FOO(x) 'x'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3538 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3539
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3540 int test (int i, double x);
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3541 struct s1 {int (*f) (int a);};
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3542 struct s2 {int (*f) (double a);};
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3543 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3544 int argc;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3545 char **argv;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3546 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3547 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3548 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3549 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3550 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3551 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3552 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3553 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3554 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3555 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3556 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3557 CC="$ac_save_CC $ac_arg"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3558 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3559 ac_cv_prog_cc_c89=$ac_arg
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3560 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3561 rm -f core conftest.err conftest.$ac_objext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3562 test "x$ac_cv_prog_cc_c89" != "xno" && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3563 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3564 rm -f conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3565 CC=$ac_save_CC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3566
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3567 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3568 # AC_CACHE_VAL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3569 case "x$ac_cv_prog_cc_c89" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3570 x)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3572 $as_echo "none needed" >&6; } ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3573 xno)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3575 $as_echo "unsupported" >&6; } ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3576 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3577 CC="$CC $ac_cv_prog_cc_c89"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3579 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3580 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3581 if test "x$ac_cv_prog_cc_c89" != xno; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3582
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3583 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3584
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3585 ac_ext=c
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3586 ac_cpp='$CPP $CPPFLAGS'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3590 DEPDIR="${am__leading_dot}deps"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3591
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3592 ac_config_commands="$ac_config_commands depfiles"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3593
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3594
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3595 am_make=${MAKE-make}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3596 cat > confinc << 'END'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3597 am__doit:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3598 @echo this is the am__doit target
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3599 .PHONY: am__doit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3600 END
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3601 # If we don't find an include directive, just comment out the code.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3603 $as_echo_n "checking for style of include used by $am_make... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3604 am__include="#"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3605 am__quote=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3606 _am_result=none
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3607 # First try GNU make style include.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3608 echo "include confinc" > confmf
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3609 # Ignore all kinds of additional output from 'make'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3610 case `$am_make -s -f confmf 2> /dev/null` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3611 *the\ am__doit\ target*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3612 am__include=include
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3613 am__quote=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3614 _am_result=GNU
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3615 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3616 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3617 # Now try BSD make style include.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3618 if test "$am__include" = "#"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3619 echo '.include "confinc"' > confmf
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3620 case `$am_make -s -f confmf 2> /dev/null` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3621 *the\ am__doit\ target*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3622 am__include=.include
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3623 am__quote="\""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3624 _am_result=BSD
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3625 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3626 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3627 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3628
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3629
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3631 $as_echo "$_am_result" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3632 rm -f confinc confmf
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3633
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3634 # Check whether --enable-dependency-tracking was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3635 if test "${enable_dependency_tracking+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3636 enableval=$enable_dependency_tracking;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3637 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3638
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3639 if test "x$enable_dependency_tracking" != xno; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3640 am_depcomp="$ac_aux_dir/depcomp"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3641 AMDEPBACKSLASH='\'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3642 am__nodep='_no'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3643 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3644 if test "x$enable_dependency_tracking" != xno; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3645 AMDEP_TRUE=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3646 AMDEP_FALSE='#'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3647 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3648 AMDEP_TRUE='#'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3649 AMDEP_FALSE=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3650 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3651
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3652
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3653
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3654 depcc="$CC" am_compiler_list=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3655
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3657 $as_echo_n "checking dependency style of $depcc... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3658 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3659 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3660 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3661 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3662 # We make a subdir and do the tests there. Otherwise we can end up
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3663 # making bogus files that we don't know about and never remove. For
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3664 # instance it was reported that on HP-UX the gcc test will end up
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3665 # making a dummy file named 'D' -- because '-MD' means "put the output
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3666 # in D".
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3667 rm -rf conftest.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3668 mkdir conftest.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3669 # Copy depcomp to subdir because otherwise we won't find it if we're
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3670 # using a relative directory.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3671 cp "$am_depcomp" conftest.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3672 cd conftest.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3673 # We will build objects and dependencies in a subdirectory because
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3674 # it helps to detect inapplicable dependency modes. For instance
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3675 # both Tru64's cc and ICC support -MD to output dependencies as a
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3676 # side effect of compilation, but ICC will put the dependencies in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3677 # the current directory while Tru64 will put them in the object
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3678 # directory.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3679 mkdir sub
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3680
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3681 am_cv_CC_dependencies_compiler_type=none
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3682 if test "$am_compiler_list" = ""; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3683 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3684 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3685 am__universal=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3686 case " $depcc " in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3687 *\ -arch\ *\ -arch\ *) am__universal=true ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3688 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3689
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3690 for depmode in $am_compiler_list; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3691 # Setup a source with many dependencies, because some compilers
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3692 # like to wrap large dependency lists on column 80 (with \), and
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3693 # we should not choose a depcomp mode which is confused by this.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3694 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3695 # We need to recreate these files for each test, as the compiler may
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3696 # overwrite some of them when testing with obscure command lines.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3697 # This happens at least with the AIX C compiler.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3698 : > sub/conftest.c
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3699 for i in 1 2 3 4 5 6; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3700 echo '#include "conftst'$i'.h"' >> sub/conftest.c
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3701 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3702 # Solaris 10 /bin/sh.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3703 echo '/* dummy */' > sub/conftst$i.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3704 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3705 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3706
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3707 # We check with '-c' and '-o' for the sake of the "dashmstdout"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3708 # mode. It turns out that the SunPro C++ compiler does not properly
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3709 # handle '-M -o', and we need to detect this. Also, some Intel
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3710 # versions had trouble with output in subdirs.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3711 am__obj=sub/conftest.${OBJEXT-o}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3712 am__minus_obj="-o $am__obj"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3713 case $depmode in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3714 gcc)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3715 # This depmode causes a compiler race in universal mode.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3716 test "$am__universal" = false || continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3717 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3718 nosideeffect)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3719 # After this tag, mechanisms are not by side-effect, so they'll
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3720 # only be used when explicitly requested.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3721 if test "x$enable_dependency_tracking" = xyes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3722 continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3723 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3724 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3725 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3726 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3727 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3728 # This compiler won't grok '-c -o', but also, the minuso test has
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3729 # not run yet. These depmodes are late enough in the game, and
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3730 # so weak that their functioning should not be impacted.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3731 am__obj=conftest.${OBJEXT-o}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3732 am__minus_obj=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3733 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3734 none) break ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3735 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3736 if depmode=$depmode \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3737 source=sub/conftest.c object=$am__obj \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3738 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3739 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3740 >/dev/null 2>conftest.err &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3741 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3742 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3743 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3744 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3745 # icc doesn't choke on unknown options, it will just issue warnings
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3746 # or remarks (even with -Werror). So we grep stderr for any message
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3747 # that says an option was ignored or not supported.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3748 # When given -MP, icc 7.0 and 7.1 complain thusly:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3749 # icc: Command line warning: ignoring option '-M'; no argument required
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3750 # The diagnosis changed in icc 8.0:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3751 # icc: Command line remark: option '-MP' not supported
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3752 if (grep 'ignoring option' conftest.err ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3753 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3754 am_cv_CC_dependencies_compiler_type=$depmode
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3755 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3756 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3757 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3758 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3759
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3760 cd ..
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3761 rm -rf conftest.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3762 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3763 am_cv_CC_dependencies_compiler_type=none
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3764 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3765
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3766 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3768 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3769 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3770
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3771 if
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3772 test "x$enable_dependency_tracking" != xno \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3773 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3774 am__fastdepCC_TRUE=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3775 am__fastdepCC_FALSE='#'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3776 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3777 am__fastdepCC_TRUE='#'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3778 am__fastdepCC_FALSE=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3779 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3780
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3781
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3782
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3783 ac_ext=c
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3784 ac_cpp='$CPP $CPPFLAGS'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3789 $as_echo_n "checking how to run the C preprocessor... " >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3790 # On Suns, sometimes $CPP names a directory.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3791 if test -n "$CPP" && test -d "$CPP"; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3792 CPP=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3793 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3794 if test -z "$CPP"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3795 if ${ac_cv_prog_CPP+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3796 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3797 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3798 # Double quotes because CPP needs to be expanded
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3799 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3800 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3801 ac_preproc_ok=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3802 for ac_c_preproc_warn_flag in '' yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3803 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3804 # Use a header file that comes with gcc, so configuring glibc
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3805 # with a fresh cross-compiler works.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3807 # <limits.h> exists even on freestanding compilers.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3808 # On the NeXT, cc -E runs the code through the compiler's parser,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3809 # not just through cpp. "Syntax error" is here to catch this case.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3811 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3812 #ifdef __STDC__
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3813 # include <limits.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3814 #else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3815 # include <assert.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3816 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3817 Syntax error
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3818 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3819 if ac_fn_c_try_cpp "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3820
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3821 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3822 # Broken: fails on valid input.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3823 continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3824 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3825 rm -f conftest.err conftest.i conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3826
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3827 # OK, works on sane cases. Now check whether nonexistent headers
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3828 # can be detected and how.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3830 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3831 #include <ac_nonexistent.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3832 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3833 if ac_fn_c_try_cpp "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3834 # Broken: success on invalid input.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3835 continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3836 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3837 # Passes both tests.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3838 ac_preproc_ok=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3839 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3840 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3841 rm -f conftest.err conftest.i conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3842
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3843 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3845 rm -f conftest.i conftest.err conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3846 if $ac_preproc_ok; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3847 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3848 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3849
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3850 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3851 ac_cv_prog_CPP=$CPP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3852
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3853 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3854 CPP=$ac_cv_prog_CPP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3855 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3856 ac_cv_prog_CPP=$CPP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3857 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3859 $as_echo "$CPP" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3860 ac_preproc_ok=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3861 for ac_c_preproc_warn_flag in '' yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3862 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3863 # Use a header file that comes with gcc, so configuring glibc
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3864 # with a fresh cross-compiler works.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3866 # <limits.h> exists even on freestanding compilers.
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
3867 # On the NeXT, cc -E runs the code through the compiler's parser,
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3868 # not just through cpp. "Syntax error" is here to catch this case.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3870 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3871 #ifdef __STDC__
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3872 # include <limits.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3873 #else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3874 # include <assert.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3875 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3876 Syntax error
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3877 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3878 if ac_fn_c_try_cpp "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3879
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3880 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3881 # Broken: fails on valid input.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3882 continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3883 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3884 rm -f conftest.err conftest.i conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3885
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3886 # OK, works on sane cases. Now check whether nonexistent headers
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3887 # can be detected and how.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3889 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3890 #include <ac_nonexistent.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3891 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3892 if ac_fn_c_try_cpp "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3893 # Broken: success on invalid input.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3894 continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3895 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3896 # Passes both tests.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3897 ac_preproc_ok=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3898 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3899 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3900 rm -f conftest.err conftest.i conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3901
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3902 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3904 rm -f conftest.i conftest.err conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3905 if $ac_preproc_ok; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3906
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3907 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3910 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3911 See \`config.log' for more details" "$LINENO" 5; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3912 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3913
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3914 ac_ext=c
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3915 ac_cpp='$CPP $CPPFLAGS'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3919
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3920
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3922 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3923 if ${ac_cv_path_GREP+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3924 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3925 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3926 if test -z "$GREP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3927 ac_path_GREP_found=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3928 # Loop through the user's path and test for each of PROGNAME-LIST
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3931 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3932 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3933 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3934 for ac_prog in grep ggrep; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3935 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3937 as_fn_executable_p "$ac_path_GREP" || continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3938 # Check for GNU ac_path_GREP and select it if it is found.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3939 # Check for GNU $ac_path_GREP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3940 case `"$ac_path_GREP" --version 2>&1` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3941 *GNU*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3943 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3944 ac_count=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3945 $as_echo_n 0123456789 >"conftest.in"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3946 while :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3947 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3948 cat "conftest.in" "conftest.in" >"conftest.tmp"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3949 mv "conftest.tmp" "conftest.in"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3950 cp "conftest.in" "conftest.nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3951 $as_echo 'GREP' >> "conftest.nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3954 as_fn_arith $ac_count + 1 && ac_count=$as_val
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3956 # Best one so far, save it but keep looking for a better one
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3957 ac_cv_path_GREP="$ac_path_GREP"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3958 ac_path_GREP_max=$ac_count
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3959 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3960 # 10*(2^10) chars as input seems more than enough
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3961 test $ac_count -gt 10 && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3962 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3964 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3965
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3966 $ac_path_GREP_found && break 3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3967 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3968 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3969 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3970 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3971 if test -z "$ac_cv_path_GREP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3972 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3973 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3974 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3975 ac_cv_path_GREP=$GREP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3976 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3977
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3978 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3980 $as_echo "$ac_cv_path_GREP" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3981 GREP="$ac_cv_path_GREP"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3982
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3983
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3985 $as_echo_n "checking for egrep... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3986 if ${ac_cv_path_EGREP+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3987 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3988 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3989 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3990 then ac_cv_path_EGREP="$GREP -E"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3991 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3992 if test -z "$EGREP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3993 ac_path_EGREP_found=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3994 # Loop through the user's path and test for each of PROGNAME-LIST
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3996 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3997 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3998 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
3999 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4000 for ac_prog in egrep; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4001 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4002 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4003 as_fn_executable_p "$ac_path_EGREP" || continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4004 # Check for GNU ac_path_EGREP and select it if it is found.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4005 # Check for GNU $ac_path_EGREP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4006 case `"$ac_path_EGREP" --version 2>&1` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4007 *GNU*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4008 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4009 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4010 ac_count=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4011 $as_echo_n 0123456789 >"conftest.in"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4012 while :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4013 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4014 cat "conftest.in" "conftest.in" >"conftest.tmp"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4015 mv "conftest.tmp" "conftest.in"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4016 cp "conftest.in" "conftest.nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4017 $as_echo 'EGREP' >> "conftest.nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4018 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4020 as_fn_arith $ac_count + 1 && ac_count=$as_val
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4021 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4022 # Best one so far, save it but keep looking for a better one
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4023 ac_cv_path_EGREP="$ac_path_EGREP"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4024 ac_path_EGREP_max=$ac_count
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4025 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4026 # 10*(2^10) chars as input seems more than enough
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4027 test $ac_count -gt 10 && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4028 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4030 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4031
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4032 $ac_path_EGREP_found && break 3
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4033 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4034 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4035 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4036 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4037 if test -z "$ac_cv_path_EGREP"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4038 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4039 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4040 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4041 ac_cv_path_EGREP=$EGREP
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4042 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4043
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4044 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4045 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4047 $as_echo "$ac_cv_path_EGREP" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4048 EGREP="$ac_cv_path_EGREP"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4049
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4050
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4051 if test $ac_cv_c_compiler_gnu = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4053 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4054 if ${ac_cv_prog_gcc_traditional+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4055 $as_echo_n "(cached) " >&6
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4056 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4057 ac_pattern="Autoconf.*'x'"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4059 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4060 #include <sgtty.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4061 Autoconf TIOCGETP
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4062 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4064 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4065 ac_cv_prog_gcc_traditional=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4066 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4067 ac_cv_prog_gcc_traditional=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4068 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4069 rm -f conftest*
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4070
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4071
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4072 if test $ac_cv_prog_gcc_traditional = no; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4074 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4075 #include <termio.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4076 Autoconf TCGETA
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4077 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4079 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4080 ac_cv_prog_gcc_traditional=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4081 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4082 rm -f conftest*
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4083
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4084 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4085 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4087 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4088 if test $ac_cv_prog_gcc_traditional = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4089 CC="$CC -traditional"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4090 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4091 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4092
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4093
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4095 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4096 set x ${MAKE-make}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4097 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4098 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4099 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4100 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4101 cat >conftest.make <<\_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4102 SHELL = /bin/sh
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4103 all:
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4104 @echo '@@@%%%=$(MAKE)=@@@%%%'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4105 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4106 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4107 case `${MAKE-make} -f conftest.make 2>/dev/null` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4108 *@@@%%%=?*=@@@%%%*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4109 eval ac_cv_prog_make_${ac_make}_set=yes;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4110 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4111 eval ac_cv_prog_make_${ac_make}_set=no;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4112 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4113 rm -f conftest.make
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4114 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4115 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4117 $as_echo "yes" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4118 SET_MAKE=
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4119 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4121 $as_echo "no" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4122 SET_MAKE="MAKE=${MAKE-make}"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4123 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4124
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4125
146
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4126 # Extract the first word of "sendmail", so it can be a program name with args.
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4127 set dummy sendmail; ac_word=$2
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4129 $as_echo_n "checking for $ac_word... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4130 if ${ac_cv_path_SENDMAILPROG+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4131 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4132 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4133 case $SENDMAILPROG in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4134 [\\/]* | ?:[\\/]*)
146
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4135 ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a path.
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4136 ;;
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4137 *)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4139 as_dummy="/usr/sbin:/usr/lib:$PATH"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4140 for as_dir in $as_dummy
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4141 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4142 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4143 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4144 for ac_exec_ext in '' $ac_executable_extensions; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4146 ac_cv_path_SENDMAILPROG="$as_dir/$ac_word$ac_exec_ext"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4148 break 2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4149 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4150 done
45
32ba1198c6fa [svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents: 43
diff changeset
4151 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4152 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4153
146
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4154 test -z "$ac_cv_path_SENDMAILPROG" && ac_cv_path_SENDMAILPROG="'notfound'"
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4155 ;;
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4156 esac
45
32ba1198c6fa [svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents: 43
diff changeset
4157 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4158 SENDMAILPROG=$ac_cv_path_SENDMAILPROG
146
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4159 if test -n "$SENDMAILPROG"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAILPROG" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4161 $as_echo "$SENDMAILPROG" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4162 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4164 $as_echo "no" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4165 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4166
45
32ba1198c6fa [svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in:
uh1763
parents: 43
diff changeset
4167
146
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
4168 if test "x$SENDMAILPROG" = "xnotfound"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4169 as_fn_error $? "sendmail program not found in /usr/lib:/usr/sbin:$PATH ." "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4170 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4171
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4172
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4174 $as_echo_n "checking for ANSI C header files... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4175 if ${ac_cv_header_stdc+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4176 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4177 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4179 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4180 #include <stdlib.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4181 #include <stdarg.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4182 #include <string.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4183 #include <float.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4184
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4185 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4186 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4187 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4188
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4189 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4190 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4191 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4192 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4193 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4194 ac_cv_header_stdc=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4195 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4196 ac_cv_header_stdc=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4197 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4199
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4200 if test $ac_cv_header_stdc = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4201 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4203 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4204 #include <string.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4205
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4206 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4208 $EGREP "memchr" >/dev/null 2>&1; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4209
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4210 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4211 ac_cv_header_stdc=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4212 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4213 rm -f conftest*
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4214
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4215 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4216
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4217 if test $ac_cv_header_stdc = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4220 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4221 #include <stdlib.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4222
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4223 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4225 $EGREP "free" >/dev/null 2>&1; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4226
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4227 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4228 ac_cv_header_stdc=no
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4229 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4230 rm -f conftest*
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4231
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4232 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4233
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4234 if test $ac_cv_header_stdc = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4235 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4236 if test "$cross_compiling" = yes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4237 :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4238 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4240 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4241 #include <ctype.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4242 #include <stdlib.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4243 #if ((' ' & 0x0FF) == 0x020)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4246 #else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4247 # define ISLOWER(c) \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4248 (('a' <= (c) && (c) <= 'i') \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4249 || ('j' <= (c) && (c) <= 'r') \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4250 || ('s' <= (c) && (c) <= 'z'))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4252 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4253
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4255 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4256 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4257 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4258 int i;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4259 for (i = 0; i < 256; i++)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4260 if (XOR (islower (i), ISLOWER (i))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4261 || toupper (i) != TOUPPER (i))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4262 return 2;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4263 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4264 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4265 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4266 if ac_fn_c_try_run "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4267
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4268 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4269 ac_cv_header_stdc=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4270 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4272 conftest.$ac_objext conftest.beam conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4273 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4274
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4275 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4276 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4278 $as_echo "$ac_cv_header_stdc" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4279 if test $ac_cv_header_stdc = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4280
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4281 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4282
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4283 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4284
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4285 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4286 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4287 inttypes.h stdint.h unistd.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4288 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4291 "
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4293 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4295 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4296
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4297 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4298
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4299 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4300
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4301
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4302
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4303 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4304 if test "x$ac_cv_header_minix_config_h" = xyes; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4305 MINIX=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4306 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4307 MINIX=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4308 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4309
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4310
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4311 if test "$MINIX" = yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4312
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4313 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4314
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4315
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4316 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4317
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4318
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4319 $as_echo "#define _MINIX 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4320
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4321 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4322
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4323
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4325 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4326 if ${ac_cv_safe_to_define___extensions__+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4327 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4328 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4330 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4331
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4332 # define __EXTENSIONS__ 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4333 $ac_includes_default
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4334 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4335 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4336 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4337
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4338 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4339 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4340 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4341 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4342 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4343 ac_cv_safe_to_define___extensions__=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4344 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4345 ac_cv_safe_to_define___extensions__=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4346 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4348 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4350 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4351 test $ac_cv_safe_to_define___extensions__ = yes &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4352 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4353
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4354 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4355
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4356 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4357
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4358 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4359
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4360 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4361
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4362
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4363
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4365 $as_echo_n "checking for library containing strerror... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4366 if ${ac_cv_search_strerror+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4367 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4368 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4369 ac_func_search_save_LIBS=$LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4371 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4372
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4373 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4374 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4375 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4376 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4377 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4378 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4379 char strerror ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4380 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4381 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4382 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4383 return strerror ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4384 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4385 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4386 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4387 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4388 for ac_lib in '' cposix; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4389 if test -z "$ac_lib"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4390 ac_res="none required"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4391 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4392 ac_res=-l$ac_lib
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4393 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4394 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4395 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4396 ac_cv_search_strerror=$ac_res
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4397 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4398 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4399 conftest$ac_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4400 if ${ac_cv_search_strerror+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4401 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4402 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4403 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4404 if ${ac_cv_search_strerror+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4405
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4406 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4407 ac_cv_search_strerror=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4408 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4409 rm conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4410 LIBS=$ac_func_search_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4411 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4413 $as_echo "$ac_cv_search_strerror" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4414 ac_res=$ac_cv_search_strerror
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4415 if test "$ac_res" != no; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4417
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4418 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4419
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4420
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4421
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4422
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4423
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4424 # Whenever both -lsocket and -lnsl are needed, it seems to be always the
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4425 # case that gethostbyname requires -lnsl. So, check -lnsl first, for it
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4426 # to be in LIBS before the setsockopt checks are performed. *However*,
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4427 # on SINIX-N 5.43, this is false, and gethostent seems to be a better
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4428 # candidate. So, let's use it below instead of gethostbyname, and see.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4429
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4430 # [ This is ripped from GNU tar. ]
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4431
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4432 ac_fn_c_check_func "$LINENO" "gethostent" "ac_cv_func_gethostent"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4433 if test "x$ac_cv_func_gethostent" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4434
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4435 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4436
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4437 if test $ac_cv_func_gethostent = no; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostent in -lnsl" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4439 $as_echo_n "checking for gethostent in -lnsl... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4440 if ${ac_cv_lib_nsl_gethostent+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4441 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4442 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4443 ac_check_lib_save_LIBS=$LIBS
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4444 LIBS="-lnsl $LIBS"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4446 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4447
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4448 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4449 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4450 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4451 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4452 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4453 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4454 char gethostent ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4455 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4456 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4457 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4458 return gethostent ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4459 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4460 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4461 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4462 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4463 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4464 ac_cv_lib_nsl_gethostent=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4465 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4466 ac_cv_lib_nsl_gethostent=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4467 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4468 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4469 conftest$ac_exeext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4470 LIBS=$ac_check_lib_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4471 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostent" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4473 $as_echo "$ac_cv_lib_nsl_gethostent" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4474 if test "x$ac_cv_lib_nsl_gethostent" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4475 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4476 #define HAVE_LIBNSL 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4477 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4478
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4479 LIBS="-lnsl $LIBS"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4480
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4481 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4482
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4483 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4484 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4485 if test "x$ac_cv_func_setsockopt" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4486
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4487 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4488
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4489 if test $ac_cv_func_setsockopt = no; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4491 $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4492 if ${ac_cv_lib_socket_setsockopt+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4493 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4494 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4495 ac_check_lib_save_LIBS=$LIBS
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4496 LIBS="-lsocket $LIBS"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4498 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4499
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4500 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4501 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4502 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4503 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4504 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4505 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4506 char setsockopt ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4507 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4508 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4509 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4510 return setsockopt ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4511 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4512 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4513 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4514 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4515 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4516 ac_cv_lib_socket_setsockopt=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4517 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4518 ac_cv_lib_socket_setsockopt=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4519 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4520 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4521 conftest$ac_exeext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4522 LIBS=$ac_check_lib_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4523 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4525 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4526 if test "x$ac_cv_lib_socket_setsockopt" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4527 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4528 #define HAVE_LIBSOCKET 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4529 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4530
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4531 LIBS="-lsocket $LIBS"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4532
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4533 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4534
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4535 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4536
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4537
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4538 # Check whether --with-gdbm-include was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4539 if test "${with_gdbm_include+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4540 withval=$with_gdbm_include; CPPFLAGS="$CFLAGS -I$withval"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4541
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4542 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4543
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4544
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4545 # Check whether --with-gdbm-libdir was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4546 if test "${with_gdbm_libdir+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4547 withval=$with_gdbm_libdir; LIBS="$LIBS -L$withval"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4548
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4549 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4550
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4552 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4553 if ${ac_cv_lib_gdbm_gdbm_open+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4554 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4555 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4556 ac_check_lib_save_LIBS=$LIBS
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4557 LIBS="-lgdbm $LIBS"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4559 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4560
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4561 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4562 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4563 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4564 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4565 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4566 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4567 char gdbm_open ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4568 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4569 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4570 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4571 return gdbm_open ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4572 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4573 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4574 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4575 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4576 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4577 ac_cv_lib_gdbm_gdbm_open=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4578 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4579 ac_cv_lib_gdbm_gdbm_open=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4580 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4581 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4582 conftest$ac_exeext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4583 LIBS=$ac_check_lib_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4584 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4586 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4587 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4588 ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4589 if test "x$ac_cv_header_gdbm_h" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4590
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4591 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4592 as_fn_error $? "cannot find gdbm.h" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4593 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4594
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4595
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4596 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4597 as_fn_error $? "cannot find libgdbm" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4598 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4599
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4600
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4601
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4603 $as_echo_n "checking for ANSI C header files... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4604 if ${ac_cv_header_stdc+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4605 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4606 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4608 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4609 #include <stdlib.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4610 #include <stdarg.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4611 #include <string.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4612 #include <float.h>
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4613
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4614 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4615 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4616 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4617
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4618 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4619 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4620 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4621 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4622 if ac_fn_c_try_compile "$LINENO"; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4623 ac_cv_header_stdc=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4624 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4625 ac_cv_header_stdc=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4626 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4628
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4629 if test $ac_cv_header_stdc = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4630 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4632 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4633 #include <string.h>
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4634
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4635 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4637 $EGREP "memchr" >/dev/null 2>&1; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4638
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4639 else
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4640 ac_cv_header_stdc=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4641 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4642 rm -f conftest*
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4643
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4644 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4645
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4646 if test $ac_cv_header_stdc = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4647 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4649 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4650 #include <stdlib.h>
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4651
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4652 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4654 $EGREP "free" >/dev/null 2>&1; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4655
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4656 else
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4657 ac_cv_header_stdc=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4658 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4659 rm -f conftest*
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4660
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4661 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4662
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4663 if test $ac_cv_header_stdc = yes; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4665 if test "$cross_compiling" = yes; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4666 :
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4667 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4669 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4670 #include <ctype.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4671 #include <stdlib.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4672 #if ((' ' & 0x0FF) == 0x020)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4675 #else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4676 # define ISLOWER(c) \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4677 (('a' <= (c) && (c) <= 'i') \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4678 || ('j' <= (c) && (c) <= 'r') \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4679 || ('s' <= (c) && (c) <= 'z'))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4681 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4682
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4684 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4685 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4686 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4687 int i;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4688 for (i = 0; i < 256; i++)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4689 if (XOR (islower (i), ISLOWER (i))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4690 || toupper (i) != TOUPPER (i))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4691 return 2;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4692 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4693 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4694 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4695 if ac_fn_c_try_run "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4696
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4697 else
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4698 ac_cv_header_stdc=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4699 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4701 conftest.$ac_objext conftest.beam conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4702 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4703
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4704 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4705 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4707 $as_echo "$ac_cv_header_stdc" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4708 if test $ac_cv_header_stdc = yes; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4709
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4710 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4711
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4712 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4713
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4714 ac_header_dirent=no
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4715 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4716 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4718 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4719 if eval \${$as_ac_Header+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4720 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4721 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4723 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4724 #include <sys/types.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4725 #include <$ac_hdr>
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4726
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4727 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4728 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4729 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4730 if ((DIR *) 0)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4731 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4732 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4733 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4734 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4735 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4736 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4737 eval "$as_ac_Header=yes"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4738 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4739 eval "$as_ac_Header=no"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4740 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4742 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4743 eval ac_res=\$$as_ac_Header
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4745 $as_echo "$ac_res" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4747 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4748 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4749 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4750
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4751 ac_header_dirent=$ac_hdr; break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4752 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4753
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4754 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4755 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4756 if test $ac_header_dirent = dirent.h; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4758 $as_echo_n "checking for library containing opendir... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4759 if ${ac_cv_search_opendir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4760 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4761 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4762 ac_func_search_save_LIBS=$LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4764 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4765
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4766 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4767 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4768 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4769 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4770 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4771 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4772 char opendir ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4773 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4774 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4775 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4776 return opendir ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4777 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4778 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4779 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4780 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4781 for ac_lib in '' dir; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4782 if test -z "$ac_lib"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4783 ac_res="none required"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4784 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4785 ac_res=-l$ac_lib
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4786 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4787 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4788 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4789 ac_cv_search_opendir=$ac_res
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4790 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4791 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4792 conftest$ac_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4793 if ${ac_cv_search_opendir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4794 break
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4795 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4796 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4797 if ${ac_cv_search_opendir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4798
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4799 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4800 ac_cv_search_opendir=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4801 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4802 rm conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4803 LIBS=$ac_func_search_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4804 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4806 $as_echo "$ac_cv_search_opendir" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4807 ac_res=$ac_cv_search_opendir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4808 if test "$ac_res" != no; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4809 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4810
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4811 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4812
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4813 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4815 $as_echo_n "checking for library containing opendir... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4816 if ${ac_cv_search_opendir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4817 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4818 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4819 ac_func_search_save_LIBS=$LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4821 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4822
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4823 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4824 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4825 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4826 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4827 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4828 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4829 char opendir ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4830 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4831 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4832 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4833 return opendir ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4834 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4835 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4836 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4837 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4838 for ac_lib in '' x; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4839 if test -z "$ac_lib"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4840 ac_res="none required"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4841 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4842 ac_res=-l$ac_lib
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4844 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4845 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4846 ac_cv_search_opendir=$ac_res
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4847 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4848 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4849 conftest$ac_exeext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4850 if ${ac_cv_search_opendir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4851 break
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4852 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4853 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4854 if ${ac_cv_search_opendir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4855
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4856 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4857 ac_cv_search_opendir=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4858 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4859 rm conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4860 LIBS=$ac_func_search_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4861 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4863 $as_echo "$ac_cv_search_opendir" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4864 ac_res=$ac_cv_search_opendir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4865 if test "$ac_res" != no; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4867
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4868 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4869
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4870 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4871
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4872 for ac_header in syslog.h sys/resource.h sys/utsname.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4873 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4875 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4877 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4879 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4880
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4881 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4882
278
a0497ffac49b [svn] I'm not very good at automake. Redo with automake2.13.
bears
parents: 277
diff changeset
4883 done
a0497ffac49b [svn] I'm not very good at automake. Redo with automake2.13.
bears
parents: 277
diff changeset
4884
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4885 for ac_header in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4886 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4888 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4890 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4892 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4893
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4894 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4895
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4896 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4897
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4898 for ac_header in netdb.h sys/socket.h fcntl.h limits.h unistd.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4899 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4901 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4902 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4903 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4905 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4906
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4907 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4908
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4909 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4910
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4911 for ac_header in sys/types.h regex.h pwd.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4912 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4914 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4915 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4916 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4918 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4919
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4920 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4921
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4922 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4923
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4924
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4925
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4926
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4928 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4929 if ${ac_cv_c_const+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4930 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4931 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4933 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4934
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4935 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4936 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4937 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4938
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4939 #ifndef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4940 /* Ultrix mips cc rejects this sort of thing. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4941 typedef int charset[2];
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4942 const charset cs = { 0, 0 };
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4943 /* SunOS 4.1.1 cc rejects this. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4944 char const *const *pcpcc;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4945 char **ppc;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4946 /* NEC SVR4.0.2 mips cc rejects this. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4947 struct point {int x, y;};
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4948 static struct point const zero = {0,0};
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4949 /* AIX XL C 1.02.0.0 rejects this.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4950 It does not let you subtract one const X* pointer from another in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4951 an arm of an if-expression whose if-part is not a constant
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4952 expression */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4953 const char *g = "string";
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4954 pcpcc = &g + (g ? g-g : 0);
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4955 /* HPUX 7.0 cc rejects these. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4956 ++pcpcc;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4957 ppc = (char**) pcpcc;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4958 pcpcc = (char const *const *) ppc;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4959 { /* SCO 3.2v4 cc rejects this sort of thing. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4960 char tx;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4961 char *t = &tx;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4962 char const *s = 0 ? (char *) 0 : (char const *) 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4963
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4964 *t++ = 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4965 if (s) return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4966 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4967 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4968 int x[] = {25, 17};
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4969 const int *foo = &x[0];
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4970 ++foo;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4971 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4972 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4973 typedef const int *iptr;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4974 iptr p = 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4975 ++p;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4976 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4977 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4978 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4979 struct s { int j; const int *ap[3]; } bx;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4980 struct s *b = &bx; b->j = 5;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4981 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4982 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4983 const int foo = 10;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4984 if (!foo) return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4985 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4986 return !cs[0] && !zero.x;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4987 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4988
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4989 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4990 return 0;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4991 }
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4992 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4993 if ac_fn_c_try_compile "$LINENO"; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4994 ac_cv_c_const=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4995 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4996 ac_cv_c_const=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
4997 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
4999 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5001 $as_echo "$ac_cv_c_const" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5002 if test $ac_cv_c_const = no; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5003
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5004 $as_echo "#define const /**/" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5005
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5006 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5007
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5008 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5009 if test "x$ac_cv_type_size_t" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5010
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5011 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5012
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5013 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5014 #define size_t unsigned int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5015 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5016
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5017 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5018
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5020 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5021 if ${ac_cv_header_time+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5022 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5023 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5025 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5026 #include <sys/types.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5027 #include <sys/time.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5028 #include <time.h>
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5029
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5030 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5031 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5032 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5033 if ((struct tm *) 0)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5034 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5035 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5036 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5037 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5038 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5039 if ac_fn_c_try_compile "$LINENO"; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5040 ac_cv_header_time=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5041 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5042 ac_cv_header_time=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5043 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5045 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5047 $as_echo "$ac_cv_header_time" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5048 if test $ac_cv_header_time = yes; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5049
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5050 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5051
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5052 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5053
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5055 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5056 if ${ac_cv_struct_tm+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5057 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5058 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5060 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5061 #include <sys/types.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5062 #include <time.h>
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5063
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5064 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5065 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5066 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5067 struct tm tm;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5068 int *p = &tm.tm_sec;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5069 return !p;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5070 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5071 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5072 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5073 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5074 if ac_fn_c_try_compile "$LINENO"; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5075 ac_cv_struct_tm=time.h
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5076 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5077 ac_cv_struct_tm=sys/time.h
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5078 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5080 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5082 $as_echo "$ac_cv_struct_tm" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5083 if test $ac_cv_struct_tm = sys/time.h; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5084
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5085 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5086
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5087 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5088
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5089
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking socklen_t" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5091 $as_echo_n "checking socklen_t... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5092 if ${noffle_cv_type_socklen_t+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5093 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5094 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5096 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5097
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5098 #include <sys/types.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5099 #include <sys/socket.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5100
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5101 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5102 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5103 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5104 socklen_t s;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5105 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5106 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5107 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5108 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5109 if ac_fn_c_try_compile "$LINENO"; then :
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5110 noffle_cv_type_socklen_t=yes
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5111 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5112 noffle_cv_type_socklen_t=no
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5113 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5115
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5116 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $noffle_cv_type_socklen_t" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5118 $as_echo "$noffle_cv_type_socklen_t" >&6; }
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5119
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5120 if test "x$noffle_cv_type_socklen_t" = "xno"
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5121 then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5122 cat >>confdefs.h <<_ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5123 #define socklen_t unsigned int
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5124 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5125
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5126 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5127
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5128
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5129
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5131 $as_echo_n "checking return type of signal handlers... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5132 if ${ac_cv_type_signal+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5133 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5134 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5136 /* end confdefs.h. */
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5137 #include <sys/types.h>
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5138 #include <signal.h>
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5139
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5140 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5141 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5142 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5143 return *(signal (0, 0)) (0) == 1;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5144 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5145 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5146 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5147 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5148 if ac_fn_c_try_compile "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5149 ac_cv_type_signal=int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5150 else
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5151 ac_cv_type_signal=void
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5152 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5154 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5156 $as_echo "$ac_cv_type_signal" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5157
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5158 cat >>confdefs.h <<_ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5159 #define RETSIGTYPE $ac_cv_type_signal
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5160 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5161
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5162
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5163 for ac_func in strftime
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5164 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5165 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5166 if test "x$ac_cv_func_strftime" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5167 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5168 #define HAVE_STRFTIME 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5169 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5170
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5171 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5172 # strftime is in -lintl on SCO UNIX.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5174 $as_echo_n "checking for strftime in -lintl... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5175 if ${ac_cv_lib_intl_strftime+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5176 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5177 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5178 ac_check_lib_save_LIBS=$LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5179 LIBS="-lintl $LIBS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5181 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5182
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5183 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5184 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5185 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5186 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5187 extern "C"
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5188 #endif
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5189 char strftime ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5190 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5191 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5192 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5193 return strftime ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5194 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5195 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5196 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5197 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5198 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5199 ac_cv_lib_intl_strftime=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5200 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5201 ac_cv_lib_intl_strftime=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5202 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5203 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5204 conftest$ac_exeext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5205 LIBS=$ac_check_lib_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5206 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5208 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5209 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5210 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5211
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5212 LIBS="-lintl $LIBS"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5213 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5214
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5215 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5216 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5217
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5219 $as_echo_n "checking for working POSIX fnmatch... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5220 if ${ac_cv_func_fnmatch_works+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5221 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5222 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5223 # Some versions of Solaris, SCO, and the GNU C Library
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5224 # have a broken or incompatible fnmatch.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5225 # So we run a test program. If we are cross-compiling, take no chance.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5226 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5227 if test "$cross_compiling" = yes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5228 ac_cv_func_fnmatch_works=cross
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5229 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5231 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5232 #include <fnmatch.h>
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5233 # define y(a, b, c) (fnmatch (a, b, c) == 0)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5234 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5235
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5236 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5237 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5238 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5239 return
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5240 (!(y ("a*", "abc", 0)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5241 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5242 && y ("a\\\\bc", "abc", 0)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5243 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5244 && y ("*x", ".x", 0)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5245 && n ("*x", ".x", FNM_PERIOD)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5246 && 1));
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5247 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5248 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5249 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5250 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5251 if ac_fn_c_try_run "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5252 ac_cv_func_fnmatch_works=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5253 else
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5254 ac_cv_func_fnmatch_works=no
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5255 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5257 conftest.$ac_objext conftest.beam conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5258 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5259
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5260 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5262 $as_echo "$ac_cv_func_fnmatch_works" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5263 if test $ac_cv_func_fnmatch_works = yes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5264
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5265 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5266
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5267 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5268
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5269
258
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5270 for ac_func in fdopen mkdir select socket
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5271 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5275 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5277 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5278
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5279 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5280 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5281
258
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5282 for ac_func in gethostname uname
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5283 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5287 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5289 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5290
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5291 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5292 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5293
258
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5294 for ac_func in snprintf vsnprintf __vsnprintf __snprintf
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5295 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5299 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5301 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5302
258
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5303 fi
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5304 done
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5305
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5306 for ac_func in strerror strstr
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5307 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5311 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5313 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5314
258
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5315 fi
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5316 done
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5317
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5318 for ac_func in mktime timegm
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5319 do :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5323 cat >>confdefs.h <<_ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5325 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5326
258
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5327 fi
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5328 done
ebd9c98bbc7f [svn] * config.h.in,configure,configure.in: Check for timegm().
bears
parents: 254
diff changeset
5329
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5330
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5331
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5332
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5333
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5334
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5335 # Check whether --enable-auth was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5336 if test "${enable_auth+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5337 enableval=$enable_auth;
288
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5338 else
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5339 enable_auth=no
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5340 fi
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5341
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5342
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5343 if test "x$enable_auth" = "xfile"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5344 $as_echo "#define USE_AUTH 1" >>confdefs.h
288
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5345
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5346 fi
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5347 if test "x$enable_auth" = "xpam"; then
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5348
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5350 $as_echo_n "checking for pam_start in -lpam... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5351 if ${ac_cv_lib_pam_pam_start+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5352 $as_echo_n "(cached) " >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5353 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5354 ac_check_lib_save_LIBS=$LIBS
288
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5355 LIBS="-lpam $LIBS"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5357 /* end confdefs.h. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5358
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5359 /* Override any GCC internal prototype to avoid an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5360 Use char because int might match the return type of a GCC
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5361 builtin and then its argument prototype would still apply. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5362 #ifdef __cplusplus
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5363 extern "C"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5364 #endif
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5365 char pam_start ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5366 int
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5367 main ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5368 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5369 return pam_start ();
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5370 ;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5371 return 0;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5372 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5373 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5374 if ac_fn_c_try_link "$LINENO"; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5375 ac_cv_lib_pam_pam_start=yes
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5376 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5377 ac_cv_lib_pam_pam_start=no
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5378 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5379 rm -f core conftest.err conftest.$ac_objext \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5380 conftest$ac_exeext conftest.$ac_ext
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5381 LIBS=$ac_check_lib_save_LIBS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5382 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5384 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5385 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5386 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5387 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5388
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5389 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5390 as_fn_error $? "cannot find security/pam_appl.h" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5391 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5392
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5393
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5394 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5395 as_fn_error $? "cannot find libpam" "$LINENO" 5
288
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5396 fi
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5397
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5398 LIBPAM="-lpam"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5399 $as_echo "#define USE_PAM 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5400
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5401 $as_echo "#define USE_AUTH 1" >>confdefs.h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5402
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5403 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5404
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking usersfile" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5406 $as_echo_n "checking usersfile... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5407
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5408 # Check whether --with-usersfile was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5409 if test "${with_usersfile+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5410 withval=$with_usersfile; if echo "$withval" | egrep >/dev/null -v '^/' ; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5411 as_fn_error $? "you must give an absolute path" "$LINENO" 5
288
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5412 fi
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5413 withval=`echo "$withval" | sed 'sx/*$xx;'`
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5414 else
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5415 withval="/etc/$PACKAGE.users"
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5416
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5417 fi
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5418
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5419 USERSFILE=$withval
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USERSFILE" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5421 $as_echo "$USERSFILE" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5422 cat >>confdefs.h <<_ACEOF
288
c02c4eb95f95 [svn] * src/configfile.h,src/configfile.c,docs/noffle.conf.5: Add noffle-user
bears
parents: 278
diff changeset
5423 #define USERSFILE "$USERSFILE"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5424 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5425
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5426
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5427
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5428
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5429 # Check whether --enable-debug was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5430 if test "${enable_debug+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5431 enableval=$enable_debug;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5432 else
185
fed1334d766b [svn] * src/client.c: Change variable only used on constant to 'const'.
bears
parents: 177
diff changeset
5433 enable_debug=no
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5434 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5435
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5436
265
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5437 if test "x$enable_debug" = "xyes"; then
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5438 if test "x$GCC" = "xyes"; then
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5439 CFLAGS="$CFLAGS \
272
f3b44be9e4ab [svn] * configure.in: Remove '-ansi' and '-Wtraditional'. We use functions
bears
parents: 265
diff changeset
5440 -Wall -pedantic -W -Wshadow -Wpointer-arith \
265
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5441 -Wcast-align -Wwrite-strings \
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5442 -Wstrict-prototypes -Wmissing-prototypes \
277
1fdde6512033 [svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents: 272
diff changeset
5443 -Wmissing-declarations -Wnested-externs -Winline "
1fdde6512033 [svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents: 272
diff changeset
5444 CPPFLAGS="$CPPFLAGS \
265
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5445 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG"
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5446 else
277
1fdde6512033 [svn] * configure.in: Add optional GDBM include and lib directory specifiers.
bears
parents: 272
diff changeset
5447 CPPFLAGS="$CPPFLAGS -DDEBUG"
265
1cafe0f3f0ec [svn] * configure, configure.in: Correct --enable-debug handling. Don't add
bears
parents: 258
diff changeset
5448 fi
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5449 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5450
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5451
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5452 # [ This is adapted from mutt. ]
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5453
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5454 # Check whether --with-docdir was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5455 if test "${with_docdir+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5456 withval=$with_docdir; noffle_cv_docdir=$withval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5457 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking other documentation directory" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5459 $as_echo_n "checking other documentation directory... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5460 if ${noffle_cv_docdir+:} false; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5461 $as_echo_n "(cached) " >&6
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5462 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5463 if test x$prefix = xNONE; then
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5464 noffle_cv_prefix=$ac_default_prefix
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5465 else
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5466 noffle_cv_prefix=$prefix
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5467 fi
246
6f3a55d18659 [svn] * aclocal.m4,configure.in,configure: Bump version to 1.1.2 & re-run
bears
parents: 225
diff changeset
5468 noffle_cv_docdir=$noffle_cv_prefix/share/doc/noffle
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5469
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5470 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $noffle_cv_docdir" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5472 $as_echo "$noffle_cv_docdir" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5473
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5474 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5475
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5476
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spooldir" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5478 $as_echo_n "checking spooldir... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5479
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5480 # Check whether --with-spooldir was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5481 if test "${with_spooldir+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5482 withval=$with_spooldir; if echo "$withval" | egrep >/dev/null -v '^/' ; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5483 as_fn_error $? "you must give an absolute path" "$LINENO" 5
198
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5484 fi
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5485 withval=`echo "$withval" | sed 'sx/*$xx;'`
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5486
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5487 else
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5488 withval="/var/spool/$PACKAGE"
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5489
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5490 fi
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5491
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5492 SPOOLDIR=$withval
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPOOLDIR" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5494 $as_echo "$SPOOLDIR" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5495 cat >>confdefs.h <<_ACEOF
198
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5496 #define SPOOLDIR "$SPOOLDIR"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5497 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5499
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5500
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configfile" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5502 $as_echo_n "checking configfile... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5503
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5504 # Check whether --with-configfile was given.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5505 if test "${with_configfile+set}" = set; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5506 withval=$with_configfile; if echo "$withval" | egrep >/dev/null -v '^/' ; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5507 as_fn_error $? "you must give an absolute path" "$LINENO" 5
198
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5508 fi
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5509 withval=`echo "$withval" | sed 'sx/*$xx;'`
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5510
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5511 else
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5512 withval="/etc/$PACKAGE.conf"
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5513
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5514 fi
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5515
79e324213734 [svn] * packages/redhat/noffle.spec: Update to version to 1.1-1 and fix up some
bears
parents: 185
diff changeset
5516 CONFIGFILE=$withval
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIGFILE" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5518 $as_echo "$CONFIGFILE" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5519 cat >>confdefs.h <<_ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5520 #define CONFIGFILE "$CONFIGFILE"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5521 _ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5522
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5523
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5524
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5525
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5526
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5527
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5528 DOCDIR=$noffle_cv_docdir
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5529
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5530
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5531 cat >>confdefs.h <<_ACEOF
146
fd821441f016 [svn] Applied patch by Paul Slootman: using the mail program is
enz
parents: 144
diff changeset
5532 #define SENDMAILPROG "$SENDMAILPROG"
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5533 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5534
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5535
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5536
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5537 ac_config_files="$ac_config_files Makefile src/Makefile docs/Makefile packages/Makefile packages/redhat/Makefile"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5538
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5539 cat >confcache <<\_ACEOF
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5540 # This file is a shell script that caches the results of configure
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5541 # tests run on this system so they can be shared between configure
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5542 # scripts and configure runs, see configure's option --config-cache.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5543 # It is not useful on other systems. If it contains results you don't
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5544 # want to keep, you may remove or edit it.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5545 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5546 # config.status only pays attention to the cache file if you give it
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5547 # the --recheck option to rerun configure.
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5548 #
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5551 # following values.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5552
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5553 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5554
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5555 # The following way of writing the cache mishandles newlines in values,
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5556 # but we know of no workaround that is simple, portable, and efficient.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5557 # So, we kill variables containing newlines.
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5558 # Ultrix sh set writes to stderr and can't be redirected directly,
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5559 # and sets the high bit in the cache file unless we assign to the vars.
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5560 (
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5562 eval ac_val=\$$ac_var
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5563 case $ac_val in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5564 *${as_nl}*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5565 case $ac_var in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5568 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5569 case $ac_var in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5570 _ | IFS | as_nl) ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5572 *) { eval $ac_var=; unset $ac_var;} ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5573 esac ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5574 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5575 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5576
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5577 (set) 2>&1 |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5578 case $as_nl`(ac_space=' '; set) 2>&1` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5579 *${as_nl}ac_space=\ *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5580 # `set' does not quote correctly, so add quotes: double-quote
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5581 # substitution turns \\\\ into \\, and sed turns \\ into \.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5582 sed -n \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5583 "s/'/'\\\\''/g;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5585 ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5586 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5587 # `set' quotes correctly as required by POSIX, so do not add quotes.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5589 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5590 esac |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5591 sort
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5592 ) |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5593 sed '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5594 /^ac_cv_env_/b end
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5595 t clear
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5596 :clear
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5597 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5598 t end
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5599 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5600 :end' >>confcache
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5601 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5602 if test -w "$cache_file"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5603 if test "x$cache_file" != "x/dev/null"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5605 $as_echo "$as_me: updating cache $cache_file" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5606 if test ! -f "$cache_file" || test -h "$cache_file"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5607 cat confcache >"$cache_file"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5608 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5609 case $cache_file in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5610 */* | ?:*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5611 mv -f confcache "$cache_file"$$ &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5612 mv -f "$cache_file"$$ "$cache_file" ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5613 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5614 mv -f confcache "$cache_file" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5615 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5616 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5617 fi
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5618 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5620 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5621 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5622 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5623 rm -f confcache
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5624
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5625 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5626 # Let make expand exec_prefix.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5627 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5628
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5629 DEFS=-DHAVE_CONFIG_H
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5630
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5631 ac_libobjs=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5632 ac_ltlibobjs=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5633 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5634 # 1. Remove the extension, and $U if already installed.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5635 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5636 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5637 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5638 # will be set to the directory where LIBOBJS objects are built.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5639 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5640 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5641 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5642 LIBOBJS=$ac_libobjs
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5643
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5644 LTLIBOBJS=$ac_ltlibobjs
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5645
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5646
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5648 $as_echo_n "checking that generated files are newer than configure... " >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5649 if test -n "$am_sleep_pid"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5650 # Hide warnings about reused PIDs.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5651 wait $am_sleep_pid 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5652 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5654 $as_echo "done" >&6; }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5655 if test -n "$EXEEXT"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5656 am__EXEEXT_TRUE=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5657 am__EXEEXT_FALSE='#'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5658 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5659 am__EXEEXT_TRUE='#'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5660 am__EXEEXT_FALSE=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5661 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5662
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5663 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5664 as_fn_error $? "conditional \"AMDEP\" was never defined.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5666 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5667 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5668 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5670 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5671
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5672 : "${CONFIG_STATUS=./config.status}"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5673 ac_write_fail=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5674 ac_clean_files_save=$ac_clean_files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5675 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5677 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5678 as_write_fail=0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5679 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5680 #! $SHELL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5681 # Generated by $as_me.
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5682 # Run this file to recreate the current configuration.
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5683 # Compiler output produced by configure, useful for debugging
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5684 # configure, is in config.log if it exists.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5685
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5686 debug=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5687 ac_cs_recheck=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5688 ac_cs_silent=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5689
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5690 SHELL=\${CONFIG_SHELL-$SHELL}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5691 export SHELL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5692 _ASEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5693 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5694 ## -------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5695 ## M4sh Initialization. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5696 ## -------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5697
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5698 # Be more Bourne compatible
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5699 DUALCASE=1; export DUALCASE # for MKS sh
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5700 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5701 emulate sh
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5702 NULLCMD=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5703 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5704 # is contrary to our usage. Disable this feature.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5705 alias -g '${1+"$@"}'='"$@"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5706 setopt NO_GLOB_SUBST
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5707 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5708 case `(set -o) 2>/dev/null` in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5709 *posix*) :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5710 set -o posix ;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5711 *) :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5712 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5713 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5714 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5715
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5716
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5717 as_nl='
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5718 '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5719 export as_nl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5720 # Printing a long string crashes Solaris 7 /usr/bin/printf.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5721 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5723 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5724 # Prefer a ksh shell builtin over an external printf program on Solaris,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5725 # but without wasting forks for bash or zsh.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5726 if test -z "$BASH_VERSION$ZSH_VERSION" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5727 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5728 as_echo='print -r --'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5729 as_echo_n='print -rn --'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5730 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5731 as_echo='printf %s\n'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5732 as_echo_n='printf %s'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5733 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5734 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5735 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5736 as_echo_n='/usr/ucb/echo -n'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5737 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5738 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5739 as_echo_n_body='eval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5740 arg=$1;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5741 case $arg in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5742 *"$as_nl"*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5743 expr "X$arg" : "X\\(.*\\)$as_nl";
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5744 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5745 esac;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5746 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5747 '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5748 export as_echo_n_body
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5749 as_echo_n='sh -c $as_echo_n_body as_echo'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5750 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5751 export as_echo_body
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5752 as_echo='sh -c $as_echo_body as_echo'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5753 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5754
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5755 # The user is always right.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5756 if test "${PATH_SEPARATOR+set}" != set; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5757 PATH_SEPARATOR=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5758 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5759 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5760 PATH_SEPARATOR=';'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5761 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5762 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5763
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5764
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5765 # IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5766 # We need space, tab and new line, in precisely that order. Quoting is
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5767 # there to prevent editors from complaining about space-tab.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5768 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5769 # splitting by setting IFS to empty value.)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5770 IFS=" "" $as_nl"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5771
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5772 # Find who we are. Look in the path if we contain no directory separator.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5773 as_myself=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5774 case $0 in #((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5775 *[\\/]* ) as_myself=$0 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5776 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5777 for as_dir in $PATH
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
5778 do
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5779 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5780 test -z "$as_dir" && as_dir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5781 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5782 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5783 IFS=$as_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5784
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5785 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5786 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5787 # We did not find ourselves, most probably we were run as `sh COMMAND'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5788 # in which case we are not to be found in the path.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5789 if test "x$as_myself" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5790 as_myself=$0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5791 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5792 if test ! -f "$as_myself"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5793 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5794 exit 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5795 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5796
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5797 # Unset variables that we do not need and which cause bugs (e.g. in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5798 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5799 # suppresses any "Segmentation fault" message there. '((' could
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5800 # trigger a bug in pdksh 5.2.14.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5801 for as_var in BASH_ENV ENV MAIL MAILPATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5802 do eval test x\${$as_var+set} = xset \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5803 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5804 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5805 PS1='$ '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5806 PS2='> '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5807 PS4='+ '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5808
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5809 # NLS nuisances.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5810 LC_ALL=C
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5811 export LC_ALL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5812 LANGUAGE=C
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5813 export LANGUAGE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5814
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5815 # CDPATH.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5816 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5817
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5818
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5819 # as_fn_error STATUS ERROR [LINENO LOG_FD]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5820 # ----------------------------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5821 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5822 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5823 # script with STATUS, using 1 if that was 0.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5824 as_fn_error ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5825 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5826 as_status=$1; test $as_status -eq 0 && as_status=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5827 if test "$4"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5828 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5829 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5830 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5831 $as_echo "$as_me: error: $2" >&2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5832 as_fn_exit $as_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5833 } # as_fn_error
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5834
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5835
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5836 # as_fn_set_status STATUS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5837 # -----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5838 # Set $? to STATUS, without forking.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5839 as_fn_set_status ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5840 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5841 return $1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5842 } # as_fn_set_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5843
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5844 # as_fn_exit STATUS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5845 # -----------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5846 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5847 as_fn_exit ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5848 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5849 set +e
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5850 as_fn_set_status $1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5851 exit $1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5852 } # as_fn_exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5853
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5854 # as_fn_unset VAR
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5855 # ---------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5856 # Portably unset VAR.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5857 as_fn_unset ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5858 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5859 { eval $1=; unset $1;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5860 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5861 as_unset=as_fn_unset
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5862 # as_fn_append VAR VALUE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5863 # ----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5864 # Append the text in VALUE to the end of the definition contained in VAR. Take
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5865 # advantage of any shell optimizations that allow amortized linear growth over
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5866 # repeated appends, instead of the typical quadratic growth present in naive
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5867 # implementations.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5868 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5869 eval 'as_fn_append ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5870 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5871 eval $1+=\$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5872 }'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5873 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5874 as_fn_append ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5875 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5876 eval $1=\$$1\$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5877 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5878 fi # as_fn_append
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5879
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5880 # as_fn_arith ARG...
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5881 # ------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5882 # Perform arithmetic evaluation on the ARGs, and store the result in the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5883 # global $as_val. Take advantage of shells that can avoid forks. The arguments
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5884 # must be portable across $(()) and expr.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5885 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5886 eval 'as_fn_arith ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5887 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5888 as_val=$(( $* ))
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5889 }'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5890 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5891 as_fn_arith ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5892 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5893 as_val=`expr "$@" || test $? -eq 1`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5894 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5895 fi # as_fn_arith
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5896
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5897
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5898 if expr a : '\(a\)' >/dev/null 2>&1 &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5899 test "X`expr 00001 : '.*\(...\)'`" = X001; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5900 as_expr=expr
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5901 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5902 as_expr=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5903 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5904
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5905 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5906 as_basename=basename
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5907 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5908 as_basename=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5909 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5910
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5911 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5912 as_dirname=dirname
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5913 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5914 as_dirname=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5915 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5916
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5917 as_me=`$as_basename -- "$0" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5919 X"$0" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5920 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5921 $as_echo X/"$0" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5922 sed '/^.*\/\([^/][^/]*\)\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5923 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5924 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5925 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5926 /^X\/\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5927 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5928 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5929 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5930 /^X\/\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5931 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5932 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5933 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5934 s/.*/./; q'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5935
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5936 # Avoid depending upon Character Ranges.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5937 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5938 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5939 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5940 as_cr_digits='0123456789'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5941 as_cr_alnum=$as_cr_Letters$as_cr_digits
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5942
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5943 ECHO_C= ECHO_N= ECHO_T=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5944 case `echo -n x` in #(((((
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5945 -n*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5946 case `echo 'xy\c'` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5947 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5948 xy) ECHO_C='\c';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5949 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5950 ECHO_T=' ';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5951 esac;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5952 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5953 ECHO_N='-n';;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5954 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5955
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5956 rm -f conf$$ conf$$.exe conf$$.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5957 if test -d conf$$.dir; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5958 rm -f conf$$.dir/conf$$.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5959 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5960 rm -f conf$$.dir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5961 mkdir conf$$.dir 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5962 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5963 if (echo >conf$$.file) 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5964 if ln -s conf$$.file conf$$ 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5965 as_ln_s='ln -s'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5966 # ... but there are two gotchas:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5967 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5968 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5969 # In both cases, we have to default to `cp -pR'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5970 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5971 as_ln_s='cp -pR'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5972 elif ln conf$$.file conf$$ 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5973 as_ln_s=ln
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5974 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5975 as_ln_s='cp -pR'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5976 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5977 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5978 as_ln_s='cp -pR'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5979 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5980 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5981 rmdir conf$$.dir 2>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5982
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5983
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5984 # as_fn_mkdir_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5985 # -------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5986 # Create "$as_dir" as a directory, including parents if necessary.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5987 as_fn_mkdir_p ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5988 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5989
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5990 case $as_dir in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5991 -*) as_dir=./$as_dir;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5992 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5993 test -d "$as_dir" || eval $as_mkdir_p || {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5994 as_dirs=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5995 while :; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5996 case $as_dir in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5997 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5998 *) as_qdir=$as_dir;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
5999 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6000 as_dirs="'$as_qdir' $as_dirs"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6001 as_dir=`$as_dirname -- "$as_dir" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6003 X"$as_dir" : 'X\(//\)[^/]' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6004 X"$as_dir" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6005 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6006 $as_echo X"$as_dir" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6008 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6009 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6010 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6011 /^X\(\/\/\)[^/].*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6012 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6013 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6014 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6015 /^X\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6016 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6017 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6018 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6019 /^X\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6020 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6021 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6022 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6023 s/.*/./; q'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6024 test -d "$as_dir" && break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6025 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6026 test -z "$as_dirs" || eval "mkdir $as_dirs"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6027 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6028
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6029
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6030 } # as_fn_mkdir_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6031 if mkdir -p . 2>/dev/null; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6032 as_mkdir_p='mkdir -p "$as_dir"'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6033 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6034 test -d ./-p && rmdir ./-p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6035 as_mkdir_p=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6036 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6037
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6038
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6039 # as_fn_executable_p FILE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6040 # -----------------------
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6041 # Test if FILE is an executable regular file.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6042 as_fn_executable_p ()
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6043 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6044 test -f "$1" && test -x "$1"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6045 } # as_fn_executable_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6046 as_test_x='test -x'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6047 as_executable_p=as_fn_executable_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6048
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6049 # Sed expression to map a string onto a valid CPP name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6050 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6051
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6052 # Sed expression to map a string onto a valid variable name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6053 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6054
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6055
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6056 exec 6>&1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6057 ## ----------------------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6058 ## Main body of $CONFIG_STATUS script. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6059 ## ----------------------------------- ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6060 _ASEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6061 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6062
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6064 # Save the log message, to keep $0 and so on meaningful, and to
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6065 # report actual input values of CONFIG_FILES etc. instead of their
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6066 # values after options handling.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6067 ac_log="
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6068 This file was extended by $as_me, which was
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6069 generated by GNU Autoconf 2.69. Invocation command line was
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6070
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6071 CONFIG_FILES = $CONFIG_FILES
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6072 CONFIG_HEADERS = $CONFIG_HEADERS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6073 CONFIG_LINKS = $CONFIG_LINKS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6074 CONFIG_COMMANDS = $CONFIG_COMMANDS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6075 $ $0 $@
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6076
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6077 on `(hostname || uname -n) 2>/dev/null | sed 1q`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6078 "
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6079
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6080 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6081
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6082 case $ac_config_files in *"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6083 "*) set x $ac_config_files; shift; ac_config_files=$*;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6084 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6085
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6086 case $ac_config_headers in *"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6087 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6088 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6089
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6090
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6092 # Files that config.status was made for.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6093 config_files="$ac_config_files"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6094 config_headers="$ac_config_headers"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6095 config_commands="$ac_config_commands"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6096
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6097 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6098
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6100 ac_cs_usage="\
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6101 \`$as_me' instantiates files and other configuration actions
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6102 from templates according to the current configuration. Unless the files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6103 and actions are specified as TAGs, all are instantiated by default.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6104
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6105 Usage: $0 [OPTION]... [TAG]...
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6106
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6107 -h, --help print this help, then exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6108 -V, --version print version number and configuration settings, then exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6109 --config print configuration, then exit
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6110 -q, --quiet, --silent
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6111 do not print progress messages
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6112 -d, --debug don't remove temporary files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6113 --recheck update $as_me by reconfiguring in the same conditions
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6114 --file=FILE[:TEMPLATE]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6115 instantiate the configuration file FILE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6116 --header=FILE[:TEMPLATE]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6117 instantiate the configuration header FILE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6118
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6119 Configuration files:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6120 $config_files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6121
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6122 Configuration headers:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6123 $config_headers
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6124
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6125 Configuration commands:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6126 $config_commands
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6127
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6128 Report bugs to the package provider."
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6129
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6130 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6132 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6133 ac_cs_version="\\
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6134 config.status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6135 configured by $0, generated by GNU Autoconf 2.69,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6136 with options \\"\$ac_cs_config\\"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6137
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6138 Copyright (C) 2012 Free Software Foundation, Inc.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6139 This config.status script is free software; the Free Software Foundation
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6140 gives unlimited permission to copy, distribute and modify it."
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6141
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6142 ac_pwd='$ac_pwd'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6143 srcdir='$srcdir'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6144 INSTALL='$INSTALL'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6145 MKDIR_P='$MKDIR_P'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6146 AWK='$AWK'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6147 test -n "\$AWK" || AWK=awk
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6148 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6149
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6151 # The default lists apply if the user does not specify any file.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6152 ac_need_defaults=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6153 while test $# != 0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6154 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6155 case $1 in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6156 --*=?*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6157 ac_option=`expr "X$1" : 'X\([^=]*\)='`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6158 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6159 ac_shift=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6160 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6161 --*=)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6162 ac_option=`expr "X$1" : 'X\([^=]*\)='`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6163 ac_optarg=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6164 ac_shift=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6165 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6166 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6167 ac_option=$1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6168 ac_optarg=$2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6169 ac_shift=shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6170 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6171 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6172
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6173 case $ac_option in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6174 # Handling of the options.
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6175 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6176 ac_cs_recheck=: ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6177 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6178 $as_echo "$ac_cs_version"; exit ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6179 --config | --confi | --conf | --con | --co | --c )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6180 $as_echo "$ac_cs_config"; exit ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6181 --debug | --debu | --deb | --de | --d | -d )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6182 debug=: ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6183 --file | --fil | --fi | --f )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6184 $ac_shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6185 case $ac_optarg in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6186 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6187 '') as_fn_error $? "missing file argument" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6188 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6189 as_fn_append CONFIG_FILES " '$ac_optarg'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6190 ac_need_defaults=false;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6191 --header | --heade | --head | --hea )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6192 $ac_shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6193 case $ac_optarg in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6194 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6195 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6196 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6197 ac_need_defaults=false;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6198 --he | --h)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6199 # Conflict between --help and --header
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6200 as_fn_error $? "ambiguous option: \`$1'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6201 Try \`$0 --help' for more information.";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6202 --help | --hel | -h )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6203 $as_echo "$ac_cs_usage"; exit ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6205 | -silent | --silent | --silen | --sile | --sil | --si | --s)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6206 ac_cs_silent=: ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6207
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6208 # This is an error.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6209 -*) as_fn_error $? "unrecognized option: \`$1'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6210 Try \`$0 --help' for more information." ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6211
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6212 *) as_fn_append ac_config_targets " $1"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6213 ac_need_defaults=false ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6214
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6215 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6216 shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6217 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6218
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6219 ac_configure_extra_args=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6220
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6221 if $ac_cs_silent; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6222 exec 6>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6223 ac_configure_extra_args="$ac_configure_extra_args --silent"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6224 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6225
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6226 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6228 if \$ac_cs_recheck; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6229 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6230 shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6231 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6232 CONFIG_SHELL='$SHELL'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6233 export CONFIG_SHELL
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6234 exec "\$@"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6235 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6236
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6237 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6239 exec 5>>config.log
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6240 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6241 echo
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6242 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6243 ## Running $as_me. ##
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6244 _ASBOX
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6245 $as_echo "$ac_log"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6246 } >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6247
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6248 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6250 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6251 # INIT-COMMANDS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6252 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6253 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6254
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6255 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6256
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6258
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6259 # Handling of arguments.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6260 for ac_config_target in $ac_config_targets
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6261 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6262 case $ac_config_target in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6263 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6264 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6265 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6266 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6267 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6268 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6269 "packages/redhat/Makefile") CONFIG_FILES="$CONFIG_FILES packages/redhat/Makefile" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6270
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6271 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6272 esac
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6273 done
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6274
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6275
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6276 # If the user did not use the arguments to specify the items to instantiate,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6277 # then the envvar interface is used. Set only those that are not.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6278 # We use the long form for the default assignment because of an extremely
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6279 # bizarre bug on SunOS 4.1.3.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6280 if $ac_need_defaults; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6281 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6282 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6283 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6284 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6285
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6286 # Have a temporary directory for convenience. Make it in the build tree
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6287 # simply because there is no reason against having it here, and in addition,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6288 # creating and moving files from /tmp can sometimes cause problems.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6289 # Hook for its removal unless debugging.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6290 # Note that there is a small window in which the directory will not be cleaned:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6291 # after its creation but before its name has been assigned to `$tmp'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6292 $debug ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6293 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6294 tmp= ac_tmp=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6295 trap 'exit_status=$?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6296 : "${ac_tmp:=$tmp}"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6297 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6298 ' 0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6299 trap 'as_fn_exit 1' 1 2 13 15
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6300 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6301 # Create a (secure) tmp directory for tmp files.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6302
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6303 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6304 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6305 test -d "$tmp"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6306 } ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6307 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6308 tmp=./conf$$-$RANDOM
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6309 (umask 077 && mkdir "$tmp")
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6310 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6311 ac_tmp=$tmp
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6312
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6313 # Set up the scripts for CONFIG_FILES section.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6314 # No need to generate them if there are no CONFIG_FILES.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6315 # This happens for instance with `./config.status config.h'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6316 if test -n "$CONFIG_FILES"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6317
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6318
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6319 ac_cr=`echo X | tr X '\015'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6320 # On cygwin, bash can eat \r inside `` if the user requested igncr.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6321 # But we know of no other shell where ac_cr would be empty at this
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6322 # point, so we can use a bashism as a fallback.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6323 if test "x$ac_cr" = x; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6324 eval ac_cr=\$\'\\r\'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6325 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6326 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6327 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6328 ac_cs_awk_cr='\\r'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6329 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6330 ac_cs_awk_cr=$ac_cr
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6331 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6332
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6333 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6334 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6335
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6336
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6337 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6338 echo "cat >conf$$subs.awk <<_ACEOF" &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6339 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6340 echo "_ACEOF"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6341 } >conf$$subs.sh ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6342 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6343 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6344 ac_delim='%!_!# '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6345 for ac_last_try in false false false false false :; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6346 . ./conf$$subs.sh ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6347 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6348
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6349 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6350 if test $ac_delim_n = $ac_delim_num; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6351 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6352 elif $ac_last_try; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6353 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6354 else
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6355 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6356 fi
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6357 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6358 rm -f conf$$subs.sh
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6359
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6361 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6362 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6363 sed -n '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6364 h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6365 s/^/S["/; s/!.*/"]=/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6366 p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6367 g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6368 s/^[^!]*!//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6369 :repl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6370 t repl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6371 s/'"$ac_delim"'$//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6372 t delim
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6373 :nl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6374 h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6375 s/\(.\{148\}\)..*/\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6376 t more1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6377 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6378 p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6379 n
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6380 b repl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6381 :more1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6382 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6383 p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6384 g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6385 s/.\{148\}//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6386 t nl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6387 :delim
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6388 h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6389 s/\(.\{148\}\)..*/\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6390 t more2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6391 s/["\\]/\\&/g; s/^/"/; s/$/"/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6392 p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6393 b
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6394 :more2
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6395 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6396 p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6397 g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6398 s/.\{148\}//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6399 t delim
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6400 ' <conf$$subs.awk | sed '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6401 /^[^""]/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6402 N
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6403 s/\n//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6404 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6405 ' >>$CONFIG_STATUS || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6406 rm -f conf$$subs.awk
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6408 _ACAWK
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6409 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6410 for (key in S) S_is_set[key] = 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6411 FS = ""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6412
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6413 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6414 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6415 line = $ 0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6416 nfields = split(line, field, "@")
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6417 substed = 0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6418 len = length(field[1])
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6419 for (i = 2; i < nfields; i++) {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6420 key = field[i]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6421 keylen = length(key)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6422 if (S_is_set[key]) {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6423 value = S[key]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6424 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6425 len += length(value) + length(field[++i])
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6426 substed = 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6427 } else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6428 len += 1 + keylen
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6429 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6430
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6431 print line
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6432 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6433
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6434 _ACAWK
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6435 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6437 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6438 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6439 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6440 cat
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6441 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6442 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6443 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6444
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6445 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6446 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6447 # trailing colons and then remove the whole line if VPATH becomes empty
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6448 # (actually we leave an empty line to preserve line numbers).
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6449 if test "x$srcdir" = x.; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6450 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6451 h
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6452 s///
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6453 s/^/:/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6454 s/[ ]*$/:/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6455 s/:\$(srcdir):/:/g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6456 s/:\${srcdir}:/:/g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6457 s/:@srcdir@:/:/g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6458 s/^:*//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6459 s/:*$//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6460 x
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6461 s/\(=[ ]*\).*/\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6462 G
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6463 s/\n//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6464 s/^[^=]*=[ ]*$//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6465 }'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6466 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6467
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6469 fi # test -n "$CONFIG_FILES"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6470
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6471 # Set up the scripts for CONFIG_HEADERS section.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6472 # No need to generate them if there are no CONFIG_HEADERS.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6473 # This happens for instance with `./config.status Makefile'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6474 if test -n "$CONFIG_HEADERS"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6475 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6476 BEGIN {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6477 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6478
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6479 # Transform confdefs.h into an awk script `defines.awk', embedded as
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6480 # here-document in config.status, that substitutes the proper values into
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6481 # config.h.in to produce config.h.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6482
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6483 # Create a delimiter string that does not exist in confdefs.h, to ease
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6484 # handling of long lines.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6485 ac_delim='%!_!# '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6486 for ac_last_try in false false :; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6487 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6488 if test -z "$ac_tt"; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6489 break
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6490 elif $ac_last_try; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6491 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6492 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6493 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6494 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6495 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6496
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6497 # For the awk script, D is an array of macro values keyed by name,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6498 # likewise P contains macro parameters if any. Preserve backslash
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6499 # newline sequences.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6500
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6501 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6502 sed -n '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6503 s/.\{148\}/&'"$ac_delim"'/g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6504 t rset
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6505 :rset
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6506 s/^[ ]*#[ ]*define[ ][ ]*/ /
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6507 t def
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6508 d
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6509 :def
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6510 s/\\$//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6511 t bsnl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6512 s/["\\]/\\&/g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6513 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6514 D["\1"]=" \3"/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6515 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6516 d
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6517 :bsnl
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6518 s/["\\]/\\&/g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6519 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6520 D["\1"]=" \3\\\\\\n"\\/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6521 t cont
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6522 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6523 t cont
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6524 d
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6525 :cont
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6526 n
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6527 s/.\{148\}/&'"$ac_delim"'/g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6528 t clear
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6529 :clear
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6530 s/\\$//
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6531 t bsnlc
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6532 s/["\\]/\\&/g; s/^/"/; s/$/"/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6533 d
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6534 :bsnlc
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6535 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6536 b cont
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6537 ' <confdefs.h | sed '
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6538 s/'"$ac_delim"'/"\\\
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6539 "/g' >>$CONFIG_STATUS || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6540
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6542 for (key in D) D_is_set[key] = 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6543 FS = ""
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6544 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6545 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6546 line = \$ 0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6547 split(line, arg, " ")
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6548 if (arg[1] == "#") {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6549 defundef = arg[2]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6550 mac1 = arg[3]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6551 } else {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6552 defundef = substr(arg[1], 2)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6553 mac1 = arg[2]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6554 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6555 split(mac1, mac2, "(") #)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6556 macro = mac2[1]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6557 prefix = substr(line, 1, index(line, defundef) - 1)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6558 if (D_is_set[macro]) {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6559 # Preserve the white space surrounding the "#".
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6560 print prefix "define", macro P[macro] D[macro]
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6561 next
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6562 } else {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6563 # Replace #undef with comments. This is necessary, for example,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6564 # in the case of _POSIX_SOURCE, which is predefined and required
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6565 # on some systems where configure will not decide to define it.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6566 if (defundef == "undef") {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6567 print "/*", prefix defundef, macro, "*/"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6568 next
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6569 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6570 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6571 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6572 { print }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6573 _ACAWK
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6574 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6576 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6577 fi # test -n "$CONFIG_HEADERS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6578
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6579
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6580 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6581 shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6582 for ac_tag
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6583 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6584 case $ac_tag in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6585 :[FHLC]) ac_mode=$ac_tag; continue;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6586 esac
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6587 case $ac_mode$ac_tag in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6588 :[FHL]*:*);;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6589 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6590 :[FH]-) ac_tag=-:-;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6591 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6592 esac
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6593 ac_save_IFS=$IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6594 IFS=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6595 set x $ac_tag
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6596 IFS=$ac_save_IFS
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6597 shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6598 ac_file=$1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6599 shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6600
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6601 case $ac_mode in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6602 :L) ac_source=$1;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6603 :[FH])
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6604 ac_file_inputs=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6605 for ac_f
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6606 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6607 case $ac_f in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6608 -) ac_f="$ac_tmp/stdin";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6609 *) # Look for the file first in the build tree, then in the source tree
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6610 # (if the path is not absolute). The absolute path cannot be DOS-style,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6611 # because $ac_f cannot contain `:'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6612 test -f "$ac_f" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6613 case $ac_f in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6614 [\\/$]*) false;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6615 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6616 esac ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6617 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6618 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6619 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6620 as_fn_append ac_file_inputs " '$ac_f'"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6621 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6622
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6623 # Let's still pretend it is `configure' which instantiates (i.e., don't
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6624 # use $as_me), people would be surprised to read:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6625 # /* config.h. Generated by config.status. */
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6626 configure_input='Generated from '`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6627 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6628 `' by configure.'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6629 if test x"$ac_file" != x-; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6630 configure_input="$ac_file. $configure_input"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6632 $as_echo "$as_me: creating $ac_file" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6633 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6634 # Neutralize special characters interpreted by sed in replacement strings.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6635 case $configure_input in #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6636 *\&* | *\|* | *\\* )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6637 ac_sed_conf_input=`$as_echo "$configure_input" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6638 sed 's/[\\\\&|]/\\\\&/g'`;; #(
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6639 *) ac_sed_conf_input=$configure_input;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6640 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6641
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6642 case $ac_tag in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6643 *:-:* | *:-) cat >"$ac_tmp/stdin" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6645 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6646 ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6647 esac
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6648
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6649 ac_dir=`$as_dirname -- "$ac_file" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6650 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6651 X"$ac_file" : 'X\(//\)[^/]' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6652 X"$ac_file" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6653 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6654 $as_echo X"$ac_file" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6656 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6657 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6658 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6659 /^X\(\/\/\)[^/].*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6660 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6661 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6662 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6663 /^X\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6664 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6665 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6666 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6667 /^X\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6668 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6669 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6670 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6671 s/.*/./; q'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6672 as_dir="$ac_dir"; as_fn_mkdir_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6673 ac_builddir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6674
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6675 case "$ac_dir" in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6676 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6677 *)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6678 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6679 # A ".." for each directory in $ac_dir_suffix.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6680 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6681 case $ac_top_builddir_sub in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6682 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6683 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6684 esac ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6685 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6686 ac_abs_top_builddir=$ac_pwd
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6687 ac_abs_builddir=$ac_pwd$ac_dir_suffix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6688 # for backward compatibility:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6689 ac_top_builddir=$ac_top_build_prefix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6690
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6691 case $srcdir in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6692 .) # We are building in place.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6693 ac_srcdir=.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6694 ac_top_srcdir=$ac_top_builddir_sub
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6695 ac_abs_top_srcdir=$ac_pwd ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6696 [\\/]* | ?:[\\/]* ) # Absolute name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6697 ac_srcdir=$srcdir$ac_dir_suffix;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6698 ac_top_srcdir=$srcdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6699 ac_abs_top_srcdir=$srcdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6700 *) # Relative name.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6701 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6702 ac_top_srcdir=$ac_top_build_prefix$srcdir
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6703 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6704 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6705 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6706
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6707
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6708 case $ac_mode in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6709 :F)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6710 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6711 # CONFIG_FILE
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6712 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6713
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6714 case $INSTALL in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6715 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6716 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6717 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6718 ac_MKDIR_P=$MKDIR_P
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6719 case $MKDIR_P in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6720 [\\/$]* | ?:[\\/]* ) ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6721 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6722 esac
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6723 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6724
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6726 # If the template does not know about datarootdir, expand it.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6727 # FIXME: This hack should be removed a few years after 2.60.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6728 ac_datarootdir_hack=; ac_datarootdir_seen=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6729 ac_sed_dataroot='
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6730 /datarootdir/ {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6731 p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6732 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6733 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6734 /@datadir@/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6735 /@docdir@/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6736 /@infodir@/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6737 /@localedir@/p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6738 /@mandir@/p'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6739 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6740 *datarootdir*) ac_datarootdir_seen=yes;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6741 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6743 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6744 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6746 ac_datarootdir_hack='
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6747 s&@datadir@&$datadir&g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6748 s&@docdir@&$docdir&g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6749 s&@infodir@&$infodir&g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6750 s&@localedir@&$localedir&g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6751 s&@mandir@&$mandir&g
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6752 s&\\\${datarootdir}&$datarootdir&g' ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6753 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6754 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6755
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6756 # Neutralize VPATH when `$srcdir' = `.'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6757 # Shell code in configure.ac might set extrasub.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6758 # FIXME: do we really want to maintain this feature?
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6760 ac_sed_extra="$ac_vpsub
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6761 $extrasub
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6762 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6764 :t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6766 s|@configure_input@|$ac_sed_conf_input|;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6767 s&@top_builddir@&$ac_top_builddir_sub&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6768 s&@top_build_prefix@&$ac_top_build_prefix&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6769 s&@srcdir@&$ac_srcdir&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6770 s&@abs_srcdir@&$ac_abs_srcdir&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6771 s&@top_srcdir@&$ac_top_srcdir&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6772 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6773 s&@builddir@&$ac_builddir&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6774 s&@abs_builddir@&$ac_abs_builddir&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6775 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6776 s&@INSTALL@&$ac_INSTALL&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6777 s&@MKDIR_P@&$ac_MKDIR_P&;t t
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6778 $ac_datarootdir_hack
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6779 "
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6780 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6781 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6782
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6783 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6784 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6785 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6786 "$ac_tmp/out"`; test -z "$ac_out"; } &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6788 which seems to be undefined. Please make sure it is defined" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6789 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6790 which seems to be undefined. Please make sure it is defined" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6791
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6792 rm -f "$ac_tmp/stdin"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6793 case $ac_file in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6794 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6795 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6796 esac \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6798 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6799 :H)
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6800 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6801 # CONFIG_HEADER
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6802 #
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6803 if test x"$ac_file" != x-; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6804 {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6805 $as_echo "/* $configure_input */" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6807 } >"$ac_tmp/config.h" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6809 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6811 $as_echo "$as_me: $ac_file is unchanged" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6812 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6813 rm -f "$ac_file"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6814 mv "$ac_tmp/config.h" "$ac_file" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6815 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6816 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6817 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6818 $as_echo "/* $configure_input */" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6819 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6820 || as_fn_error $? "could not create -" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6821 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6822 # Compute "$ac_file"'s index in $config_headers.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6823 _am_arg="$ac_file"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6824 _am_stamp_count=1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6825 for _am_header in $config_headers :; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6826 case $_am_header in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6827 $_am_arg | $_am_arg:* )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6828 break ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6829 * )
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6830 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6831 esac
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6832 done
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6833 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6834 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6835 X"$_am_arg" : 'X\(//\)[^/]' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6836 X"$_am_arg" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6837 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6838 $as_echo X"$_am_arg" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6840 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6841 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6842 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6843 /^X\(\/\/\)[^/].*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6844 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6845 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6846 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6847 /^X\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6848 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6849 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6850 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6851 /^X\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6852 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6853 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6854 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6855 s/.*/./; q'`/stamp-h$_am_stamp_count
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6856 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6857
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6858 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6859 $as_echo "$as_me: executing $ac_file commands" >&6;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6860 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6861 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6862
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6863
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6864 case $ac_file$ac_mode in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6865 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6866 # Older Autoconf quotes --file arguments for eval, but not when files
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6867 # are listed without --file. Let's play safe and only enable the eval
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6868 # if we detect the quoting.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6869 case $CONFIG_FILES in
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6870 *\'*) eval set x "$CONFIG_FILES" ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6871 *) set x $CONFIG_FILES ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6872 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6873 shift
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6874 for mf
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6875 do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6876 # Strip MF so we end up with the name of the file.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6877 mf=`echo "$mf" | sed -e 's/:.*$//'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6878 # Check whether this is an Automake generated Makefile or not.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6879 # We used to match only the files named 'Makefile.in', but
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6880 # some people rename them; so instead we look at the file content.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6881 # Grep'ing the first line is not enough: some people post-process
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6882 # each Makefile.in and add a new line on top of each file to say so.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6883 # Grep'ing the whole file is not good either: AIX grep has a line
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6884 # limit of 2048, but all sed's we know have understand at least 4000.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6885 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6886 dirpart=`$as_dirname -- "$mf" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6887 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6888 X"$mf" : 'X\(//\)[^/]' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6889 X"$mf" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6890 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6891 $as_echo X"$mf" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6893 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6894 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6895 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6896 /^X\(\/\/\)[^/].*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6897 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6898 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6899 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6900 /^X\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6901 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6902 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6903 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6904 /^X\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6905 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6906 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6907 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6908 s/.*/./; q'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6909 else
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6910 continue
43
2842f50feb55 [svn] * client.c, client.h, common.h, config.c, config.h, content.c, content.h,
uh1763
parents:
diff changeset
6911 fi
498
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6912 # Extract the definition of DEPDIR, am__include, and am__quote
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6913 # from the Makefile without running 'make'.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6914 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6915 test -z "$DEPDIR" && continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6916 am__include=`sed -n 's/^am__include = //p' < "$mf"`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6917 test -z "$am__include" && continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6918 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6919 # Find all dependency output files, they are included files with
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6920 # $(DEPDIR) in their names. We invoke sed twice because it is the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6921 # simplest approach to changing $(DEPDIR) to its actual value in the
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6922 # expansion.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6923 for file in `sed -n "
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6924 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6925 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6926 # Make sure the directory exists.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6927 test -f "$dirpart/$file" && continue
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6928 fdir=`$as_dirname -- "$file" ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6929 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6930 X"$file" : 'X\(//\)[^/]' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6931 X"$file" : 'X\(//\)$' \| \
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6932 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6933 $as_echo X"$file" |
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6935 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6936 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6937 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6938 /^X\(\/\/\)[^/].*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6939 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6940 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6941 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6942 /^X\(\/\/\)$/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6943 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6944 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6945 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6946 /^X\(\/\).*/{
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6947 s//\1/
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6948 q
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6949 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6950 s/.*/./; q'`
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6951 as_dir=$dirpart/$fdir; as_fn_mkdir_p
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6952 # echo "creating $dirpart/$file"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6953 echo '# dummy' > "$dirpart/$file"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6954 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6955 done
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6956 }
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6957 ;;
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6958
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6959 esac
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6960 done # for ac_tag
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6961
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6962
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6963 as_fn_exit 0
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6964 _ACEOF
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6965 ac_clean_files=$ac_clean_files_save
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6966
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6967 test $ac_write_fail = 0 ||
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6968 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6969
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6970
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6971 # configure is writing to config.log, and then calls config.status.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6972 # config.status does its own redirection, appending to config.log.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6973 # Unfortunately, on DOS this fails, as config.log is still kept open
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6974 # by configure, so config.status won't be able to write to it; its
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6975 # output is simply discarded. So we exec the FD to /dev/null,
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6976 # effectively closing config.log, so it can be properly (re)opened and
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6977 # appended to by config.status. When coming back to configure, we
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6978 # need to make the FD available again.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6979 if test "$no_create" != yes; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6980 ac_cs_success=:
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6981 ac_config_status_args=
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6982 test "$silent" = yes &&
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6983 ac_config_status_args="$ac_config_status_args --quiet"
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6984 exec 5>/dev/null
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6985 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6986 exec 5>>config.log
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6987 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6988 # would make configure fail if this is the last instruction.
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6989 $ac_cs_success || as_fn_exit 1
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6990 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6991 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6993 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6994 fi
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6995
d09bcf917ac9 Ran updated autoconf and friends.
Jim Hague <jim.hague@acm.org>
parents: 484
diff changeset
6996