Revision | 69318e9f1cd4b2bf3a61c836fc9a795bcbad2528 (tree) |
---|---|
Time | 2020-10-14 07:02:33 |
Author | SASANO Takayoshi <uaa@uaa....> |
Commiter | SASANO Takayoshi |
say good-bye to unused files
@@ -1,10 +0,0 @@ | ||
1 | -bin_PROGRAMS = dmonitor repeater_mon repeater_mon_light repeater_scan rpt_conn dstar_ntpdate | |
2 | -dmonitor_SOURCES = main.c dmonitor_utils.c init.c dmonitor_cmd.c inet_read.c rig_read.c dvap_utils.c dvap.c dvap_conf.c dvmega.c dvmega_conf.c dstar_data.c crc.c send_msg.c dvmega_utils.c node_conf.c node_utils.c from_node.c send_node.c PICinfo.c lcd.c crc.h dvap.h dmonitor.h init.h config.h dstar.h | |
3 | -dmonitor_LDADD = -lusb -lwiringPi -lwiringPiDev -lcrypto | |
4 | -repeater_mon_SOURCES = repeater_mon.c repeater_mon.h | |
5 | -repeater_mon_light_SOURCES = repeater_mon_light.c repeater_mon.h | |
6 | -repeater_scan_SOURCES = repeater_scan.c repeater_mon.h | |
7 | -rpt_conn_SOURCES = rpt_conn.c rpt_conn_utils.c rpt_conn_dvap.c rpt_dvap_utils.c rpt_conn_dvmega.c rpt_dvmega_utils.c rpt_conn_rig.c rpt_node_utils.c rpt_conn_send_msg.c rpt_conn_scan.c crc.c rpt_conn_lcd.c crc.h rpt_conn.h | |
8 | -rpt_conn_LDADD = -lusb -lwiringPi -lwiringPiDev | |
9 | -dstar_ntpdate_SOURCES = dstar_ntpdate.c | |
10 | - |
@@ -1,135 +0,0 @@ | ||
1 | -/* config.h. Generated from config.h.in by configure. */ | |
2 | -/* config.h.in. Generated from configure.ac by autoheader. */ | |
3 | - | |
4 | -/* Define to 1 if you have the <arpa/inet.h> header file. */ | |
5 | -#define HAVE_ARPA_INET_H 1 | |
6 | - | |
7 | -/* Define to 1 if you have the `bzero' function. */ | |
8 | -#define HAVE_BZERO 1 | |
9 | - | |
10 | -/* Define to 1 if you have the <fcntl.h> header file. */ | |
11 | -#define HAVE_FCNTL_H 1 | |
12 | - | |
13 | -/* Define to 1 if you have the `gethostbyname' function. */ | |
14 | -#define HAVE_GETHOSTBYNAME 1 | |
15 | - | |
16 | -/* Define to 1 if you have the `gettimeofday' function. */ | |
17 | -#define HAVE_GETTIMEOFDAY 1 | |
18 | - | |
19 | -/* Define to 1 if you have the `inet_ntoa' function. */ | |
20 | -#define HAVE_INET_NTOA 1 | |
21 | - | |
22 | -/* Define to 1 if you have the <inttypes.h> header file. */ | |
23 | -#define HAVE_INTTYPES_H 1 | |
24 | - | |
25 | -/* Define to 1 if you have the `crypto' library (-lcrypto). */ | |
26 | -#define HAVE_LIBCRYPTO 1 | |
27 | - | |
28 | -/* Define to 1 if you have the `wiringPi' library (-lwiringPi). */ | |
29 | -#define HAVE_LIBWIRINGPI 1 | |
30 | - | |
31 | -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and | |
32 | - to 0 otherwise. */ | |
33 | -#define HAVE_MALLOC 1 | |
34 | - | |
35 | -/* Define to 1 if you have the `memmove' function. */ | |
36 | -#define HAVE_MEMMOVE 1 | |
37 | - | |
38 | -/* Define to 1 if you have the <memory.h> header file. */ | |
39 | -#define HAVE_MEMORY_H 1 | |
40 | - | |
41 | -/* Define to 1 if you have the `memset' function. */ | |
42 | -#define HAVE_MEMSET 1 | |
43 | - | |
44 | -/* Define to 1 if you have the <netdb.h> header file. */ | |
45 | -#define HAVE_NETDB_H 1 | |
46 | - | |
47 | -/* Define to 1 if you have the <netinet/in.h> header file. */ | |
48 | -#define HAVE_NETINET_IN_H 1 | |
49 | - | |
50 | -/* Define to 1 if you have the `select' function. */ | |
51 | -#define HAVE_SELECT 1 | |
52 | - | |
53 | -/* Define to 1 if you have the `socket' function. */ | |
54 | -#define HAVE_SOCKET 1 | |
55 | - | |
56 | -/* Define to 1 if you have the <stdint.h> header file. */ | |
57 | -#define HAVE_STDINT_H 1 | |
58 | - | |
59 | -/* Define to 1 if you have the <stdlib.h> header file. */ | |
60 | -#define HAVE_STDLIB_H 1 | |
61 | - | |
62 | -/* Define to 1 if you have the `strerror' function. */ | |
63 | -#define HAVE_STRERROR 1 | |
64 | - | |
65 | -/* Define to 1 if you have the <strings.h> header file. */ | |
66 | -#define HAVE_STRINGS_H 1 | |
67 | - | |
68 | -/* Define to 1 if you have the <string.h> header file. */ | |
69 | -#define HAVE_STRING_H 1 | |
70 | - | |
71 | -/* Define to 1 if you have the <syslog.h> header file. */ | |
72 | -#define HAVE_SYSLOG_H 1 | |
73 | - | |
74 | -/* Define to 1 if you have the <sys/ioctl.h> header file. */ | |
75 | -#define HAVE_SYS_IOCTL_H 1 | |
76 | - | |
77 | -/* Define to 1 if you have the <sys/socket.h> header file. */ | |
78 | -#define HAVE_SYS_SOCKET_H 1 | |
79 | - | |
80 | -/* Define to 1 if you have the <sys/stat.h> header file. */ | |
81 | -#define HAVE_SYS_STAT_H 1 | |
82 | - | |
83 | -/* Define to 1 if you have the <sys/time.h> header file. */ | |
84 | -#define HAVE_SYS_TIME_H 1 | |
85 | - | |
86 | -/* Define to 1 if you have the <sys/types.h> header file. */ | |
87 | -#define HAVE_SYS_TYPES_H 1 | |
88 | - | |
89 | -/* Define to 1 if you have the <termios.h> header file. */ | |
90 | -#define HAVE_TERMIOS_H 1 | |
91 | - | |
92 | -/* Define to 1 if you have the <unistd.h> header file. */ | |
93 | -#define HAVE_UNISTD_H 1 | |
94 | - | |
95 | -/* Name of package */ | |
96 | -#define PACKAGE "dmonitor" | |
97 | - | |
98 | -/* Define to the address where bug reports for this package should be sent. */ | |
99 | -#define PACKAGE_BUGREPORT "7m3tjz@jarl.com" | |
100 | - | |
101 | -/* Define to the full name of this package. */ | |
102 | -#define PACKAGE_NAME "dmonitor" | |
103 | - | |
104 | -/* Define to the full name and version of this package. */ | |
105 | -#define PACKAGE_STRING "dmonitor 01.60" | |
106 | - | |
107 | -/* Define to the one symbol short name of this package. */ | |
108 | -#define PACKAGE_TARNAME "dmonitor" | |
109 | - | |
110 | -/* Define to the home page for this package. */ | |
111 | -#define PACKAGE_URL "" | |
112 | - | |
113 | -/* Define to the version of this package. */ | |
114 | -#define PACKAGE_VERSION "01.60" | |
115 | - | |
116 | -/* Define to 1 if you have the ANSI C header files. */ | |
117 | -#define STDC_HEADERS 1 | |
118 | - | |
119 | -/* Version number of package */ | |
120 | -#define VERSION "01.60" | |
121 | - | |
122 | -/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, | |
123 | - <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the | |
124 | - #define below would cause a syntax error. */ | |
125 | -/* #undef _UINT32_T */ | |
126 | - | |
127 | -/* Define to rpl_malloc if the replacement function should be used. */ | |
128 | -/* #undef malloc */ | |
129 | - | |
130 | -/* Define to `int' if <sys/types.h> does not define. */ | |
131 | -/* #undef ssize_t */ | |
132 | - | |
133 | -/* Define to the type of an unsigned integer type of width exactly 32 bits if | |
134 | - such a type exists and the standard includes do not define it. */ | |
135 | -/* #undef uint32_t */ |
@@ -1,5975 +0,0 @@ | ||
1 | -#! /bin/sh | |
2 | -# Guess values for system-dependent variables and create Makefiles. | |
3 | -# Generated by GNU Autoconf 2.69 for dmonitor 01.60. | |
4 | -# | |
5 | -# Report bugs to <7m3tjz@jarl.com>. | |
6 | -# | |
7 | -# | |
8 | -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
9 | -# | |
10 | -# | |
11 | -# This configure script is free software; the Free Software Foundation | |
12 | -# gives unlimited permission to copy, distribute and modify it. | |
13 | -## -------------------- ## | |
14 | -## M4sh Initialization. ## | |
15 | -## -------------------- ## | |
16 | - | |
17 | -# Be more Bourne compatible | |
18 | -DUALCASE=1; export DUALCASE # for MKS sh | |
19 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
20 | - emulate sh | |
21 | - NULLCMD=: | |
22 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
23 | - # is contrary to our usage. Disable this feature. | |
24 | - alias -g '${1+"$@"}'='"$@"' | |
25 | - setopt NO_GLOB_SUBST | |
26 | -else | |
27 | - case `(set -o) 2>/dev/null` in #( | |
28 | - *posix*) : | |
29 | - set -o posix ;; #( | |
30 | - *) : | |
31 | - ;; | |
32 | -esac | |
33 | -fi | |
34 | - | |
35 | - | |
36 | -as_nl=' | |
37 | -' | |
38 | -export as_nl | |
39 | -# Printing a long string crashes Solaris 7 /usr/bin/printf. | |
40 | -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
41 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
42 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
43 | -# Prefer a ksh shell builtin over an external printf program on Solaris, | |
44 | -# but without wasting forks for bash or zsh. | |
45 | -if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
46 | - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
47 | - as_echo='print -r --' | |
48 | - as_echo_n='print -rn --' | |
49 | -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
50 | - as_echo='printf %s\n' | |
51 | - as_echo_n='printf %s' | |
52 | -else | |
53 | - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
54 | - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
55 | - as_echo_n='/usr/ucb/echo -n' | |
56 | - else | |
57 | - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
58 | - as_echo_n_body='eval | |
59 | - arg=$1; | |
60 | - case $arg in #( | |
61 | - *"$as_nl"*) | |
62 | - expr "X$arg" : "X\\(.*\\)$as_nl"; | |
63 | - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
64 | - esac; | |
65 | - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
66 | - ' | |
67 | - export as_echo_n_body | |
68 | - as_echo_n='sh -c $as_echo_n_body as_echo' | |
69 | - fi | |
70 | - export as_echo_body | |
71 | - as_echo='sh -c $as_echo_body as_echo' | |
72 | -fi | |
73 | - | |
74 | -# The user is always right. | |
75 | -if test "${PATH_SEPARATOR+set}" != set; then | |
76 | - PATH_SEPARATOR=: | |
77 | - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
78 | - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
79 | - PATH_SEPARATOR=';' | |
80 | - } | |
81 | -fi | |
82 | - | |
83 | - | |
84 | -# IFS | |
85 | -# We need space, tab and new line, in precisely that order. Quoting is | |
86 | -# there to prevent editors from complaining about space-tab. | |
87 | -# (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
88 | -# splitting by setting IFS to empty value.) | |
89 | -IFS=" "" $as_nl" | |
90 | - | |
91 | -# Find who we are. Look in the path if we contain no directory separator. | |
92 | -as_myself= | |
93 | -case $0 in #(( | |
94 | - *[\\/]* ) as_myself=$0 ;; | |
95 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
96 | -for as_dir in $PATH | |
97 | -do | |
98 | - IFS=$as_save_IFS | |
99 | - test -z "$as_dir" && as_dir=. | |
100 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
101 | - done | |
102 | -IFS=$as_save_IFS | |
103 | - | |
104 | - ;; | |
105 | -esac | |
106 | -# We did not find ourselves, most probably we were run as `sh COMMAND' | |
107 | -# in which case we are not to be found in the path. | |
108 | -if test "x$as_myself" = x; then | |
109 | - as_myself=$0 | |
110 | -fi | |
111 | -if test ! -f "$as_myself"; then | |
112 | - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
113 | - exit 1 | |
114 | -fi | |
115 | - | |
116 | -# Unset variables that we do not need and which cause bugs (e.g. in | |
117 | -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
118 | -# suppresses any "Segmentation fault" message there. '((' could | |
119 | -# trigger a bug in pdksh 5.2.14. | |
120 | -for as_var in BASH_ENV ENV MAIL MAILPATH | |
121 | -do eval test x\${$as_var+set} = xset \ | |
122 | - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
123 | -done | |
124 | -PS1='$ ' | |
125 | -PS2='> ' | |
126 | -PS4='+ ' | |
127 | - | |
128 | -# NLS nuisances. | |
129 | -LC_ALL=C | |
130 | -export LC_ALL | |
131 | -LANGUAGE=C | |
132 | -export LANGUAGE | |
133 | - | |
134 | -# CDPATH. | |
135 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
136 | - | |
137 | -# Use a proper internal environment variable to ensure we don't fall | |
138 | - # into an infinite loop, continuously re-executing ourselves. | |
139 | - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
140 | - _as_can_reexec=no; export _as_can_reexec; | |
141 | - # We cannot yet assume a decent shell, so we have to provide a | |
142 | -# neutralization value for shells without unset; and this also | |
143 | -# works around shells that cannot unset nonexistent variables. | |
144 | -# Preserve -v and -x to the replacement shell. | |
145 | -BASH_ENV=/dev/null | |
146 | -ENV=/dev/null | |
147 | -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
148 | -case $- in # (((( | |
149 | - *v*x* | *x*v* ) as_opts=-vx ;; | |
150 | - *v* ) as_opts=-v ;; | |
151 | - *x* ) as_opts=-x ;; | |
152 | - * ) as_opts= ;; | |
153 | -esac | |
154 | -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
155 | -# Admittedly, this is quite paranoid, since all the known shells bail | |
156 | -# out after a failed `exec'. | |
157 | -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
158 | -as_fn_exit 255 | |
159 | - fi | |
160 | - # We don't want this to propagate to other subprocesses. | |
161 | - { _as_can_reexec=; unset _as_can_reexec;} | |
162 | -if test "x$CONFIG_SHELL" = x; then | |
163 | - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
164 | - emulate sh | |
165 | - NULLCMD=: | |
166 | - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
167 | - # is contrary to our usage. Disable this feature. | |
168 | - alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
169 | - setopt NO_GLOB_SUBST | |
170 | -else | |
171 | - case \`(set -o) 2>/dev/null\` in #( | |
172 | - *posix*) : | |
173 | - set -o posix ;; #( | |
174 | - *) : | |
175 | - ;; | |
176 | -esac | |
177 | -fi | |
178 | -" | |
179 | - as_required="as_fn_return () { (exit \$1); } | |
180 | -as_fn_success () { as_fn_return 0; } | |
181 | -as_fn_failure () { as_fn_return 1; } | |
182 | -as_fn_ret_success () { return 0; } | |
183 | -as_fn_ret_failure () { return 1; } | |
184 | - | |
185 | -exitcode=0 | |
186 | -as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
187 | -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
188 | -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
189 | -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
190 | -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
191 | - | |
192 | -else | |
193 | - exitcode=1; echo positional parameters were not saved. | |
194 | -fi | |
195 | -test x\$exitcode = x0 || exit 1 | |
196 | -test -x / || exit 1" | |
197 | - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
198 | - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
199 | - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
200 | - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
201 | -test \$(( 1 + 1 )) = 2 || exit 1" | |
202 | - if (eval "$as_required") 2>/dev/null; then : | |
203 | - as_have_required=yes | |
204 | -else | |
205 | - as_have_required=no | |
206 | -fi | |
207 | - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
208 | - | |
209 | -else | |
210 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
211 | -as_found=false | |
212 | -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
213 | -do | |
214 | - IFS=$as_save_IFS | |
215 | - test -z "$as_dir" && as_dir=. | |
216 | - as_found=: | |
217 | - case $as_dir in #( | |
218 | - /*) | |
219 | - for as_base in sh bash ksh sh5; do | |
220 | - # Try only shells that exist, to save several forks. | |
221 | - as_shell=$as_dir/$as_base | |
222 | - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
223 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
224 | - CONFIG_SHELL=$as_shell as_have_required=yes | |
225 | - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
226 | - break 2 | |
227 | -fi | |
228 | -fi | |
229 | - done;; | |
230 | - esac | |
231 | - as_found=false | |
232 | -done | |
233 | -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
234 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
235 | - CONFIG_SHELL=$SHELL as_have_required=yes | |
236 | -fi; } | |
237 | -IFS=$as_save_IFS | |
238 | - | |
239 | - | |
240 | - if test "x$CONFIG_SHELL" != x; then : | |
241 | - export CONFIG_SHELL | |
242 | - # We cannot yet assume a decent shell, so we have to provide a | |
243 | -# neutralization value for shells without unset; and this also | |
244 | -# works around shells that cannot unset nonexistent variables. | |
245 | -# Preserve -v and -x to the replacement shell. | |
246 | -BASH_ENV=/dev/null | |
247 | -ENV=/dev/null | |
248 | -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
249 | -case $- in # (((( | |
250 | - *v*x* | *x*v* ) as_opts=-vx ;; | |
251 | - *v* ) as_opts=-v ;; | |
252 | - *x* ) as_opts=-x ;; | |
253 | - * ) as_opts= ;; | |
254 | -esac | |
255 | -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
256 | -# Admittedly, this is quite paranoid, since all the known shells bail | |
257 | -# out after a failed `exec'. | |
258 | -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
259 | -exit 255 | |
260 | -fi | |
261 | - | |
262 | - if test x$as_have_required = xno; then : | |
263 | - $as_echo "$0: This script requires a shell more modern than all" | |
264 | - $as_echo "$0: the shells that I found on your system." | |
265 | - if test x${ZSH_VERSION+set} = xset ; then | |
266 | - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
267 | - $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
268 | - else | |
269 | - $as_echo "$0: Please tell bug-autoconf@gnu.org and 7m3tjz@jarl.com | |
270 | -$0: about your system, including any error possibly output | |
271 | -$0: before this message. Then install a modern shell, or | |
272 | -$0: manually run the script under such a shell if you do | |
273 | -$0: have one." | |
274 | - fi | |
275 | - exit 1 | |
276 | -fi | |
277 | -fi | |
278 | -fi | |
279 | -SHELL=${CONFIG_SHELL-/bin/sh} | |
280 | -export SHELL | |
281 | -# Unset more variables known to interfere with behavior of common tools. | |
282 | -CLICOLOR_FORCE= GREP_OPTIONS= | |
283 | -unset CLICOLOR_FORCE GREP_OPTIONS | |
284 | - | |
285 | -## --------------------- ## | |
286 | -## M4sh Shell Functions. ## | |
287 | -## --------------------- ## | |
288 | -# as_fn_unset VAR | |
289 | -# --------------- | |
290 | -# Portably unset VAR. | |
291 | -as_fn_unset () | |
292 | -{ | |
293 | - { eval $1=; unset $1;} | |
294 | -} | |
295 | -as_unset=as_fn_unset | |
296 | - | |
297 | -# as_fn_set_status STATUS | |
298 | -# ----------------------- | |
299 | -# Set $? to STATUS, without forking. | |
300 | -as_fn_set_status () | |
301 | -{ | |
302 | - return $1 | |
303 | -} # as_fn_set_status | |
304 | - | |
305 | -# as_fn_exit STATUS | |
306 | -# ----------------- | |
307 | -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
308 | -as_fn_exit () | |
309 | -{ | |
310 | - set +e | |
311 | - as_fn_set_status $1 | |
312 | - exit $1 | |
313 | -} # as_fn_exit | |
314 | - | |
315 | -# as_fn_mkdir_p | |
316 | -# ------------- | |
317 | -# Create "$as_dir" as a directory, including parents if necessary. | |
318 | -as_fn_mkdir_p () | |
319 | -{ | |
320 | - | |
321 | - case $as_dir in #( | |
322 | - -*) as_dir=./$as_dir;; | |
323 | - esac | |
324 | - test -d "$as_dir" || eval $as_mkdir_p || { | |
325 | - as_dirs= | |
326 | - while :; do | |
327 | - case $as_dir in #( | |
328 | - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
329 | - *) as_qdir=$as_dir;; | |
330 | - esac | |
331 | - as_dirs="'$as_qdir' $as_dirs" | |
332 | - as_dir=`$as_dirname -- "$as_dir" || | |
333 | -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
334 | - X"$as_dir" : 'X\(//\)[^/]' \| \ | |
335 | - X"$as_dir" : 'X\(//\)$' \| \ | |
336 | - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
337 | -$as_echo X"$as_dir" | | |
338 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
339 | - s//\1/ | |
340 | - q | |
341 | - } | |
342 | - /^X\(\/\/\)[^/].*/{ | |
343 | - s//\1/ | |
344 | - q | |
345 | - } | |
346 | - /^X\(\/\/\)$/{ | |
347 | - s//\1/ | |
348 | - q | |
349 | - } | |
350 | - /^X\(\/\).*/{ | |
351 | - s//\1/ | |
352 | - q | |
353 | - } | |
354 | - s/.*/./; q'` | |
355 | - test -d "$as_dir" && break | |
356 | - done | |
357 | - test -z "$as_dirs" || eval "mkdir $as_dirs" | |
358 | - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
359 | - | |
360 | - | |
361 | -} # as_fn_mkdir_p | |
362 | - | |
363 | -# as_fn_executable_p FILE | |
364 | -# ----------------------- | |
365 | -# Test if FILE is an executable regular file. | |
366 | -as_fn_executable_p () | |
367 | -{ | |
368 | - test -f "$1" && test -x "$1" | |
369 | -} # as_fn_executable_p | |
370 | -# as_fn_append VAR VALUE | |
371 | -# ---------------------- | |
372 | -# Append the text in VALUE to the end of the definition contained in VAR. Take | |
373 | -# advantage of any shell optimizations that allow amortized linear growth over | |
374 | -# repeated appends, instead of the typical quadratic growth present in naive | |
375 | -# implementations. | |
376 | -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
377 | - eval 'as_fn_append () | |
378 | - { | |
379 | - eval $1+=\$2 | |
380 | - }' | |
381 | -else | |
382 | - as_fn_append () | |
383 | - { | |
384 | - eval $1=\$$1\$2 | |
385 | - } | |
386 | -fi # as_fn_append | |
387 | - | |
388 | -# as_fn_arith ARG... | |
389 | -# ------------------ | |
390 | -# Perform arithmetic evaluation on the ARGs, and store the result in the | |
391 | -# global $as_val. Take advantage of shells that can avoid forks. The arguments | |
392 | -# must be portable across $(()) and expr. | |
393 | -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
394 | - eval 'as_fn_arith () | |
395 | - { | |
396 | - as_val=$(( $* )) | |
397 | - }' | |
398 | -else | |
399 | - as_fn_arith () | |
400 | - { | |
401 | - as_val=`expr "$@" || test $? -eq 1` | |
402 | - } | |
403 | -fi # as_fn_arith | |
404 | - | |
405 | - | |
406 | -# as_fn_error STATUS ERROR [LINENO LOG_FD] | |
407 | -# ---------------------------------------- | |
408 | -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
409 | -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
410 | -# script with STATUS, using 1 if that was 0. | |
411 | -as_fn_error () | |
412 | -{ | |
413 | - as_status=$1; test $as_status -eq 0 && as_status=1 | |
414 | - if test "$4"; then | |
415 | - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
416 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
417 | - fi | |
418 | - $as_echo "$as_me: error: $2" >&2 | |
419 | - as_fn_exit $as_status | |
420 | -} # as_fn_error | |
421 | - | |
422 | -if expr a : '\(a\)' >/dev/null 2>&1 && | |
423 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
424 | - as_expr=expr | |
425 | -else | |
426 | - as_expr=false | |
427 | -fi | |
428 | - | |
429 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
430 | - as_basename=basename | |
431 | -else | |
432 | - as_basename=false | |
433 | -fi | |
434 | - | |
435 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
436 | - as_dirname=dirname | |
437 | -else | |
438 | - as_dirname=false | |
439 | -fi | |
440 | - | |
441 | -as_me=`$as_basename -- "$0" || | |
442 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
443 | - X"$0" : 'X\(//\)$' \| \ | |
444 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
445 | -$as_echo X/"$0" | | |
446 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
447 | - s//\1/ | |
448 | - q | |
449 | - } | |
450 | - /^X\/\(\/\/\)$/{ | |
451 | - s//\1/ | |
452 | - q | |
453 | - } | |
454 | - /^X\/\(\/\).*/{ | |
455 | - s//\1/ | |
456 | - q | |
457 | - } | |
458 | - s/.*/./; q'` | |
459 | - | |
460 | -# Avoid depending upon Character Ranges. | |
461 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
462 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
463 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
464 | -as_cr_digits='0123456789' | |
465 | -as_cr_alnum=$as_cr_Letters$as_cr_digits | |
466 | - | |
467 | - | |
468 | - as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
469 | - as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
470 | - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
471 | - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
472 | - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
473 | - sed -n ' | |
474 | - p | |
475 | - /[$]LINENO/= | |
476 | - ' <$as_myself | | |
477 | - sed ' | |
478 | - s/[$]LINENO.*/&-/ | |
479 | - t lineno | |
480 | - b | |
481 | - :lineno | |
482 | - N | |
483 | - :loop | |
484 | - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
485 | - t loop | |
486 | - s/-\n.*// | |
487 | - ' >$as_me.lineno && | |
488 | - chmod +x "$as_me.lineno" || | |
489 | - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
490 | - | |
491 | - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
492 | - # already done that, so ensure we don't try to do so again and fall | |
493 | - # in an infinite loop. This has already happened in practice. | |
494 | - _as_can_reexec=no; export _as_can_reexec | |
495 | - # Don't try to exec as it changes $[0], causing all sort of problems | |
496 | - # (the dirname of $[0] is not the place where we might find the | |
497 | - # original and so on. Autoconf is especially sensitive to this). | |
498 | - . "./$as_me.lineno" | |
499 | - # Exit status is that of the last command. | |
500 | - exit | |
501 | -} | |
502 | - | |
503 | -ECHO_C= ECHO_N= ECHO_T= | |
504 | -case `echo -n x` in #((((( | |
505 | --n*) | |
506 | - case `echo 'xy\c'` in | |
507 | - *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
508 | - xy) ECHO_C='\c';; | |
509 | - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
510 | - ECHO_T=' ';; | |
511 | - esac;; | |
512 | -*) | |
513 | - ECHO_N='-n';; | |
514 | -esac | |
515 | - | |
516 | -rm -f conf$$ conf$$.exe conf$$.file | |
517 | -if test -d conf$$.dir; then | |
518 | - rm -f conf$$.dir/conf$$.file | |
519 | -else | |
520 | - rm -f conf$$.dir | |
521 | - mkdir conf$$.dir 2>/dev/null | |
522 | -fi | |
523 | -if (echo >conf$$.file) 2>/dev/null; then | |
524 | - if ln -s conf$$.file conf$$ 2>/dev/null; then | |
525 | - as_ln_s='ln -s' | |
526 | - # ... but there are two gotchas: | |
527 | - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
528 | - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
529 | - # In both cases, we have to default to `cp -pR'. | |
530 | - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
531 | - as_ln_s='cp -pR' | |
532 | - elif ln conf$$.file conf$$ 2>/dev/null; then | |
533 | - as_ln_s=ln | |
534 | - else | |
535 | - as_ln_s='cp -pR' | |
536 | - fi | |
537 | -else | |
538 | - as_ln_s='cp -pR' | |
539 | -fi | |
540 | -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
541 | -rmdir conf$$.dir 2>/dev/null | |
542 | - | |
543 | -if mkdir -p . 2>/dev/null; then | |
544 | - as_mkdir_p='mkdir -p "$as_dir"' | |
545 | -else | |
546 | - test -d ./-p && rmdir ./-p | |
547 | - as_mkdir_p=false | |
548 | -fi | |
549 | - | |
550 | -as_test_x='test -x' | |
551 | -as_executable_p=as_fn_executable_p | |
552 | - | |
553 | -# Sed expression to map a string onto a valid CPP name. | |
554 | -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
555 | - | |
556 | -# Sed expression to map a string onto a valid variable name. | |
557 | -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
558 | - | |
559 | - | |
560 | -test -n "$DJDIR" || exec 7<&0 </dev/null | |
561 | -exec 6>&1 | |
562 | - | |
563 | -# Name of the host. | |
564 | -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
565 | -# so uname gets run too. | |
566 | -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
567 | - | |
568 | -# | |
569 | -# Initializations. | |
570 | -# | |
571 | -ac_default_prefix=/usr/local | |
572 | -ac_clean_files= | |
573 | -ac_config_libobj_dir=. | |
574 | -LIBOBJS= | |
575 | -cross_compiling=no | |
576 | -subdirs= | |
577 | -MFLAGS= | |
578 | -MAKEFLAGS= | |
579 | - | |
580 | -# Identity of this package. | |
581 | -PACKAGE_NAME='dmonitor' | |
582 | -PACKAGE_TARNAME='dmonitor' | |
583 | -PACKAGE_VERSION='01.60' | |
584 | -PACKAGE_STRING='dmonitor 01.60' | |
585 | -PACKAGE_BUGREPORT='7m3tjz@jarl.com' | |
586 | -PACKAGE_URL='' | |
587 | - | |
588 | -ac_unique_file="crc.c" | |
589 | -# Factoring default headers for most tests. | |
590 | -ac_includes_default="\ | |
591 | -#include <stdio.h> | |
592 | -#ifdef HAVE_SYS_TYPES_H | |
593 | -# include <sys/types.h> | |
594 | -#endif | |
595 | -#ifdef HAVE_SYS_STAT_H | |
596 | -# include <sys/stat.h> | |
597 | -#endif | |
598 | -#ifdef STDC_HEADERS | |
599 | -# include <stdlib.h> | |
600 | -# include <stddef.h> | |
601 | -#else | |
602 | -# ifdef HAVE_STDLIB_H | |
603 | -# include <stdlib.h> | |
604 | -# endif | |
605 | -#endif | |
606 | -#ifdef HAVE_STRING_H | |
607 | -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
608 | -# include <memory.h> | |
609 | -# endif | |
610 | -# include <string.h> | |
611 | -#endif | |
612 | -#ifdef HAVE_STRINGS_H | |
613 | -# include <strings.h> | |
614 | -#endif | |
615 | -#ifdef HAVE_INTTYPES_H | |
616 | -# include <inttypes.h> | |
617 | -#endif | |
618 | -#ifdef HAVE_STDINT_H | |
619 | -# include <stdint.h> | |
620 | -#endif | |
621 | -#ifdef HAVE_UNISTD_H | |
622 | -# include <unistd.h> | |
623 | -#endif" | |
624 | - | |
625 | -ac_subst_vars='am__EXEEXT_FALSE | |
626 | -am__EXEEXT_TRUE | |
627 | -LTLIBOBJS | |
628 | -LIBOBJS | |
629 | -EGREP | |
630 | -GREP | |
631 | -CPP | |
632 | -am__fastdepCC_FALSE | |
633 | -am__fastdepCC_TRUE | |
634 | -CCDEPMODE | |
635 | -am__nodep | |
636 | -AMDEPBACKSLASH | |
637 | -AMDEP_FALSE | |
638 | -AMDEP_TRUE | |
639 | -am__include | |
640 | -DEPDIR | |
641 | -OBJEXT | |
642 | -EXEEXT | |
643 | -ac_ct_CC | |
644 | -CPPFLAGS | |
645 | -LDFLAGS | |
646 | -CFLAGS | |
647 | -CC | |
648 | -AM_BACKSLASH | |
649 | -AM_DEFAULT_VERBOSITY | |
650 | -AM_DEFAULT_V | |
651 | -AM_V | |
652 | -am__untar | |
653 | -am__tar | |
654 | -AMTAR | |
655 | -am__leading_dot | |
656 | -SET_MAKE | |
657 | -AWK | |
658 | -mkdir_p | |
659 | -MKDIR_P | |
660 | -INSTALL_STRIP_PROGRAM | |
661 | -STRIP | |
662 | -install_sh | |
663 | -MAKEINFO | |
664 | -AUTOHEADER | |
665 | -AUTOMAKE | |
666 | -AUTOCONF | |
667 | -ACLOCAL | |
668 | -VERSION | |
669 | -PACKAGE | |
670 | -CYGPATH_W | |
671 | -am__isrc | |
672 | -INSTALL_DATA | |
673 | -INSTALL_SCRIPT | |
674 | -INSTALL_PROGRAM | |
675 | -target_alias | |
676 | -host_alias | |
677 | -build_alias | |
678 | -LIBS | |
679 | -ECHO_T | |
680 | -ECHO_N | |
681 | -ECHO_C | |
682 | -DEFS | |
683 | -mandir | |
684 | -localedir | |
685 | -libdir | |
686 | -psdir | |
687 | -pdfdir | |
688 | -dvidir | |
689 | -htmldir | |
690 | -infodir | |
691 | -docdir | |
692 | -oldincludedir | |
693 | -includedir | |
694 | -runstatedir | |
695 | -localstatedir | |
696 | -sharedstatedir | |
697 | -sysconfdir | |
698 | -datadir | |
699 | -datarootdir | |
700 | -libexecdir | |
701 | -sbindir | |
702 | -bindir | |
703 | -program_transform_name | |
704 | -prefix | |
705 | -exec_prefix | |
706 | -PACKAGE_URL | |
707 | -PACKAGE_BUGREPORT | |
708 | -PACKAGE_STRING | |
709 | -PACKAGE_VERSION | |
710 | -PACKAGE_TARNAME | |
711 | -PACKAGE_NAME | |
712 | -PATH_SEPARATOR | |
713 | -SHELL | |
714 | -am__quote' | |
715 | -ac_subst_files='' | |
716 | -ac_user_opts=' | |
717 | -enable_option_checking | |
718 | -enable_silent_rules | |
719 | -enable_dependency_tracking | |
720 | -' | |
721 | - ac_precious_vars='build_alias | |
722 | -host_alias | |
723 | -target_alias | |
724 | -CC | |
725 | -CFLAGS | |
726 | -LDFLAGS | |
727 | -LIBS | |
728 | -CPPFLAGS | |
729 | -CPP' | |
730 | - | |
731 | - | |
732 | -# Initialize some variables set by options. | |
733 | -ac_init_help= | |
734 | -ac_init_version=false | |
735 | -ac_unrecognized_opts= | |
736 | -ac_unrecognized_sep= | |
737 | -# The variables have the same names as the options, with | |
738 | -# dashes changed to underlines. | |
739 | -cache_file=/dev/null | |
740 | -exec_prefix=NONE | |
741 | -no_create= | |
742 | -no_recursion= | |
743 | -prefix=NONE | |
744 | -program_prefix=NONE | |
745 | -program_suffix=NONE | |
746 | -program_transform_name=s,x,x, | |
747 | -silent= | |
748 | -site= | |
749 | -srcdir= | |
750 | -verbose= | |
751 | -x_includes=NONE | |
752 | -x_libraries=NONE | |
753 | - | |
754 | -# Installation directory options. | |
755 | -# These are left unexpanded so users can "make install exec_prefix=/foo" | |
756 | -# and all the variables that are supposed to be based on exec_prefix | |
757 | -# by default will actually change. | |
758 | -# Use braces instead of parens because sh, perl, etc. also accept them. | |
759 | -# (The list follows the same order as the GNU Coding Standards.) | |
760 | -bindir='${exec_prefix}/bin' | |
761 | -sbindir='${exec_prefix}/sbin' | |
762 | -libexecdir='${exec_prefix}/libexec' | |
763 | -datarootdir='${prefix}/share' | |
764 | -datadir='${datarootdir}' | |
765 | -sysconfdir='${prefix}/etc' | |
766 | -sharedstatedir='${prefix}/com' | |
767 | -localstatedir='${prefix}/var' | |
768 | -runstatedir='${localstatedir}/run' | |
769 | -includedir='${prefix}/include' | |
770 | -oldincludedir='/usr/include' | |
771 | -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
772 | -infodir='${datarootdir}/info' | |
773 | -htmldir='${docdir}' | |
774 | -dvidir='${docdir}' | |
775 | -pdfdir='${docdir}' | |
776 | -psdir='${docdir}' | |
777 | -libdir='${exec_prefix}/lib' | |
778 | -localedir='${datarootdir}/locale' | |
779 | -mandir='${datarootdir}/man' | |
780 | - | |
781 | -ac_prev= | |
782 | -ac_dashdash= | |
783 | -for ac_option | |
784 | -do | |
785 | - # If the previous option needs an argument, assign it. | |
786 | - if test -n "$ac_prev"; then | |
787 | - eval $ac_prev=\$ac_option | |
788 | - ac_prev= | |
789 | - continue | |
790 | - fi | |
791 | - | |
792 | - case $ac_option in | |
793 | - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
794 | - *=) ac_optarg= ;; | |
795 | - *) ac_optarg=yes ;; | |
796 | - esac | |
797 | - | |
798 | - # Accept the important Cygnus configure options, so we can diagnose typos. | |
799 | - | |
800 | - case $ac_dashdash$ac_option in | |
801 | - --) | |
802 | - ac_dashdash=yes ;; | |
803 | - | |
804 | - -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
805 | - ac_prev=bindir ;; | |
806 | - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
807 | - bindir=$ac_optarg ;; | |
808 | - | |
809 | - -build | --build | --buil | --bui | --bu) | |
810 | - ac_prev=build_alias ;; | |
811 | - -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
812 | - build_alias=$ac_optarg ;; | |
813 | - | |
814 | - -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
815 | - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
816 | - ac_prev=cache_file ;; | |
817 | - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
818 | - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
819 | - cache_file=$ac_optarg ;; | |
820 | - | |
821 | - --config-cache | -C) | |
822 | - cache_file=config.cache ;; | |
823 | - | |
824 | - -datadir | --datadir | --datadi | --datad) | |
825 | - ac_prev=datadir ;; | |
826 | - -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
827 | - datadir=$ac_optarg ;; | |
828 | - | |
829 | - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
830 | - | --dataroo | --dataro | --datar) | |
831 | - ac_prev=datarootdir ;; | |
832 | - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
833 | - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
834 | - datarootdir=$ac_optarg ;; | |
835 | - | |
836 | - -disable-* | --disable-*) | |
837 | - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
838 | - # Reject names that are not valid shell variable names. | |
839 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
840 | - as_fn_error $? "invalid feature name: $ac_useropt" | |
841 | - ac_useropt_orig=$ac_useropt | |
842 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
843 | - case $ac_user_opts in | |
844 | - *" | |
845 | -"enable_$ac_useropt" | |
846 | -"*) ;; | |
847 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
848 | - ac_unrecognized_sep=', ';; | |
849 | - esac | |
850 | - eval enable_$ac_useropt=no ;; | |
851 | - | |
852 | - -docdir | --docdir | --docdi | --doc | --do) | |
853 | - ac_prev=docdir ;; | |
854 | - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
855 | - docdir=$ac_optarg ;; | |
856 | - | |
857 | - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
858 | - ac_prev=dvidir ;; | |
859 | - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
860 | - dvidir=$ac_optarg ;; | |
861 | - | |
862 | - -enable-* | --enable-*) | |
863 | - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
864 | - # Reject names that are not valid shell variable names. | |
865 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
866 | - as_fn_error $? "invalid feature name: $ac_useropt" | |
867 | - ac_useropt_orig=$ac_useropt | |
868 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
869 | - case $ac_user_opts in | |
870 | - *" | |
871 | -"enable_$ac_useropt" | |
872 | -"*) ;; | |
873 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
874 | - ac_unrecognized_sep=', ';; | |
875 | - esac | |
876 | - eval enable_$ac_useropt=\$ac_optarg ;; | |
877 | - | |
878 | - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
879 | - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
880 | - | --exec | --exe | --ex) | |
881 | - ac_prev=exec_prefix ;; | |
882 | - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
883 | - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
884 | - | --exec=* | --exe=* | --ex=*) | |
885 | - exec_prefix=$ac_optarg ;; | |
886 | - | |
887 | - -gas | --gas | --ga | --g) | |
888 | - # Obsolete; use --with-gas. | |
889 | - with_gas=yes ;; | |
890 | - | |
891 | - -help | --help | --hel | --he | -h) | |
892 | - ac_init_help=long ;; | |
893 | - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
894 | - ac_init_help=recursive ;; | |
895 | - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
896 | - ac_init_help=short ;; | |
897 | - | |
898 | - -host | --host | --hos | --ho) | |
899 | - ac_prev=host_alias ;; | |
900 | - -host=* | --host=* | --hos=* | --ho=*) | |
901 | - host_alias=$ac_optarg ;; | |
902 | - | |
903 | - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
904 | - ac_prev=htmldir ;; | |
905 | - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
906 | - | --ht=*) | |
907 | - htmldir=$ac_optarg ;; | |
908 | - | |
909 | - -includedir | --includedir | --includedi | --included | --include \ | |
910 | - | --includ | --inclu | --incl | --inc) | |
911 | - ac_prev=includedir ;; | |
912 | - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
913 | - | --includ=* | --inclu=* | --incl=* | --inc=*) | |
914 | - includedir=$ac_optarg ;; | |
915 | - | |
916 | - -infodir | --infodir | --infodi | --infod | --info | --inf) | |
917 | - ac_prev=infodir ;; | |
918 | - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
919 | - infodir=$ac_optarg ;; | |
920 | - | |
921 | - -libdir | --libdir | --libdi | --libd) | |
922 | - ac_prev=libdir ;; | |
923 | - -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
924 | - libdir=$ac_optarg ;; | |
925 | - | |
926 | - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
927 | - | --libexe | --libex | --libe) | |
928 | - ac_prev=libexecdir ;; | |
929 | - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
930 | - | --libexe=* | --libex=* | --libe=*) | |
931 | - libexecdir=$ac_optarg ;; | |
932 | - | |
933 | - -localedir | --localedir | --localedi | --localed | --locale) | |
934 | - ac_prev=localedir ;; | |
935 | - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
936 | - localedir=$ac_optarg ;; | |
937 | - | |
938 | - -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
939 | - | --localstate | --localstat | --localsta | --localst | --locals) | |
940 | - ac_prev=localstatedir ;; | |
941 | - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
942 | - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
943 | - localstatedir=$ac_optarg ;; | |
944 | - | |
945 | - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
946 | - ac_prev=mandir ;; | |
947 | - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
948 | - mandir=$ac_optarg ;; | |
949 | - | |
950 | - -nfp | --nfp | --nf) | |
951 | - # Obsolete; use --without-fp. | |
952 | - with_fp=no ;; | |
953 | - | |
954 | - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
955 | - | --no-cr | --no-c | -n) | |
956 | - no_create=yes ;; | |
957 | - | |
958 | - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
959 | - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
960 | - no_recursion=yes ;; | |
961 | - | |
962 | - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
963 | - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
964 | - | --oldin | --oldi | --old | --ol | --o) | |
965 | - ac_prev=oldincludedir ;; | |
966 | - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
967 | - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
968 | - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
969 | - oldincludedir=$ac_optarg ;; | |
970 | - | |
971 | - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
972 | - ac_prev=prefix ;; | |
973 | - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
974 | - prefix=$ac_optarg ;; | |
975 | - | |
976 | - -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
977 | - | --program-pre | --program-pr | --program-p) | |
978 | - ac_prev=program_prefix ;; | |
979 | - -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
980 | - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
981 | - program_prefix=$ac_optarg ;; | |
982 | - | |
983 | - -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
984 | - | --program-suf | --program-su | --program-s) | |
985 | - ac_prev=program_suffix ;; | |
986 | - -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
987 | - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
988 | - program_suffix=$ac_optarg ;; | |
989 | - | |
990 | - -program-transform-name | --program-transform-name \ | |
991 | - | --program-transform-nam | --program-transform-na \ | |
992 | - | --program-transform-n | --program-transform- \ | |
993 | - | --program-transform | --program-transfor \ | |
994 | - | --program-transfo | --program-transf \ | |
995 | - | --program-trans | --program-tran \ | |
996 | - | --progr-tra | --program-tr | --program-t) | |
997 | - ac_prev=program_transform_name ;; | |
998 | - -program-transform-name=* | --program-transform-name=* \ | |
999 | - | --program-transform-nam=* | --program-transform-na=* \ | |
1000 | - | --program-transform-n=* | --program-transform-=* \ | |
1001 | - | --program-transform=* | --program-transfor=* \ | |
1002 | - | --program-transfo=* | --program-transf=* \ | |
1003 | - | --program-trans=* | --program-tran=* \ | |
1004 | - | --progr-tra=* | --program-tr=* | --program-t=*) | |
1005 | - program_transform_name=$ac_optarg ;; | |
1006 | - | |
1007 | - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
1008 | - ac_prev=pdfdir ;; | |
1009 | - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1010 | - pdfdir=$ac_optarg ;; | |
1011 | - | |
1012 | - -psdir | --psdir | --psdi | --psd | --ps) | |
1013 | - ac_prev=psdir ;; | |
1014 | - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1015 | - psdir=$ac_optarg ;; | |
1016 | - | |
1017 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1018 | - | -silent | --silent | --silen | --sile | --sil) | |
1019 | - silent=yes ;; | |
1020 | - | |
1021 | - -runstatedir | --runstatedir | --runstatedi | --runstated \ | |
1022 | - | --runstate | --runstat | --runsta | --runst | --runs \ | |
1023 | - | --run | --ru | --r) | |
1024 | - ac_prev=runstatedir ;; | |
1025 | - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | |
1026 | - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | |
1027 | - | --run=* | --ru=* | --r=*) | |
1028 | - runstatedir=$ac_optarg ;; | |
1029 | - | |
1030 | - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
1031 | - ac_prev=sbindir ;; | |
1032 | - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1033 | - | --sbi=* | --sb=*) | |
1034 | - sbindir=$ac_optarg ;; | |
1035 | - | |
1036 | - -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1037 | - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1038 | - | --sharedst | --shareds | --shared | --share | --shar \ | |
1039 | - | --sha | --sh) | |
1040 | - ac_prev=sharedstatedir ;; | |
1041 | - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1042 | - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1043 | - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1044 | - | --sha=* | --sh=*) | |
1045 | - sharedstatedir=$ac_optarg ;; | |
1046 | - | |
1047 | - -site | --site | --sit) | |
1048 | - ac_prev=site ;; | |
1049 | - -site=* | --site=* | --sit=*) | |
1050 | - site=$ac_optarg ;; | |
1051 | - | |
1052 | - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1053 | - ac_prev=srcdir ;; | |
1054 | - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
1055 | - srcdir=$ac_optarg ;; | |
1056 | - | |
1057 | - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
1058 | - | --syscon | --sysco | --sysc | --sys | --sy) | |
1059 | - ac_prev=sysconfdir ;; | |
1060 | - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1061 | - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
1062 | - sysconfdir=$ac_optarg ;; | |
1063 | - | |
1064 | - -target | --target | --targe | --targ | --tar | --ta | --t) | |
1065 | - ac_prev=target_alias ;; | |
1066 | - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
1067 | - target_alias=$ac_optarg ;; | |
1068 | - | |
1069 | - -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1070 | - verbose=yes ;; | |
1071 | - | |
1072 | - -version | --version | --versio | --versi | --vers | -V) | |
1073 | - ac_init_version=: ;; | |
1074 | - | |
1075 | - -with-* | --with-*) | |
1076 | - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
1077 | - # Reject names that are not valid shell variable names. | |
1078 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1079 | - as_fn_error $? "invalid package name: $ac_useropt" | |
1080 | - ac_useropt_orig=$ac_useropt | |
1081 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1082 | - case $ac_user_opts in | |
1083 | - *" | |
1084 | -"with_$ac_useropt" | |
1085 | -"*) ;; | |
1086 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1087 | - ac_unrecognized_sep=', ';; | |
1088 | - esac | |
1089 | - eval with_$ac_useropt=\$ac_optarg ;; | |
1090 | - | |
1091 | - -without-* | --without-*) | |
1092 | - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
1093 | - # Reject names that are not valid shell variable names. | |
1094 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
1095 | - as_fn_error $? "invalid package name: $ac_useropt" | |
1096 | - ac_useropt_orig=$ac_useropt | |
1097 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1098 | - case $ac_user_opts in | |
1099 | - *" | |
1100 | -"with_$ac_useropt" | |
1101 | -"*) ;; | |
1102 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1103 | - ac_unrecognized_sep=', ';; | |
1104 | - esac | |
1105 | - eval with_$ac_useropt=no ;; | |
1106 | - | |
1107 | - --x) | |
1108 | - # Obsolete; use --with-x. | |
1109 | - with_x=yes ;; | |
1110 | - | |
1111 | - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1112 | - | --x-incl | --x-inc | --x-in | --x-i) | |
1113 | - ac_prev=x_includes ;; | |
1114 | - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1115 | - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
1116 | - x_includes=$ac_optarg ;; | |
1117 | - | |
1118 | - -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1119 | - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1120 | - ac_prev=x_libraries ;; | |
1121 | - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1122 | - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
1123 | - x_libraries=$ac_optarg ;; | |
1124 | - | |
1125 | - -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1126 | -Try \`$0 --help' for more information" | |
1127 | - ;; | |
1128 | - | |
1129 | - *=*) | |
1130 | - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1131 | - # Reject names that are not valid shell variable names. | |
1132 | - case $ac_envvar in #( | |
1133 | - '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1134 | - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1135 | - esac | |
1136 | - eval $ac_envvar=\$ac_optarg | |
1137 | - export $ac_envvar ;; | |
1138 | - | |
1139 | - *) | |
1140 | - # FIXME: should be removed in autoconf 3.0. | |
1141 | - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
1142 | - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
1143 | - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
1144 | - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1145 | - ;; | |
1146 | - | |
1147 | - esac | |
1148 | -done | |
1149 | - | |
1150 | -if test -n "$ac_prev"; then | |
1151 | - ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
1152 | - as_fn_error $? "missing argument to $ac_option" | |
1153 | -fi | |
1154 | - | |
1155 | -if test -n "$ac_unrecognized_opts"; then | |
1156 | - case $enable_option_checking in | |
1157 | - no) ;; | |
1158 | - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1159 | - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1160 | - esac | |
1161 | -fi | |
1162 | - | |
1163 | -# Check all directory arguments for consistency. | |
1164 | -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
1165 | - datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1166 | - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1167 | - libdir localedir mandir runstatedir | |
1168 | -do | |
1169 | - eval ac_val=\$$ac_var | |
1170 | - # Remove trailing slashes. | |
1171 | - case $ac_val in | |
1172 | - */ ) | |
1173 | - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1174 | - eval $ac_var=\$ac_val;; | |
1175 | - esac | |
1176 | - # Be sure to have absolute directory names. | |
1177 | - case $ac_val in | |
1178 | - [\\/$]* | ?:[\\/]* ) continue;; | |
1179 | - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
1180 | - esac | |
1181 | - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1182 | -done | |
1183 | - | |
1184 | -# There might be people who depend on the old broken behavior: `$host' | |
1185 | -# used to hold the argument of --host etc. | |
1186 | -# FIXME: To remove some day. | |
1187 | -build=$build_alias | |
1188 | -host=$host_alias | |
1189 | -target=$target_alias | |
1190 | - | |
1191 | -# FIXME: To remove some day. | |
1192 | -if test "x$host_alias" != x; then | |
1193 | - if test "x$build_alias" = x; then | |
1194 | - cross_compiling=maybe | |
1195 | - elif test "x$build_alias" != "x$host_alias"; then | |
1196 | - cross_compiling=yes | |
1197 | - fi | |
1198 | -fi | |
1199 | - | |
1200 | -ac_tool_prefix= | |
1201 | -test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
1202 | - | |
1203 | -test "$silent" = yes && exec 6>/dev/null | |
1204 | - | |
1205 | - | |
1206 | -ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1207 | -ac_ls_di=`ls -di .` && | |
1208 | -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1209 | - as_fn_error $? "working directory cannot be determined" | |
1210 | -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1211 | - as_fn_error $? "pwd does not report name of working directory" | |
1212 | - | |
1213 | - | |
1214 | -# Find the source files, if location was not specified. | |
1215 | -if test -z "$srcdir"; then | |
1216 | - ac_srcdir_defaulted=yes | |
1217 | - # Try the directory containing this script, then the parent directory. | |
1218 | - ac_confdir=`$as_dirname -- "$as_myself" || | |
1219 | -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1220 | - X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1221 | - X"$as_myself" : 'X\(//\)$' \| \ | |
1222 | - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1223 | -$as_echo X"$as_myself" | | |
1224 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
1225 | - s//\1/ | |
1226 | - q | |
1227 | - } | |
1228 | - /^X\(\/\/\)[^/].*/{ | |
1229 | - s//\1/ | |
1230 | - q | |
1231 | - } | |
1232 | - /^X\(\/\/\)$/{ | |
1233 | - s//\1/ | |
1234 | - q | |
1235 | - } | |
1236 | - /^X\(\/\).*/{ | |
1237 | - s//\1/ | |
1238 | - q | |
1239 | - } | |
1240 | - s/.*/./; q'` | |
1241 | - srcdir=$ac_confdir | |
1242 | - if test ! -r "$srcdir/$ac_unique_file"; then | |
1243 | - srcdir=.. | |
1244 | - fi | |
1245 | -else | |
1246 | - ac_srcdir_defaulted=no | |
1247 | -fi | |
1248 | -if test ! -r "$srcdir/$ac_unique_file"; then | |
1249 | - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
1250 | - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1251 | -fi | |
1252 | -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
1253 | -ac_abs_confdir=`( | |
1254 | - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1255 | - pwd)` | |
1256 | -# When building in place, set srcdir=. | |
1257 | -if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1258 | - srcdir=. | |
1259 | -fi | |
1260 | -# Remove unnecessary trailing slashes from srcdir. | |
1261 | -# Double slashes in file names in object file debugging info | |
1262 | -# mess up M-x gdb in Emacs. | |
1263 | -case $srcdir in | |
1264 | -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1265 | -esac | |
1266 | -for ac_var in $ac_precious_vars; do | |
1267 | - eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1268 | - eval ac_env_${ac_var}_value=\$${ac_var} | |
1269 | - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1270 | - eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1271 | -done | |
1272 | - | |
1273 | -# | |
1274 | -# Report the --help message. | |
1275 | -# | |
1276 | -if test "$ac_init_help" = "long"; then | |
1277 | - # Omit some internal or obsolete options to make the list less imposing. | |
1278 | - # This message is too long to be a string in the A/UX 3.1 sh. | |
1279 | - cat <<_ACEOF | |
1280 | -\`configure' configures dmonitor 01.60 to adapt to many kinds of systems. | |
1281 | - | |
1282 | -Usage: $0 [OPTION]... [VAR=VALUE]... | |
1283 | - | |
1284 | -To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1285 | -VAR=VALUE. See below for descriptions of some of the useful variables. | |
1286 | - | |
1287 | -Defaults for the options are specified in brackets. | |
1288 | - | |
1289 | -Configuration: | |
1290 | - -h, --help display this help and exit | |
1291 | - --help=short display options specific to this package | |
1292 | - --help=recursive display the short help of all the included packages | |
1293 | - -V, --version display version information and exit | |
1294 | - -q, --quiet, --silent do not print \`checking ...' messages | |
1295 | - --cache-file=FILE cache test results in FILE [disabled] | |
1296 | - -C, --config-cache alias for \`--cache-file=config.cache' | |
1297 | - -n, --no-create do not create output files | |
1298 | - --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1299 | - | |
1300 | -Installation directories: | |
1301 | - --prefix=PREFIX install architecture-independent files in PREFIX | |
1302 | - [$ac_default_prefix] | |
1303 | - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
1304 | - [PREFIX] | |
1305 | - | |
1306 | -By default, \`make install' will install all the files in | |
1307 | -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1308 | -an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1309 | -for instance \`--prefix=\$HOME'. | |
1310 | - | |
1311 | -For better control, use the options below. | |
1312 | - | |
1313 | -Fine tuning of the installation directories: | |
1314 | - --bindir=DIR user executables [EPREFIX/bin] | |
1315 | - --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1316 | - --libexecdir=DIR program executables [EPREFIX/libexec] | |
1317 | - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1318 | - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1319 | - --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1320 | - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | |
1321 | - --libdir=DIR object code libraries [EPREFIX/lib] | |
1322 | - --includedir=DIR C header files [PREFIX/include] | |
1323 | - --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1324 | - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1325 | - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1326 | - --infodir=DIR info documentation [DATAROOTDIR/info] | |
1327 | - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1328 | - --mandir=DIR man documentation [DATAROOTDIR/man] | |
1329 | - --docdir=DIR documentation root [DATAROOTDIR/doc/dmonitor] | |
1330 | - --htmldir=DIR html documentation [DOCDIR] | |
1331 | - --dvidir=DIR dvi documentation [DOCDIR] | |
1332 | - --pdfdir=DIR pdf documentation [DOCDIR] | |
1333 | - --psdir=DIR ps documentation [DOCDIR] | |
1334 | -_ACEOF | |
1335 | - | |
1336 | - cat <<\_ACEOF | |
1337 | - | |
1338 | -Program names: | |
1339 | - --program-prefix=PREFIX prepend PREFIX to installed program names | |
1340 | - --program-suffix=SUFFIX append SUFFIX to installed program names | |
1341 | - --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
1342 | -_ACEOF | |
1343 | -fi | |
1344 | - | |
1345 | -if test -n "$ac_init_help"; then | |
1346 | - case $ac_init_help in | |
1347 | - short | recursive ) echo "Configuration of dmonitor 01.60:";; | |
1348 | - esac | |
1349 | - cat <<\_ACEOF | |
1350 | - | |
1351 | -Optional Features: | |
1352 | - --disable-option-checking ignore unrecognized --enable/--with options | |
1353 | - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
1354 | - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
1355 | - --enable-silent-rules less verbose build output (undo: "make V=1") | |
1356 | - --disable-silent-rules verbose build output (undo: "make V=0") | |
1357 | - --enable-dependency-tracking | |
1358 | - do not reject slow dependency extractors | |
1359 | - --disable-dependency-tracking | |
1360 | - speeds up one-time build | |
1361 | - | |
1362 | -Some influential environment variables: | |
1363 | - CC C compiler command | |
1364 | - CFLAGS C compiler flags | |
1365 | - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1366 | - nonstandard directory <lib dir> | |
1367 | - LIBS libraries to pass to the linker, e.g. -l<library> | |
1368 | - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
1369 | - you have headers in a nonstandard directory <include dir> | |
1370 | - CPP C preprocessor | |
1371 | - | |
1372 | -Use these variables to override the choices made by `configure' or to help | |
1373 | -it to find libraries and programs with nonstandard names/locations. | |
1374 | - | |
1375 | -Report bugs to <7m3tjz@jarl.com>. | |
1376 | -_ACEOF | |
1377 | -ac_status=$? | |
1378 | -fi | |
1379 | - | |
1380 | -if test "$ac_init_help" = "recursive"; then | |
1381 | - # If there are subdirs, report their specific --help. | |
1382 | - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
1383 | - test -d "$ac_dir" || | |
1384 | - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1385 | - continue | |
1386 | - ac_builddir=. | |
1387 | - | |
1388 | -case "$ac_dir" in | |
1389 | -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1390 | -*) | |
1391 | - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
1392 | - # A ".." for each directory in $ac_dir_suffix. | |
1393 | - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
1394 | - case $ac_top_builddir_sub in | |
1395 | - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1396 | - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1397 | - esac ;; | |
1398 | -esac | |
1399 | -ac_abs_top_builddir=$ac_pwd | |
1400 | -ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1401 | -# for backward compatibility: | |
1402 | -ac_top_builddir=$ac_top_build_prefix | |
1403 | - | |
1404 | -case $srcdir in | |
1405 | - .) # We are building in place. | |
1406 | - ac_srcdir=. | |
1407 | - ac_top_srcdir=$ac_top_builddir_sub | |
1408 | - ac_abs_top_srcdir=$ac_pwd ;; | |
1409 | - [\\/]* | ?:[\\/]* ) # Absolute name. | |
1410 | - ac_srcdir=$srcdir$ac_dir_suffix; | |
1411 | - ac_top_srcdir=$srcdir | |
1412 | - ac_abs_top_srcdir=$srcdir ;; | |
1413 | - *) # Relative name. | |
1414 | - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1415 | - ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1416 | - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
1417 | -esac | |
1418 | -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
1419 | - | |
1420 | - cd "$ac_dir" || { ac_status=$?; continue; } | |
1421 | - # Check for guested configure. | |
1422 | - if test -f "$ac_srcdir/configure.gnu"; then | |
1423 | - echo && | |
1424 | - $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
1425 | - elif test -f "$ac_srcdir/configure"; then | |
1426 | - echo && | |
1427 | - $SHELL "$ac_srcdir/configure" --help=recursive | |
1428 | - else | |
1429 | - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
1430 | - fi || ac_status=$? | |
1431 | - cd "$ac_pwd" || { ac_status=$?; break; } | |
1432 | - done | |
1433 | -fi | |
1434 | - | |
1435 | -test -n "$ac_init_help" && exit $ac_status | |
1436 | -if $ac_init_version; then | |
1437 | - cat <<\_ACEOF | |
1438 | -dmonitor configure 01.60 | |
1439 | -generated by GNU Autoconf 2.69 | |
1440 | - | |
1441 | -Copyright (C) 2012 Free Software Foundation, Inc. | |
1442 | -This configure script is free software; the Free Software Foundation | |
1443 | -gives unlimited permission to copy, distribute and modify it. | |
1444 | -_ACEOF | |
1445 | - exit | |
1446 | -fi | |
1447 | - | |
1448 | -## ------------------------ ## | |
1449 | -## Autoconf initialization. ## | |
1450 | -## ------------------------ ## | |
1451 | - | |
1452 | -# ac_fn_c_try_compile LINENO | |
1453 | -# -------------------------- | |
1454 | -# Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1455 | -ac_fn_c_try_compile () | |
1456 | -{ | |
1457 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1458 | - rm -f conftest.$ac_objext | |
1459 | - if { { ac_try="$ac_compile" | |
1460 | -case "(($ac_try" in | |
1461 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1462 | - *) ac_try_echo=$ac_try;; | |
1463 | -esac | |
1464 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1465 | -$as_echo "$ac_try_echo"; } >&5 | |
1466 | - (eval "$ac_compile") 2>conftest.err | |
1467 | - ac_status=$? | |
1468 | - if test -s conftest.err; then | |
1469 | - grep -v '^ *+' conftest.err >conftest.er1 | |
1470 | - cat conftest.er1 >&5 | |
1471 | - mv -f conftest.er1 conftest.err | |
1472 | - fi | |
1473 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1474 | - test $ac_status = 0; } && { | |
1475 | - test -z "$ac_c_werror_flag" || | |
1476 | - test ! -s conftest.err | |
1477 | - } && test -s conftest.$ac_objext; then : | |
1478 | - ac_retval=0 | |
1479 | -else | |
1480 | - $as_echo "$as_me: failed program was:" >&5 | |
1481 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
1482 | - | |
1483 | - ac_retval=1 | |
1484 | -fi | |
1485 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1486 | - as_fn_set_status $ac_retval | |
1487 | - | |
1488 | -} # ac_fn_c_try_compile | |
1489 | - | |
1490 | -# ac_fn_c_try_link LINENO | |
1491 | -# ----------------------- | |
1492 | -# Try to link conftest.$ac_ext, and return whether this succeeded. | |
1493 | -ac_fn_c_try_link () | |
1494 | -{ | |
1495 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1496 | - rm -f conftest.$ac_objext conftest$ac_exeext | |
1497 | - if { { ac_try="$ac_link" | |
1498 | -case "(($ac_try" in | |
1499 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1500 | - *) ac_try_echo=$ac_try;; | |
1501 | -esac | |
1502 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1503 | -$as_echo "$ac_try_echo"; } >&5 | |
1504 | - (eval "$ac_link") 2>conftest.err | |
1505 | - ac_status=$? | |
1506 | - if test -s conftest.err; then | |
1507 | - grep -v '^ *+' conftest.err >conftest.er1 | |
1508 | - cat conftest.er1 >&5 | |
1509 | - mv -f conftest.er1 conftest.err | |
1510 | - fi | |
1511 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1512 | - test $ac_status = 0; } && { | |
1513 | - test -z "$ac_c_werror_flag" || | |
1514 | - test ! -s conftest.err | |
1515 | - } && test -s conftest$ac_exeext && { | |
1516 | - test "$cross_compiling" = yes || | |
1517 | - test -x conftest$ac_exeext | |
1518 | - }; then : | |
1519 | - ac_retval=0 | |
1520 | -else | |
1521 | - $as_echo "$as_me: failed program was:" >&5 | |
1522 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
1523 | - | |
1524 | - ac_retval=1 | |
1525 | -fi | |
1526 | - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1527 | - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1528 | - # interfere with the next link command; also delete a directory that is | |
1529 | - # left behind by Apple's compiler. We do this before executing the actions. | |
1530 | - rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1531 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1532 | - as_fn_set_status $ac_retval | |
1533 | - | |
1534 | -} # ac_fn_c_try_link | |
1535 | - | |
1536 | -# ac_fn_c_try_cpp LINENO | |
1537 | -# ---------------------- | |
1538 | -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1539 | -ac_fn_c_try_cpp () | |
1540 | -{ | |
1541 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1542 | - if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1543 | -case "(($ac_try" in | |
1544 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1545 | - *) ac_try_echo=$ac_try;; | |
1546 | -esac | |
1547 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1548 | -$as_echo "$ac_try_echo"; } >&5 | |
1549 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1550 | - ac_status=$? | |
1551 | - if test -s conftest.err; then | |
1552 | - grep -v '^ *+' conftest.err >conftest.er1 | |
1553 | - cat conftest.er1 >&5 | |
1554 | - mv -f conftest.er1 conftest.err | |
1555 | - fi | |
1556 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1557 | - test $ac_status = 0; } > conftest.i && { | |
1558 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1559 | - test ! -s conftest.err | |
1560 | - }; then : | |
1561 | - ac_retval=0 | |
1562 | -else | |
1563 | - $as_echo "$as_me: failed program was:" >&5 | |
1564 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
1565 | - | |
1566 | - ac_retval=1 | |
1567 | -fi | |
1568 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1569 | - as_fn_set_status $ac_retval | |
1570 | - | |
1571 | -} # ac_fn_c_try_cpp | |
1572 | - | |
1573 | -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1574 | -# ------------------------------------------------------- | |
1575 | -# Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1576 | -# the include files in INCLUDES and setting the cache variable VAR | |
1577 | -# accordingly. | |
1578 | -ac_fn_c_check_header_mongrel () | |
1579 | -{ | |
1580 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1581 | - if eval \${$3+:} false; then : | |
1582 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1583 | -$as_echo_n "checking for $2... " >&6; } | |
1584 | -if eval \${$3+:} false; then : | |
1585 | - $as_echo_n "(cached) " >&6 | |
1586 | -fi | |
1587 | -eval ac_res=\$$3 | |
1588 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1589 | -$as_echo "$ac_res" >&6; } | |
1590 | -else | |
1591 | - # Is the header compilable? | |
1592 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1593 | -$as_echo_n "checking $2 usability... " >&6; } | |
1594 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1595 | -/* end confdefs.h. */ | |
1596 | -$4 | |
1597 | -#include <$2> | |
1598 | -_ACEOF | |
1599 | -if ac_fn_c_try_compile "$LINENO"; then : | |
1600 | - ac_header_compiler=yes | |
1601 | -else | |
1602 | - ac_header_compiler=no | |
1603 | -fi | |
1604 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1605 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1606 | -$as_echo "$ac_header_compiler" >&6; } | |
1607 | - | |
1608 | -# Is the header present? | |
1609 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1610 | -$as_echo_n "checking $2 presence... " >&6; } | |
1611 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1612 | -/* end confdefs.h. */ | |
1613 | -#include <$2> | |
1614 | -_ACEOF | |
1615 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
1616 | - ac_header_preproc=yes | |
1617 | -else | |
1618 | - ac_header_preproc=no | |
1619 | -fi | |
1620 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
1621 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1622 | -$as_echo "$ac_header_preproc" >&6; } | |
1623 | - | |
1624 | -# So? What about this header? | |
1625 | -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1626 | - yes:no: ) | |
1627 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1628 | -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1629 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1630 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1631 | - ;; | |
1632 | - no:yes:* ) | |
1633 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1634 | -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1635 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1636 | -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1637 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1638 | -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1639 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1640 | -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1641 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1642 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1643 | -( $as_echo "## ------------------------------ ## | |
1644 | -## Report this to 7m3tjz@jarl.com ## | |
1645 | -## ------------------------------ ##" | |
1646 | - ) | sed "s/^/$as_me: WARNING: /" >&2 | |
1647 | - ;; | |
1648 | -esac | |
1649 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1650 | -$as_echo_n "checking for $2... " >&6; } | |
1651 | -if eval \${$3+:} false; then : | |
1652 | - $as_echo_n "(cached) " >&6 | |
1653 | -else | |
1654 | - eval "$3=\$ac_header_compiler" | |
1655 | -fi | |
1656 | -eval ac_res=\$$3 | |
1657 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1658 | -$as_echo "$ac_res" >&6; } | |
1659 | -fi | |
1660 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1661 | - | |
1662 | -} # ac_fn_c_check_header_mongrel | |
1663 | - | |
1664 | -# ac_fn_c_try_run LINENO | |
1665 | -# ---------------------- | |
1666 | -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1667 | -# that executables *can* be run. | |
1668 | -ac_fn_c_try_run () | |
1669 | -{ | |
1670 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1671 | - if { { ac_try="$ac_link" | |
1672 | -case "(($ac_try" in | |
1673 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1674 | - *) ac_try_echo=$ac_try;; | |
1675 | -esac | |
1676 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1677 | -$as_echo "$ac_try_echo"; } >&5 | |
1678 | - (eval "$ac_link") 2>&5 | |
1679 | - ac_status=$? | |
1680 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1681 | - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1682 | - { { case "(($ac_try" in | |
1683 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1684 | - *) ac_try_echo=$ac_try;; | |
1685 | -esac | |
1686 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1687 | -$as_echo "$ac_try_echo"; } >&5 | |
1688 | - (eval "$ac_try") 2>&5 | |
1689 | - ac_status=$? | |
1690 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1691 | - test $ac_status = 0; }; }; then : | |
1692 | - ac_retval=0 | |
1693 | -else | |
1694 | - $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1695 | - $as_echo "$as_me: failed program was:" >&5 | |
1696 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
1697 | - | |
1698 | - ac_retval=$ac_status | |
1699 | -fi | |
1700 | - rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1701 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1702 | - as_fn_set_status $ac_retval | |
1703 | - | |
1704 | -} # ac_fn_c_try_run | |
1705 | - | |
1706 | -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1707 | -# ------------------------------------------------------- | |
1708 | -# Tests whether HEADER exists and can be compiled using the include files in | |
1709 | -# INCLUDES, setting the cache variable VAR accordingly. | |
1710 | -ac_fn_c_check_header_compile () | |
1711 | -{ | |
1712 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1713 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1714 | -$as_echo_n "checking for $2... " >&6; } | |
1715 | -if eval \${$3+:} false; then : | |
1716 | - $as_echo_n "(cached) " >&6 | |
1717 | -else | |
1718 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1719 | -/* end confdefs.h. */ | |
1720 | -$4 | |
1721 | -#include <$2> | |
1722 | -_ACEOF | |
1723 | -if ac_fn_c_try_compile "$LINENO"; then : | |
1724 | - eval "$3=yes" | |
1725 | -else | |
1726 | - eval "$3=no" | |
1727 | -fi | |
1728 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1729 | -fi | |
1730 | -eval ac_res=\$$3 | |
1731 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1732 | -$as_echo "$ac_res" >&6; } | |
1733 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1734 | - | |
1735 | -} # ac_fn_c_check_header_compile | |
1736 | - | |
1737 | -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES | |
1738 | -# ------------------------------------------- | |
1739 | -# Tests whether TYPE exists after having included INCLUDES, setting cache | |
1740 | -# variable VAR accordingly. | |
1741 | -ac_fn_c_check_type () | |
1742 | -{ | |
1743 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1744 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1745 | -$as_echo_n "checking for $2... " >&6; } | |
1746 | -if eval \${$3+:} false; then : | |
1747 | - $as_echo_n "(cached) " >&6 | |
1748 | -else | |
1749 | - eval "$3=no" | |
1750 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1751 | -/* end confdefs.h. */ | |
1752 | -$4 | |
1753 | -int | |
1754 | -main () | |
1755 | -{ | |
1756 | -if (sizeof ($2)) | |
1757 | - return 0; | |
1758 | - ; | |
1759 | - return 0; | |
1760 | -} | |
1761 | -_ACEOF | |
1762 | -if ac_fn_c_try_compile "$LINENO"; then : | |
1763 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1764 | -/* end confdefs.h. */ | |
1765 | -$4 | |
1766 | -int | |
1767 | -main () | |
1768 | -{ | |
1769 | -if (sizeof (($2))) | |
1770 | - return 0; | |
1771 | - ; | |
1772 | - return 0; | |
1773 | -} | |
1774 | -_ACEOF | |
1775 | -if ac_fn_c_try_compile "$LINENO"; then : | |
1776 | - | |
1777 | -else | |
1778 | - eval "$3=yes" | |
1779 | -fi | |
1780 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1781 | -fi | |
1782 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1783 | -fi | |
1784 | -eval ac_res=\$$3 | |
1785 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1786 | -$as_echo "$ac_res" >&6; } | |
1787 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1788 | - | |
1789 | -} # ac_fn_c_check_type | |
1790 | - | |
1791 | -# ac_fn_c_find_uintX_t LINENO BITS VAR | |
1792 | -# ------------------------------------ | |
1793 | -# Finds an unsigned integer type with width BITS, setting cache variable VAR | |
1794 | -# accordingly. | |
1795 | -ac_fn_c_find_uintX_t () | |
1796 | -{ | |
1797 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1798 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | |
1799 | -$as_echo_n "checking for uint$2_t... " >&6; } | |
1800 | -if eval \${$3+:} false; then : | |
1801 | - $as_echo_n "(cached) " >&6 | |
1802 | -else | |
1803 | - eval "$3=no" | |
1804 | - # Order is important - never check a type that is potentially smaller | |
1805 | - # than half of the expected target width. | |
1806 | - for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | |
1807 | - 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | |
1808 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1809 | -/* end confdefs.h. */ | |
1810 | -$ac_includes_default | |
1811 | -int | |
1812 | -main () | |
1813 | -{ | |
1814 | -static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; | |
1815 | -test_array [0] = 0; | |
1816 | -return test_array [0]; | |
1817 | - | |
1818 | - ; | |
1819 | - return 0; | |
1820 | -} | |
1821 | -_ACEOF | |
1822 | -if ac_fn_c_try_compile "$LINENO"; then : | |
1823 | - case $ac_type in #( | |
1824 | - uint$2_t) : | |
1825 | - eval "$3=yes" ;; #( | |
1826 | - *) : | |
1827 | - eval "$3=\$ac_type" ;; | |
1828 | -esac | |
1829 | -fi | |
1830 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1831 | - if eval test \"x\$"$3"\" = x"no"; then : | |
1832 | - | |
1833 | -else | |
1834 | - break | |
1835 | -fi | |
1836 | - done | |
1837 | -fi | |
1838 | -eval ac_res=\$$3 | |
1839 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1840 | -$as_echo "$ac_res" >&6; } | |
1841 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1842 | - | |
1843 | -} # ac_fn_c_find_uintX_t | |
1844 | - | |
1845 | -# ac_fn_c_check_func LINENO FUNC VAR | |
1846 | -# ---------------------------------- | |
1847 | -# Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1848 | -ac_fn_c_check_func () | |
1849 | -{ | |
1850 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1851 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1852 | -$as_echo_n "checking for $2... " >&6; } | |
1853 | -if eval \${$3+:} false; then : | |
1854 | - $as_echo_n "(cached) " >&6 | |
1855 | -else | |
1856 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1857 | -/* end confdefs.h. */ | |
1858 | -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
1859 | - For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
1860 | -#define $2 innocuous_$2 | |
1861 | - | |
1862 | -/* System header to define __stub macros and hopefully few prototypes, | |
1863 | - which can conflict with char $2 (); below. | |
1864 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
1865 | - <limits.h> exists even on freestanding compilers. */ | |
1866 | - | |
1867 | -#ifdef __STDC__ | |
1868 | -# include <limits.h> | |
1869 | -#else | |
1870 | -# include <assert.h> | |
1871 | -#endif | |
1872 | - | |
1873 | -#undef $2 | |
1874 | - | |
1875 | -/* Override any GCC internal prototype to avoid an error. | |
1876 | - Use char because int might match the return type of a GCC | |
1877 | - builtin and then its argument prototype would still apply. */ | |
1878 | -#ifdef __cplusplus | |
1879 | -extern "C" | |
1880 | -#endif | |
1881 | -char $2 (); | |
1882 | -/* The GNU C library defines this for functions which it implements | |
1883 | - to always fail with ENOSYS. Some functions are actually named | |
1884 | - something starting with __ and the normal name is an alias. */ | |
1885 | -#if defined __stub_$2 || defined __stub___$2 | |
1886 | -choke me | |
1887 | -#endif | |
1888 | - | |
1889 | -int | |
1890 | -main () | |
1891 | -{ | |
1892 | -return $2 (); | |
1893 | - ; | |
1894 | - return 0; | |
1895 | -} | |
1896 | -_ACEOF | |
1897 | -if ac_fn_c_try_link "$LINENO"; then : | |
1898 | - eval "$3=yes" | |
1899 | -else | |
1900 | - eval "$3=no" | |
1901 | -fi | |
1902 | -rm -f core conftest.err conftest.$ac_objext \ | |
1903 | - conftest$ac_exeext conftest.$ac_ext | |
1904 | -fi | |
1905 | -eval ac_res=\$$3 | |
1906 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1907 | -$as_echo "$ac_res" >&6; } | |
1908 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1909 | - | |
1910 | -} # ac_fn_c_check_func | |
1911 | -cat >config.log <<_ACEOF | |
1912 | -This file contains any messages produced by compilers while | |
1913 | -running configure, to aid debugging if configure makes a mistake. | |
1914 | - | |
1915 | -It was created by dmonitor $as_me 01.60, which was | |
1916 | -generated by GNU Autoconf 2.69. Invocation command line was | |
1917 | - | |
1918 | - $ $0 $@ | |
1919 | - | |
1920 | -_ACEOF | |
1921 | -exec 5>>config.log | |
1922 | -{ | |
1923 | -cat <<_ASUNAME | |
1924 | -## --------- ## | |
1925 | -## Platform. ## | |
1926 | -## --------- ## | |
1927 | - | |
1928 | -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1929 | -uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1930 | -uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1931 | -uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1932 | -uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1933 | - | |
1934 | -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1935 | -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1936 | - | |
1937 | -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1938 | -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1939 | -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
1940 | -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
1941 | -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
1942 | -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1943 | -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1944 | - | |
1945 | -_ASUNAME | |
1946 | - | |
1947 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1948 | -for as_dir in $PATH | |
1949 | -do | |
1950 | - IFS=$as_save_IFS | |
1951 | - test -z "$as_dir" && as_dir=. | |
1952 | - $as_echo "PATH: $as_dir" | |
1953 | - done | |
1954 | -IFS=$as_save_IFS | |
1955 | - | |
1956 | -} >&5 | |
1957 | - | |
1958 | -cat >&5 <<_ACEOF | |
1959 | - | |
1960 | - | |
1961 | -## ----------- ## | |
1962 | -## Core tests. ## | |
1963 | -## ----------- ## | |
1964 | - | |
1965 | -_ACEOF | |
1966 | - | |
1967 | - | |
1968 | -# Keep a trace of the command line. | |
1969 | -# Strip out --no-create and --no-recursion so they do not pile up. | |
1970 | -# Strip out --silent because we don't want to record it for future runs. | |
1971 | -# Also quote any args containing shell meta-characters. | |
1972 | -# Make two passes to allow for proper duplicate-argument suppression. | |
1973 | -ac_configure_args= | |
1974 | -ac_configure_args0= | |
1975 | -ac_configure_args1= | |
1976 | -ac_must_keep_next=false | |
1977 | -for ac_pass in 1 2 | |
1978 | -do | |
1979 | - for ac_arg | |
1980 | - do | |
1981 | - case $ac_arg in | |
1982 | - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1983 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1984 | - | -silent | --silent | --silen | --sile | --sil) | |
1985 | - continue ;; | |
1986 | - *\'*) | |
1987 | - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1988 | - esac | |
1989 | - case $ac_pass in | |
1990 | - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
1991 | - 2) | |
1992 | - as_fn_append ac_configure_args1 " '$ac_arg'" | |
1993 | - if test $ac_must_keep_next = true; then | |
1994 | - ac_must_keep_next=false # Got value, back to normal. | |
1995 | - else | |
1996 | - case $ac_arg in | |
1997 | - *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1998 | - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1999 | - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
2000 | - | -with-* | --with-* | -without-* | --without-* | --x) | |
2001 | - case "$ac_configure_args0 " in | |
2002 | - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
2003 | - esac | |
2004 | - ;; | |
2005 | - -* ) ac_must_keep_next=true ;; | |
2006 | - esac | |
2007 | - fi | |
2008 | - as_fn_append ac_configure_args " '$ac_arg'" | |
2009 | - ;; | |
2010 | - esac | |
2011 | - done | |
2012 | -done | |
2013 | -{ ac_configure_args0=; unset ac_configure_args0;} | |
2014 | -{ ac_configure_args1=; unset ac_configure_args1;} | |
2015 | - | |
2016 | -# When interrupted or exit'd, cleanup temporary files, and complete | |
2017 | -# config.log. We remove comments because anyway the quotes in there | |
2018 | -# would cause problems or look ugly. | |
2019 | -# WARNING: Use '\'' to represent an apostrophe within the trap. | |
2020 | -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
2021 | -trap 'exit_status=$? | |
2022 | - # Save into config.log some information that might help in debugging. | |
2023 | - { | |
2024 | - echo | |
2025 | - | |
2026 | - $as_echo "## ---------------- ## | |
2027 | -## Cache variables. ## | |
2028 | -## ---------------- ##" | |
2029 | - echo | |
2030 | - # The following way of writing the cache mishandles newlines in values, | |
2031 | -( | |
2032 | - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
2033 | - eval ac_val=\$$ac_var | |
2034 | - case $ac_val in #( | |
2035 | - *${as_nl}*) | |
2036 | - case $ac_var in #( | |
2037 | - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
2038 | -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
2039 | - esac | |
2040 | - case $ac_var in #( | |
2041 | - _ | IFS | as_nl) ;; #( | |
2042 | - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
2043 | - *) { eval $ac_var=; unset $ac_var;} ;; | |
2044 | - esac ;; | |
2045 | - esac | |
2046 | - done | |
2047 | - (set) 2>&1 | | |
2048 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
2049 | - *${as_nl}ac_space=\ *) | |
2050 | - sed -n \ | |
2051 | - "s/'\''/'\''\\\\'\'''\''/g; | |
2052 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
2053 | - ;; #( | |
2054 | - *) | |
2055 | - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
2056 | - ;; | |
2057 | - esac | | |
2058 | - sort | |
2059 | -) | |
2060 | - echo | |
2061 | - | |
2062 | - $as_echo "## ----------------- ## | |
2063 | -## Output variables. ## | |
2064 | -## ----------------- ##" | |
2065 | - echo | |
2066 | - for ac_var in $ac_subst_vars | |
2067 | - do | |
2068 | - eval ac_val=\$$ac_var | |
2069 | - case $ac_val in | |
2070 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
2071 | - esac | |
2072 | - $as_echo "$ac_var='\''$ac_val'\''" | |
2073 | - done | sort | |
2074 | - echo | |
2075 | - | |
2076 | - if test -n "$ac_subst_files"; then | |
2077 | - $as_echo "## ------------------- ## | |
2078 | -## File substitutions. ## | |
2079 | -## ------------------- ##" | |
2080 | - echo | |
2081 | - for ac_var in $ac_subst_files | |
2082 | - do | |
2083 | - eval ac_val=\$$ac_var | |
2084 | - case $ac_val in | |
2085 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
2086 | - esac | |
2087 | - $as_echo "$ac_var='\''$ac_val'\''" | |
2088 | - done | sort | |
2089 | - echo | |
2090 | - fi | |
2091 | - | |
2092 | - if test -s confdefs.h; then | |
2093 | - $as_echo "## ----------- ## | |
2094 | -## confdefs.h. ## | |
2095 | -## ----------- ##" | |
2096 | - echo | |
2097 | - cat confdefs.h | |
2098 | - echo | |
2099 | - fi | |
2100 | - test "$ac_signal" != 0 && | |
2101 | - $as_echo "$as_me: caught signal $ac_signal" | |
2102 | - $as_echo "$as_me: exit $exit_status" | |
2103 | - } >&5 | |
2104 | - rm -f core *.core core.conftest.* && | |
2105 | - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
2106 | - exit $exit_status | |
2107 | -' 0 | |
2108 | -for ac_signal in 1 2 13 15; do | |
2109 | - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
2110 | -done | |
2111 | -ac_signal=0 | |
2112 | - | |
2113 | -# confdefs.h avoids OS command line length limits that DEFS can exceed. | |
2114 | -rm -f -r conftest* confdefs.h | |
2115 | - | |
2116 | -$as_echo "/* confdefs.h */" > confdefs.h | |
2117 | - | |
2118 | -# Predefined preprocessor variables. | |
2119 | - | |
2120 | -cat >>confdefs.h <<_ACEOF | |
2121 | -#define PACKAGE_NAME "$PACKAGE_NAME" | |
2122 | -_ACEOF | |
2123 | - | |
2124 | -cat >>confdefs.h <<_ACEOF | |
2125 | -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
2126 | -_ACEOF | |
2127 | - | |
2128 | -cat >>confdefs.h <<_ACEOF | |
2129 | -#define PACKAGE_VERSION "$PACKAGE_VERSION" | |
2130 | -_ACEOF | |
2131 | - | |
2132 | -cat >>confdefs.h <<_ACEOF | |
2133 | -#define PACKAGE_STRING "$PACKAGE_STRING" | |
2134 | -_ACEOF | |
2135 | - | |
2136 | -cat >>confdefs.h <<_ACEOF | |
2137 | -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
2138 | -_ACEOF | |
2139 | - | |
2140 | -cat >>confdefs.h <<_ACEOF | |
2141 | -#define PACKAGE_URL "$PACKAGE_URL" | |
2142 | -_ACEOF | |
2143 | - | |
2144 | - | |
2145 | -# Let the site file select an alternate cache file if it wants to. | |
2146 | -# Prefer an explicitly selected file to automatically selected ones. | |
2147 | -ac_site_file1=NONE | |
2148 | -ac_site_file2=NONE | |
2149 | -if test -n "$CONFIG_SITE"; then | |
2150 | - # We do not want a PATH search for config.site. | |
2151 | - case $CONFIG_SITE in #(( | |
2152 | - -*) ac_site_file1=./$CONFIG_SITE;; | |
2153 | - */*) ac_site_file1=$CONFIG_SITE;; | |
2154 | - *) ac_site_file1=./$CONFIG_SITE;; | |
2155 | - esac | |
2156 | -elif test "x$prefix" != xNONE; then | |
2157 | - ac_site_file1=$prefix/share/config.site | |
2158 | - ac_site_file2=$prefix/etc/config.site | |
2159 | -else | |
2160 | - ac_site_file1=$ac_default_prefix/share/config.site | |
2161 | - ac_site_file2=$ac_default_prefix/etc/config.site | |
2162 | -fi | |
2163 | -for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
2164 | -do | |
2165 | - test "x$ac_site_file" = xNONE && continue | |
2166 | - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
2167 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
2168 | -$as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
2169 | - sed 's/^/| /' "$ac_site_file" >&5 | |
2170 | - . "$ac_site_file" \ | |
2171 | - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2172 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2173 | -as_fn_error $? "failed to load site script $ac_site_file | |
2174 | -See \`config.log' for more details" "$LINENO" 5; } | |
2175 | - fi | |
2176 | -done | |
2177 | - | |
2178 | -if test -r "$cache_file"; then | |
2179 | - # Some versions of bash will fail to source /dev/null (special files | |
2180 | - # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
2181 | - if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
2182 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
2183 | -$as_echo "$as_me: loading cache $cache_file" >&6;} | |
2184 | - case $cache_file in | |
2185 | - [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
2186 | - *) . "./$cache_file";; | |
2187 | - esac | |
2188 | - fi | |
2189 | -else | |
2190 | - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
2191 | -$as_echo "$as_me: creating cache $cache_file" >&6;} | |
2192 | - >$cache_file | |
2193 | -fi | |
2194 | - | |
2195 | -# Check that the precious variables saved in the cache have kept the same | |
2196 | -# value. | |
2197 | -ac_cache_corrupted=false | |
2198 | -for ac_var in $ac_precious_vars; do | |
2199 | - eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
2200 | - eval ac_new_set=\$ac_env_${ac_var}_set | |
2201 | - eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
2202 | - eval ac_new_val=\$ac_env_${ac_var}_value | |
2203 | - case $ac_old_set,$ac_new_set in | |
2204 | - set,) | |
2205 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
2206 | -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
2207 | - ac_cache_corrupted=: ;; | |
2208 | - ,set) | |
2209 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
2210 | -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
2211 | - ac_cache_corrupted=: ;; | |
2212 | - ,);; | |
2213 | - *) | |
2214 | - if test "x$ac_old_val" != "x$ac_new_val"; then | |
2215 | - # differences in whitespace do not lead to failure. | |
2216 | - ac_old_val_w=`echo x $ac_old_val` | |
2217 | - ac_new_val_w=`echo x $ac_new_val` | |
2218 | - if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
2219 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
2220 | -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
2221 | - ac_cache_corrupted=: | |
2222 | - else | |
2223 | - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2224 | -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2225 | - eval $ac_var=\$ac_old_val | |
2226 | - fi | |
2227 | - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2228 | -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2229 | - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2230 | -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
2231 | - fi;; | |
2232 | - esac | |
2233 | - # Pass precious variables to config.status. | |
2234 | - if test "$ac_new_set" = set; then | |
2235 | - case $ac_new_val in | |
2236 | - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
2237 | - *) ac_arg=$ac_var=$ac_new_val ;; | |
2238 | - esac | |
2239 | - case " $ac_configure_args " in | |
2240 | - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
2241 | - *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
2242 | - esac | |
2243 | - fi | |
2244 | -done | |
2245 | -if $ac_cache_corrupted; then | |
2246 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2247 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2248 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
2249 | -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
2250 | - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
2251 | -fi | |
2252 | -## -------------------- ## | |
2253 | -## Main body of script. ## | |
2254 | -## -------------------- ## | |
2255 | - | |
2256 | -ac_ext=c | |
2257 | -ac_cpp='$CPP $CPPFLAGS' | |
2258 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2259 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2260 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2261 | - | |
2262 | - | |
2263 | - | |
2264 | -ac_config_headers="$ac_config_headers config.h" | |
2265 | - | |
2266 | -am__api_version='1.16' | |
2267 | - | |
2268 | -ac_aux_dir= | |
2269 | -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
2270 | - if test -f "$ac_dir/install-sh"; then | |
2271 | - ac_aux_dir=$ac_dir | |
2272 | - ac_install_sh="$ac_aux_dir/install-sh -c" | |
2273 | - break | |
2274 | - elif test -f "$ac_dir/install.sh"; then | |
2275 | - ac_aux_dir=$ac_dir | |
2276 | - ac_install_sh="$ac_aux_dir/install.sh -c" | |
2277 | - break | |
2278 | - elif test -f "$ac_dir/shtool"; then | |
2279 | - ac_aux_dir=$ac_dir | |
2280 | - ac_install_sh="$ac_aux_dir/shtool install -c" | |
2281 | - break | |
2282 | - fi | |
2283 | -done | |
2284 | -if test -z "$ac_aux_dir"; then | |
2285 | - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
2286 | -fi | |
2287 | - | |
2288 | -# These three variables are undocumented and unsupported, | |
2289 | -# and are intended to be withdrawn in a future Autoconf release. | |
2290 | -# They can cause serious problems if a builder's source tree is in a directory | |
2291 | -# whose full name contains unusual characters. | |
2292 | -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2293 | -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2294 | -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2295 | - | |
2296 | - | |
2297 | -# Find a good install program. We prefer a C program (faster), | |
2298 | -# so one script is as good as another. But avoid the broken or | |
2299 | -# incompatible versions: | |
2300 | -# SysV /etc/install, /usr/sbin/install | |
2301 | -# SunOS /usr/etc/install | |
2302 | -# IRIX /sbin/install | |
2303 | -# AIX /bin/install | |
2304 | -# AmigaOS /C/install, which installs bootblocks on floppy discs | |
2305 | -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2306 | -# AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2307 | -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2308 | -# OS/2's system install, which has a completely different semantic | |
2309 | -# ./install, which can be erroneously created by make from ./install.sh. | |
2310 | -# Reject install programs that cannot install multiple files. | |
2311 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | |
2312 | -$as_echo_n "checking for a BSD-compatible install... " >&6; } | |
2313 | -if test -z "$INSTALL"; then | |
2314 | -if ${ac_cv_path_install+:} false; then : | |
2315 | - $as_echo_n "(cached) " >&6 | |
2316 | -else | |
2317 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2318 | -for as_dir in $PATH | |
2319 | -do | |
2320 | - IFS=$as_save_IFS | |
2321 | - test -z "$as_dir" && as_dir=. | |
2322 | - # Account for people who put trailing slashes in PATH elements. | |
2323 | -case $as_dir/ in #(( | |
2324 | - ./ | .// | /[cC]/* | \ | |
2325 | - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
2326 | - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
2327 | - /usr/ucb/* ) ;; | |
2328 | - *) | |
2329 | - # OSF1 and SCO ODT 3.0 have their own names for install. | |
2330 | - # Don't use installbsd from OSF since it installs stuff as root | |
2331 | - # by default. | |
2332 | - for ac_prog in ginstall scoinst install; do | |
2333 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2334 | - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
2335 | - if test $ac_prog = install && | |
2336 | - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2337 | - # AIX install. It has an incompatible calling convention. | |
2338 | - : | |
2339 | - elif test $ac_prog = install && | |
2340 | - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2341 | - # program-specific install script used by HP pwplus--don't use. | |
2342 | - : | |
2343 | - else | |
2344 | - rm -rf conftest.one conftest.two conftest.dir | |
2345 | - echo one > conftest.one | |
2346 | - echo two > conftest.two | |
2347 | - mkdir conftest.dir | |
2348 | - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
2349 | - test -s conftest.one && test -s conftest.two && | |
2350 | - test -s conftest.dir/conftest.one && | |
2351 | - test -s conftest.dir/conftest.two | |
2352 | - then | |
2353 | - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2354 | - break 3 | |
2355 | - fi | |
2356 | - fi | |
2357 | - fi | |
2358 | - done | |
2359 | - done | |
2360 | - ;; | |
2361 | -esac | |
2362 | - | |
2363 | - done | |
2364 | -IFS=$as_save_IFS | |
2365 | - | |
2366 | -rm -rf conftest.one conftest.two conftest.dir | |
2367 | - | |
2368 | -fi | |
2369 | - if test "${ac_cv_path_install+set}" = set; then | |
2370 | - INSTALL=$ac_cv_path_install | |
2371 | - else | |
2372 | - # As a last resort, use the slow shell script. Don't cache a | |
2373 | - # value for INSTALL within a source directory, because that will | |
2374 | - # break other packages using the cache if that directory is | |
2375 | - # removed, or if the value is a relative name. | |
2376 | - INSTALL=$ac_install_sh | |
2377 | - fi | |
2378 | -fi | |
2379 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
2380 | -$as_echo "$INSTALL" >&6; } | |
2381 | - | |
2382 | -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2383 | -# It thinks the first close brace ends the variable substitution. | |
2384 | -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2385 | - | |
2386 | -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2387 | - | |
2388 | -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2389 | - | |
2390 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | |
2391 | -$as_echo_n "checking whether build environment is sane... " >&6; } | |
2392 | -# Reject unsafe characters in $srcdir or the absolute working directory | |
2393 | -# name. Accept space and tab only in the latter. | |
2394 | -am_lf=' | |
2395 | -' | |
2396 | -case `pwd` in | |
2397 | - *[\\\"\#\$\&\'\`$am_lf]*) | |
2398 | - as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
2399 | -esac | |
2400 | -case $srcdir in | |
2401 | - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
2402 | - as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2403 | -esac | |
2404 | - | |
2405 | -# Do 'set' in a subshell so we don't clobber the current shell's | |
2406 | -# arguments. Must try -L first in case configure is actually a | |
2407 | -# symlink; some systems play weird games with the mod time of symlinks | |
2408 | -# (eg FreeBSD returns the mod time of the symlink's containing | |
2409 | -# directory). | |
2410 | -if ( | |
2411 | - am_has_slept=no | |
2412 | - for am_try in 1 2; do | |
2413 | - echo "timestamp, slept: $am_has_slept" > conftest.file | |
2414 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2415 | - if test "$*" = "X"; then | |
2416 | - # -L didn't work. | |
2417 | - set X `ls -t "$srcdir/configure" conftest.file` | |
2418 | - fi | |
2419 | - if test "$*" != "X $srcdir/configure conftest.file" \ | |
2420 | - && test "$*" != "X conftest.file $srcdir/configure"; then | |
2421 | - | |
2422 | - # If neither matched, then we have a broken ls. This can happen | |
2423 | - # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2424 | - # broken ls alias from the environment. This has actually | |
2425 | - # happened. Such a system could not be considered "sane". | |
2426 | - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2427 | - alias in your environment" "$LINENO" 5 | |
2428 | - fi | |
2429 | - if test "$2" = conftest.file || test $am_try -eq 2; then | |
2430 | - break | |
2431 | - fi | |
2432 | - # Just in case. | |
2433 | - sleep 1 | |
2434 | - am_has_slept=yes | |
2435 | - done | |
2436 | - test "$2" = conftest.file | |
2437 | - ) | |
2438 | -then | |
2439 | - # Ok. | |
2440 | - : | |
2441 | -else | |
2442 | - as_fn_error $? "newly created file is older than distributed files! | |
2443 | -Check your system clock" "$LINENO" 5 | |
2444 | -fi | |
2445 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2446 | -$as_echo "yes" >&6; } | |
2447 | -# If we didn't sleep, we still need to ensure time stamps of config.status and | |
2448 | -# generated files are strictly newer. | |
2449 | -am_sleep_pid= | |
2450 | -if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
2451 | - ( sleep 1 ) & | |
2452 | - am_sleep_pid=$! | |
2453 | -fi | |
2454 | - | |
2455 | -rm -f conftest.file | |
2456 | - | |
2457 | -test "$program_prefix" != NONE && | |
2458 | - program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
2459 | -# Use a double $ so make ignores it. | |
2460 | -test "$program_suffix" != NONE && | |
2461 | - program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
2462 | -# Double any \ or $. | |
2463 | -# By default was `s,x,x', remove it if useless. | |
2464 | -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
2465 | -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
2466 | - | |
2467 | -# Expand $ac_aux_dir to an absolute path. | |
2468 | -am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
2469 | - | |
2470 | -if test x"${MISSING+set}" != xset; then | |
2471 | - case $am_aux_dir in | |
2472 | - *\ * | *\ *) | |
2473 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2474 | - *) | |
2475 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2476 | - esac | |
2477 | -fi | |
2478 | -# Use eval to expand $SHELL | |
2479 | -if eval "$MISSING --is-lightweight"; then | |
2480 | - am_missing_run="$MISSING " | |
2481 | -else | |
2482 | - am_missing_run= | |
2483 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |
2484 | -$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
2485 | -fi | |
2486 | - | |
2487 | -if test x"${install_sh+set}" != xset; then | |
2488 | - case $am_aux_dir in | |
2489 | - *\ * | *\ *) | |
2490 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2491 | - *) | |
2492 | - install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2493 | - esac | |
2494 | -fi | |
2495 | - | |
2496 | -# Installed binaries are usually stripped using 'strip' when the user | |
2497 | -# run "make install-strip". However 'strip' might not be the right | |
2498 | -# tool to use in cross-compilation environments, therefore Automake | |
2499 | -# will honor the 'STRIP' environment variable to overrule this program. | |
2500 | -if test "$cross_compiling" != no; then | |
2501 | - if test -n "$ac_tool_prefix"; then | |
2502 | - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
2503 | -set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2504 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2505 | -$as_echo_n "checking for $ac_word... " >&6; } | |
2506 | -if ${ac_cv_prog_STRIP+:} false; then : | |
2507 | - $as_echo_n "(cached) " >&6 | |
2508 | -else | |
2509 | - if test -n "$STRIP"; then | |
2510 | - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
2511 | -else | |
2512 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2513 | -for as_dir in $PATH | |
2514 | -do | |
2515 | - IFS=$as_save_IFS | |
2516 | - test -z "$as_dir" && as_dir=. | |
2517 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2518 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2519 | - ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
2520 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2521 | - break 2 | |
2522 | - fi | |
2523 | -done | |
2524 | - done | |
2525 | -IFS=$as_save_IFS | |
2526 | - | |
2527 | -fi | |
2528 | -fi | |
2529 | -STRIP=$ac_cv_prog_STRIP | |
2530 | -if test -n "$STRIP"; then | |
2531 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
2532 | -$as_echo "$STRIP" >&6; } | |
2533 | -else | |
2534 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2535 | -$as_echo "no" >&6; } | |
2536 | -fi | |
2537 | - | |
2538 | - | |
2539 | -fi | |
2540 | -if test -z "$ac_cv_prog_STRIP"; then | |
2541 | - ac_ct_STRIP=$STRIP | |
2542 | - # Extract the first word of "strip", so it can be a program name with args. | |
2543 | -set dummy strip; ac_word=$2 | |
2544 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2545 | -$as_echo_n "checking for $ac_word... " >&6; } | |
2546 | -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
2547 | - $as_echo_n "(cached) " >&6 | |
2548 | -else | |
2549 | - if test -n "$ac_ct_STRIP"; then | |
2550 | - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
2551 | -else | |
2552 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2553 | -for as_dir in $PATH | |
2554 | -do | |
2555 | - IFS=$as_save_IFS | |
2556 | - test -z "$as_dir" && as_dir=. | |
2557 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2558 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2559 | - ac_cv_prog_ac_ct_STRIP="strip" | |
2560 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2561 | - break 2 | |
2562 | - fi | |
2563 | -done | |
2564 | - done | |
2565 | -IFS=$as_save_IFS | |
2566 | - | |
2567 | -fi | |
2568 | -fi | |
2569 | -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
2570 | -if test -n "$ac_ct_STRIP"; then | |
2571 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
2572 | -$as_echo "$ac_ct_STRIP" >&6; } | |
2573 | -else | |
2574 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2575 | -$as_echo "no" >&6; } | |
2576 | -fi | |
2577 | - | |
2578 | - if test "x$ac_ct_STRIP" = x; then | |
2579 | - STRIP=":" | |
2580 | - else | |
2581 | - case $cross_compiling:$ac_tool_warned in | |
2582 | -yes:) | |
2583 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2584 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2585 | -ac_tool_warned=yes ;; | |
2586 | -esac | |
2587 | - STRIP=$ac_ct_STRIP | |
2588 | - fi | |
2589 | -else | |
2590 | - STRIP="$ac_cv_prog_STRIP" | |
2591 | -fi | |
2592 | - | |
2593 | -fi | |
2594 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
2595 | - | |
2596 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
2597 | -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2598 | -if test -z "$MKDIR_P"; then | |
2599 | - if ${ac_cv_path_mkdir+:} false; then : | |
2600 | - $as_echo_n "(cached) " >&6 | |
2601 | -else | |
2602 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2603 | -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2604 | -do | |
2605 | - IFS=$as_save_IFS | |
2606 | - test -z "$as_dir" && as_dir=. | |
2607 | - for ac_prog in mkdir gmkdir; do | |
2608 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2609 | - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
2610 | - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2611 | - 'mkdir (GNU coreutils) '* | \ | |
2612 | - 'mkdir (coreutils) '* | \ | |
2613 | - 'mkdir (fileutils) '4.1*) | |
2614 | - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2615 | - break 3;; | |
2616 | - esac | |
2617 | - done | |
2618 | - done | |
2619 | - done | |
2620 | -IFS=$as_save_IFS | |
2621 | - | |
2622 | -fi | |
2623 | - | |
2624 | - test -d ./--version && rmdir ./--version | |
2625 | - if test "${ac_cv_path_mkdir+set}" = set; then | |
2626 | - MKDIR_P="$ac_cv_path_mkdir -p" | |
2627 | - else | |
2628 | - # As a last resort, use the slow shell script. Don't cache a | |
2629 | - # value for MKDIR_P within a source directory, because that will | |
2630 | - # break other packages using the cache if that directory is | |
2631 | - # removed, or if the value is a relative name. | |
2632 | - MKDIR_P="$ac_install_sh -d" | |
2633 | - fi | |
2634 | -fi | |
2635 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
2636 | -$as_echo "$MKDIR_P" >&6; } | |
2637 | - | |
2638 | -for ac_prog in gawk mawk nawk awk | |
2639 | -do | |
2640 | - # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2641 | -set dummy $ac_prog; ac_word=$2 | |
2642 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2643 | -$as_echo_n "checking for $ac_word... " >&6; } | |
2644 | -if ${ac_cv_prog_AWK+:} false; then : | |
2645 | - $as_echo_n "(cached) " >&6 | |
2646 | -else | |
2647 | - if test -n "$AWK"; then | |
2648 | - ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
2649 | -else | |
2650 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2651 | -for as_dir in $PATH | |
2652 | -do | |
2653 | - IFS=$as_save_IFS | |
2654 | - test -z "$as_dir" && as_dir=. | |
2655 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2656 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2657 | - ac_cv_prog_AWK="$ac_prog" | |
2658 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2659 | - break 2 | |
2660 | - fi | |
2661 | -done | |
2662 | - done | |
2663 | -IFS=$as_save_IFS | |
2664 | - | |
2665 | -fi | |
2666 | -fi | |
2667 | -AWK=$ac_cv_prog_AWK | |
2668 | -if test -n "$AWK"; then | |
2669 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
2670 | -$as_echo "$AWK" >&6; } | |
2671 | -else | |
2672 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2673 | -$as_echo "no" >&6; } | |
2674 | -fi | |
2675 | - | |
2676 | - | |
2677 | - test -n "$AWK" && break | |
2678 | -done | |
2679 | - | |
2680 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
2681 | -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2682 | -set x ${MAKE-make} | |
2683 | -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
2684 | -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
2685 | - $as_echo_n "(cached) " >&6 | |
2686 | -else | |
2687 | - cat >conftest.make <<\_ACEOF | |
2688 | -SHELL = /bin/sh | |
2689 | -all: | |
2690 | - @echo '@@@%%%=$(MAKE)=@@@%%%' | |
2691 | -_ACEOF | |
2692 | -# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
2693 | -case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
2694 | - *@@@%%%=?*=@@@%%%*) | |
2695 | - eval ac_cv_prog_make_${ac_make}_set=yes;; | |
2696 | - *) | |
2697 | - eval ac_cv_prog_make_${ac_make}_set=no;; | |
2698 | -esac | |
2699 | -rm -f conftest.make | |
2700 | -fi | |
2701 | -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
2702 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2703 | -$as_echo "yes" >&6; } | |
2704 | - SET_MAKE= | |
2705 | -else | |
2706 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2707 | -$as_echo "no" >&6; } | |
2708 | - SET_MAKE="MAKE=${MAKE-make}" | |
2709 | -fi | |
2710 | - | |
2711 | -rm -rf .tst 2>/dev/null | |
2712 | -mkdir .tst 2>/dev/null | |
2713 | -if test -d .tst; then | |
2714 | - am__leading_dot=. | |
2715 | -else | |
2716 | - am__leading_dot=_ | |
2717 | -fi | |
2718 | -rmdir .tst 2>/dev/null | |
2719 | - | |
2720 | -# Check whether --enable-silent-rules was given. | |
2721 | -if test "${enable_silent_rules+set}" = set; then : | |
2722 | - enableval=$enable_silent_rules; | |
2723 | -fi | |
2724 | - | |
2725 | -case $enable_silent_rules in # ((( | |
2726 | - yes) AM_DEFAULT_VERBOSITY=0;; | |
2727 | - no) AM_DEFAULT_VERBOSITY=1;; | |
2728 | - *) AM_DEFAULT_VERBOSITY=1;; | |
2729 | -esac | |
2730 | -am_make=${MAKE-make} | |
2731 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | |
2732 | -$as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
2733 | -if ${am_cv_make_support_nested_variables+:} false; then : | |
2734 | - $as_echo_n "(cached) " >&6 | |
2735 | -else | |
2736 | - if $as_echo 'TRUE=$(BAR$(V)) | |
2737 | -BAR0=false | |
2738 | -BAR1=true | |
2739 | -V=1 | |
2740 | -am__doit: | |
2741 | - @$(TRUE) | |
2742 | -.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
2743 | - am_cv_make_support_nested_variables=yes | |
2744 | -else | |
2745 | - am_cv_make_support_nested_variables=no | |
2746 | -fi | |
2747 | -fi | |
2748 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | |
2749 | -$as_echo "$am_cv_make_support_nested_variables" >&6; } | |
2750 | -if test $am_cv_make_support_nested_variables = yes; then | |
2751 | - AM_V='$(V)' | |
2752 | - AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
2753 | -else | |
2754 | - AM_V=$AM_DEFAULT_VERBOSITY | |
2755 | - AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
2756 | -fi | |
2757 | -AM_BACKSLASH='\' | |
2758 | - | |
2759 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
2760 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
2761 | - # is not polluted with repeated "-I." | |
2762 | - am__isrc=' -I$(srcdir)' | |
2763 | - # test to see if srcdir already configured | |
2764 | - if test -f $srcdir/config.status; then | |
2765 | - as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
2766 | - fi | |
2767 | -fi | |
2768 | - | |
2769 | -# test whether we have cygpath | |
2770 | -if test -z "$CYGPATH_W"; then | |
2771 | - if (cygpath --version) >/dev/null 2>/dev/null; then | |
2772 | - CYGPATH_W='cygpath -w' | |
2773 | - else | |
2774 | - CYGPATH_W=echo | |
2775 | - fi | |
2776 | -fi | |
2777 | - | |
2778 | - | |
2779 | -# Define the identity of the package. | |
2780 | - PACKAGE='dmonitor' | |
2781 | - VERSION='01.60' | |
2782 | - | |
2783 | - | |
2784 | -cat >>confdefs.h <<_ACEOF | |
2785 | -#define PACKAGE "$PACKAGE" | |
2786 | -_ACEOF | |
2787 | - | |
2788 | - | |
2789 | -cat >>confdefs.h <<_ACEOF | |
2790 | -#define VERSION "$VERSION" | |
2791 | -_ACEOF | |
2792 | - | |
2793 | -# Some tools Automake needs. | |
2794 | - | |
2795 | -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
2796 | - | |
2797 | - | |
2798 | -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
2799 | - | |
2800 | - | |
2801 | -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
2802 | - | |
2803 | - | |
2804 | -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
2805 | - | |
2806 | - | |
2807 | -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
2808 | - | |
2809 | -# For better backward compatibility. To be removed once Automake 1.9.x | |
2810 | -# dies out for good. For more background, see: | |
2811 | -# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
2812 | -# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
2813 | -mkdir_p='$(MKDIR_P)' | |
2814 | - | |
2815 | -# We need awk for the "check" target (and possibly the TAP driver). The | |
2816 | -# system "awk" is bad on some platforms. | |
2817 | -# Always define AMTAR for backward compatibility. Yes, it's still used | |
2818 | -# in the wild :-( We should find a proper way to deprecate it ... | |
2819 | -AMTAR='$${TAR-tar}' | |
2820 | - | |
2821 | - | |
2822 | -# We'll loop over all known methods to create a tar archive until one works. | |
2823 | -_am_tools='gnutar pax cpio none' | |
2824 | - | |
2825 | -am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | |
2826 | - | |
2827 | - | |
2828 | - | |
2829 | - | |
2830 | - | |
2831 | - | |
2832 | -# POSIX will say in a future version that running "rm -f" with no argument | |
2833 | -# is OK; and we want to be able to make that assumption in our Makefile | |
2834 | -# recipes. So use an aggressive probe to check that the usage we want is | |
2835 | -# actually supported "in the wild" to an acceptable degree. | |
2836 | -# See automake bug#10828. | |
2837 | -# To make any issue more visible, cause the running configure to be aborted | |
2838 | -# by default if the 'rm' program in use doesn't match our expectations; the | |
2839 | -# user can still override this though. | |
2840 | -if rm -f && rm -fr && rm -rf; then : OK; else | |
2841 | - cat >&2 <<'END' | |
2842 | -Oops! | |
2843 | - | |
2844 | -Your 'rm' program seems unable to run without file operands specified | |
2845 | -on the command line, even when the '-f' option is present. This is contrary | |
2846 | -to the behaviour of most rm programs out there, and not conforming with | |
2847 | -the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
2848 | - | |
2849 | -Please tell bug-automake@gnu.org about your system, including the value | |
2850 | -of your $PATH and any error possibly output before this message. This | |
2851 | -can help us improve future automake versions. | |
2852 | - | |
2853 | -END | |
2854 | - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
2855 | - echo 'Configuration will proceed anyway, since you have set the' >&2 | |
2856 | - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
2857 | - echo >&2 | |
2858 | - else | |
2859 | - cat >&2 <<'END' | |
2860 | -Aborting the configuration process, to ensure you take notice of the issue. | |
2861 | - | |
2862 | -You can download and install GNU coreutils to get an 'rm' implementation | |
2863 | -that behaves properly: <https://www.gnu.org/software/coreutils/>. | |
2864 | - | |
2865 | -If you want to complete the configuration process using your problematic | |
2866 | -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
2867 | -to "yes", and re-run configure. | |
2868 | - | |
2869 | -END | |
2870 | - as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |
2871 | - fi | |
2872 | -fi | |
2873 | - | |
2874 | - | |
2875 | -# Checks for programs. | |
2876 | -ac_ext=c | |
2877 | -ac_cpp='$CPP $CPPFLAGS' | |
2878 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2879 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2880 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2881 | -if test -n "$ac_tool_prefix"; then | |
2882 | - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
2883 | -set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
2884 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2885 | -$as_echo_n "checking for $ac_word... " >&6; } | |
2886 | -if ${ac_cv_prog_CC+:} false; then : | |
2887 | - $as_echo_n "(cached) " >&6 | |
2888 | -else | |
2889 | - if test -n "$CC"; then | |
2890 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
2891 | -else | |
2892 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2893 | -for as_dir in $PATH | |
2894 | -do | |
2895 | - IFS=$as_save_IFS | |
2896 | - test -z "$as_dir" && as_dir=. | |
2897 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2898 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2899 | - ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
2900 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2901 | - break 2 | |
2902 | - fi | |
2903 | -done | |
2904 | - done | |
2905 | -IFS=$as_save_IFS | |
2906 | - | |
2907 | -fi | |
2908 | -fi | |
2909 | -CC=$ac_cv_prog_CC | |
2910 | -if test -n "$CC"; then | |
2911 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
2912 | -$as_echo "$CC" >&6; } | |
2913 | -else | |
2914 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2915 | -$as_echo "no" >&6; } | |
2916 | -fi | |
2917 | - | |
2918 | - | |
2919 | -fi | |
2920 | -if test -z "$ac_cv_prog_CC"; then | |
2921 | - ac_ct_CC=$CC | |
2922 | - # Extract the first word of "gcc", so it can be a program name with args. | |
2923 | -set dummy gcc; ac_word=$2 | |
2924 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2925 | -$as_echo_n "checking for $ac_word... " >&6; } | |
2926 | -if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
2927 | - $as_echo_n "(cached) " >&6 | |
2928 | -else | |
2929 | - if test -n "$ac_ct_CC"; then | |
2930 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2931 | -else | |
2932 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2933 | -for as_dir in $PATH | |
2934 | -do | |
2935 | - IFS=$as_save_IFS | |
2936 | - test -z "$as_dir" && as_dir=. | |
2937 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2938 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2939 | - ac_cv_prog_ac_ct_CC="gcc" | |
2940 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2941 | - break 2 | |
2942 | - fi | |
2943 | -done | |
2944 | - done | |
2945 | -IFS=$as_save_IFS | |
2946 | - | |
2947 | -fi | |
2948 | -fi | |
2949 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2950 | -if test -n "$ac_ct_CC"; then | |
2951 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
2952 | -$as_echo "$ac_ct_CC" >&6; } | |
2953 | -else | |
2954 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
2955 | -$as_echo "no" >&6; } | |
2956 | -fi | |
2957 | - | |
2958 | - if test "x$ac_ct_CC" = x; then | |
2959 | - CC="" | |
2960 | - else | |
2961 | - case $cross_compiling:$ac_tool_warned in | |
2962 | -yes:) | |
2963 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
2964 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
2965 | -ac_tool_warned=yes ;; | |
2966 | -esac | |
2967 | - CC=$ac_ct_CC | |
2968 | - fi | |
2969 | -else | |
2970 | - CC="$ac_cv_prog_CC" | |
2971 | -fi | |
2972 | - | |
2973 | -if test -z "$CC"; then | |
2974 | - if test -n "$ac_tool_prefix"; then | |
2975 | - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
2976 | -set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
2977 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
2978 | -$as_echo_n "checking for $ac_word... " >&6; } | |
2979 | -if ${ac_cv_prog_CC+:} false; then : | |
2980 | - $as_echo_n "(cached) " >&6 | |
2981 | -else | |
2982 | - if test -n "$CC"; then | |
2983 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
2984 | -else | |
2985 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2986 | -for as_dir in $PATH | |
2987 | -do | |
2988 | - IFS=$as_save_IFS | |
2989 | - test -z "$as_dir" && as_dir=. | |
2990 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
2991 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2992 | - ac_cv_prog_CC="${ac_tool_prefix}cc" | |
2993 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2994 | - break 2 | |
2995 | - fi | |
2996 | -done | |
2997 | - done | |
2998 | -IFS=$as_save_IFS | |
2999 | - | |
3000 | -fi | |
3001 | -fi | |
3002 | -CC=$ac_cv_prog_CC | |
3003 | -if test -n "$CC"; then | |
3004 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3005 | -$as_echo "$CC" >&6; } | |
3006 | -else | |
3007 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3008 | -$as_echo "no" >&6; } | |
3009 | -fi | |
3010 | - | |
3011 | - | |
3012 | - fi | |
3013 | -fi | |
3014 | -if test -z "$CC"; then | |
3015 | - # Extract the first word of "cc", so it can be a program name with args. | |
3016 | -set dummy cc; ac_word=$2 | |
3017 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3018 | -$as_echo_n "checking for $ac_word... " >&6; } | |
3019 | -if ${ac_cv_prog_CC+:} false; then : | |
3020 | - $as_echo_n "(cached) " >&6 | |
3021 | -else | |
3022 | - if test -n "$CC"; then | |
3023 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
3024 | -else | |
3025 | - ac_prog_rejected=no | |
3026 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3027 | -for as_dir in $PATH | |
3028 | -do | |
3029 | - IFS=$as_save_IFS | |
3030 | - test -z "$as_dir" && as_dir=. | |
3031 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
3032 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3033 | - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
3034 | - ac_prog_rejected=yes | |
3035 | - continue | |
3036 | - fi | |
3037 | - ac_cv_prog_CC="cc" | |
3038 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3039 | - break 2 | |
3040 | - fi | |
3041 | -done | |
3042 | - done | |
3043 | -IFS=$as_save_IFS | |
3044 | - | |
3045 | -if test $ac_prog_rejected = yes; then | |
3046 | - # We found a bogon in the path, so make sure we never use it. | |
3047 | - set dummy $ac_cv_prog_CC | |
3048 | - shift | |
3049 | - if test $# != 0; then | |
3050 | - # We chose a different compiler from the bogus one. | |
3051 | - # However, it has the same basename, so the bogon will be chosen | |
3052 | - # first if we set CC to just the basename; use the full file name. | |
3053 | - shift | |
3054 | - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
3055 | - fi | |
3056 | -fi | |
3057 | -fi | |
3058 | -fi | |
3059 | -CC=$ac_cv_prog_CC | |
3060 | -if test -n "$CC"; then | |
3061 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3062 | -$as_echo "$CC" >&6; } | |
3063 | -else | |
3064 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3065 | -$as_echo "no" >&6; } | |
3066 | -fi | |
3067 | - | |
3068 | - | |
3069 | -fi | |
3070 | -if test -z "$CC"; then | |
3071 | - if test -n "$ac_tool_prefix"; then | |
3072 | - for ac_prog in cl.exe | |
3073 | - do | |
3074 | - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
3075 | -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
3076 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3077 | -$as_echo_n "checking for $ac_word... " >&6; } | |
3078 | -if ${ac_cv_prog_CC+:} false; then : | |
3079 | - $as_echo_n "(cached) " >&6 | |
3080 | -else | |
3081 | - if test -n "$CC"; then | |
3082 | - ac_cv_prog_CC="$CC" # Let the user override the test. | |
3083 | -else | |
3084 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3085 | -for as_dir in $PATH | |
3086 | -do | |
3087 | - IFS=$as_save_IFS | |
3088 | - test -z "$as_dir" && as_dir=. | |
3089 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
3090 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3091 | - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
3092 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3093 | - break 2 | |
3094 | - fi | |
3095 | -done | |
3096 | - done | |
3097 | -IFS=$as_save_IFS | |
3098 | - | |
3099 | -fi | |
3100 | -fi | |
3101 | -CC=$ac_cv_prog_CC | |
3102 | -if test -n "$CC"; then | |
3103 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3104 | -$as_echo "$CC" >&6; } | |
3105 | -else | |
3106 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3107 | -$as_echo "no" >&6; } | |
3108 | -fi | |
3109 | - | |
3110 | - | |
3111 | - test -n "$CC" && break | |
3112 | - done | |
3113 | -fi | |
3114 | -if test -z "$CC"; then | |
3115 | - ac_ct_CC=$CC | |
3116 | - for ac_prog in cl.exe | |
3117 | -do | |
3118 | - # Extract the first word of "$ac_prog", so it can be a program name with args. | |
3119 | -set dummy $ac_prog; ac_word=$2 | |
3120 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3121 | -$as_echo_n "checking for $ac_word... " >&6; } | |
3122 | -if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
3123 | - $as_echo_n "(cached) " >&6 | |
3124 | -else | |
3125 | - if test -n "$ac_ct_CC"; then | |
3126 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
3127 | -else | |
3128 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3129 | -for as_dir in $PATH | |
3130 | -do | |
3131 | - IFS=$as_save_IFS | |
3132 | - test -z "$as_dir" && as_dir=. | |
3133 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
3134 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3135 | - ac_cv_prog_ac_ct_CC="$ac_prog" | |
3136 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
3137 | - break 2 | |
3138 | - fi | |
3139 | -done | |
3140 | - done | |
3141 | -IFS=$as_save_IFS | |
3142 | - | |
3143 | -fi | |
3144 | -fi | |
3145 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
3146 | -if test -n "$ac_ct_CC"; then | |
3147 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
3148 | -$as_echo "$ac_ct_CC" >&6; } | |
3149 | -else | |
3150 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3151 | -$as_echo "no" >&6; } | |
3152 | -fi | |
3153 | - | |
3154 | - | |
3155 | - test -n "$ac_ct_CC" && break | |
3156 | -done | |
3157 | - | |
3158 | - if test "x$ac_ct_CC" = x; then | |
3159 | - CC="" | |
3160 | - else | |
3161 | - case $cross_compiling:$ac_tool_warned in | |
3162 | -yes:) | |
3163 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
3164 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
3165 | -ac_tool_warned=yes ;; | |
3166 | -esac | |
3167 | - CC=$ac_ct_CC | |
3168 | - fi | |
3169 | -fi | |
3170 | - | |
3171 | -fi | |
3172 | - | |
3173 | - | |
3174 | -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3175 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3176 | -as_fn_error $? "no acceptable C compiler found in \$PATH | |
3177 | -See \`config.log' for more details" "$LINENO" 5; } | |
3178 | - | |
3179 | -# Provide some information about the compiler. | |
3180 | -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
3181 | -set X $ac_compile | |
3182 | -ac_compiler=$2 | |
3183 | -for ac_option in --version -v -V -qversion; do | |
3184 | - { { ac_try="$ac_compiler $ac_option >&5" | |
3185 | -case "(($ac_try" in | |
3186 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3187 | - *) ac_try_echo=$ac_try;; | |
3188 | -esac | |
3189 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3190 | -$as_echo "$ac_try_echo"; } >&5 | |
3191 | - (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
3192 | - ac_status=$? | |
3193 | - if test -s conftest.err; then | |
3194 | - sed '10a\ | |
3195 | -... rest of stderr output deleted ... | |
3196 | - 10q' conftest.err >conftest.er1 | |
3197 | - cat conftest.er1 >&5 | |
3198 | - fi | |
3199 | - rm -f conftest.er1 conftest.err | |
3200 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3201 | - test $ac_status = 0; } | |
3202 | -done | |
3203 | - | |
3204 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3205 | -/* end confdefs.h. */ | |
3206 | - | |
3207 | -int | |
3208 | -main () | |
3209 | -{ | |
3210 | - | |
3211 | - ; | |
3212 | - return 0; | |
3213 | -} | |
3214 | -_ACEOF | |
3215 | -ac_clean_files_save=$ac_clean_files | |
3216 | -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
3217 | -# Try to create an executable without -o first, disregard a.out. | |
3218 | -# It will help us diagnose broken compilers, and finding out an intuition | |
3219 | -# of exeext. | |
3220 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
3221 | -$as_echo_n "checking whether the C compiler works... " >&6; } | |
3222 | -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
3223 | - | |
3224 | -# The possible output files: | |
3225 | -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
3226 | - | |
3227 | -ac_rmfiles= | |
3228 | -for ac_file in $ac_files | |
3229 | -do | |
3230 | - case $ac_file in | |
3231 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
3232 | - * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
3233 | - esac | |
3234 | -done | |
3235 | -rm -f $ac_rmfiles | |
3236 | - | |
3237 | -if { { ac_try="$ac_link_default" | |
3238 | -case "(($ac_try" in | |
3239 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3240 | - *) ac_try_echo=$ac_try;; | |
3241 | -esac | |
3242 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3243 | -$as_echo "$ac_try_echo"; } >&5 | |
3244 | - (eval "$ac_link_default") 2>&5 | |
3245 | - ac_status=$? | |
3246 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3247 | - test $ac_status = 0; }; then : | |
3248 | - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
3249 | -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
3250 | -# in a Makefile. We should not override ac_cv_exeext if it was cached, | |
3251 | -# so that the user can short-circuit this test for compilers unknown to | |
3252 | -# Autoconf. | |
3253 | -for ac_file in $ac_files '' | |
3254 | -do | |
3255 | - test -f "$ac_file" || continue | |
3256 | - case $ac_file in | |
3257 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
3258 | - ;; | |
3259 | - [ab].out ) | |
3260 | - # We found the default executable, but exeext='' is most | |
3261 | - # certainly right. | |
3262 | - break;; | |
3263 | - *.* ) | |
3264 | - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
3265 | - then :; else | |
3266 | - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3267 | - fi | |
3268 | - # We set ac_cv_exeext here because the later test for it is not | |
3269 | - # safe: cross compilers may not add the suffix if given an `-o' | |
3270 | - # argument, so we may need to know it at that point already. | |
3271 | - # Even if this section looks crufty: it has the advantage of | |
3272 | - # actually working. | |
3273 | - break;; | |
3274 | - * ) | |
3275 | - break;; | |
3276 | - esac | |
3277 | -done | |
3278 | -test "$ac_cv_exeext" = no && ac_cv_exeext= | |
3279 | - | |
3280 | -else | |
3281 | - ac_file='' | |
3282 | -fi | |
3283 | -if test -z "$ac_file"; then : | |
3284 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3285 | -$as_echo "no" >&6; } | |
3286 | -$as_echo "$as_me: failed program was:" >&5 | |
3287 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
3288 | - | |
3289 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3290 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3291 | -as_fn_error 77 "C compiler cannot create executables | |
3292 | -See \`config.log' for more details" "$LINENO" 5; } | |
3293 | -else | |
3294 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3295 | -$as_echo "yes" >&6; } | |
3296 | -fi | |
3297 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3298 | -$as_echo_n "checking for C compiler default output file name... " >&6; } | |
3299 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3300 | -$as_echo "$ac_file" >&6; } | |
3301 | -ac_exeext=$ac_cv_exeext | |
3302 | - | |
3303 | -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
3304 | -ac_clean_files=$ac_clean_files_save | |
3305 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
3306 | -$as_echo_n "checking for suffix of executables... " >&6; } | |
3307 | -if { { ac_try="$ac_link" | |
3308 | -case "(($ac_try" in | |
3309 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3310 | - *) ac_try_echo=$ac_try;; | |
3311 | -esac | |
3312 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3313 | -$as_echo "$ac_try_echo"; } >&5 | |
3314 | - (eval "$ac_link") 2>&5 | |
3315 | - ac_status=$? | |
3316 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3317 | - test $ac_status = 0; }; then : | |
3318 | - # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
3319 | -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
3320 | -# work properly (i.e., refer to `conftest.exe'), while it won't with | |
3321 | -# `rm'. | |
3322 | -for ac_file in conftest.exe conftest conftest.*; do | |
3323 | - test -f "$ac_file" || continue | |
3324 | - case $ac_file in | |
3325 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
3326 | - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3327 | - break;; | |
3328 | - * ) break;; | |
3329 | - esac | |
3330 | -done | |
3331 | -else | |
3332 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3333 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3334 | -as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
3335 | -See \`config.log' for more details" "$LINENO" 5; } | |
3336 | -fi | |
3337 | -rm -f conftest conftest$ac_cv_exeext | |
3338 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
3339 | -$as_echo "$ac_cv_exeext" >&6; } | |
3340 | - | |
3341 | -rm -f conftest.$ac_ext | |
3342 | -EXEEXT=$ac_cv_exeext | |
3343 | -ac_exeext=$EXEEXT | |
3344 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3345 | -/* end confdefs.h. */ | |
3346 | -#include <stdio.h> | |
3347 | -int | |
3348 | -main () | |
3349 | -{ | |
3350 | -FILE *f = fopen ("conftest.out", "w"); | |
3351 | - return ferror (f) || fclose (f) != 0; | |
3352 | - | |
3353 | - ; | |
3354 | - return 0; | |
3355 | -} | |
3356 | -_ACEOF | |
3357 | -ac_clean_files="$ac_clean_files conftest.out" | |
3358 | -# Check that the compiler produces executables we can run. If not, either | |
3359 | -# the compiler is broken, or we cross compile. | |
3360 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
3361 | -$as_echo_n "checking whether we are cross compiling... " >&6; } | |
3362 | -if test "$cross_compiling" != yes; then | |
3363 | - { { ac_try="$ac_link" | |
3364 | -case "(($ac_try" in | |
3365 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3366 | - *) ac_try_echo=$ac_try;; | |
3367 | -esac | |
3368 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3369 | -$as_echo "$ac_try_echo"; } >&5 | |
3370 | - (eval "$ac_link") 2>&5 | |
3371 | - ac_status=$? | |
3372 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3373 | - test $ac_status = 0; } | |
3374 | - if { ac_try='./conftest$ac_cv_exeext' | |
3375 | - { { case "(($ac_try" in | |
3376 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3377 | - *) ac_try_echo=$ac_try;; | |
3378 | -esac | |
3379 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3380 | -$as_echo "$ac_try_echo"; } >&5 | |
3381 | - (eval "$ac_try") 2>&5 | |
3382 | - ac_status=$? | |
3383 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3384 | - test $ac_status = 0; }; }; then | |
3385 | - cross_compiling=no | |
3386 | - else | |
3387 | - if test "$cross_compiling" = maybe; then | |
3388 | - cross_compiling=yes | |
3389 | - else | |
3390 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3391 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3392 | -as_fn_error $? "cannot run C compiled programs. | |
3393 | -If you meant to cross compile, use \`--host'. | |
3394 | -See \`config.log' for more details" "$LINENO" 5; } | |
3395 | - fi | |
3396 | - fi | |
3397 | -fi | |
3398 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
3399 | -$as_echo "$cross_compiling" >&6; } | |
3400 | - | |
3401 | -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
3402 | -ac_clean_files=$ac_clean_files_save | |
3403 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
3404 | -$as_echo_n "checking for suffix of object files... " >&6; } | |
3405 | -if ${ac_cv_objext+:} false; then : | |
3406 | - $as_echo_n "(cached) " >&6 | |
3407 | -else | |
3408 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3409 | -/* end confdefs.h. */ | |
3410 | - | |
3411 | -int | |
3412 | -main () | |
3413 | -{ | |
3414 | - | |
3415 | - ; | |
3416 | - return 0; | |
3417 | -} | |
3418 | -_ACEOF | |
3419 | -rm -f conftest.o conftest.obj | |
3420 | -if { { ac_try="$ac_compile" | |
3421 | -case "(($ac_try" in | |
3422 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3423 | - *) ac_try_echo=$ac_try;; | |
3424 | -esac | |
3425 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3426 | -$as_echo "$ac_try_echo"; } >&5 | |
3427 | - (eval "$ac_compile") 2>&5 | |
3428 | - ac_status=$? | |
3429 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3430 | - test $ac_status = 0; }; then : | |
3431 | - for ac_file in conftest.o conftest.obj conftest.*; do | |
3432 | - test -f "$ac_file" || continue; | |
3433 | - case $ac_file in | |
3434 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
3435 | - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
3436 | - break;; | |
3437 | - esac | |
3438 | -done | |
3439 | -else | |
3440 | - $as_echo "$as_me: failed program was:" >&5 | |
3441 | -sed 's/^/| /' conftest.$ac_ext >&5 | |
3442 | - | |
3443 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3444 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3445 | -as_fn_error $? "cannot compute suffix of object files: cannot compile | |
3446 | -See \`config.log' for more details" "$LINENO" 5; } | |
3447 | -fi | |
3448 | -rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
3449 | -fi | |
3450 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
3451 | -$as_echo "$ac_cv_objext" >&6; } | |
3452 | -OBJEXT=$ac_cv_objext | |
3453 | -ac_objext=$OBJEXT | |
3454 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
3455 | -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3456 | -if ${ac_cv_c_compiler_gnu+:} false; then : | |
3457 | - $as_echo_n "(cached) " >&6 | |
3458 | -else | |
3459 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3460 | -/* end confdefs.h. */ | |
3461 | - | |
3462 | -int | |
3463 | -main () | |
3464 | -{ | |
3465 | -#ifndef __GNUC__ | |
3466 | - choke me | |
3467 | -#endif | |
3468 | - | |
3469 | - ; | |
3470 | - return 0; | |
3471 | -} | |
3472 | -_ACEOF | |
3473 | -if ac_fn_c_try_compile "$LINENO"; then : | |
3474 | - ac_compiler_gnu=yes | |
3475 | -else | |
3476 | - ac_compiler_gnu=no | |
3477 | -fi | |
3478 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3479 | -ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
3480 | - | |
3481 | -fi | |
3482 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
3483 | -$as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3484 | -if test $ac_compiler_gnu = yes; then | |
3485 | - GCC=yes | |
3486 | -else | |
3487 | - GCC= | |
3488 | -fi | |
3489 | -ac_test_CFLAGS=${CFLAGS+set} | |
3490 | -ac_save_CFLAGS=$CFLAGS | |
3491 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
3492 | -$as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3493 | -if ${ac_cv_prog_cc_g+:} false; then : | |
3494 | - $as_echo_n "(cached) " >&6 | |
3495 | -else | |
3496 | - ac_save_c_werror_flag=$ac_c_werror_flag | |
3497 | - ac_c_werror_flag=yes | |
3498 | - ac_cv_prog_cc_g=no | |
3499 | - CFLAGS="-g" | |
3500 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3501 | -/* end confdefs.h. */ | |
3502 | - | |
3503 | -int | |
3504 | -main () | |
3505 | -{ | |
3506 | - | |
3507 | - ; | |
3508 | - return 0; | |
3509 | -} | |
3510 | -_ACEOF | |
3511 | -if ac_fn_c_try_compile "$LINENO"; then : | |
3512 | - ac_cv_prog_cc_g=yes | |
3513 | -else | |
3514 | - CFLAGS="" | |
3515 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3516 | -/* end confdefs.h. */ | |
3517 | - | |
3518 | -int | |
3519 | -main () | |
3520 | -{ | |
3521 | - | |
3522 | - ; | |
3523 | - return 0; | |
3524 | -} | |
3525 | -_ACEOF | |
3526 | -if ac_fn_c_try_compile "$LINENO"; then : | |
3527 | - | |
3528 | -else | |
3529 | - ac_c_werror_flag=$ac_save_c_werror_flag | |
3530 | - CFLAGS="-g" | |
3531 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3532 | -/* end confdefs.h. */ | |
3533 | - | |
3534 | -int | |
3535 | -main () | |
3536 | -{ | |
3537 | - | |
3538 | - ; | |
3539 | - return 0; | |
3540 | -} | |
3541 | -_ACEOF | |
3542 | -if ac_fn_c_try_compile "$LINENO"; then : | |
3543 | - ac_cv_prog_cc_g=yes | |
3544 | -fi | |
3545 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3546 | -fi | |
3547 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3548 | -fi | |
3549 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3550 | - ac_c_werror_flag=$ac_save_c_werror_flag | |
3551 | -fi | |
3552 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
3553 | -$as_echo "$ac_cv_prog_cc_g" >&6; } | |
3554 | -if test "$ac_test_CFLAGS" = set; then | |
3555 | - CFLAGS=$ac_save_CFLAGS | |
3556 | -elif test $ac_cv_prog_cc_g = yes; then | |
3557 | - if test "$GCC" = yes; then | |
3558 | - CFLAGS="-g -O2" | |
3559 | - else | |
3560 | - CFLAGS="-g" | |
3561 | - fi | |
3562 | -else | |
3563 | - if test "$GCC" = yes; then | |
3564 | - CFLAGS="-O2" | |
3565 | - else | |
3566 | - CFLAGS= | |
3567 | - fi | |
3568 | -fi | |
3569 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
3570 | -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3571 | -if ${ac_cv_prog_cc_c89+:} false; then : | |
3572 | - $as_echo_n "(cached) " >&6 | |
3573 | -else | |
3574 | - ac_cv_prog_cc_c89=no | |
3575 | -ac_save_CC=$CC | |
3576 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3577 | -/* end confdefs.h. */ | |
3578 | -#include <stdarg.h> | |
3579 | -#include <stdio.h> | |
3580 | -struct stat; | |
3581 | -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3582 | -struct buf { int x; }; | |
3583 | -FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3584 | -static char *e (p, i) | |
3585 | - char **p; | |
3586 | - int i; | |
3587 | -{ | |
3588 | - return p[i]; | |
3589 | -} | |
3590 | -static char *f (char * (*g) (char **, int), char **p, ...) | |
3591 | -{ | |
3592 | - char *s; | |
3593 | - va_list v; | |
3594 | - va_start (v,p); | |
3595 | - s = g (p, va_arg (v,int)); | |
3596 | - va_end (v); | |
3597 | - return s; | |
3598 | -} | |
3599 | - | |
3600 | -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3601 | - function prototypes and stuff, but not '\xHH' hex character constants. | |
3602 | - These don't provoke an error unfortunately, instead are silently treated | |
3603 | - as 'x'. The following induces an error, until -std is added to get | |
3604 | - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3605 | - array size at least. It's necessary to write '\x00'==0 to get something | |
3606 | - that's true only with -std. */ | |
3607 | -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3608 | - | |
3609 | -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3610 | - inside strings and character constants. */ | |
3611 | -#define FOO(x) 'x' | |
3612 | -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3613 | - | |
3614 | -int test (int i, double x); | |
3615 | -struct s1 {int (*f) (int a);}; | |
3616 | -struct s2 {int (*f) (double a);}; | |
3617 | -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3618 | -int argc; | |
3619 | -char **argv; | |
3620 | -int | |
3621 | -main () | |
3622 | -{ | |
3623 | -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3624 | - ; | |
3625 | - return 0; | |
3626 | -} | |
3627 | -_ACEOF | |
3628 | -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
3629 | - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
3630 | -do | |
3631 | - CC="$ac_save_CC $ac_arg" | |
3632 | - if ac_fn_c_try_compile "$LINENO"; then : | |
3633 | - ac_cv_prog_cc_c89=$ac_arg | |
3634 | -fi | |
3635 | -rm -f core conftest.err conftest.$ac_objext | |
3636 | - test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3637 | -done | |
3638 | -rm -f conftest.$ac_ext | |
3639 | -CC=$ac_save_CC | |
3640 | - | |
3641 | -fi | |
3642 | -# AC_CACHE_VAL | |
3643 | -case "x$ac_cv_prog_cc_c89" in | |
3644 | - x) | |
3645 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
3646 | -$as_echo "none needed" >&6; } ;; | |
3647 | - xno) | |
3648 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
3649 | -$as_echo "unsupported" >&6; } ;; | |
3650 | - *) | |
3651 | - CC="$CC $ac_cv_prog_cc_c89" | |
3652 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
3653 | -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
3654 | -esac | |
3655 | -if test "x$ac_cv_prog_cc_c89" != xno; then : | |
3656 | - | |
3657 | -fi | |
3658 | - | |
3659 | -ac_ext=c | |
3660 | -ac_cpp='$CPP $CPPFLAGS' | |
3661 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3662 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3663 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3664 | - | |
3665 | -ac_ext=c | |
3666 | -ac_cpp='$CPP $CPPFLAGS' | |
3667 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3668 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3669 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3670 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | |
3671 | -$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | |
3672 | -if ${am_cv_prog_cc_c_o+:} false; then : | |
3673 | - $as_echo_n "(cached) " >&6 | |
3674 | -else | |
3675 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3676 | -/* end confdefs.h. */ | |
3677 | - | |
3678 | -int | |
3679 | -main () | |
3680 | -{ | |
3681 | - | |
3682 | - ; | |
3683 | - return 0; | |
3684 | -} | |
3685 | -_ACEOF | |
3686 | - # Make sure it works both with $CC and with simple cc. | |
3687 | - # Following AC_PROG_CC_C_O, we do the test twice because some | |
3688 | - # compilers refuse to overwrite an existing .o file with -o, | |
3689 | - # though they will create one. | |
3690 | - am_cv_prog_cc_c_o=yes | |
3691 | - for am_i in 1 2; do | |
3692 | - if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | |
3693 | - ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | |
3694 | - ac_status=$? | |
3695 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3696 | - (exit $ac_status); } \ | |
3697 | - && test -f conftest2.$ac_objext; then | |
3698 | - : OK | |
3699 | - else | |
3700 | - am_cv_prog_cc_c_o=no | |
3701 | - break | |
3702 | - fi | |
3703 | - done | |
3704 | - rm -f core conftest* | |
3705 | - unset am_i | |
3706 | -fi | |
3707 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | |
3708 | -$as_echo "$am_cv_prog_cc_c_o" >&6; } | |
3709 | -if test "$am_cv_prog_cc_c_o" != yes; then | |
3710 | - # Losing compiler, so override with the script. | |
3711 | - # FIXME: It is wrong to rewrite CC. | |
3712 | - # But if we don't then we get into trouble of one sort or another. | |
3713 | - # A longer-term fix would be to have automake use am__CC in this case, | |
3714 | - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | |
3715 | - CC="$am_aux_dir/compile $CC" | |
3716 | -fi | |
3717 | -ac_ext=c | |
3718 | -ac_cpp='$CPP $CPPFLAGS' | |
3719 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3720 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3721 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3722 | - | |
3723 | -DEPDIR="${am__leading_dot}deps" | |
3724 | - | |
3725 | -ac_config_commands="$ac_config_commands depfiles" | |
3726 | - | |
3727 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 | |
3728 | -$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } | |
3729 | -cat > confinc.mk << 'END' | |
3730 | -am__doit: | |
3731 | - @echo this is the am__doit target >confinc.out | |
3732 | -.PHONY: am__doit | |
3733 | -END | |
3734 | -am__include="#" | |
3735 | -am__quote= | |
3736 | -# BSD make does it like this. | |
3737 | -echo '.include "confinc.mk" # ignored' > confmf.BSD | |
3738 | -# Other make implementations (GNU, Solaris 10, AIX) do it like this. | |
3739 | -echo 'include confinc.mk # ignored' > confmf.GNU | |
3740 | -_am_result=no | |
3741 | -for s in GNU BSD; do | |
3742 | - { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 | |
3743 | - (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 | |
3744 | - ac_status=$? | |
3745 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3746 | - (exit $ac_status); } | |
3747 | - case $?:`cat confinc.out 2>/dev/null` in #( | |
3748 | - '0:this is the am__doit target') : | |
3749 | - case $s in #( | |
3750 | - BSD) : | |
3751 | - am__include='.include' am__quote='"' ;; #( | |
3752 | - *) : | |
3753 | - am__include='include' am__quote='' ;; | |
3754 | -esac ;; #( | |
3755 | - *) : | |
3756 | - ;; | |
3757 | -esac | |
3758 | - if test "$am__include" != "#"; then | |
3759 | - _am_result="yes ($s style)" | |
3760 | - break | |
3761 | - fi | |
3762 | -done | |
3763 | -rm -f confinc.* confmf.* | |
3764 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 | |
3765 | -$as_echo "${_am_result}" >&6; } | |
3766 | - | |
3767 | -# Check whether --enable-dependency-tracking was given. | |
3768 | -if test "${enable_dependency_tracking+set}" = set; then : | |
3769 | - enableval=$enable_dependency_tracking; | |
3770 | -fi | |
3771 | - | |
3772 | -if test "x$enable_dependency_tracking" != xno; then | |
3773 | - am_depcomp="$ac_aux_dir/depcomp" | |
3774 | - AMDEPBACKSLASH='\' | |
3775 | - am__nodep='_no' | |
3776 | -fi | |
3777 | - if test "x$enable_dependency_tracking" != xno; then | |
3778 | - AMDEP_TRUE= | |
3779 | - AMDEP_FALSE='#' | |
3780 | -else | |
3781 | - AMDEP_TRUE='#' | |
3782 | - AMDEP_FALSE= | |
3783 | -fi | |
3784 | - | |
3785 | - | |
3786 | - | |
3787 | -depcc="$CC" am_compiler_list= | |
3788 | - | |
3789 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
3790 | -$as_echo_n "checking dependency style of $depcc... " >&6; } | |
3791 | -if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
3792 | - $as_echo_n "(cached) " >&6 | |
3793 | -else | |
3794 | - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
3795 | - # We make a subdir and do the tests there. Otherwise we can end up | |
3796 | - # making bogus files that we don't know about and never remove. For | |
3797 | - # instance it was reported that on HP-UX the gcc test will end up | |
3798 | - # making a dummy file named 'D' -- because '-MD' means "put the output | |
3799 | - # in D". | |
3800 | - rm -rf conftest.dir | |
3801 | - mkdir conftest.dir | |
3802 | - # Copy depcomp to subdir because otherwise we won't find it if we're | |
3803 | - # using a relative directory. | |
3804 | - cp "$am_depcomp" conftest.dir | |
3805 | - cd conftest.dir | |
3806 | - # We will build objects and dependencies in a subdirectory because | |
3807 | - # it helps to detect inapplicable dependency modes. For instance | |
3808 | - # both Tru64's cc and ICC support -MD to output dependencies as a | |
3809 | - # side effect of compilation, but ICC will put the dependencies in | |
3810 | - # the current directory while Tru64 will put them in the object | |
3811 | - # directory. | |
3812 | - mkdir sub | |
3813 | - | |
3814 | - am_cv_CC_dependencies_compiler_type=none | |
3815 | - if test "$am_compiler_list" = ""; then | |
3816 | - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
3817 | - fi | |
3818 | - am__universal=false | |
3819 | - case " $depcc " in #( | |
3820 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
3821 | - esac | |
3822 | - | |
3823 | - for depmode in $am_compiler_list; do | |
3824 | - # Setup a source with many dependencies, because some compilers | |
3825 | - # like to wrap large dependency lists on column 80 (with \), and | |
3826 | - # we should not choose a depcomp mode which is confused by this. | |
3827 | - # | |
3828 | - # We need to recreate these files for each test, as the compiler may | |
3829 | - # overwrite some of them when testing with obscure command lines. | |
3830 | - # This happens at least with the AIX C compiler. | |
3831 | - : > sub/conftest.c | |
3832 | - for i in 1 2 3 4 5 6; do | |
3833 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
3834 | - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
3835 | - # Solaris 10 /bin/sh. | |
3836 | - echo '/* dummy */' > sub/conftst$i.h | |
3837 | - done | |
3838 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
3839 | - | |
3840 | - # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
3841 | - # mode. It turns out that the SunPro C++ compiler does not properly | |
3842 | - # handle '-M -o', and we need to detect this. Also, some Intel | |
3843 | - # versions had trouble with output in subdirs. | |
3844 | - am__obj=sub/conftest.${OBJEXT-o} | |
3845 | - am__minus_obj="-o $am__obj" | |
3846 | - case $depmode in | |
3847 | - gcc) | |
3848 | - # This depmode causes a compiler race in universal mode. | |
3849 | - test "$am__universal" = false || continue | |
3850 | - ;; | |
3851 | - nosideeffect) | |
3852 | - # After this tag, mechanisms are not by side-effect, so they'll | |
3853 | - # only be used when explicitly requested. | |
3854 | - if test "x$enable_dependency_tracking" = xyes; then | |
3855 | - continue | |
3856 | - else | |
3857 | - break | |
3858 | - fi | |
3859 | - ;; | |
3860 | - msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
3861 | - # This compiler won't grok '-c -o', but also, the minuso test has | |
3862 | - # not run yet. These depmodes are late enough in the game, and | |
3863 | - # so weak that their functioning should not be impacted. | |
3864 | - am__obj=conftest.${OBJEXT-o} | |
3865 | - am__minus_obj= | |
3866 | - ;; | |
3867 | - none) break ;; | |
3868 | - esac | |
3869 | - if depmode=$depmode \ | |
3870 | - source=sub/conftest.c object=$am__obj \ | |
3871 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
3872 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
3873 | - >/dev/null 2>conftest.err && | |
3874 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
3875 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
3876 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
3877 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
3878 | - # icc doesn't choke on unknown options, it will just issue warnings | |
3879 | - # or remarks (even with -Werror). So we grep stderr for any message | |
3880 | - # that says an option was ignored or not supported. | |
3881 | - # When given -MP, icc 7.0 and 7.1 complain thusly: | |
3882 | - # icc: Command line warning: ignoring option '-M'; no argument required | |
3883 | - # The diagnosis changed in icc 8.0: | |
3884 | - # icc: Command line remark: option '-MP' not supported | |
3885 | - if (grep 'ignoring option' conftest.err || | |
3886 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
3887 | - am_cv_CC_dependencies_compiler_type=$depmode | |
3888 | - break | |
3889 | - fi | |
3890 | - fi | |
3891 | - done | |
3892 | - | |
3893 | - cd .. | |
3894 | - rm -rf conftest.dir | |
3895 | -else | |
3896 | - am_cv_CC_dependencies_compiler_type=none | |
3897 | -fi | |
3898 | - | |
3899 | -fi | |
3900 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
3901 | -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
3902 | -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
3903 | - | |
3904 | - if | |
3905 | - test "x$enable_dependency_tracking" != xno \ | |
3906 | - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
3907 | - am__fastdepCC_TRUE= | |
3908 | - am__fastdepCC_FALSE='#' | |
3909 | -else | |
3910 | - am__fastdepCC_TRUE='#' | |
3911 | - am__fastdepCC_FALSE= | |
3912 | -fi | |
3913 | - | |
3914 | - | |
3915 | - | |
3916 | -# Checks for libraries. | |
3917 | -# FIXME: Replace `main' with a function in `-lcrypto': | |
3918 | - | |
3919 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypto" >&5 | |
3920 | -$as_echo_n "checking for main in -lcrypto... " >&6; } | |
3921 | -if ${ac_cv_lib_crypto_main+:} false; then : | |
3922 | - $as_echo_n "(cached) " >&6 | |
3923 | -else | |
3924 | - ac_check_lib_save_LIBS=$LIBS | |
3925 | -LIBS="-lcrypto $LIBS" | |
3926 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3927 | -/* end confdefs.h. */ | |
3928 | - | |
3929 | - | |
3930 | -int | |
3931 | -main () | |
3932 | -{ | |
3933 | -return main (); | |
3934 | - ; | |
3935 | - return 0; | |
3936 | -} | |
3937 | -_ACEOF | |
3938 | -if ac_fn_c_try_link "$LINENO"; then : | |
3939 | - ac_cv_lib_crypto_main=yes | |
3940 | -else | |
3941 | - ac_cv_lib_crypto_main=no | |
3942 | -fi | |
3943 | -rm -f core conftest.err conftest.$ac_objext \ | |
3944 | - conftest$ac_exeext conftest.$ac_ext | |
3945 | -LIBS=$ac_check_lib_save_LIBS | |
3946 | -fi | |
3947 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_main" >&5 | |
3948 | -$as_echo "$ac_cv_lib_crypto_main" >&6; } | |
3949 | -if test "x$ac_cv_lib_crypto_main" = xyes; then : | |
3950 | - cat >>confdefs.h <<_ACEOF | |
3951 | -#define HAVE_LIBCRYPTO 1 | |
3952 | -_ACEOF | |
3953 | - | |
3954 | - LIBS="-lcrypto $LIBS" | |
3955 | - | |
3956 | -fi | |
3957 | - | |
3958 | -# FIXME: Replace `main' with a function in `-lwiringPi': | |
3959 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwiringPi" >&5 | |
3960 | -$as_echo_n "checking for main in -lwiringPi... " >&6; } | |
3961 | -if ${ac_cv_lib_wiringPi_main+:} false; then : | |
3962 | - $as_echo_n "(cached) " >&6 | |
3963 | -else | |
3964 | - ac_check_lib_save_LIBS=$LIBS | |
3965 | -LIBS="-lwiringPi $LIBS" | |
3966 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3967 | -/* end confdefs.h. */ | |
3968 | - | |
3969 | - | |
3970 | -int | |
3971 | -main () | |
3972 | -{ | |
3973 | -return main (); | |
3974 | - ; | |
3975 | - return 0; | |
3976 | -} | |
3977 | -_ACEOF | |
3978 | -if ac_fn_c_try_link "$LINENO"; then : | |
3979 | - ac_cv_lib_wiringPi_main=yes | |
3980 | -else | |
3981 | - ac_cv_lib_wiringPi_main=no | |
3982 | -fi | |
3983 | -rm -f core conftest.err conftest.$ac_objext \ | |
3984 | - conftest$ac_exeext conftest.$ac_ext | |
3985 | -LIBS=$ac_check_lib_save_LIBS | |
3986 | -fi | |
3987 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wiringPi_main" >&5 | |
3988 | -$as_echo "$ac_cv_lib_wiringPi_main" >&6; } | |
3989 | -if test "x$ac_cv_lib_wiringPi_main" = xyes; then : | |
3990 | - cat >>confdefs.h <<_ACEOF | |
3991 | -#define HAVE_LIBWIRINGPI 1 | |
3992 | -_ACEOF | |
3993 | - | |
3994 | - LIBS="-lwiringPi $LIBS" | |
3995 | - | |
3996 | -fi | |
3997 | - | |
3998 | - | |
3999 | -# Checks for header files. | |
4000 | -ac_ext=c | |
4001 | -ac_cpp='$CPP $CPPFLAGS' | |
4002 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4003 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4004 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4005 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
4006 | -$as_echo_n "checking how to run the C preprocessor... " >&6; } | |
4007 | -# On Suns, sometimes $CPP names a directory. | |
4008 | -if test -n "$CPP" && test -d "$CPP"; then | |
4009 | - CPP= | |
4010 | -fi | |
4011 | -if test -z "$CPP"; then | |
4012 | - if ${ac_cv_prog_CPP+:} false; then : | |
4013 | - $as_echo_n "(cached) " >&6 | |
4014 | -else | |
4015 | - # Double quotes because CPP needs to be expanded | |
4016 | - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
4017 | - do | |
4018 | - ac_preproc_ok=false | |
4019 | -for ac_c_preproc_warn_flag in '' yes | |
4020 | -do | |
4021 | - # Use a header file that comes with gcc, so configuring glibc | |
4022 | - # with a fresh cross-compiler works. | |
4023 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4024 | - # <limits.h> exists even on freestanding compilers. | |
4025 | - # On the NeXT, cc -E runs the code through the compiler's parser, | |
4026 | - # not just through cpp. "Syntax error" is here to catch this case. | |
4027 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4028 | -/* end confdefs.h. */ | |
4029 | -#ifdef __STDC__ | |
4030 | -# include <limits.h> | |
4031 | -#else | |
4032 | -# include <assert.h> | |
4033 | -#endif | |
4034 | - Syntax error | |
4035 | -_ACEOF | |
4036 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
4037 | - | |
4038 | -else | |
4039 | - # Broken: fails on valid input. | |
4040 | -continue | |
4041 | -fi | |
4042 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
4043 | - | |
4044 | - # OK, works on sane cases. Now check whether nonexistent headers | |
4045 | - # can be detected and how. | |
4046 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4047 | -/* end confdefs.h. */ | |
4048 | -#include <ac_nonexistent.h> | |
4049 | -_ACEOF | |
4050 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
4051 | - # Broken: success on invalid input. | |
4052 | -continue | |
4053 | -else | |
4054 | - # Passes both tests. | |
4055 | -ac_preproc_ok=: | |
4056 | -break | |
4057 | -fi | |
4058 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
4059 | - | |
4060 | -done | |
4061 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4062 | -rm -f conftest.i conftest.err conftest.$ac_ext | |
4063 | -if $ac_preproc_ok; then : | |
4064 | - break | |
4065 | -fi | |
4066 | - | |
4067 | - done | |
4068 | - ac_cv_prog_CPP=$CPP | |
4069 | - | |
4070 | -fi | |
4071 | - CPP=$ac_cv_prog_CPP | |
4072 | -else | |
4073 | - ac_cv_prog_CPP=$CPP | |
4074 | -fi | |
4075 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
4076 | -$as_echo "$CPP" >&6; } | |
4077 | -ac_preproc_ok=false | |
4078 | -for ac_c_preproc_warn_flag in '' yes | |
4079 | -do | |
4080 | - # Use a header file that comes with gcc, so configuring glibc | |
4081 | - # with a fresh cross-compiler works. | |
4082 | - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4083 | - # <limits.h> exists even on freestanding compilers. | |
4084 | - # On the NeXT, cc -E runs the code through the compiler's parser, | |
4085 | - # not just through cpp. "Syntax error" is here to catch this case. | |
4086 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4087 | -/* end confdefs.h. */ | |
4088 | -#ifdef __STDC__ | |
4089 | -# include <limits.h> | |
4090 | -#else | |
4091 | -# include <assert.h> | |
4092 | -#endif | |
4093 | - Syntax error | |
4094 | -_ACEOF | |
4095 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
4096 | - | |
4097 | -else | |
4098 | - # Broken: fails on valid input. | |
4099 | -continue | |
4100 | -fi | |
4101 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
4102 | - | |
4103 | - # OK, works on sane cases. Now check whether nonexistent headers | |
4104 | - # can be detected and how. | |
4105 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4106 | -/* end confdefs.h. */ | |
4107 | -#include <ac_nonexistent.h> | |
4108 | -_ACEOF | |
4109 | -if ac_fn_c_try_cpp "$LINENO"; then : | |
4110 | - # Broken: success on invalid input. | |
4111 | -continue | |
4112 | -else | |
4113 | - # Passes both tests. | |
4114 | -ac_preproc_ok=: | |
4115 | -break | |
4116 | -fi | |
4117 | -rm -f conftest.err conftest.i conftest.$ac_ext | |
4118 | - | |
4119 | -done | |
4120 | -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4121 | -rm -f conftest.i conftest.err conftest.$ac_ext | |
4122 | -if $ac_preproc_ok; then : | |
4123 | - | |
4124 | -else | |
4125 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
4126 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
4127 | -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
4128 | -See \`config.log' for more details" "$LINENO" 5; } | |
4129 | -fi | |
4130 | - | |
4131 | -ac_ext=c | |
4132 | -ac_cpp='$CPP $CPPFLAGS' | |
4133 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4134 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4135 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4136 | - | |
4137 | - | |
4138 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
4139 | -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
4140 | -if ${ac_cv_path_GREP+:} false; then : | |
4141 | - $as_echo_n "(cached) " >&6 | |
4142 | -else | |
4143 | - if test -z "$GREP"; then | |
4144 | - ac_path_GREP_found=false | |
4145 | - # Loop through the user's path and test for each of PROGNAME-LIST | |
4146 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4147 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4148 | -do | |
4149 | - IFS=$as_save_IFS | |
4150 | - test -z "$as_dir" && as_dir=. | |
4151 | - for ac_prog in grep ggrep; do | |
4152 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
4153 | - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
4154 | - as_fn_executable_p "$ac_path_GREP" || continue | |
4155 | -# Check for GNU ac_path_GREP and select it if it is found. | |
4156 | - # Check for GNU $ac_path_GREP | |
4157 | -case `"$ac_path_GREP" --version 2>&1` in | |
4158 | -*GNU*) | |
4159 | - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
4160 | -*) | |
4161 | - ac_count=0 | |
4162 | - $as_echo_n 0123456789 >"conftest.in" | |
4163 | - while : | |
4164 | - do | |
4165 | - cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4166 | - mv "conftest.tmp" "conftest.in" | |
4167 | - cp "conftest.in" "conftest.nl" | |
4168 | - $as_echo 'GREP' >> "conftest.nl" | |
4169 | - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4170 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4171 | - as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4172 | - if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
4173 | - # Best one so far, save it but keep looking for a better one | |
4174 | - ac_cv_path_GREP="$ac_path_GREP" | |
4175 | - ac_path_GREP_max=$ac_count | |
4176 | - fi | |
4177 | - # 10*(2^10) chars as input seems more than enough | |
4178 | - test $ac_count -gt 10 && break | |
4179 | - done | |
4180 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4181 | -esac | |
4182 | - | |
4183 | - $ac_path_GREP_found && break 3 | |
4184 | - done | |
4185 | - done | |
4186 | - done | |
4187 | -IFS=$as_save_IFS | |
4188 | - if test -z "$ac_cv_path_GREP"; then | |
4189 | - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4190 | - fi | |
4191 | -else | |
4192 | - ac_cv_path_GREP=$GREP | |
4193 | -fi | |
4194 | - | |
4195 | -fi | |
4196 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
4197 | -$as_echo "$ac_cv_path_GREP" >&6; } | |
4198 | - GREP="$ac_cv_path_GREP" | |
4199 | - | |
4200 | - | |
4201 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
4202 | -$as_echo_n "checking for egrep... " >&6; } | |
4203 | -if ${ac_cv_path_EGREP+:} false; then : | |
4204 | - $as_echo_n "(cached) " >&6 | |
4205 | -else | |
4206 | - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
4207 | - then ac_cv_path_EGREP="$GREP -E" | |
4208 | - else | |
4209 | - if test -z "$EGREP"; then | |
4210 | - ac_path_EGREP_found=false | |
4211 | - # Loop through the user's path and test for each of PROGNAME-LIST | |
4212 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4213 | -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4214 | -do | |
4215 | - IFS=$as_save_IFS | |
4216 | - test -z "$as_dir" && as_dir=. | |
4217 | - for ac_prog in egrep; do | |
4218 | - for ac_exec_ext in '' $ac_executable_extensions; do | |
4219 | - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
4220 | - as_fn_executable_p "$ac_path_EGREP" || continue | |
4221 | -# Check for GNU ac_path_EGREP and select it if it is found. | |
4222 | - # Check for GNU $ac_path_EGREP | |
4223 | -case `"$ac_path_EGREP" --version 2>&1` in | |
4224 | -*GNU*) | |
4225 | - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
4226 | -*) | |
4227 | - ac_count=0 | |
4228 | - $as_echo_n 0123456789 >"conftest.in" | |
4229 | - while : | |
4230 | - do | |
4231 | - cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4232 | - mv "conftest.tmp" "conftest.in" | |
4233 | - cp "conftest.in" "conftest.nl" | |
4234 | - $as_echo 'EGREP' >> "conftest.nl" | |
4235 | - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4236 | - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4237 | - as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4238 | - if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
4239 | - # Best one so far, save it but keep looking for a better one | |
4240 | - ac_cv_path_EGREP="$ac_path_EGREP" | |
4241 | - ac_path_EGREP_max=$ac_count | |
4242 | - fi | |
4243 | - # 10*(2^10) chars as input seems more than enough | |
4244 | - test $ac_count -gt 10 && break | |
4245 | - done | |
4246 | - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4247 | -esac | |
4248 | - | |
4249 | - $ac_path_EGREP_found && break 3 | |
4250 | - done | |
4251 | - done | |
4252 | - done | |
4253 | -IFS=$as_save_IFS | |
4254 | - if test -z "$ac_cv_path_EGREP"; then | |
4255 | - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4256 | - fi | |
4257 | -else | |
4258 | - ac_cv_path_EGREP=$EGREP | |
4259 | -fi | |
4260 | - | |
4261 | - fi | |
4262 | -fi | |
4263 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
4264 | -$as_echo "$ac_cv_path_EGREP" >&6; } | |
4265 | - EGREP="$ac_cv_path_EGREP" | |
4266 | - | |
4267 | - | |
4268 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
4269 | -$as_echo_n "checking for ANSI C header files... " >&6; } | |
4270 | -if ${ac_cv_header_stdc+:} false; then : | |
4271 | - $as_echo_n "(cached) " >&6 | |
4272 | -else | |
4273 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4274 | -/* end confdefs.h. */ | |
4275 | -#include <stdlib.h> | |
4276 | -#include <stdarg.h> | |
4277 | -#include <string.h> | |
4278 | -#include <float.h> | |
4279 | - | |
4280 | -int | |
4281 | -main () | |
4282 | -{ | |
4283 | - | |
4284 | - ; | |
4285 | - return 0; | |
4286 | -} | |
4287 | -_ACEOF | |
4288 | -if ac_fn_c_try_compile "$LINENO"; then : | |
4289 | - ac_cv_header_stdc=yes | |
4290 | -else | |
4291 | - ac_cv_header_stdc=no | |
4292 | -fi | |
4293 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4294 | - | |
4295 | -if test $ac_cv_header_stdc = yes; then | |
4296 | - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
4297 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4298 | -/* end confdefs.h. */ | |
4299 | -#include <string.h> | |
4300 | - | |
4301 | -_ACEOF | |
4302 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4303 | - $EGREP "memchr" >/dev/null 2>&1; then : | |
4304 | - | |
4305 | -else | |
4306 | - ac_cv_header_stdc=no | |
4307 | -fi | |
4308 | -rm -f conftest* | |
4309 | - | |
4310 | -fi | |
4311 | - | |
4312 | -if test $ac_cv_header_stdc = yes; then | |
4313 | - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
4314 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4315 | -/* end confdefs.h. */ | |
4316 | -#include <stdlib.h> | |
4317 | - | |
4318 | -_ACEOF | |
4319 | -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
4320 | - $EGREP "free" >/dev/null 2>&1; then : | |
4321 | - | |
4322 | -else | |
4323 | - ac_cv_header_stdc=no | |
4324 | -fi | |
4325 | -rm -f conftest* | |
4326 | - | |
4327 | -fi | |
4328 | - | |
4329 | -if test $ac_cv_header_stdc = yes; then | |
4330 | - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
4331 | - if test "$cross_compiling" = yes; then : | |
4332 | - : | |
4333 | -else | |
4334 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4335 | -/* end confdefs.h. */ | |
4336 | -#include <ctype.h> | |
4337 | -#include <stdlib.h> | |
4338 | -#if ((' ' & 0x0FF) == 0x020) | |
4339 | -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
4340 | -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
4341 | -#else | |
4342 | -# define ISLOWER(c) \ | |
4343 | - (('a' <= (c) && (c) <= 'i') \ | |
4344 | - || ('j' <= (c) && (c) <= 'r') \ | |
4345 | - || ('s' <= (c) && (c) <= 'z')) | |
4346 | -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
4347 | -#endif | |
4348 | - | |
4349 | -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
4350 | -int | |
4351 | -main () | |
4352 | -{ | |
4353 | - int i; | |
4354 | - for (i = 0; i < 256; i++) | |
4355 | - if (XOR (islower (i), ISLOWER (i)) | |
4356 | - || toupper (i) != TOUPPER (i)) | |
4357 | - return 2; | |
4358 | - return 0; | |
4359 | -} | |
4360 | -_ACEOF | |
4361 | -if ac_fn_c_try_run "$LINENO"; then : | |
4362 | - | |
4363 | -else | |
4364 | - ac_cv_header_stdc=no | |
4365 | -fi | |
4366 | -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
4367 | - conftest.$ac_objext conftest.beam conftest.$ac_ext | |
4368 | -fi | |
4369 | - | |
4370 | -fi | |
4371 | -fi | |
4372 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
4373 | -$as_echo "$ac_cv_header_stdc" >&6; } | |
4374 | -if test $ac_cv_header_stdc = yes; then | |
4375 | - | |
4376 | -$as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
4377 | - | |
4378 | -fi | |
4379 | - | |
4380 | -# On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
4381 | -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
4382 | - inttypes.h stdint.h unistd.h | |
4383 | -do : | |
4384 | - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4385 | -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | |
4386 | -" | |
4387 | -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
4388 | - cat >>confdefs.h <<_ACEOF | |
4389 | -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4390 | -_ACEOF | |
4391 | - | |
4392 | -fi | |
4393 | - | |
4394 | -done | |
4395 | - | |
4396 | - | |
4397 | -for ac_header in arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h termios.h unistd.h | |
4398 | -do : | |
4399 | - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4400 | -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | |
4401 | -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
4402 | - cat >>confdefs.h <<_ACEOF | |
4403 | -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4404 | -_ACEOF | |
4405 | - | |
4406 | -fi | |
4407 | - | |
4408 | -done | |
4409 | - | |
4410 | - | |
4411 | -# Checks for typedefs, structures, and compiler characteristics. | |
4412 | -ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" | |
4413 | -if test "x$ac_cv_type_ssize_t" = xyes; then : | |
4414 | - | |
4415 | -else | |
4416 | - | |
4417 | -cat >>confdefs.h <<_ACEOF | |
4418 | -#define ssize_t int | |
4419 | -_ACEOF | |
4420 | - | |
4421 | -fi | |
4422 | - | |
4423 | -ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | |
4424 | -case $ac_cv_c_uint32_t in #( | |
4425 | - no|yes) ;; #( | |
4426 | - *) | |
4427 | - | |
4428 | -$as_echo "#define _UINT32_T 1" >>confdefs.h | |
4429 | - | |
4430 | - | |
4431 | -cat >>confdefs.h <<_ACEOF | |
4432 | -#define uint32_t $ac_cv_c_uint32_t | |
4433 | -_ACEOF | |
4434 | -;; | |
4435 | - esac | |
4436 | - | |
4437 | - | |
4438 | -# Checks for library functions. | |
4439 | -for ac_header in stdlib.h | |
4440 | -do : | |
4441 | - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" | |
4442 | -if test "x$ac_cv_header_stdlib_h" = xyes; then : | |
4443 | - cat >>confdefs.h <<_ACEOF | |
4444 | -#define HAVE_STDLIB_H 1 | |
4445 | -_ACEOF | |
4446 | - | |
4447 | -fi | |
4448 | - | |
4449 | -done | |
4450 | - | |
4451 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 | |
4452 | -$as_echo_n "checking for GNU libc compatible malloc... " >&6; } | |
4453 | -if ${ac_cv_func_malloc_0_nonnull+:} false; then : | |
4454 | - $as_echo_n "(cached) " >&6 | |
4455 | -else | |
4456 | - if test "$cross_compiling" = yes; then : | |
4457 | - ac_cv_func_malloc_0_nonnull=no | |
4458 | -else | |
4459 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4460 | -/* end confdefs.h. */ | |
4461 | -#if defined STDC_HEADERS || defined HAVE_STDLIB_H | |
4462 | -# include <stdlib.h> | |
4463 | -#else | |
4464 | -char *malloc (); | |
4465 | -#endif | |
4466 | - | |
4467 | -int | |
4468 | -main () | |
4469 | -{ | |
4470 | -return ! malloc (0); | |
4471 | - ; | |
4472 | - return 0; | |
4473 | -} | |
4474 | -_ACEOF | |
4475 | -if ac_fn_c_try_run "$LINENO"; then : | |
4476 | - ac_cv_func_malloc_0_nonnull=yes | |
4477 | -else | |
4478 | - ac_cv_func_malloc_0_nonnull=no | |
4479 | -fi | |
4480 | -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
4481 | - conftest.$ac_objext conftest.beam conftest.$ac_ext | |
4482 | -fi | |
4483 | - | |
4484 | -fi | |
4485 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 | |
4486 | -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } | |
4487 | -if test $ac_cv_func_malloc_0_nonnull = yes; then : | |
4488 | - | |
4489 | -$as_echo "#define HAVE_MALLOC 1" >>confdefs.h | |
4490 | - | |
4491 | -else | |
4492 | - $as_echo "#define HAVE_MALLOC 0" >>confdefs.h | |
4493 | - | |
4494 | - case " $LIBOBJS " in | |
4495 | - *" malloc.$ac_objext "* ) ;; | |
4496 | - *) LIBOBJS="$LIBOBJS malloc.$ac_objext" | |
4497 | - ;; | |
4498 | -esac | |
4499 | - | |
4500 | - | |
4501 | -$as_echo "#define malloc rpl_malloc" >>confdefs.h | |
4502 | - | |
4503 | -fi | |
4504 | - | |
4505 | - | |
4506 | -for ac_func in bzero gethostbyname gettimeofday inet_ntoa memmove memset select socket strerror | |
4507 | -do : | |
4508 | - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
4509 | -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
4510 | -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
4511 | - cat >>confdefs.h <<_ACEOF | |
4512 | -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4513 | -_ACEOF | |
4514 | - | |
4515 | -fi | |
4516 | -done | |
4517 | - | |
4518 | - | |
4519 | -ac_config_files="$ac_config_files Makefile" | |
4520 | - | |
4521 | -cat >confcache <<\_ACEOF | |
4522 | -# This file is a shell script that caches the results of configure | |
4523 | -# tests run on this system so they can be shared between configure | |
4524 | -# scripts and configure runs, see configure's option --config-cache. | |
4525 | -# It is not useful on other systems. If it contains results you don't | |
4526 | -# want to keep, you may remove or edit it. | |
4527 | -# | |
4528 | -# config.status only pays attention to the cache file if you give it | |
4529 | -# the --recheck option to rerun configure. | |
4530 | -# | |
4531 | -# `ac_cv_env_foo' variables (set or unset) will be overridden when | |
4532 | -# loading this file, other *unset* `ac_cv_foo' will be assigned the | |
4533 | -# following values. | |
4534 | - | |
4535 | -_ACEOF | |
4536 | - | |
4537 | -# The following way of writing the cache mishandles newlines in values, | |
4538 | -# but we know of no workaround that is simple, portable, and efficient. | |
4539 | -# So, we kill variables containing newlines. | |
4540 | -# Ultrix sh set writes to stderr and can't be redirected directly, | |
4541 | -# and sets the high bit in the cache file unless we assign to the vars. | |
4542 | -( | |
4543 | - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
4544 | - eval ac_val=\$$ac_var | |
4545 | - case $ac_val in #( | |
4546 | - *${as_nl}*) | |
4547 | - case $ac_var in #( | |
4548 | - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
4549 | -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
4550 | - esac | |
4551 | - case $ac_var in #( | |
4552 | - _ | IFS | as_nl) ;; #( | |
4553 | - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
4554 | - *) { eval $ac_var=; unset $ac_var;} ;; | |
4555 | - esac ;; | |
4556 | - esac | |
4557 | - done | |
4558 | - | |
4559 | - (set) 2>&1 | | |
4560 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
4561 | - *${as_nl}ac_space=\ *) | |
4562 | - # `set' does not quote correctly, so add quotes: double-quote | |
4563 | - # substitution turns \\\\ into \\, and sed turns \\ into \. | |
4564 | - sed -n \ | |
4565 | - "s/'/'\\\\''/g; | |
4566 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
4567 | - ;; #( | |
4568 | - *) | |
4569 | - # `set' quotes correctly as required by POSIX, so do not add quotes. | |
4570 | - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
4571 | - ;; | |
4572 | - esac | | |
4573 | - sort | |
4574 | -) | | |
4575 | - sed ' | |
4576 | - /^ac_cv_env_/b end | |
4577 | - t clear | |
4578 | - :clear | |
4579 | - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
4580 | - t end | |
4581 | - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
4582 | - :end' >>confcache | |
4583 | -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
4584 | - if test -w "$cache_file"; then | |
4585 | - if test "x$cache_file" != "x/dev/null"; then | |
4586 | - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
4587 | -$as_echo "$as_me: updating cache $cache_file" >&6;} | |
4588 | - if test ! -f "$cache_file" || test -h "$cache_file"; then | |
4589 | - cat confcache >"$cache_file" | |
4590 | - else | |
4591 | - case $cache_file in #( | |
4592 | - */* | ?:*) | |
4593 | - mv -f confcache "$cache_file"$$ && | |
4594 | - mv -f "$cache_file"$$ "$cache_file" ;; #( | |
4595 | - *) | |
4596 | - mv -f confcache "$cache_file" ;; | |
4597 | - esac | |
4598 | - fi | |
4599 | - fi | |
4600 | - else | |
4601 | - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
4602 | -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4603 | - fi | |
4604 | -fi | |
4605 | -rm -f confcache | |
4606 | - | |
4607 | -test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
4608 | -# Let make expand exec_prefix. | |
4609 | -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
4610 | - | |
4611 | -DEFS=-DHAVE_CONFIG_H | |
4612 | - | |
4613 | -ac_libobjs= | |
4614 | -ac_ltlibobjs= | |
4615 | -U= | |
4616 | -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
4617 | - # 1. Remove the extension, and $U if already installed. | |
4618 | - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
4619 | - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
4620 | - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
4621 | - # will be set to the directory where LIBOBJS objects are built. | |
4622 | - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
4623 | - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
4624 | -done | |
4625 | -LIBOBJS=$ac_libobjs | |
4626 | - | |
4627 | -LTLIBOBJS=$ac_ltlibobjs | |
4628 | - | |
4629 | - | |
4630 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | |
4631 | -$as_echo_n "checking that generated files are newer than configure... " >&6; } | |
4632 | - if test -n "$am_sleep_pid"; then | |
4633 | - # Hide warnings about reused PIDs. | |
4634 | - wait $am_sleep_pid 2>/dev/null | |
4635 | - fi | |
4636 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
4637 | -$as_echo "done" >&6; } | |
4638 | - if test -n "$EXEEXT"; then | |
4639 | - am__EXEEXT_TRUE= | |
4640 | - am__EXEEXT_FALSE='#' | |
4641 | -else | |
4642 | - am__EXEEXT_TRUE='#' | |
4643 | - am__EXEEXT_FALSE= | |
4644 | -fi | |
4645 | - | |
4646 | -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
4647 | - as_fn_error $? "conditional \"AMDEP\" was never defined. | |
4648 | -Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
4649 | -fi | |
4650 | -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
4651 | - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
4652 | -Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
4653 | -fi | |
4654 | - | |
4655 | -: "${CONFIG_STATUS=./config.status}" | |
4656 | -ac_write_fail=0 | |
4657 | -ac_clean_files_save=$ac_clean_files | |
4658 | -ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
4659 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
4660 | -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
4661 | -as_write_fail=0 | |
4662 | -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
4663 | -#! $SHELL | |
4664 | -# Generated by $as_me. | |
4665 | -# Run this file to recreate the current configuration. | |
4666 | -# Compiler output produced by configure, useful for debugging | |
4667 | -# configure, is in config.log if it exists. | |
4668 | - | |
4669 | -debug=false | |
4670 | -ac_cs_recheck=false | |
4671 | -ac_cs_silent=false | |
4672 | - | |
4673 | -SHELL=\${CONFIG_SHELL-$SHELL} | |
4674 | -export SHELL | |
4675 | -_ASEOF | |
4676 | -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
4677 | -## -------------------- ## | |
4678 | -## M4sh Initialization. ## | |
4679 | -## -------------------- ## | |
4680 | - | |
4681 | -# Be more Bourne compatible | |
4682 | -DUALCASE=1; export DUALCASE # for MKS sh | |
4683 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
4684 | - emulate sh | |
4685 | - NULLCMD=: | |
4686 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
4687 | - # is contrary to our usage. Disable this feature. | |
4688 | - alias -g '${1+"$@"}'='"$@"' | |
4689 | - setopt NO_GLOB_SUBST | |
4690 | -else | |
4691 | - case `(set -o) 2>/dev/null` in #( | |
4692 | - *posix*) : | |
4693 | - set -o posix ;; #( | |
4694 | - *) : | |
4695 | - ;; | |
4696 | -esac | |
4697 | -fi | |
4698 | - | |
4699 | - | |
4700 | -as_nl=' | |
4701 | -' | |
4702 | -export as_nl | |
4703 | -# Printing a long string crashes Solaris 7 /usr/bin/printf. | |
4704 | -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
4705 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
4706 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
4707 | -# Prefer a ksh shell builtin over an external printf program on Solaris, | |
4708 | -# but without wasting forks for bash or zsh. | |
4709 | -if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
4710 | - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4711 | - as_echo='print -r --' | |
4712 | - as_echo_n='print -rn --' | |
4713 | -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
4714 | - as_echo='printf %s\n' | |
4715 | - as_echo_n='printf %s' | |
4716 | -else | |
4717 | - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
4718 | - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
4719 | - as_echo_n='/usr/ucb/echo -n' | |
4720 | - else | |
4721 | - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
4722 | - as_echo_n_body='eval | |
4723 | - arg=$1; | |
4724 | - case $arg in #( | |
4725 | - *"$as_nl"*) | |
4726 | - expr "X$arg" : "X\\(.*\\)$as_nl"; | |
4727 | - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
4728 | - esac; | |
4729 | - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
4730 | - ' | |
4731 | - export as_echo_n_body | |
4732 | - as_echo_n='sh -c $as_echo_n_body as_echo' | |
4733 | - fi | |
4734 | - export as_echo_body | |
4735 | - as_echo='sh -c $as_echo_body as_echo' | |
4736 | -fi | |
4737 | - | |
4738 | -# The user is always right. | |
4739 | -if test "${PATH_SEPARATOR+set}" != set; then | |
4740 | - PATH_SEPARATOR=: | |
4741 | - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
4742 | - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
4743 | - PATH_SEPARATOR=';' | |
4744 | - } | |
4745 | -fi | |
4746 | - | |
4747 | - | |
4748 | -# IFS | |
4749 | -# We need space, tab and new line, in precisely that order. Quoting is | |
4750 | -# there to prevent editors from complaining about space-tab. | |
4751 | -# (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
4752 | -# splitting by setting IFS to empty value.) | |
4753 | -IFS=" "" $as_nl" | |
4754 | - | |
4755 | -# Find who we are. Look in the path if we contain no directory separator. | |
4756 | -as_myself= | |
4757 | -case $0 in #(( | |
4758 | - *[\\/]* ) as_myself=$0 ;; | |
4759 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4760 | -for as_dir in $PATH | |
4761 | -do | |
4762 | - IFS=$as_save_IFS | |
4763 | - test -z "$as_dir" && as_dir=. | |
4764 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
4765 | - done | |
4766 | -IFS=$as_save_IFS | |
4767 | - | |
4768 | - ;; | |
4769 | -esac | |
4770 | -# We did not find ourselves, most probably we were run as `sh COMMAND' | |
4771 | -# in which case we are not to be found in the path. | |
4772 | -if test "x$as_myself" = x; then | |
4773 | - as_myself=$0 | |
4774 | -fi | |
4775 | -if test ! -f "$as_myself"; then | |
4776 | - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
4777 | - exit 1 | |
4778 | -fi | |
4779 | - | |
4780 | -# Unset variables that we do not need and which cause bugs (e.g. in | |
4781 | -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
4782 | -# suppresses any "Segmentation fault" message there. '((' could | |
4783 | -# trigger a bug in pdksh 5.2.14. | |
4784 | -for as_var in BASH_ENV ENV MAIL MAILPATH | |
4785 | -do eval test x\${$as_var+set} = xset \ | |
4786 | - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
4787 | -done | |
4788 | -PS1='$ ' | |
4789 | -PS2='> ' | |
4790 | -PS4='+ ' | |
4791 | - | |
4792 | -# NLS nuisances. | |
4793 | -LC_ALL=C | |
4794 | -export LC_ALL | |
4795 | -LANGUAGE=C | |
4796 | -export LANGUAGE | |
4797 | - | |
4798 | -# CDPATH. | |
4799 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
4800 | - | |
4801 | - | |
4802 | -# as_fn_error STATUS ERROR [LINENO LOG_FD] | |
4803 | -# ---------------------------------------- | |
4804 | -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
4805 | -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
4806 | -# script with STATUS, using 1 if that was 0. | |
4807 | -as_fn_error () | |
4808 | -{ | |
4809 | - as_status=$1; test $as_status -eq 0 && as_status=1 | |
4810 | - if test "$4"; then | |
4811 | - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
4812 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
4813 | - fi | |
4814 | - $as_echo "$as_me: error: $2" >&2 | |
4815 | - as_fn_exit $as_status | |
4816 | -} # as_fn_error | |
4817 | - | |
4818 | - | |
4819 | -# as_fn_set_status STATUS | |
4820 | -# ----------------------- | |
4821 | -# Set $? to STATUS, without forking. | |
4822 | -as_fn_set_status () | |
4823 | -{ | |
4824 | - return $1 | |
4825 | -} # as_fn_set_status | |
4826 | - | |
4827 | -# as_fn_exit STATUS | |
4828 | -# ----------------- | |
4829 | -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
4830 | -as_fn_exit () | |
4831 | -{ | |
4832 | - set +e | |
4833 | - as_fn_set_status $1 | |
4834 | - exit $1 | |
4835 | -} # as_fn_exit | |
4836 | - | |
4837 | -# as_fn_unset VAR | |
4838 | -# --------------- | |
4839 | -# Portably unset VAR. | |
4840 | -as_fn_unset () | |
4841 | -{ | |
4842 | - { eval $1=; unset $1;} | |
4843 | -} | |
4844 | -as_unset=as_fn_unset | |
4845 | -# as_fn_append VAR VALUE | |
4846 | -# ---------------------- | |
4847 | -# Append the text in VALUE to the end of the definition contained in VAR. Take | |
4848 | -# advantage of any shell optimizations that allow amortized linear growth over | |
4849 | -# repeated appends, instead of the typical quadratic growth present in naive | |
4850 | -# implementations. | |
4851 | -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
4852 | - eval 'as_fn_append () | |
4853 | - { | |
4854 | - eval $1+=\$2 | |
4855 | - }' | |
4856 | -else | |
4857 | - as_fn_append () | |
4858 | - { | |
4859 | - eval $1=\$$1\$2 | |
4860 | - } | |
4861 | -fi # as_fn_append | |
4862 | - | |
4863 | -# as_fn_arith ARG... | |
4864 | -# ------------------ | |
4865 | -# Perform arithmetic evaluation on the ARGs, and store the result in the | |
4866 | -# global $as_val. Take advantage of shells that can avoid forks. The arguments | |
4867 | -# must be portable across $(()) and expr. | |
4868 | -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
4869 | - eval 'as_fn_arith () | |
4870 | - { | |
4871 | - as_val=$(( $* )) | |
4872 | - }' | |
4873 | -else | |
4874 | - as_fn_arith () | |
4875 | - { | |
4876 | - as_val=`expr "$@" || test $? -eq 1` | |
4877 | - } | |
4878 | -fi # as_fn_arith | |
4879 | - | |
4880 | - | |
4881 | -if expr a : '\(a\)' >/dev/null 2>&1 && | |
4882 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
4883 | - as_expr=expr | |
4884 | -else | |
4885 | - as_expr=false | |
4886 | -fi | |
4887 | - | |
4888 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
4889 | - as_basename=basename | |
4890 | -else | |
4891 | - as_basename=false | |
4892 | -fi | |
4893 | - | |
4894 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
4895 | - as_dirname=dirname | |
4896 | -else | |
4897 | - as_dirname=false | |
4898 | -fi | |
4899 | - | |
4900 | -as_me=`$as_basename -- "$0" || | |
4901 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
4902 | - X"$0" : 'X\(//\)$' \| \ | |
4903 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
4904 | -$as_echo X/"$0" | | |
4905 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
4906 | - s//\1/ | |
4907 | - q | |
4908 | - } | |
4909 | - /^X\/\(\/\/\)$/{ | |
4910 | - s//\1/ | |
4911 | - q | |
4912 | - } | |
4913 | - /^X\/\(\/\).*/{ | |
4914 | - s//\1/ | |
4915 | - q | |
4916 | - } | |
4917 | - s/.*/./; q'` | |
4918 | - | |
4919 | -# Avoid depending upon Character Ranges. | |
4920 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
4921 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
4922 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
4923 | -as_cr_digits='0123456789' | |
4924 | -as_cr_alnum=$as_cr_Letters$as_cr_digits | |
4925 | - | |
4926 | -ECHO_C= ECHO_N= ECHO_T= | |
4927 | -case `echo -n x` in #((((( | |
4928 | --n*) | |
4929 | - case `echo 'xy\c'` in | |
4930 | - *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
4931 | - xy) ECHO_C='\c';; | |
4932 | - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
4933 | - ECHO_T=' ';; | |
4934 | - esac;; | |
4935 | -*) | |
4936 | - ECHO_N='-n';; | |
4937 | -esac | |
4938 | - | |
4939 | -rm -f conf$$ conf$$.exe conf$$.file | |
4940 | -if test -d conf$$.dir; then | |
4941 | - rm -f conf$$.dir/conf$$.file | |
4942 | -else | |
4943 | - rm -f conf$$.dir | |
4944 | - mkdir conf$$.dir 2>/dev/null | |
4945 | -fi | |
4946 | -if (echo >conf$$.file) 2>/dev/null; then | |
4947 | - if ln -s conf$$.file conf$$ 2>/dev/null; then | |
4948 | - as_ln_s='ln -s' | |
4949 | - # ... but there are two gotchas: | |
4950 | - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
4951 | - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
4952 | - # In both cases, we have to default to `cp -pR'. | |
4953 | - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
4954 | - as_ln_s='cp -pR' | |
4955 | - elif ln conf$$.file conf$$ 2>/dev/null; then | |
4956 | - as_ln_s=ln | |
4957 | - else | |
4958 | - as_ln_s='cp -pR' | |
4959 | - fi | |
4960 | -else | |
4961 | - as_ln_s='cp -pR' | |
4962 | -fi | |
4963 | -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
4964 | -rmdir conf$$.dir 2>/dev/null | |
4965 | - | |
4966 | - | |
4967 | -# as_fn_mkdir_p | |
4968 | -# ------------- | |
4969 | -# Create "$as_dir" as a directory, including parents if necessary. | |
4970 | -as_fn_mkdir_p () | |
4971 | -{ | |
4972 | - | |
4973 | - case $as_dir in #( | |
4974 | - -*) as_dir=./$as_dir;; | |
4975 | - esac | |
4976 | - test -d "$as_dir" || eval $as_mkdir_p || { | |
4977 | - as_dirs= | |
4978 | - while :; do | |
4979 | - case $as_dir in #( | |
4980 | - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
4981 | - *) as_qdir=$as_dir;; | |
4982 | - esac | |
4983 | - as_dirs="'$as_qdir' $as_dirs" | |
4984 | - as_dir=`$as_dirname -- "$as_dir" || | |
4985 | -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
4986 | - X"$as_dir" : 'X\(//\)[^/]' \| \ | |
4987 | - X"$as_dir" : 'X\(//\)$' \| \ | |
4988 | - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
4989 | -$as_echo X"$as_dir" | | |
4990 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
4991 | - s//\1/ | |
4992 | - q | |
4993 | - } | |
4994 | - /^X\(\/\/\)[^/].*/{ | |
4995 | - s//\1/ | |
4996 | - q | |
4997 | - } | |
4998 | - /^X\(\/\/\)$/{ | |
4999 | - s//\1/ | |
5000 | - q | |
5001 | - } | |
5002 | - /^X\(\/\).*/{ | |
5003 | - s//\1/ | |
5004 | - q | |
5005 | - } | |
5006 | - s/.*/./; q'` | |
5007 | - test -d "$as_dir" && break | |
5008 | - done | |
5009 | - test -z "$as_dirs" || eval "mkdir $as_dirs" | |
5010 | - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
5011 | - | |
5012 | - | |
5013 | -} # as_fn_mkdir_p | |
5014 | -if mkdir -p . 2>/dev/null; then | |
5015 | - as_mkdir_p='mkdir -p "$as_dir"' | |
5016 | -else | |
5017 | - test -d ./-p && rmdir ./-p | |
5018 | - as_mkdir_p=false | |
5019 | -fi | |
5020 | - | |
5021 | - | |
5022 | -# as_fn_executable_p FILE | |
5023 | -# ----------------------- | |
5024 | -# Test if FILE is an executable regular file. | |
5025 | -as_fn_executable_p () | |
5026 | -{ | |
5027 | - test -f "$1" && test -x "$1" | |
5028 | -} # as_fn_executable_p | |
5029 | -as_test_x='test -x' | |
5030 | -as_executable_p=as_fn_executable_p | |
5031 | - | |
5032 | -# Sed expression to map a string onto a valid CPP name. | |
5033 | -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
5034 | - | |
5035 | -# Sed expression to map a string onto a valid variable name. | |
5036 | -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
5037 | - | |
5038 | - | |
5039 | -exec 6>&1 | |
5040 | -## ----------------------------------- ## | |
5041 | -## Main body of $CONFIG_STATUS script. ## | |
5042 | -## ----------------------------------- ## | |
5043 | -_ASEOF | |
5044 | -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
5045 | - | |
5046 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5047 | -# Save the log message, to keep $0 and so on meaningful, and to | |
5048 | -# report actual input values of CONFIG_FILES etc. instead of their | |
5049 | -# values after options handling. | |
5050 | -ac_log=" | |
5051 | -This file was extended by dmonitor $as_me 01.60, which was | |
5052 | -generated by GNU Autoconf 2.69. Invocation command line was | |
5053 | - | |
5054 | - CONFIG_FILES = $CONFIG_FILES | |
5055 | - CONFIG_HEADERS = $CONFIG_HEADERS | |
5056 | - CONFIG_LINKS = $CONFIG_LINKS | |
5057 | - CONFIG_COMMANDS = $CONFIG_COMMANDS | |
5058 | - $ $0 $@ | |
5059 | - | |
5060 | -on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
5061 | -" | |
5062 | - | |
5063 | -_ACEOF | |
5064 | - | |
5065 | -case $ac_config_files in *" | |
5066 | -"*) set x $ac_config_files; shift; ac_config_files=$*;; | |
5067 | -esac | |
5068 | - | |
5069 | -case $ac_config_headers in *" | |
5070 | -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
5071 | -esac | |
5072 | - | |
5073 | - | |
5074 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5075 | -# Files that config.status was made for. | |
5076 | -config_files="$ac_config_files" | |
5077 | -config_headers="$ac_config_headers" | |
5078 | -config_commands="$ac_config_commands" | |
5079 | - | |
5080 | -_ACEOF | |
5081 | - | |
5082 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5083 | -ac_cs_usage="\ | |
5084 | -\`$as_me' instantiates files and other configuration actions | |
5085 | -from templates according to the current configuration. Unless the files | |
5086 | -and actions are specified as TAGs, all are instantiated by default. | |
5087 | - | |
5088 | -Usage: $0 [OPTION]... [TAG]... | |
5089 | - | |
5090 | - -h, --help print this help, then exit | |
5091 | - -V, --version print version number and configuration settings, then exit | |
5092 | - --config print configuration, then exit | |
5093 | - -q, --quiet, --silent | |
5094 | - do not print progress messages | |
5095 | - -d, --debug don't remove temporary files | |
5096 | - --recheck update $as_me by reconfiguring in the same conditions | |
5097 | - --file=FILE[:TEMPLATE] | |
5098 | - instantiate the configuration file FILE | |
5099 | - --header=FILE[:TEMPLATE] | |
5100 | - instantiate the configuration header FILE | |
5101 | - | |
5102 | -Configuration files: | |
5103 | -$config_files | |
5104 | - | |
5105 | -Configuration headers: | |
5106 | -$config_headers | |
5107 | - | |
5108 | -Configuration commands: | |
5109 | -$config_commands | |
5110 | - | |
5111 | -Report bugs to <7m3tjz@jarl.com>." | |
5112 | - | |
5113 | -_ACEOF | |
5114 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5115 | -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
5116 | -ac_cs_version="\\ | |
5117 | -dmonitor config.status 01.60 | |
5118 | -configured by $0, generated by GNU Autoconf 2.69, | |
5119 | - with options \\"\$ac_cs_config\\" | |
5120 | - | |
5121 | -Copyright (C) 2012 Free Software Foundation, Inc. | |
5122 | -This config.status script is free software; the Free Software Foundation | |
5123 | -gives unlimited permission to copy, distribute and modify it." | |
5124 | - | |
5125 | -ac_pwd='$ac_pwd' | |
5126 | -srcdir='$srcdir' | |
5127 | -INSTALL='$INSTALL' | |
5128 | -MKDIR_P='$MKDIR_P' | |
5129 | -AWK='$AWK' | |
5130 | -test -n "\$AWK" || AWK=awk | |
5131 | -_ACEOF | |
5132 | - | |
5133 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5134 | -# The default lists apply if the user does not specify any file. | |
5135 | -ac_need_defaults=: | |
5136 | -while test $# != 0 | |
5137 | -do | |
5138 | - case $1 in | |
5139 | - --*=?*) | |
5140 | - ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
5141 | - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
5142 | - ac_shift=: | |
5143 | - ;; | |
5144 | - --*=) | |
5145 | - ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
5146 | - ac_optarg= | |
5147 | - ac_shift=: | |
5148 | - ;; | |
5149 | - *) | |
5150 | - ac_option=$1 | |
5151 | - ac_optarg=$2 | |
5152 | - ac_shift=shift | |
5153 | - ;; | |
5154 | - esac | |
5155 | - | |
5156 | - case $ac_option in | |
5157 | - # Handling of the options. | |
5158 | - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
5159 | - ac_cs_recheck=: ;; | |
5160 | - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
5161 | - $as_echo "$ac_cs_version"; exit ;; | |
5162 | - --config | --confi | --conf | --con | --co | --c ) | |
5163 | - $as_echo "$ac_cs_config"; exit ;; | |
5164 | - --debug | --debu | --deb | --de | --d | -d ) | |
5165 | - debug=: ;; | |
5166 | - --file | --fil | --fi | --f ) | |
5167 | - $ac_shift | |
5168 | - case $ac_optarg in | |
5169 | - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5170 | - '') as_fn_error $? "missing file argument" ;; | |
5171 | - esac | |
5172 | - as_fn_append CONFIG_FILES " '$ac_optarg'" | |
5173 | - ac_need_defaults=false;; | |
5174 | - --header | --heade | --head | --hea ) | |
5175 | - $ac_shift | |
5176 | - case $ac_optarg in | |
5177 | - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
5178 | - esac | |
5179 | - as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
5180 | - ac_need_defaults=false;; | |
5181 | - --he | --h) | |
5182 | - # Conflict between --help and --header | |
5183 | - as_fn_error $? "ambiguous option: \`$1' | |
5184 | -Try \`$0 --help' for more information.";; | |
5185 | - --help | --hel | -h ) | |
5186 | - $as_echo "$ac_cs_usage"; exit ;; | |
5187 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
5188 | - | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
5189 | - ac_cs_silent=: ;; | |
5190 | - | |
5191 | - # This is an error. | |
5192 | - -*) as_fn_error $? "unrecognized option: \`$1' | |
5193 | -Try \`$0 --help' for more information." ;; | |
5194 | - | |
5195 | - *) as_fn_append ac_config_targets " $1" | |
5196 | - ac_need_defaults=false ;; | |
5197 | - | |
5198 | - esac | |
5199 | - shift | |
5200 | -done | |
5201 | - | |
5202 | -ac_configure_extra_args= | |
5203 | - | |
5204 | -if $ac_cs_silent; then | |
5205 | - exec 6>/dev/null | |
5206 | - ac_configure_extra_args="$ac_configure_extra_args --silent" | |
5207 | -fi | |
5208 | - | |
5209 | -_ACEOF | |
5210 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5211 | -if \$ac_cs_recheck; then | |
5212 | - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
5213 | - shift | |
5214 | - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
5215 | - CONFIG_SHELL='$SHELL' | |
5216 | - export CONFIG_SHELL | |
5217 | - exec "\$@" | |
5218 | -fi | |
5219 | - | |
5220 | -_ACEOF | |
5221 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5222 | -exec 5>>config.log | |
5223 | -{ | |
5224 | - echo | |
5225 | - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
5226 | -## Running $as_me. ## | |
5227 | -_ASBOX | |
5228 | - $as_echo "$ac_log" | |
5229 | -} >&5 | |
5230 | - | |
5231 | -_ACEOF | |
5232 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5233 | -# | |
5234 | -# INIT-COMMANDS | |
5235 | -# | |
5236 | -AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |
5237 | - | |
5238 | -_ACEOF | |
5239 | - | |
5240 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5241 | - | |
5242 | -# Handling of arguments. | |
5243 | -for ac_config_target in $ac_config_targets | |
5244 | -do | |
5245 | - case $ac_config_target in | |
5246 | - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
5247 | - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
5248 | - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
5249 | - | |
5250 | - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
5251 | - esac | |
5252 | -done | |
5253 | - | |
5254 | - | |
5255 | -# If the user did not use the arguments to specify the items to instantiate, | |
5256 | -# then the envvar interface is used. Set only those that are not. | |
5257 | -# We use the long form for the default assignment because of an extremely | |
5258 | -# bizarre bug on SunOS 4.1.3. | |
5259 | -if $ac_need_defaults; then | |
5260 | - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
5261 | - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
5262 | - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
5263 | -fi | |
5264 | - | |
5265 | -# Have a temporary directory for convenience. Make it in the build tree | |
5266 | -# simply because there is no reason against having it here, and in addition, | |
5267 | -# creating and moving files from /tmp can sometimes cause problems. | |
5268 | -# Hook for its removal unless debugging. | |
5269 | -# Note that there is a small window in which the directory will not be cleaned: | |
5270 | -# after its creation but before its name has been assigned to `$tmp'. | |
5271 | -$debug || | |
5272 | -{ | |
5273 | - tmp= ac_tmp= | |
5274 | - trap 'exit_status=$? | |
5275 | - : "${ac_tmp:=$tmp}" | |
5276 | - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
5277 | -' 0 | |
5278 | - trap 'as_fn_exit 1' 1 2 13 15 | |
5279 | -} | |
5280 | -# Create a (secure) tmp directory for tmp files. | |
5281 | - | |
5282 | -{ | |
5283 | - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
5284 | - test -d "$tmp" | |
5285 | -} || | |
5286 | -{ | |
5287 | - tmp=./conf$$-$RANDOM | |
5288 | - (umask 077 && mkdir "$tmp") | |
5289 | -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
5290 | -ac_tmp=$tmp | |
5291 | - | |
5292 | -# Set up the scripts for CONFIG_FILES section. | |
5293 | -# No need to generate them if there are no CONFIG_FILES. | |
5294 | -# This happens for instance with `./config.status config.h'. | |
5295 | -if test -n "$CONFIG_FILES"; then | |
5296 | - | |
5297 | - | |
5298 | -ac_cr=`echo X | tr X '\015'` | |
5299 | -# On cygwin, bash can eat \r inside `` if the user requested igncr. | |
5300 | -# But we know of no other shell where ac_cr would be empty at this | |
5301 | -# point, so we can use a bashism as a fallback. | |
5302 | -if test "x$ac_cr" = x; then | |
5303 | - eval ac_cr=\$\'\\r\' | |
5304 | -fi | |
5305 | -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
5306 | -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
5307 | - ac_cs_awk_cr='\\r' | |
5308 | -else | |
5309 | - ac_cs_awk_cr=$ac_cr | |
5310 | -fi | |
5311 | - | |
5312 | -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
5313 | -_ACEOF | |
5314 | - | |
5315 | - | |
5316 | -{ | |
5317 | - echo "cat >conf$$subs.awk <<_ACEOF" && | |
5318 | - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
5319 | - echo "_ACEOF" | |
5320 | -} >conf$$subs.sh || | |
5321 | - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5322 | -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
5323 | -ac_delim='%!_!# ' | |
5324 | -for ac_last_try in false false false false false :; do | |
5325 | - . ./conf$$subs.sh || | |
5326 | - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5327 | - | |
5328 | - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
5329 | - if test $ac_delim_n = $ac_delim_num; then | |
5330 | - break | |
5331 | - elif $ac_last_try; then | |
5332 | - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
5333 | - else | |
5334 | - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5335 | - fi | |
5336 | -done | |
5337 | -rm -f conf$$subs.sh | |
5338 | - | |
5339 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5340 | -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
5341 | -_ACEOF | |
5342 | -sed -n ' | |
5343 | -h | |
5344 | -s/^/S["/; s/!.*/"]=/ | |
5345 | -p | |
5346 | -g | |
5347 | -s/^[^!]*!// | |
5348 | -:repl | |
5349 | -t repl | |
5350 | -s/'"$ac_delim"'$// | |
5351 | -t delim | |
5352 | -:nl | |
5353 | -h | |
5354 | -s/\(.\{148\}\)..*/\1/ | |
5355 | -t more1 | |
5356 | -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
5357 | -p | |
5358 | -n | |
5359 | -b repl | |
5360 | -:more1 | |
5361 | -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5362 | -p | |
5363 | -g | |
5364 | -s/.\{148\}// | |
5365 | -t nl | |
5366 | -:delim | |
5367 | -h | |
5368 | -s/\(.\{148\}\)..*/\1/ | |
5369 | -t more2 | |
5370 | -s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
5371 | -p | |
5372 | -b | |
5373 | -:more2 | |
5374 | -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
5375 | -p | |
5376 | -g | |
5377 | -s/.\{148\}// | |
5378 | -t delim | |
5379 | -' <conf$$subs.awk | sed ' | |
5380 | -/^[^""]/{ | |
5381 | - N | |
5382 | - s/\n// | |
5383 | -} | |
5384 | -' >>$CONFIG_STATUS || ac_write_fail=1 | |
5385 | -rm -f conf$$subs.awk | |
5386 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5387 | -_ACAWK | |
5388 | -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
5389 | - for (key in S) S_is_set[key] = 1 | |
5390 | - FS = "" | |
5391 | - | |
5392 | -} | |
5393 | -{ | |
5394 | - line = $ 0 | |
5395 | - nfields = split(line, field, "@") | |
5396 | - substed = 0 | |
5397 | - len = length(field[1]) | |
5398 | - for (i = 2; i < nfields; i++) { | |
5399 | - key = field[i] | |
5400 | - keylen = length(key) | |
5401 | - if (S_is_set[key]) { | |
5402 | - value = S[key] | |
5403 | - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
5404 | - len += length(value) + length(field[++i]) | |
5405 | - substed = 1 | |
5406 | - } else | |
5407 | - len += 1 + keylen | |
5408 | - } | |
5409 | - | |
5410 | - print line | |
5411 | -} | |
5412 | - | |
5413 | -_ACAWK | |
5414 | -_ACEOF | |
5415 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5416 | -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
5417 | - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
5418 | -else | |
5419 | - cat | |
5420 | -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
5421 | - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
5422 | -_ACEOF | |
5423 | - | |
5424 | -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
5425 | -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
5426 | -# trailing colons and then remove the whole line if VPATH becomes empty | |
5427 | -# (actually we leave an empty line to preserve line numbers). | |
5428 | -if test "x$srcdir" = x.; then | |
5429 | - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
5430 | -h | |
5431 | -s/// | |
5432 | -s/^/:/ | |
5433 | -s/[ ]*$/:/ | |
5434 | -s/:\$(srcdir):/:/g | |
5435 | -s/:\${srcdir}:/:/g | |
5436 | -s/:@srcdir@:/:/g | |
5437 | -s/^:*// | |
5438 | -s/:*$// | |
5439 | -x | |
5440 | -s/\(=[ ]*\).*/\1/ | |
5441 | -G | |
5442 | -s/\n// | |
5443 | -s/^[^=]*=[ ]*$// | |
5444 | -}' | |
5445 | -fi | |
5446 | - | |
5447 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5448 | -fi # test -n "$CONFIG_FILES" | |
5449 | - | |
5450 | -# Set up the scripts for CONFIG_HEADERS section. | |
5451 | -# No need to generate them if there are no CONFIG_HEADERS. | |
5452 | -# This happens for instance with `./config.status Makefile'. | |
5453 | -if test -n "$CONFIG_HEADERS"; then | |
5454 | -cat >"$ac_tmp/defines.awk" <<\_ACAWK || | |
5455 | -BEGIN { | |
5456 | -_ACEOF | |
5457 | - | |
5458 | -# Transform confdefs.h into an awk script `defines.awk', embedded as | |
5459 | -# here-document in config.status, that substitutes the proper values into | |
5460 | -# config.h.in to produce config.h. | |
5461 | - | |
5462 | -# Create a delimiter string that does not exist in confdefs.h, to ease | |
5463 | -# handling of long lines. | |
5464 | -ac_delim='%!_!# ' | |
5465 | -for ac_last_try in false false :; do | |
5466 | - ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | |
5467 | - if test -z "$ac_tt"; then | |
5468 | - break | |
5469 | - elif $ac_last_try; then | |
5470 | - as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
5471 | - else | |
5472 | - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
5473 | - fi | |
5474 | -done | |
5475 | - | |
5476 | -# For the awk script, D is an array of macro values keyed by name, | |
5477 | -# likewise P contains macro parameters if any. Preserve backslash | |
5478 | -# newline sequences. | |
5479 | - | |
5480 | -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
5481 | -sed -n ' | |
5482 | -s/.\{148\}/&'"$ac_delim"'/g | |
5483 | -t rset | |
5484 | -:rset | |
5485 | -s/^[ ]*#[ ]*define[ ][ ]*/ / | |
5486 | -t def | |
5487 | -d | |
5488 | -:def | |
5489 | -s/\\$// | |
5490 | -t bsnl | |
5491 | -s/["\\]/\\&/g | |
5492 | -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5493 | -D["\1"]=" \3"/p | |
5494 | -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
5495 | -d | |
5496 | -:bsnl | |
5497 | -s/["\\]/\\&/g | |
5498 | -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
5499 | -D["\1"]=" \3\\\\\\n"\\/p | |
5500 | -t cont | |
5501 | -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
5502 | -t cont | |
5503 | -d | |
5504 | -:cont | |
5505 | -n | |
5506 | -s/.\{148\}/&'"$ac_delim"'/g | |
5507 | -t clear | |
5508 | -:clear | |
5509 | -s/\\$// | |
5510 | -t bsnlc | |
5511 | -s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
5512 | -d | |
5513 | -:bsnlc | |
5514 | -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
5515 | -b cont | |
5516 | -' <confdefs.h | sed ' | |
5517 | -s/'"$ac_delim"'/"\\\ | |
5518 | -"/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
5519 | - | |
5520 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5521 | - for (key in D) D_is_set[key] = 1 | |
5522 | - FS = "" | |
5523 | -} | |
5524 | -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
5525 | - line = \$ 0 | |
5526 | - split(line, arg, " ") | |
5527 | - if (arg[1] == "#") { | |
5528 | - defundef = arg[2] | |
5529 | - mac1 = arg[3] | |
5530 | - } else { | |
5531 | - defundef = substr(arg[1], 2) | |
5532 | - mac1 = arg[2] | |
5533 | - } | |
5534 | - split(mac1, mac2, "(") #) | |
5535 | - macro = mac2[1] | |
5536 | - prefix = substr(line, 1, index(line, defundef) - 1) | |
5537 | - if (D_is_set[macro]) { | |
5538 | - # Preserve the white space surrounding the "#". | |
5539 | - print prefix "define", macro P[macro] D[macro] | |
5540 | - next | |
5541 | - } else { | |
5542 | - # Replace #undef with comments. This is necessary, for example, | |
5543 | - # in the case of _POSIX_SOURCE, which is predefined and required | |
5544 | - # on some systems where configure will not decide to define it. | |
5545 | - if (defundef == "undef") { | |
5546 | - print "/*", prefix defundef, macro, "*/" | |
5547 | - next | |
5548 | - } | |
5549 | - } | |
5550 | -} | |
5551 | -{ print } | |
5552 | -_ACAWK | |
5553 | -_ACEOF | |
5554 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5555 | - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
5556 | -fi # test -n "$CONFIG_HEADERS" | |
5557 | - | |
5558 | - | |
5559 | -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
5560 | -shift | |
5561 | -for ac_tag | |
5562 | -do | |
5563 | - case $ac_tag in | |
5564 | - :[FHLC]) ac_mode=$ac_tag; continue;; | |
5565 | - esac | |
5566 | - case $ac_mode$ac_tag in | |
5567 | - :[FHL]*:*);; | |
5568 | - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
5569 | - :[FH]-) ac_tag=-:-;; | |
5570 | - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
5571 | - esac | |
5572 | - ac_save_IFS=$IFS | |
5573 | - IFS=: | |
5574 | - set x $ac_tag | |
5575 | - IFS=$ac_save_IFS | |
5576 | - shift | |
5577 | - ac_file=$1 | |
5578 | - shift | |
5579 | - | |
5580 | - case $ac_mode in | |
5581 | - :L) ac_source=$1;; | |
5582 | - :[FH]) | |
5583 | - ac_file_inputs= | |
5584 | - for ac_f | |
5585 | - do | |
5586 | - case $ac_f in | |
5587 | - -) ac_f="$ac_tmp/stdin";; | |
5588 | - *) # Look for the file first in the build tree, then in the source tree | |
5589 | - # (if the path is not absolute). The absolute path cannot be DOS-style, | |
5590 | - # because $ac_f cannot contain `:'. | |
5591 | - test -f "$ac_f" || | |
5592 | - case $ac_f in | |
5593 | - [\\/$]*) false;; | |
5594 | - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
5595 | - esac || | |
5596 | - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
5597 | - esac | |
5598 | - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
5599 | - as_fn_append ac_file_inputs " '$ac_f'" | |
5600 | - done | |
5601 | - | |
5602 | - # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5603 | - # use $as_me), people would be surprised to read: | |
5604 | - # /* config.h. Generated by config.status. */ | |
5605 | - configure_input='Generated from '` | |
5606 | - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
5607 | - `' by configure.' | |
5608 | - if test x"$ac_file" != x-; then | |
5609 | - configure_input="$ac_file. $configure_input" | |
5610 | - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
5611 | -$as_echo "$as_me: creating $ac_file" >&6;} | |
5612 | - fi | |
5613 | - # Neutralize special characters interpreted by sed in replacement strings. | |
5614 | - case $configure_input in #( | |
5615 | - *\&* | *\|* | *\\* ) | |
5616 | - ac_sed_conf_input=`$as_echo "$configure_input" | | |
5617 | - sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
5618 | - *) ac_sed_conf_input=$configure_input;; | |
5619 | - esac | |
5620 | - | |
5621 | - case $ac_tag in | |
5622 | - *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
5623 | - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
5624 | - esac | |
5625 | - ;; | |
5626 | - esac | |
5627 | - | |
5628 | - ac_dir=`$as_dirname -- "$ac_file" || | |
5629 | -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5630 | - X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5631 | - X"$ac_file" : 'X\(//\)$' \| \ | |
5632 | - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
5633 | -$as_echo X"$ac_file" | | |
5634 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5635 | - s//\1/ | |
5636 | - q | |
5637 | - } | |
5638 | - /^X\(\/\/\)[^/].*/{ | |
5639 | - s//\1/ | |
5640 | - q | |
5641 | - } | |
5642 | - /^X\(\/\/\)$/{ | |
5643 | - s//\1/ | |
5644 | - q | |
5645 | - } | |
5646 | - /^X\(\/\).*/{ | |
5647 | - s//\1/ | |
5648 | - q | |
5649 | - } | |
5650 | - s/.*/./; q'` | |
5651 | - as_dir="$ac_dir"; as_fn_mkdir_p | |
5652 | - ac_builddir=. | |
5653 | - | |
5654 | -case "$ac_dir" in | |
5655 | -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5656 | -*) | |
5657 | - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
5658 | - # A ".." for each directory in $ac_dir_suffix. | |
5659 | - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
5660 | - case $ac_top_builddir_sub in | |
5661 | - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
5662 | - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
5663 | - esac ;; | |
5664 | -esac | |
5665 | -ac_abs_top_builddir=$ac_pwd | |
5666 | -ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
5667 | -# for backward compatibility: | |
5668 | -ac_top_builddir=$ac_top_build_prefix | |
5669 | - | |
5670 | -case $srcdir in | |
5671 | - .) # We are building in place. | |
5672 | - ac_srcdir=. | |
5673 | - ac_top_srcdir=$ac_top_builddir_sub | |
5674 | - ac_abs_top_srcdir=$ac_pwd ;; | |
5675 | - [\\/]* | ?:[\\/]* ) # Absolute name. | |
5676 | - ac_srcdir=$srcdir$ac_dir_suffix; | |
5677 | - ac_top_srcdir=$srcdir | |
5678 | - ac_abs_top_srcdir=$srcdir ;; | |
5679 | - *) # Relative name. | |
5680 | - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
5681 | - ac_top_srcdir=$ac_top_build_prefix$srcdir | |
5682 | - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
5683 | -esac | |
5684 | -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
5685 | - | |
5686 | - | |
5687 | - case $ac_mode in | |
5688 | - :F) | |
5689 | - # | |
5690 | - # CONFIG_FILE | |
5691 | - # | |
5692 | - | |
5693 | - case $INSTALL in | |
5694 | - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
5695 | - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
5696 | - esac | |
5697 | - ac_MKDIR_P=$MKDIR_P | |
5698 | - case $MKDIR_P in | |
5699 | - [\\/$]* | ?:[\\/]* ) ;; | |
5700 | - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
5701 | - esac | |
5702 | -_ACEOF | |
5703 | - | |
5704 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5705 | -# If the template does not know about datarootdir, expand it. | |
5706 | -# FIXME: This hack should be removed a few years after 2.60. | |
5707 | -ac_datarootdir_hack=; ac_datarootdir_seen= | |
5708 | -ac_sed_dataroot=' | |
5709 | -/datarootdir/ { | |
5710 | - p | |
5711 | - q | |
5712 | -} | |
5713 | -/@datadir@/p | |
5714 | -/@docdir@/p | |
5715 | -/@infodir@/p | |
5716 | -/@localedir@/p | |
5717 | -/@mandir@/p' | |
5718 | -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
5719 | -*datarootdir*) ac_datarootdir_seen=yes;; | |
5720 | -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
5721 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
5722 | -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
5723 | -_ACEOF | |
5724 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5725 | - ac_datarootdir_hack=' | |
5726 | - s&@datadir@&$datadir&g | |
5727 | - s&@docdir@&$docdir&g | |
5728 | - s&@infodir@&$infodir&g | |
5729 | - s&@localedir@&$localedir&g | |
5730 | - s&@mandir@&$mandir&g | |
5731 | - s&\\\${datarootdir}&$datarootdir&g' ;; | |
5732 | -esac | |
5733 | -_ACEOF | |
5734 | - | |
5735 | -# Neutralize VPATH when `$srcdir' = `.'. | |
5736 | -# Shell code in configure.ac might set extrasub. | |
5737 | -# FIXME: do we really want to maintain this feature? | |
5738 | -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
5739 | -ac_sed_extra="$ac_vpsub | |
5740 | -$extrasub | |
5741 | -_ACEOF | |
5742 | -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
5743 | -:t | |
5744 | -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
5745 | -s|@configure_input@|$ac_sed_conf_input|;t t | |
5746 | -s&@top_builddir@&$ac_top_builddir_sub&;t t | |
5747 | -s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
5748 | -s&@srcdir@&$ac_srcdir&;t t | |
5749 | -s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
5750 | -s&@top_srcdir@&$ac_top_srcdir&;t t | |
5751 | -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
5752 | -s&@builddir@&$ac_builddir&;t t | |
5753 | -s&@abs_builddir@&$ac_abs_builddir&;t t | |
5754 | -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
5755 | -s&@INSTALL@&$ac_INSTALL&;t t | |
5756 | -s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
5757 | -$ac_datarootdir_hack | |
5758 | -" | |
5759 | -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
5760 | - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5761 | - | |
5762 | -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
5763 | - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
5764 | - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
5765 | - "$ac_tmp/out"`; test -z "$ac_out"; } && | |
5766 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5767 | -which seems to be undefined. Please make sure it is defined" >&5 | |
5768 | -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
5769 | -which seems to be undefined. Please make sure it is defined" >&2;} | |
5770 | - | |
5771 | - rm -f "$ac_tmp/stdin" | |
5772 | - case $ac_file in | |
5773 | - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
5774 | - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
5775 | - esac \ | |
5776 | - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5777 | - ;; | |
5778 | - :H) | |
5779 | - # | |
5780 | - # CONFIG_HEADER | |
5781 | - # | |
5782 | - if test x"$ac_file" != x-; then | |
5783 | - { | |
5784 | - $as_echo "/* $configure_input */" \ | |
5785 | - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | |
5786 | - } >"$ac_tmp/config.h" \ | |
5787 | - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5788 | - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | |
5789 | - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | |
5790 | -$as_echo "$as_me: $ac_file is unchanged" >&6;} | |
5791 | - else | |
5792 | - rm -f "$ac_file" | |
5793 | - mv "$ac_tmp/config.h" "$ac_file" \ | |
5794 | - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
5795 | - fi | |
5796 | - else | |
5797 | - $as_echo "/* $configure_input */" \ | |
5798 | - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | |
5799 | - || as_fn_error $? "could not create -" "$LINENO" 5 | |
5800 | - fi | |
5801 | -# Compute "$ac_file"'s index in $config_headers. | |
5802 | -_am_arg="$ac_file" | |
5803 | -_am_stamp_count=1 | |
5804 | -for _am_header in $config_headers :; do | |
5805 | - case $_am_header in | |
5806 | - $_am_arg | $_am_arg:* ) | |
5807 | - break ;; | |
5808 | - * ) | |
5809 | - _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
5810 | - esac | |
5811 | -done | |
5812 | -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | |
5813 | -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5814 | - X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
5815 | - X"$_am_arg" : 'X\(//\)$' \| \ | |
5816 | - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
5817 | -$as_echo X"$_am_arg" | | |
5818 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5819 | - s//\1/ | |
5820 | - q | |
5821 | - } | |
5822 | - /^X\(\/\/\)[^/].*/{ | |
5823 | - s//\1/ | |
5824 | - q | |
5825 | - } | |
5826 | - /^X\(\/\/\)$/{ | |
5827 | - s//\1/ | |
5828 | - q | |
5829 | - } | |
5830 | - /^X\(\/\).*/{ | |
5831 | - s//\1/ | |
5832 | - q | |
5833 | - } | |
5834 | - s/.*/./; q'`/stamp-h$_am_stamp_count | |
5835 | - ;; | |
5836 | - | |
5837 | - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
5838 | -$as_echo "$as_me: executing $ac_file commands" >&6;} | |
5839 | - ;; | |
5840 | - esac | |
5841 | - | |
5842 | - | |
5843 | - case $ac_file$ac_mode in | |
5844 | - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
5845 | - # Older Autoconf quotes --file arguments for eval, but not when files | |
5846 | - # are listed without --file. Let's play safe and only enable the eval | |
5847 | - # if we detect the quoting. | |
5848 | - # TODO: see whether this extra hack can be removed once we start | |
5849 | - # requiring Autoconf 2.70 or later. | |
5850 | - case $CONFIG_FILES in #( | |
5851 | - *\'*) : | |
5852 | - eval set x "$CONFIG_FILES" ;; #( | |
5853 | - *) : | |
5854 | - set x $CONFIG_FILES ;; #( | |
5855 | - *) : | |
5856 | - ;; | |
5857 | -esac | |
5858 | - shift | |
5859 | - # Used to flag and report bootstrapping failures. | |
5860 | - am_rc=0 | |
5861 | - for am_mf | |
5862 | - do | |
5863 | - # Strip MF so we end up with the name of the file. | |
5864 | - am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` | |
5865 | - # Check whether this is an Automake generated Makefile which includes | |
5866 | - # dependency-tracking related rules and includes. | |
5867 | - # Grep'ing the whole file directly is not great: AIX grep has a line | |
5868 | - # limit of 2048, but all sed's we know have understand at least 4000. | |
5869 | - sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |
5870 | - || continue | |
5871 | - am_dirpart=`$as_dirname -- "$am_mf" || | |
5872 | -$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5873 | - X"$am_mf" : 'X\(//\)[^/]' \| \ | |
5874 | - X"$am_mf" : 'X\(//\)$' \| \ | |
5875 | - X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
5876 | -$as_echo X"$am_mf" | | |
5877 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5878 | - s//\1/ | |
5879 | - q | |
5880 | - } | |
5881 | - /^X\(\/\/\)[^/].*/{ | |
5882 | - s//\1/ | |
5883 | - q | |
5884 | - } | |
5885 | - /^X\(\/\/\)$/{ | |
5886 | - s//\1/ | |
5887 | - q | |
5888 | - } | |
5889 | - /^X\(\/\).*/{ | |
5890 | - s//\1/ | |
5891 | - q | |
5892 | - } | |
5893 | - s/.*/./; q'` | |
5894 | - am_filepart=`$as_basename -- "$am_mf" || | |
5895 | -$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ | |
5896 | - X"$am_mf" : 'X\(//\)$' \| \ | |
5897 | - X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
5898 | -$as_echo X/"$am_mf" | | |
5899 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
5900 | - s//\1/ | |
5901 | - q | |
5902 | - } | |
5903 | - /^X\/\(\/\/\)$/{ | |
5904 | - s//\1/ | |
5905 | - q | |
5906 | - } | |
5907 | - /^X\/\(\/\).*/{ | |
5908 | - s//\1/ | |
5909 | - q | |
5910 | - } | |
5911 | - s/.*/./; q'` | |
5912 | - { echo "$as_me:$LINENO: cd "$am_dirpart" \ | |
5913 | - && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
5914 | - | $MAKE -f - am--depfiles" >&5 | |
5915 | - (cd "$am_dirpart" \ | |
5916 | - && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
5917 | - | $MAKE -f - am--depfiles) >&5 2>&5 | |
5918 | - ac_status=$? | |
5919 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5920 | - (exit $ac_status); } || am_rc=$? | |
5921 | - done | |
5922 | - if test $am_rc -ne 0; then | |
5923 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
5924 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
5925 | -as_fn_error $? "Something went wrong bootstrapping makefile fragments | |
5926 | - for automatic dependency tracking. Try re-running configure with the | |
5927 | - '--disable-dependency-tracking' option to at least be able to build | |
5928 | - the package (albeit without support for automatic dependency tracking). | |
5929 | -See \`config.log' for more details" "$LINENO" 5; } | |
5930 | - fi | |
5931 | - { am_dirpart=; unset am_dirpart;} | |
5932 | - { am_filepart=; unset am_filepart;} | |
5933 | - { am_mf=; unset am_mf;} | |
5934 | - { am_rc=; unset am_rc;} | |
5935 | - rm -f conftest-deps.mk | |
5936 | -} | |
5937 | - ;; | |
5938 | - | |
5939 | - esac | |
5940 | -done # for ac_tag | |
5941 | - | |
5942 | - | |
5943 | -as_fn_exit 0 | |
5944 | -_ACEOF | |
5945 | -ac_clean_files=$ac_clean_files_save | |
5946 | - | |
5947 | -test $ac_write_fail = 0 || | |
5948 | - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
5949 | - | |
5950 | - | |
5951 | -# configure is writing to config.log, and then calls config.status. | |
5952 | -# config.status does its own redirection, appending to config.log. | |
5953 | -# Unfortunately, on DOS this fails, as config.log is still kept open | |
5954 | -# by configure, so config.status won't be able to write to it; its | |
5955 | -# output is simply discarded. So we exec the FD to /dev/null, | |
5956 | -# effectively closing config.log, so it can be properly (re)opened and | |
5957 | -# appended to by config.status. When coming back to configure, we | |
5958 | -# need to make the FD available again. | |
5959 | -if test "$no_create" != yes; then | |
5960 | - ac_cs_success=: | |
5961 | - ac_config_status_args= | |
5962 | - test "$silent" = yes && | |
5963 | - ac_config_status_args="$ac_config_status_args --quiet" | |
5964 | - exec 5>/dev/null | |
5965 | - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
5966 | - exec 5>>config.log | |
5967 | - # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
5968 | - # would make configure fail if this is the last instruction. | |
5969 | - $ac_cs_success || as_fn_exit 1 | |
5970 | -fi | |
5971 | -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
5972 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
5973 | -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
5974 | -fi | |
5975 | - |
@@ -30,7 +30,6 @@ | ||
30 | 30 | #include <usb.h> |
31 | 31 | #include "dstar.h" |
32 | 32 | #include "node.h" |
33 | -#include "config.h" | |
34 | 33 | |
35 | 34 | //#define _DEBUG_DVMEGA |
36 | 35 | //#define _SPECIFICATIO_CHECK |
@@ -12,7 +12,6 @@ | ||
12 | 12 | #include <time.h> |
13 | 13 | #include <signal.h> |
14 | 14 | #include <errno.h> |
15 | -#include "config.h" | |
16 | 15 | |
17 | 16 | #define HOLE_PUNCHD_SERVER "hole-punchd.d-star.info" |
18 | 17 | #define JSON_PORT 30011 // json port |
@@ -28,7 +28,6 @@ | ||
28 | 28 | #include <lcd.h> |
29 | 29 | #include "node.h" |
30 | 30 | #include "dstar.h" |
31 | -#include "config.h" | |
32 | 31 | |
33 | 32 | #define GW 0x80 |
34 | 33 | #define ZR 0x40 |