Codebase list esniper / 8808553
Import Upstream version 2.26.0 Dmitry Smirnov 7 years ago
8 changed file(s) with 1563 addition(s) and 1833 deletion(s). Raw diff Collapse all Expand all
0 2011-08-09
1 * 2.26.0 released.
2 * Note: This version will still create bug reports on unsuccessful
3 bids because of major changes on eBay's bid result pages.
4 We need to analyze all possible bid result pages to find a way to
5 fix this remaining problem. Please report these expected bugs.
6
7 2011-06-28
8 * Fix for another new variant of the pre-bid page
9
10 2011-06-22
11 * Partial fix for 3314884: adaptation to changes on pre-bid page.
12
013 2011-06-04
114 * Fixed memory leaks.
215 * 2.25.0 released.
138138 PACKAGE_NAME = @PACKAGE_NAME@
139139 PACKAGE_STRING = @PACKAGE_STRING@
140140 PACKAGE_TARNAME = @PACKAGE_TARNAME@
141 PACKAGE_URL = @PACKAGE_URL@
141142 PACKAGE_VERSION = @PACKAGE_VERSION@
142143 PATH_SEPARATOR = @PATH_SEPARATOR@
143144 SET_MAKE = @SET_MAKE@
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
16 [m4_warning([this file was generated for autoconf 2.63.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2222 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2323 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2424 */
25
26 /* for strcasestr prototype in string.h */
27 #define _GNU_SOURCE
2528
2629 #include "auction.h"
2730 #include "buffer.h"
309312 int ret = 0;
310313 int found = 0;
311314
312 /* pagename should be PageReviewBidBottomButton, but don't check it */
313 while (found < 3 && !match(mp, "<input type=\"hidden\" name=\"")) {
314 if (!strncmp(mp->readptr, "key\"", 4)) {
315 char *cp, *tmpkey;
316
317 found |= 0x01;
318 match(mp, "value=\"");
319 tmpkey = getUntil(mp, '\"');
320 log((" reported key is: %s\n", tmpkey));
321
322 /* translate key for URL */
323 free(aip->bidkey);
324 aip->bidkey = (char *)myMalloc(strlen(tmpkey)*3 + 1);
325 for (cp = aip->bidkey; *tmpkey; ++tmpkey) {
326 if (*tmpkey == '$') {
327 *cp++ = '%';
328 *cp++ = '2';
329 *cp++ = '4';
330 } else
331 *cp++ = *tmpkey;
332 }
333 *cp = '\0';
334
335 log(("\n\ntranslated key is: %s\n\n", aip->bidkey));
336 } else if (!strncmp(mp->readptr, "uiid\"", 5)) {
337 found |= 0x02;
338 match(mp, "value=\"");
339 free(aip->biduiid);
340 aip->biduiid = myStrdup(getUntil(mp, '\"'));
341 log(("preBid(): biduiid is \"%s\"", aip->biduiid));
342 }
343 }
344 if (found < 3) {
315 memReset(mp);
316 while (!match(mp, "name=\"uiid\"")) {
317 char *start, *value, *end;
318
319 for (start = mp->readptr; start >= mp->memory && *start != '<'; --start)
320 ;
321 value = strcasestr(start, "value=\"");
322 end = strchr(start, '>');
323
324 if (!value || !end || value > end)
325 continue;
326 free(aip->biduiid);
327 mp->readptr = value + 7;
328 aip->biduiid = myStrdup(getUntil(mp, '\"'));
329 log(("preBid(): biduiid is \"%s\"", aip->biduiid));
330 found = 1;
331 break;
332 }
333
334 if (!found) {
345335 pageInfo_t *pageInfo = getPageInfo(mp);
346336
347337 ret = makeBidError(pageInfo, aip);
348338 if (ret < 0) {
349 ret = auctionError(aip, ae_bidkey, NULL);
350 bugReport("preBid", __FILE__, __LINE__, aip, mp, optiontab, "cannot find bid key, uiid or password, found = %d", found);
339 ret = auctionError(aip, ae_biduiid, NULL);
340 bugReport("preBid", __FILE__, __LINE__, aip, mp, optiontab, "cannot find bid uiid");
351341 }
352342 freePageInfo(pageInfo);
353343 }
587577 return ret;
588578 } /* parseBid() */
589579
590 static const char BID_URL[] = "http://%s/ws/eBayISAPI.dll?MfcISAPICommand=MakeBid&BIN_button=Confirm%%20Bid&item=%s&key=%s&maxbid=%s&quant=%s&user=%s&uiid=%s&javascriptenabled=0&mode=1";
580 static const char BID_URL[] = "http://%s/ws/eBayISAPI.dll?MfcISAPICommand=MakeBid&maxbid=%s&quant=%s&mode=1&uiid=%s&co_partnerid=2&user=%s&fb=2&item=%s";
591581
592582 /*
593583 * Place bid.
606596 int quantity = getQuantity(options.quantity, aip->quantity);
607597 char quantityStr[12]; /* must hold an int */
608598
609 if (!aip->bidkey || !aip->biduiid)
610 return auctionError(aip, ae_bidkey, NULL);
599 if (!aip->biduiid)
600 return auctionError(aip, ae_biduiid, NULL);
611601
612602 if (ebayLogin(aip, 0))
613603 return 1;
614604 sprintf(quantityStr, "%d", quantity);
615605
616606 /* create url */
617 urlLen = sizeof(BID_URL) + strlen(options.bidHost) + strlen(aip->auction) + strlen(aip->bidkey) + strlen(aip->bidPriceStr) + strlen(quantityStr) + strlen(options.usernameEscape) + strlen(aip->biduiid) - (7*2);
607 urlLen = sizeof(BID_URL) + strlen(options.bidHost) + strlen(aip->bidPriceStr) + strlen(quantityStr) + strlen(aip->biduiid) + strlen(options.usernameEscape) + strlen(aip->auction) - (6*2);
618608 url = (char *)myMalloc(urlLen);
619 sprintf(url, BID_URL, options.bidHost, aip->auction, aip->bidkey, aip->bidPriceStr, quantityStr, options.usernameEscape, aip->biduiid);
609 sprintf(url, BID_URL, options.bidHost, aip->bidPriceStr, quantityStr, aip->biduiid, options.usernameEscape, aip->auction);
620610
621611 logUrl = (char *)myMalloc(urlLen);
622612 tmpUsername = stars(strlen(options.usernameEscape));
623613 tmpUiid = stars(strlen(aip->biduiid));
624 sprintf(logUrl, BID_URL, options.bidHost, aip->auction, aip->bidkey, aip->bidPriceStr, quantityStr, tmpUsername, tmpUiid);
614 sprintf(logUrl, BID_URL, options.bidHost, aip->bidPriceStr, quantityStr, tmpUiid, tmpUsername, aip->auction);
625615 free(tmpUsername);
626616 free(tmpUiid);
627617
726716 /*
727717 * if we're less than two minutes away, get bid key
728718 */
729 if (remain <= 150 && !aip->bidkey && aip->auctionError == ae_none) {
719 if (remain <= 150 && !aip->biduiid && aip->auctionError == ae_none) {
730720 int i;
731721
732722 printf("\n");
733723 for (i = 0; i < 5; ++i) {
734 /* ae_bidkey is used when the page loaded
724 /* ae_biduiid is used when the page loaded
735725 * but failed for some unknown reason.
736726 * Do not try again in this situation.
737727 */
738728 if (!preBid(aip) ||
739 aip->auctionError == ae_bidkey)
729 aip->auctionError == ae_biduiid)
740730 break;
741731 if (aip->auctionError == ae_mustsignin &&
742732 forceEbayLogin(aip))
10981088 int ret = parsePreBid(mp, aip);
10991089
11001090 printf("ret = %d\n", ret);
1091 printf("uiid = %s\n", aip->biduiid);
11011092 printAuctionError(aip, stdout);
11021093 break;
11031094 }
227227 "Auction %s: High bidder not found\n",
228228 "Auction %s: Cannot connect to URL %s\n",
229229 "Auction %s: Bid price less than minimum bid price\n",
230 "Auction %s: Bid key not found\n",
230 "Auction %s: Bid uiid not found\n",
231231 "Auction %s: Bad username or password\n",
232232 "Auction %s: You have been outbid\n",
233233 "Auction %s: Reserve not met\n",
266266 aip->endTime = 0;
267267 aip->latency = 0;
268268 aip->query = NULL;
269 aip->bidkey = NULL;
270269 aip->biduiid = NULL;
271270 aip->quantity = 0;
272271 aip->quantityBid = 0;
293292 free(aip->bidPriceStr);
294293 free(aip->remainRaw);
295294 free(aip->query);
296 free(aip->bidkey);
297295 free(aip->biduiid);
298296 free(aip->shipping);
299297 free(aip->currency);
4444 ae_nohighbid,
4545 ae_curlerror,
4646 ae_bidprice,
47 ae_bidkey,
47 ae_biduiid,
4848 ae_badpass,
4949 ae_outbid,
5050 ae_reservenotmet,
8282 time_t endTime; /* end time as calculated from remaining seconds */
8383 time_t latency; /* latency from HTTP request to first page data */
8484 char *query; /* bid history query */
85 char *bidkey; /* bid key */
8685 char *biduiid; /* bid uiid */
8786 int quantity; /* number of items available */
8887 int quantityBid;/* number of items currently bid on */
+1509
-1781
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63.
2 # Generated by GNU Autoconf 2.65.
3 #
34 #
45 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # Inc.
8 #
9 #
610 # This configure script is free software; the Free Software Foundation
711 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
1115
1216 # Be more Bourne compatible
1317 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1519 emulate sh
1620 NULLCMD=:
1721 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1923 alias -g '${1+"$@"}'='"$@"'
2024 setopt NO_GLOB_SUBST
2125 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
2431 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
32 fi
33
3834
3935 as_nl='
4036 '
4339 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4749 as_echo='printf %s\n'
4850 as_echo_n='printf %s'
4951 else
5456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5557 as_echo_n_body='eval
5658 arg=$1;
57 case $arg in
59 case $arg in #(
5860 *"$as_nl"*)
5961 expr "X$arg" : "X\\(.*\\)$as_nl";
6062 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7779 }
7880 fi
7981
80 # Support unset when possible.
81 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
82 as_unset=unset
83 else
84 as_unset=false
85 fi
86
8782
8883 # IFS
8984 # We need space, tab and new line, in precisely that order. Quoting is
9388 IFS=" "" $as_nl"
9489
9590 # Find who we are. Look in the path if we contain no directory separator.
96 case $0 in
91 case $0 in #((
9792 *[\\/]* ) as_myself=$0 ;;
9893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 for as_dir in $PATH
10095 do
10196 IFS=$as_save_IFS
10297 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 done
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
105100 IFS=$as_save_IFS
106101
107102 ;;
113108 fi
114109 if test ! -f "$as_myself"; then
115110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 { (exit 1); exit 1; }
117 fi
118
119 # Work around bugs in pre-3.0 UWIN ksh.
120 for as_var in ENV MAIL MAILPATH
121 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122121 done
123122 PS1='$ '
124123 PS2='> '
130129 LANGUAGE=C
131130 export LANGUAGE
132131
133 # Required to use basename.
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 if test "x$CONFIG_SHELL" = x; then
136 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
137 emulate sh
138 NULLCMD=:
139 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
140 # is contrary to our usage. Disable this feature.
141 alias -g '\${1+\"\$@\"}'='\"\$@\"'
142 setopt NO_GLOB_SUBST
143 else
144 case \`(set -o) 2>/dev/null\` in #(
145 *posix*) :
146 set -o posix ;; #(
147 *) :
148 ;;
149 esac
150 fi
151 "
152 as_required="as_fn_return () { (exit \$1); }
153 as_fn_success () { as_fn_return 0; }
154 as_fn_failure () { as_fn_return 1; }
155 as_fn_ret_success () { return 0; }
156 as_fn_ret_failure () { return 1; }
157
158 exitcode=0
159 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
160 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
161 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
162 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
163 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164
165 else
166 exitcode=1; echo positional parameters were not saved.
167 fi
168 test x\$exitcode = x0 || exit 1"
169 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
170 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
171 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
172 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
174 as_have_required=yes
175 else
176 as_have_required=no
177 fi
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180 else
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 do
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
189 /*)
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 break 2
198 fi
199 fi
200 done;;
201 esac
202 as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
209
210
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
215 BASH_ENV=/dev/null
216 ENV=/dev/null
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 export CONFIG_SHELL
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220 fi
221
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 else
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
233 fi
234 exit 1
235 fi
236 fi
237 fi
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
243
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
251 {
252 { eval $1=; unset $1;}
253 }
254 as_unset=as_fn_unset
255
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
260 {
261 return $1
262 } # as_fn_set_status
263
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
268 {
269 set +e
270 as_fn_set_status $1
271 exit $1
272 } # as_fn_exit
273
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
278 {
279
280 case $as_dir in #(
281 -*) as_dir=./$as_dir;;
282 esac
283 test -d "$as_dir" || eval $as_mkdir_p || {
284 as_dirs=
285 while :; do
286 case $as_dir in #(
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288 *) as_qdir=$as_dir;;
289 esac
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298 s//\1/
299 q
300 }
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
303 q
304 }
305 /^X\(\/\/\)$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\).*/{
310 s//\1/
311 q
312 }
313 s/.*/./; q'`
314 test -d "$as_dir" && break
315 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
319
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
329 {
330 eval $1+=\$2
331 }'
332 else
333 as_fn_append ()
334 {
335 eval $1=\$$1\$2
336 }
337 fi # as_fn_append
338
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345 eval 'as_fn_arith ()
346 {
347 as_val=$(( $* ))
348 }'
349 else
350 as_fn_arith ()
351 {
352 as_val=`expr "$@" || test $? -eq 1`
353 }
354 fi # as_fn_arith
355
356
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
363 {
364 as_status=$?; test $as_status -eq 0 && as_status=1
365 if test "$3"; then
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 fi
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
371 } # as_fn_error
372
134373 if expr a : '\(a\)' >/dev/null 2>&1 &&
135374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
136375 as_expr=expr
144383 as_basename=false
145384 fi
146385
147
148 # Name of the executable.
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388 else
389 as_dirname=false
390 fi
391
149392 as_me=`$as_basename -- "$0" ||
150393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
151394 X"$0" : 'X\(//\)$' \| \
165408 }
166409 s/.*/./; q'`
167410
168 # CDPATH.
169 $as_unset CDPATH
170
171
172 if test "x$CONFIG_SHELL" = x; then
173 if (eval ":") 2>/dev/null; then
174 as_have_required=yes
175 else
176 as_have_required=no
177 fi
178
179 if test $as_have_required = yes && (eval ":
180 (as_func_return () {
181 (exit \$1)
182 }
183 as_func_success () {
184 as_func_return 0
185 }
186 as_func_failure () {
187 as_func_return 1
188 }
189 as_func_ret_success () {
190 return 0
191 }
192 as_func_ret_failure () {
193 return 1
194 }
195
196 exitcode=0
197 if as_func_success; then
198 :
199 else
200 exitcode=1
201 echo as_func_success failed.
202 fi
203
204 if as_func_failure; then
205 exitcode=1
206 echo as_func_failure succeeded.
207 fi
208
209 if as_func_ret_success; then
210 :
211 else
212 exitcode=1
213 echo as_func_ret_success failed.
214 fi
215
216 if as_func_ret_failure; then
217 exitcode=1
218 echo as_func_ret_failure succeeded.
219 fi
220
221 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
222 :
223 else
224 exitcode=1
225 echo positional parameters were not saved.
226 fi
227
228 test \$exitcode = 0) || { (exit 1); exit 1; }
229
230 (
231 as_lineno_1=\$LINENO
232 as_lineno_2=\$LINENO
233 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
234 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
235 ") 2> /dev/null; then
236 :
237 else
238 as_candidate_shells=
239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
241 do
242 IFS=$as_save_IFS
243 test -z "$as_dir" && as_dir=.
244 case $as_dir in
245 /*)
246 for as_base in sh bash ksh sh5; do
247 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
248 done;;
249 esac
250 done
251 IFS=$as_save_IFS
252
253
254 for as_shell in $as_candidate_shells $SHELL; do
255 # Try only shells that exist, to save several forks.
256 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
257 { ("$as_shell") 2> /dev/null <<\_ASEOF
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259 emulate sh
260 NULLCMD=:
261 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
264 setopt NO_GLOB_SUBST
265 else
266 case `(set -o) 2>/dev/null` in
267 *posix*) set -o posix ;;
268 esac
269
270 fi
271
272
273 :
274 _ASEOF
275 }; then
276 CONFIG_SHELL=$as_shell
277 as_have_required=yes
278 if { "$as_shell" 2> /dev/null <<\_ASEOF
279 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
280 emulate sh
281 NULLCMD=:
282 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
283 # is contrary to our usage. Disable this feature.
284 alias -g '${1+"$@"}'='"$@"'
285 setopt NO_GLOB_SUBST
286 else
287 case `(set -o) 2>/dev/null` in
288 *posix*) set -o posix ;;
289 esac
290
291 fi
292
293
294 :
295 (as_func_return () {
296 (exit $1)
297 }
298 as_func_success () {
299 as_func_return 0
300 }
301 as_func_failure () {
302 as_func_return 1
303 }
304 as_func_ret_success () {
305 return 0
306 }
307 as_func_ret_failure () {
308 return 1
309 }
310
311 exitcode=0
312 if as_func_success; then
313 :
314 else
315 exitcode=1
316 echo as_func_success failed.
317 fi
318
319 if as_func_failure; then
320 exitcode=1
321 echo as_func_failure succeeded.
322 fi
323
324 if as_func_ret_success; then
325 :
326 else
327 exitcode=1
328 echo as_func_ret_success failed.
329 fi
330
331 if as_func_ret_failure; then
332 exitcode=1
333 echo as_func_ret_failure succeeded.
334 fi
335
336 if ( set x; as_func_ret_success y && test x = "$1" ); then
337 :
338 else
339 exitcode=1
340 echo positional parameters were not saved.
341 fi
342
343 test $exitcode = 0) || { (exit 1); exit 1; }
344
345 (
346 as_lineno_1=$LINENO
347 as_lineno_2=$LINENO
348 test "x$as_lineno_1" != "x$as_lineno_2" &&
349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
350
351 _ASEOF
352 }; then
353 break
354 fi
355
356 fi
357
358 done
359
360 if test "x$CONFIG_SHELL" != x; then
361 for as_var in BASH_ENV ENV
362 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
363 done
364 export CONFIG_SHELL
365 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
366 fi
367
368
369 if test $as_have_required = no; then
370 echo This script requires a shell more modern than all the
371 echo shells that I found on your system. Please install a
372 echo modern shell, or manually run the script under such a
373 echo shell if you do have one.
374 { (exit 1); exit 1; }
375 fi
376
377
378 fi
379
380 fi
381
382
383
384 (eval "as_func_return () {
385 (exit \$1)
386 }
387 as_func_success () {
388 as_func_return 0
389 }
390 as_func_failure () {
391 as_func_return 1
392 }
393 as_func_ret_success () {
394 return 0
395 }
396 as_func_ret_failure () {
397 return 1
398 }
399
400 exitcode=0
401 if as_func_success; then
402 :
403 else
404 exitcode=1
405 echo as_func_success failed.
406 fi
407
408 if as_func_failure; then
409 exitcode=1
410 echo as_func_failure succeeded.
411 fi
412
413 if as_func_ret_success; then
414 :
415 else
416 exitcode=1
417 echo as_func_ret_success failed.
418 fi
419
420 if as_func_ret_failure; then
421 exitcode=1
422 echo as_func_ret_failure succeeded.
423 fi
424
425 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
426 :
427 else
428 exitcode=1
429 echo positional parameters were not saved.
430 fi
431
432 test \$exitcode = 0") || {
433 echo No shell found that supports shell functions.
434 echo Please tell bug-autoconf@gnu.org about your system,
435 echo including any error possibly output before this message.
436 echo This can help us improve future autoconf versions.
437 echo Configuration will now proceed without shell functions.
438 }
439
440
441
442 as_lineno_1=$LINENO
443 as_lineno_2=$LINENO
444 test "x$as_lineno_1" != "x$as_lineno_2" &&
445 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
446
447 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
448 # uniformly replaced by the line number. The first 'sed' inserts a
449 # line-number line after each line using $LINENO; the second 'sed'
450 # does the real work. The second script uses 'N' to pair each
451 # line-number line with the line containing $LINENO, and appends
452 # trailing '-' during substitution so that $LINENO is not a special
453 # case at line end.
454 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
455 # scripts with optimization help from Paolo Bonzini. Blame Lee
456 # E. McMahon (1931-1989) for sed's syntax. :-)
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457424 sed -n '
458425 p
459426 /[$]LINENO/=
470437 s/-\n.*//
471438 ' >$as_me.lineno &&
472439 chmod +x "$as_me.lineno" ||
473 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474 { (exit 1); exit 1; }; }
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
475441
476442 # Don't try to exec as it changes $[0], causing all sort of problems
477443 # (the dirname of $[0] is not the place where we might find the
481447 exit
482448 }
483449
484
485 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
486 as_dirname=dirname
487 else
488 as_dirname=false
489 fi
490
491450 ECHO_C= ECHO_N= ECHO_T=
492 case `echo -n x` in
451 case `echo -n x` in #(((((
493452 -n*)
494 case `echo 'x\c'` in
453 case `echo 'xy\c'` in
495454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
496 *) ECHO_C='\c';;
455 xy) ECHO_C='\c';;
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
457 ECHO_T=' ';;
497458 esac;;
498459 *)
499460 ECHO_N='-n';;
500461 esac
501 if expr a : '\(a\)' >/dev/null 2>&1 &&
502 test "X`expr 00001 : '.*\(...\)'`" = X001; then
503 as_expr=expr
504 else
505 as_expr=false
506 fi
507462
508463 rm -f conf$$ conf$$.exe conf$$.file
509464 if test -d conf$$.dir; then
533488 rmdir conf$$.dir 2>/dev/null
534489
535490 if mkdir -p . 2>/dev/null; then
536 as_mkdir_p=:
491 as_mkdir_p='mkdir -p "$as_dir"'
537492 else
538493 test -d ./-p && rmdir ./-p
539494 as_mkdir_p=false
552507 if test -d "$1"; then
553508 test -d "$1/.";
554509 else
555 case $1 in
510 case $1 in #(
556511 -*)set "./$1";;
557512 esac;
558 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
559514 ???[sx]*):;;*)false;;esac;fi
560515 '\'' sh
561516 '
569524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570525
571526
572
573 exec 7<&0 </dev/null 6>&1
527 test -n "$DJDIR" || exec 7<&0 </dev/null
528 exec 6>&1
574529
575530 # Name of the host.
576531 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
588543 subdirs=
589544 MFLAGS=
590545 MAKEFLAGS=
591 SHELL=${CONFIG_SHELL-/bin/sh}
592546
593547 # Identity of this package.
594548 PACKAGE_NAME=
596550 PACKAGE_VERSION=
597551 PACKAGE_STRING=
598552 PACKAGE_BUGREPORT=
553 PACKAGE_URL=
599554
600555 ac_unique_file="esniper.c"
601556 ac_subst_vars='am__EXEEXT_FALSE
674629 program_transform_name
675630 prefix
676631 exec_prefix
632 PACKAGE_URL
677633 PACKAGE_BUGREPORT
678634 PACKAGE_STRING
679635 PACKAGE_VERSION
803759 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804760 # Reject names that are not valid shell variable names.
805761 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
806 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
807 { (exit 1); exit 1; }; }
762 as_fn_error "invalid feature name: $ac_useropt"
808763 ac_useropt_orig=$ac_useropt
809764 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810765 case $ac_user_opts in
830785 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831786 # Reject names that are not valid shell variable names.
832787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
833 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
834 { (exit 1); exit 1; }; }
788 as_fn_error "invalid feature name: $ac_useropt"
835789 ac_useropt_orig=$ac_useropt
836790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837791 case $ac_user_opts in
1035989 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036990 # Reject names that are not valid shell variable names.
1037991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1039 { (exit 1); exit 1; }; }
992 as_fn_error "invalid package name: $ac_useropt"
1040993 ac_useropt_orig=$ac_useropt
1041994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042995 case $ac_user_opts in
10521005 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10531006 # Reject names that are not valid shell variable names.
10541007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1056 { (exit 1); exit 1; }; }
1008 as_fn_error "invalid package name: $ac_useropt"
10571009 ac_useropt_orig=$ac_useropt
10581010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10591011 case $ac_user_opts in
10831035 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10841036 x_libraries=$ac_optarg ;;
10851037
1086 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1087 Try \`$0 --help' for more information." >&2
1088 { (exit 1); exit 1; }; }
1038 -*) as_fn_error "unrecognized option: \`$ac_option'
1039 Try \`$0 --help' for more information."
10891040 ;;
10901041
10911042 *=*)
10921043 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10931044 # Reject names that are not valid shell variable names.
1094 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1095 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1096 { (exit 1); exit 1; }; }
1045 case $ac_envvar in #(
1046 '' | [0-9]* | *[!_$as_cr_alnum]* )
1047 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1048 esac
10971049 eval $ac_envvar=\$ac_optarg
10981050 export $ac_envvar ;;
10991051
11101062
11111063 if test -n "$ac_prev"; then
11121064 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1114 { (exit 1); exit 1; }; }
1065 as_fn_error "missing argument to $ac_option"
11151066 fi
11161067
11171068 if test -n "$ac_unrecognized_opts"; then
11181069 case $enable_option_checking in
11191070 no) ;;
1120 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1121 { (exit 1); exit 1; }; } ;;
1071 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
11221072 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11231073 esac
11241074 fi
11411091 [\\/$]* | ?:[\\/]* ) continue;;
11421092 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11431093 esac
1144 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1145 { (exit 1); exit 1; }; }
1094 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
11461095 done
11471096
11481097 # There might be people who depend on the old broken behavior: `$host'
11721121 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11731122 ac_ls_di=`ls -di .` &&
11741123 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1175 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1176 { (exit 1); exit 1; }; }
1124 as_fn_error "working directory cannot be determined"
11771125 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1178 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1179 { (exit 1); exit 1; }; }
1126 as_fn_error "pwd does not report name of working directory"
11801127
11811128
11821129 # Find the source files, if location was not specified.
12151162 fi
12161163 if test ! -r "$srcdir/$ac_unique_file"; then
12171164 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1219 { (exit 1); exit 1; }; }
1165 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
12201166 fi
12211167 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12221168 ac_abs_confdir=`(
1223 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1224 { (exit 1); exit 1; }; }
1169 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
12251170 pwd)`
12261171 # When building in place, set srcdir=.
12271172 if test "$ac_abs_confdir" = "$ac_pwd"; then
13331278 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13341279 nonstandard directory <lib dir>
13351280 LIBS libraries to pass to the linker, e.g. -l<library>
1336 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1281 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13371282 you have headers in a nonstandard directory <include dir>
13381283
13391284 Use these variables to override the choices made by `configure' or to help
13401285 it to find libraries and programs with nonstandard names/locations.
13411286
1287 Report bugs to the package provider.
13421288 _ACEOF
13431289 ac_status=$?
13441290 fi
14021348 if $ac_init_version; then
14031349 cat <<\_ACEOF
14041350 configure
1405 generated by GNU Autoconf 2.63
1406
1407 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1408 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1351 generated by GNU Autoconf 2.65
1352
1353 Copyright (C) 2009 Free Software Foundation, Inc.
14091354 This configure script is free software; the Free Software Foundation
14101355 gives unlimited permission to copy, distribute and modify it.
14111356 _ACEOF
14121357 exit
14131358 fi
1359
1360 ## ------------------------ ##
1361 ## Autoconf initialization. ##
1362 ## ------------------------ ##
1363
1364 # ac_fn_c_try_compile LINENO
1365 # --------------------------
1366 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1367 ac_fn_c_try_compile ()
1368 {
1369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1370 rm -f conftest.$ac_objext
1371 if { { ac_try="$ac_compile"
1372 case "(($ac_try" in
1373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1374 *) ac_try_echo=$ac_try;;
1375 esac
1376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1377 $as_echo "$ac_try_echo"; } >&5
1378 (eval "$ac_compile") 2>conftest.err
1379 ac_status=$?
1380 if test -s conftest.err; then
1381 grep -v '^ *+' conftest.err >conftest.er1
1382 cat conftest.er1 >&5
1383 mv -f conftest.er1 conftest.err
1384 fi
1385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1386 test $ac_status = 0; } && {
1387 test -z "$ac_c_werror_flag" ||
1388 test ! -s conftest.err
1389 } && test -s conftest.$ac_objext; then :
1390 ac_retval=0
1391 else
1392 $as_echo "$as_me: failed program was:" >&5
1393 sed 's/^/| /' conftest.$ac_ext >&5
1394
1395 ac_retval=1
1396 fi
1397 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1398 as_fn_set_status $ac_retval
1399
1400 } # ac_fn_c_try_compile
1401
1402 # ac_fn_c_try_link LINENO
1403 # -----------------------
1404 # Try to link conftest.$ac_ext, and return whether this succeeded.
1405 ac_fn_c_try_link ()
1406 {
1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408 rm -f conftest.$ac_objext conftest$ac_exeext
1409 if { { ac_try="$ac_link"
1410 case "(($ac_try" in
1411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1412 *) ac_try_echo=$ac_try;;
1413 esac
1414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416 (eval "$ac_link") 2>conftest.err
1417 ac_status=$?
1418 if test -s conftest.err; then
1419 grep -v '^ *+' conftest.err >conftest.er1
1420 cat conftest.er1 >&5
1421 mv -f conftest.er1 conftest.err
1422 fi
1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424 test $ac_status = 0; } && {
1425 test -z "$ac_c_werror_flag" ||
1426 test ! -s conftest.err
1427 } && test -s conftest$ac_exeext && {
1428 test "$cross_compiling" = yes ||
1429 $as_test_x conftest$ac_exeext
1430 }; then :
1431 ac_retval=0
1432 else
1433 $as_echo "$as_me: failed program was:" >&5
1434 sed 's/^/| /' conftest.$ac_ext >&5
1435
1436 ac_retval=1
1437 fi
1438 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1439 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1440 # interfere with the next link command; also delete a directory that is
1441 # left behind by Apple's compiler. We do this before executing the actions.
1442 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1443 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1444 as_fn_set_status $ac_retval
1445
1446 } # ac_fn_c_try_link
1447
1448 # ac_fn_c_check_func LINENO FUNC VAR
1449 # ----------------------------------
1450 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1451 ac_fn_c_check_func ()
1452 {
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1455 $as_echo_n "checking for $2... " >&6; }
1456 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1457 $as_echo_n "(cached) " >&6
1458 else
1459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1460 /* end confdefs.h. */
1461 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1463 #define $2 innocuous_$2
1464
1465 /* System header to define __stub macros and hopefully few prototypes,
1466 which can conflict with char $2 (); below.
1467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1468 <limits.h> exists even on freestanding compilers. */
1469
1470 #ifdef __STDC__
1471 # include <limits.h>
1472 #else
1473 # include <assert.h>
1474 #endif
1475
1476 #undef $2
1477
1478 /* Override any GCC internal prototype to avoid an error.
1479 Use char because int might match the return type of a GCC
1480 builtin and then its argument prototype would still apply. */
1481 #ifdef __cplusplus
1482 extern "C"
1483 #endif
1484 char $2 ();
1485 /* The GNU C library defines this for functions which it implements
1486 to always fail with ENOSYS. Some functions are actually named
1487 something starting with __ and the normal name is an alias. */
1488 #if defined __stub_$2 || defined __stub___$2
1489 choke me
1490 #endif
1491
1492 int
1493 main ()
1494 {
1495 return $2 ();
1496 ;
1497 return 0;
1498 }
1499 _ACEOF
1500 if ac_fn_c_try_link "$LINENO"; then :
1501 eval "$3=yes"
1502 else
1503 eval "$3=no"
1504 fi
1505 rm -f core conftest.err conftest.$ac_objext \
1506 conftest$ac_exeext conftest.$ac_ext
1507 fi
1508 eval ac_res=\$$3
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1510 $as_echo "$ac_res" >&6; }
1511 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1512
1513 } # ac_fn_c_check_func
14141514 cat >config.log <<_ACEOF
14151515 This file contains any messages produced by compilers while
14161516 running configure, to aid debugging if configure makes a mistake.
14171517
14181518 It was created by $as_me, which was
1419 generated by GNU Autoconf 2.63. Invocation command line was
1519 generated by GNU Autoconf 2.65. Invocation command line was
14201520
14211521 $ $0 $@
14221522
14521552 do
14531553 IFS=$as_save_IFS
14541554 test -z "$as_dir" && as_dir=.
1455 $as_echo "PATH: $as_dir"
1456 done
1555 $as_echo "PATH: $as_dir"
1556 done
14571557 IFS=$as_save_IFS
14581558
14591559 } >&5
14901590 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14911591 esac
14921592 case $ac_pass in
1493 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1593 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14941594 2)
1495 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1595 as_fn_append ac_configure_args1 " '$ac_arg'"
14961596 if test $ac_must_keep_next = true; then
14971597 ac_must_keep_next=false # Got value, back to normal.
14981598 else
15081608 -* ) ac_must_keep_next=true ;;
15091609 esac
15101610 fi
1511 ac_configure_args="$ac_configure_args '$ac_arg'"
1611 as_fn_append ac_configure_args " '$ac_arg'"
15121612 ;;
15131613 esac
15141614 done
15151615 done
1516 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1517 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1616 { ac_configure_args0=; unset ac_configure_args0;}
1617 { ac_configure_args1=; unset ac_configure_args1;}
15181618
15191619 # When interrupted or exit'd, cleanup temporary files, and complete
15201620 # config.log. We remove comments because anyway the quotes in there
15391639 case $ac_val in #(
15401640 *${as_nl}*)
15411641 case $ac_var in #(
1542 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15431643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15441644 esac
15451645 case $ac_var in #(
15461646 _ | IFS | as_nl) ;; #(
15471647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1548 *) $as_unset $ac_var ;;
1648 *) { eval $ac_var=; unset $ac_var;} ;;
15491649 esac ;;
15501650 esac
15511651 done
16171717 exit $exit_status
16181718 ' 0
16191719 for ac_signal in 1 2 13 15; do
1620 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1720 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16211721 done
16221722 ac_signal=0
16231723
16241724 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16251725 rm -f -r conftest* confdefs.h
1726
1727 $as_echo "/* confdefs.h */" > confdefs.h
16261728
16271729 # Predefined preprocessor variables.
16281730
16301732 #define PACKAGE_NAME "$PACKAGE_NAME"
16311733 _ACEOF
16321734
1633
16341735 cat >>confdefs.h <<_ACEOF
16351736 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16361737 _ACEOF
16371738
1638
16391739 cat >>confdefs.h <<_ACEOF
16401740 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16411741 _ACEOF
16421742
1643
16441743 cat >>confdefs.h <<_ACEOF
16451744 #define PACKAGE_STRING "$PACKAGE_STRING"
16461745 _ACEOF
16471746
1648
16491747 cat >>confdefs.h <<_ACEOF
16501748 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1749 _ACEOF
1750
1751 cat >>confdefs.h <<_ACEOF
1752 #define PACKAGE_URL "$PACKAGE_URL"
16511753 _ACEOF
16521754
16531755
16671769 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
16681770 do
16691771 test "x$ac_site_file" = xNONE && continue
1670 if test -r "$ac_site_file"; then
1671 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1772 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
16721774 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16731775 sed 's/^/| /' "$ac_site_file" >&5
16741776 . "$ac_site_file"
16761778 done
16771779
16781780 if test -r "$cache_file"; then
1679 # Some versions of bash will fail to source /dev/null (special
1680 # files actually), so we avoid doing that.
1681 if test -f "$cache_file"; then
1682 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1781 # Some versions of bash will fail to source /dev/null (special files
1782 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1783 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
16831785 $as_echo "$as_me: loading cache $cache_file" >&6;}
16841786 case $cache_file in
16851787 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16871789 esac
16881790 fi
16891791 else
1690 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
16911793 $as_echo "$as_me: creating cache $cache_file" >&6;}
16921794 >$cache_file
16931795 fi
17021804 eval ac_new_val=\$ac_env_${ac_var}_value
17031805 case $ac_old_set,$ac_new_set in
17041806 set,)
1705 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17061808 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17071809 ac_cache_corrupted=: ;;
17081810 ,set)
1709 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
17101812 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17111813 ac_cache_corrupted=: ;;
17121814 ,);;
17161818 ac_old_val_w=`echo x $ac_old_val`
17171819 ac_new_val_w=`echo x $ac_new_val`
17181820 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1719 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
17201822 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17211823 ac_cache_corrupted=:
17221824 else
1723 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
17241826 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
17251827 eval $ac_var=\$ac_old_val
17261828 fi
1727 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
17281830 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1729 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
17301832 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
17311833 fi;;
17321834 esac
17381840 esac
17391841 case " $ac_configure_args " in
17401842 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1741 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1843 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17421844 esac
17431845 fi
17441846 done
17451847 if $ac_cache_corrupted; then
1746 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17471849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1748 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
17491851 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1750 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1751 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1752 { (exit 1); exit 1; }; }
1753 fi
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1852 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1853 fi
1854 ## -------------------- ##
1855 ## Main body of script. ##
1856 ## -------------------- ##
17701857
17711858 ac_ext=c
17721859 ac_cpp='$CPP $CPPFLAGS'
17791866
17801867 ac_aux_dir=
17811868 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1782 if test -f "$ac_dir/install-sh"; then
1783 ac_aux_dir=$ac_dir
1784 ac_install_sh="$ac_aux_dir/install-sh -c"
1785 break
1786 elif test -f "$ac_dir/install.sh"; then
1787 ac_aux_dir=$ac_dir
1788 ac_install_sh="$ac_aux_dir/install.sh -c"
1789 break
1790 elif test -f "$ac_dir/shtool"; then
1791 ac_aux_dir=$ac_dir
1792 ac_install_sh="$ac_aux_dir/shtool install -c"
1793 break
1794 fi
1869 for ac_t in install-sh install.sh shtool; do
1870 if test -f "$ac_dir/$ac_t"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/$ac_t -c"
1873 break 2
1874 fi
1875 done
17951876 done
17961877 if test -z "$ac_aux_dir"; then
1797 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1798 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1799 { (exit 1); exit 1; }; }
1878 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
18001879 fi
18011880
18021881 # These three variables are undocumented and unsupported,
18221901 # OS/2's system install, which has a completely different semantic
18231902 # ./install, which can be erroneously created by make from ./install.sh.
18241903 # Reject install programs that cannot install multiple files.
1825 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
18261905 $as_echo_n "checking for a BSD-compatible install... " >&6; }
18271906 if test -z "$INSTALL"; then
1828 if test "${ac_cv_path_install+set}" = set; then
1907 if test "${ac_cv_path_install+set}" = set; then :
18291908 $as_echo_n "(cached) " >&6
18301909 else
18311910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18331912 do
18341913 IFS=$as_save_IFS
18351914 test -z "$as_dir" && as_dir=.
1836 # Account for people who put trailing slashes in PATH elements.
1837 case $as_dir/ in
1838 ./ | .// | /cC/* | \
1915 # Account for people who put trailing slashes in PATH elements.
1916 case $as_dir/ in #((
1917 ./ | .// | /[cC]/* | \
18391918 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1840 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1919 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18411920 /usr/ucb/* ) ;;
18421921 *)
18431922 # OSF1 and SCO ODT 3.0 have their own names for install.
18741953 ;;
18751954 esac
18761955
1877 done
1956 done
18781957 IFS=$as_save_IFS
18791958
18801959 rm -rf conftest.one conftest.two conftest.dir
18901969 INSTALL=$ac_install_sh
18911970 fi
18921971 fi
1893 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
18941973 $as_echo "$INSTALL" >&6; }
18951974
18961975 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19011980
19021981 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19031982
1904 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19051984 $as_echo_n "checking whether build environment is sane... " >&6; }
19061985 # Just in case
19071986 sleep 1
19121991 '
19131992 case `pwd` in
19141993 *[\\\"\#\$\&\'\`$am_lf]*)
1915 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1916 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1917 { (exit 1); exit 1; }; };;
1994 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
19181995 esac
19191996 case $srcdir in
19201997 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1921 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1922 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1923 { (exit 1); exit 1; }; };;
1998 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
19241999 esac
19252000
19262001 # Do `set' in a subshell so we don't clobber the current shell's
19422017 # if, for instance, CONFIG_SHELL is bash and it inherits a
19432018 # broken ls alias from the environment. This has actually
19442019 # happened. Such a system could not be considered "sane".
1945 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1946 alias in your environment" >&5
1947 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1948 alias in your environment" >&2;}
1949 { (exit 1); exit 1; }; }
2020 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2021 alias in your environment" "$LINENO" 5
19502022 fi
19512023
19522024 test "$2" = conftest.file
19552027 # Ok.
19562028 :
19572029 else
1958 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1959 Check your system clock" >&5
1960 $as_echo "$as_me: error: newly created file is older than distributed files!
1961 Check your system clock" >&2;}
1962 { (exit 1); exit 1; }; }
1963 fi
1964 { $as_echo "$as_me:$LINENO: result: yes" >&5
2030 as_fn_error "newly created file is older than distributed files!
2031 Check your system clock" "$LINENO" 5
2032 fi
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19652034 $as_echo "yes" >&6; }
19662035 test "$program_prefix" != NONE &&
19672036 program_transform_name="s&^&$program_prefix&;$program_transform_name"
19892058 am_missing_run="$MISSING --run "
19902059 else
19912060 am_missing_run=
1992 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
19932062 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
19942063 fi
19952064
20102079 if test -n "$ac_tool_prefix"; then
20112080 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
20122081 set dummy ${ac_tool_prefix}strip; ac_word=$2
2013 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20142083 $as_echo_n "checking for $ac_word... " >&6; }
2015 if test "${ac_cv_prog_STRIP+set}" = set; then
2084 if test "${ac_cv_prog_STRIP+set}" = set; then :
20162085 $as_echo_n "(cached) " >&6
20172086 else
20182087 if test -n "$STRIP"; then
20232092 do
20242093 IFS=$as_save_IFS
20252094 test -z "$as_dir" && as_dir=.
2026 for ac_exec_ext in '' $ac_executable_extensions; do
2095 for ac_exec_ext in '' $ac_executable_extensions; do
20272096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20282097 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2029 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20302099 break 2
20312100 fi
20322101 done
2033 done
2102 done
20342103 IFS=$as_save_IFS
20352104
20362105 fi
20372106 fi
20382107 STRIP=$ac_cv_prog_STRIP
20392108 if test -n "$STRIP"; then
2040 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
20412110 $as_echo "$STRIP" >&6; }
20422111 else
2043 { $as_echo "$as_me:$LINENO: result: no" >&5
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20442113 $as_echo "no" >&6; }
20452114 fi
20462115
20502119 ac_ct_STRIP=$STRIP
20512120 # Extract the first word of "strip", so it can be a program name with args.
20522121 set dummy strip; ac_word=$2
2053 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20542123 $as_echo_n "checking for $ac_word... " >&6; }
2055 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2124 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
20562125 $as_echo_n "(cached) " >&6
20572126 else
20582127 if test -n "$ac_ct_STRIP"; then
20632132 do
20642133 IFS=$as_save_IFS
20652134 test -z "$as_dir" && as_dir=.
2066 for ac_exec_ext in '' $ac_executable_extensions; do
2135 for ac_exec_ext in '' $ac_executable_extensions; do
20672136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20682137 ac_cv_prog_ac_ct_STRIP="strip"
2069 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20702139 break 2
20712140 fi
20722141 done
2073 done
2142 done
20742143 IFS=$as_save_IFS
20752144
20762145 fi
20772146 fi
20782147 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
20792148 if test -n "$ac_ct_STRIP"; then
2080 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
20812150 $as_echo "$ac_ct_STRIP" >&6; }
20822151 else
2083 { $as_echo "$as_me:$LINENO: result: no" >&5
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20842153 $as_echo "no" >&6; }
20852154 fi
20862155
20892158 else
20902159 case $cross_compiling:$ac_tool_warned in
20912160 yes:)
2092 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20932162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20942163 ac_tool_warned=yes ;;
20952164 esac
21022171 fi
21032172 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
21042173
2105 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
21062175 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
21072176 if test -z "$MKDIR_P"; then
2108 if test "${ac_cv_path_mkdir+set}" = set; then
2177 if test "${ac_cv_path_mkdir+set}" = set; then :
21092178 $as_echo_n "(cached) " >&6
21102179 else
21112180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21132182 do
21142183 IFS=$as_save_IFS
21152184 test -z "$as_dir" && as_dir=.
2116 for ac_prog in mkdir gmkdir; do
2185 for ac_prog in mkdir gmkdir; do
21172186 for ac_exec_ext in '' $ac_executable_extensions; do
21182187 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
21192188 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
21252194 esac
21262195 done
21272196 done
2128 done
2197 done
21292198 IFS=$as_save_IFS
21302199
21312200 fi
21322201
2202 test -d ./--version && rmdir ./--version
21332203 if test "${ac_cv_path_mkdir+set}" = set; then
21342204 MKDIR_P="$ac_cv_path_mkdir -p"
21352205 else
21372207 # value for MKDIR_P within a source directory, because that will
21382208 # break other packages using the cache if that directory is
21392209 # removed, or if the value is a relative name.
2140 test -d ./--version && rmdir ./--version
21412210 MKDIR_P="$ac_install_sh -d"
21422211 fi
21432212 fi
2144 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
21452214 $as_echo "$MKDIR_P" >&6; }
21462215
21472216 mkdir_p="$MKDIR_P"
21542223 do
21552224 # Extract the first word of "$ac_prog", so it can be a program name with args.
21562225 set dummy $ac_prog; ac_word=$2
2157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21582227 $as_echo_n "checking for $ac_word... " >&6; }
2159 if test "${ac_cv_prog_AWK+set}" = set; then
2228 if test "${ac_cv_prog_AWK+set}" = set; then :
21602229 $as_echo_n "(cached) " >&6
21612230 else
21622231 if test -n "$AWK"; then
21672236 do
21682237 IFS=$as_save_IFS
21692238 test -z "$as_dir" && as_dir=.
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2239 for ac_exec_ext in '' $ac_executable_extensions; do
21712240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21722241 ac_cv_prog_AWK="$ac_prog"
2173 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21742243 break 2
21752244 fi
21762245 done
2177 done
2246 done
21782247 IFS=$as_save_IFS
21792248
21802249 fi
21812250 fi
21822251 AWK=$ac_cv_prog_AWK
21832252 if test -n "$AWK"; then
2184 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
21852254 $as_echo "$AWK" >&6; }
21862255 else
2187 { $as_echo "$as_me:$LINENO: result: no" >&5
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21882257 $as_echo "no" >&6; }
21892258 fi
21902259
21922261 test -n "$AWK" && break
21932262 done
21942263
2195 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
21962265 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
21972266 set x ${MAKE-make}
21982267 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2199 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2268 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
22002269 $as_echo_n "(cached) " >&6
22012270 else
22022271 cat >conftest.make <<\_ACEOF
22142283 rm -f conftest.make
22152284 fi
22162285 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2217 { $as_echo "$as_me:$LINENO: result: yes" >&5
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22182287 $as_echo "yes" >&6; }
22192288 SET_MAKE=
22202289 else
2221 { $as_echo "$as_me:$LINENO: result: no" >&5
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22222291 $as_echo "no" >&6; }
22232292 SET_MAKE="MAKE=${MAKE-make}"
22242293 fi
22382307 am__isrc=' -I$(srcdir)'
22392308 # test to see if srcdir already configured
22402309 if test -f $srcdir/config.status; then
2241 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2242 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2243 { (exit 1); exit 1; }; }
2310 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
22442311 fi
22452312 fi
22462313
22562323
22572324 # Define the identity of the package.
22582325 PACKAGE=esniper
2259 VERSION=2.25.0
2326 VERSION=2.26.0
22602327
22612328
22622329 cat >>confdefs.h <<_ACEOF
23042371 if test -n "$ac_tool_prefix"; then
23052372 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
23062373 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2307 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23082375 $as_echo_n "checking for $ac_word... " >&6; }
2309 if test "${ac_cv_prog_CC+set}" = set; then
2376 if test "${ac_cv_prog_CC+set}" = set; then :
23102377 $as_echo_n "(cached) " >&6
23112378 else
23122379 if test -n "$CC"; then
23172384 do
23182385 IFS=$as_save_IFS
23192386 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2387 for ac_exec_ext in '' $ac_executable_extensions; do
23212388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23222389 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2323 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23242391 break 2
23252392 fi
23262393 done
2327 done
2394 done
23282395 IFS=$as_save_IFS
23292396
23302397 fi
23312398 fi
23322399 CC=$ac_cv_prog_CC
23332400 if test -n "$CC"; then
2334 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
23352402 $as_echo "$CC" >&6; }
23362403 else
2337 { $as_echo "$as_me:$LINENO: result: no" >&5
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23382405 $as_echo "no" >&6; }
23392406 fi
23402407
23442411 ac_ct_CC=$CC
23452412 # Extract the first word of "gcc", so it can be a program name with args.
23462413 set dummy gcc; ac_word=$2
2347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23482415 $as_echo_n "checking for $ac_word... " >&6; }
2349 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2416 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
23502417 $as_echo_n "(cached) " >&6
23512418 else
23522419 if test -n "$ac_ct_CC"; then
23572424 do
23582425 IFS=$as_save_IFS
23592426 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2427 for ac_exec_ext in '' $ac_executable_extensions; do
23612428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23622429 ac_cv_prog_ac_ct_CC="gcc"
2363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23642431 break 2
23652432 fi
23662433 done
2367 done
2434 done
23682435 IFS=$as_save_IFS
23692436
23702437 fi
23712438 fi
23722439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23732440 if test -n "$ac_ct_CC"; then
2374 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
23752442 $as_echo "$ac_ct_CC" >&6; }
23762443 else
2377 { $as_echo "$as_me:$LINENO: result: no" >&5
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23782445 $as_echo "no" >&6; }
23792446 fi
23802447
23832450 else
23842451 case $cross_compiling:$ac_tool_warned in
23852452 yes:)
2386 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23872454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23882455 ac_tool_warned=yes ;;
23892456 esac
23972464 if test -n "$ac_tool_prefix"; then
23982465 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23992466 set dummy ${ac_tool_prefix}cc; ac_word=$2
2400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24012468 $as_echo_n "checking for $ac_word... " >&6; }
2402 if test "${ac_cv_prog_CC+set}" = set; then
2469 if test "${ac_cv_prog_CC+set}" = set; then :
24032470 $as_echo_n "(cached) " >&6
24042471 else
24052472 if test -n "$CC"; then
24102477 do
24112478 IFS=$as_save_IFS
24122479 test -z "$as_dir" && as_dir=.
2413 for ac_exec_ext in '' $ac_executable_extensions; do
2480 for ac_exec_ext in '' $ac_executable_extensions; do
24142481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24152482 ac_cv_prog_CC="${ac_tool_prefix}cc"
2416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24172484 break 2
24182485 fi
24192486 done
2420 done
2487 done
24212488 IFS=$as_save_IFS
24222489
24232490 fi
24242491 fi
24252492 CC=$ac_cv_prog_CC
24262493 if test -n "$CC"; then
2427 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
24282495 $as_echo "$CC" >&6; }
24292496 else
2430 { $as_echo "$as_me:$LINENO: result: no" >&5
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24312498 $as_echo "no" >&6; }
24322499 fi
24332500
24372504 if test -z "$CC"; then
24382505 # Extract the first word of "cc", so it can be a program name with args.
24392506 set dummy cc; ac_word=$2
2440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24412508 $as_echo_n "checking for $ac_word... " >&6; }
2442 if test "${ac_cv_prog_CC+set}" = set; then
2509 if test "${ac_cv_prog_CC+set}" = set; then :
24432510 $as_echo_n "(cached) " >&6
24442511 else
24452512 if test -n "$CC"; then
24512518 do
24522519 IFS=$as_save_IFS
24532520 test -z "$as_dir" && as_dir=.
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2521 for ac_exec_ext in '' $ac_executable_extensions; do
24552522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24562523 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24572524 ac_prog_rejected=yes
24582525 continue
24592526 fi
24602527 ac_cv_prog_CC="cc"
2461 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24622529 break 2
24632530 fi
24642531 done
2465 done
2532 done
24662533 IFS=$as_save_IFS
24672534
24682535 if test $ac_prog_rejected = yes; then
24812548 fi
24822549 CC=$ac_cv_prog_CC
24832550 if test -n "$CC"; then
2484 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
24852552 $as_echo "$CC" >&6; }
24862553 else
2487 { $as_echo "$as_me:$LINENO: result: no" >&5
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24882555 $as_echo "no" >&6; }
24892556 fi
24902557
24962563 do
24972564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24982565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25002567 $as_echo_n "checking for $ac_word... " >&6; }
2501 if test "${ac_cv_prog_CC+set}" = set; then
2568 if test "${ac_cv_prog_CC+set}" = set; then :
25022569 $as_echo_n "(cached) " >&6
25032570 else
25042571 if test -n "$CC"; then
25092576 do
25102577 IFS=$as_save_IFS
25112578 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2579 for ac_exec_ext in '' $ac_executable_extensions; do
25132580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25142581 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2515 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25162583 break 2
25172584 fi
25182585 done
2519 done
2586 done
25202587 IFS=$as_save_IFS
25212588
25222589 fi
25232590 fi
25242591 CC=$ac_cv_prog_CC
25252592 if test -n "$CC"; then
2526 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
25272594 $as_echo "$CC" >&6; }
25282595 else
2529 { $as_echo "$as_me:$LINENO: result: no" >&5
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25302597 $as_echo "no" >&6; }
25312598 fi
25322599
25402607 do
25412608 # Extract the first word of "$ac_prog", so it can be a program name with args.
25422609 set dummy $ac_prog; ac_word=$2
2543 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25442611 $as_echo_n "checking for $ac_word... " >&6; }
2545 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2612 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
25462613 $as_echo_n "(cached) " >&6
25472614 else
25482615 if test -n "$ac_ct_CC"; then
25532620 do
25542621 IFS=$as_save_IFS
25552622 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2623 for ac_exec_ext in '' $ac_executable_extensions; do
25572624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25582625 ac_cv_prog_ac_ct_CC="$ac_prog"
2559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25602627 break 2
25612628 fi
25622629 done
2563 done
2630 done
25642631 IFS=$as_save_IFS
25652632
25662633 fi
25672634 fi
25682635 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25692636 if test -n "$ac_ct_CC"; then
2570 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
25712638 $as_echo "$ac_ct_CC" >&6; }
25722639 else
2573 { $as_echo "$as_me:$LINENO: result: no" >&5
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25742641 $as_echo "no" >&6; }
25752642 fi
25762643
25832650 else
25842651 case $cross_compiling:$ac_tool_warned in
25852652 yes:)
2586 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25872654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25882655 ac_tool_warned=yes ;;
25892656 esac
25942661 fi
25952662
25962663
2597 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2664 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25982665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2599 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2600 See \`config.log' for more details." >&5
2601 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }; }
2666 as_fn_error "no acceptable C compiler found in \$PATH
2667 See \`config.log' for more details." "$LINENO" 5; }
26042668
26052669 # Provide some information about the compiler.
2606 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2670 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
26072671 set X $ac_compile
26082672 ac_compiler=$2
2609 { (ac_try="$ac_compiler --version >&5"
2673 for ac_option in --version -v -V -qversion; do
2674 { { ac_try="$ac_compiler $ac_option >&5"
26102675 case "(($ac_try" in
26112676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26122677 *) ac_try_echo=$ac_try;;
26132678 esac
2614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2615 $as_echo "$ac_try_echo") >&5
2616 (eval "$ac_compiler --version >&5") 2>&5
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2680 $as_echo "$ac_try_echo"; } >&5
2681 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
26172682 ac_status=$?
2618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); }
2620 { (ac_try="$ac_compiler -v >&5"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2626 $as_echo "$ac_try_echo") >&5
2627 (eval "$ac_compiler -v >&5") 2>&5
2628 ac_status=$?
2629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2631 { (ac_try="$ac_compiler -V >&5"
2632 case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635 esac
2636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2637 $as_echo "$ac_try_echo") >&5
2638 (eval "$ac_compiler -V >&5") 2>&5
2639 ac_status=$?
2640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }
2642
2643 cat >conftest.$ac_ext <<_ACEOF
2644 /* confdefs.h. */
2645 _ACEOF
2646 cat confdefs.h >>conftest.$ac_ext
2647 cat >>conftest.$ac_ext <<_ACEOF
2683 if test -s conftest.err; then
2684 sed '10a\
2685 ... rest of stderr output deleted ...
2686 10q' conftest.err >conftest.er1
2687 cat conftest.er1 >&5
2688 fi
2689 rm -f conftest.er1 conftest.err
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; }
2692 done
2693
2694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26482695 /* end confdefs.h. */
26492696
26502697 int
26602707 # Try to create an executable without -o first, disregard a.out.
26612708 # It will help us diagnose broken compilers, and finding out an intuition
26622709 # of exeext.
2663 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2664 $as_echo_n "checking for C compiler default output file name... " >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2711 $as_echo_n "checking whether the C compiler works... " >&6; }
26652712 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
26662713
26672714 # The possible output files:
26772724 done
26782725 rm -f $ac_rmfiles
26792726
2680 if { (ac_try="$ac_link_default"
2727 if { { ac_try="$ac_link_default"
26812728 case "(($ac_try" in
26822729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832730 *) ac_try_echo=$ac_try;;
26842731 esac
2685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2686 $as_echo "$ac_try_echo") >&5
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 $as_echo "$ac_try_echo"; } >&5
26872734 (eval "$ac_link_default") 2>&5
26882735 ac_status=$?
2689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; then
2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; }; then :
26912738 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26922739 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26932740 # in a Makefile. We should not override ac_cv_exeext if it was cached,
27042751 # certainly right.
27052752 break;;
27062753 *.* )
2707 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2754 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
27082755 then :; else
27092756 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27102757 fi
27232770 else
27242771 ac_file=''
27252772 fi
2726
2727 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2773 if test -z "$ac_file"; then :
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2776 $as_echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2778
2779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2781 { as_fn_set_status 77
2782 as_fn_error "C compiler cannot create executables
2783 See \`config.log' for more details." "$LINENO" 5; }; }
2784 else
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2786 $as_echo "yes" >&6; }
2787 fi
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2789 $as_echo_n "checking for C compiler default output file name... " >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
27282791 $as_echo "$ac_file" >&6; }
2729 if test -z "$ac_file"; then
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2732
2733 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2735 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2736 See \`config.log' for more details." >&5
2737 $as_echo "$as_me: error: C compiler cannot create executables
2738 See \`config.log' for more details." >&2;}
2739 { (exit 77); exit 77; }; }; }
2740 fi
2741
27422792 ac_exeext=$ac_cv_exeext
2743
2744 # Check that the compiler produces executables we can run. If not, either
2745 # the compiler is broken, or we cross compile.
2746 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2747 $as_echo_n "checking whether the C compiler works... " >&6; }
2748 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2749 # If not cross compiling, check that we can run a simple program.
2750 if test "$cross_compiling" != yes; then
2751 if { ac_try='./$ac_file'
2752 { (case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2757 $as_echo "$ac_try_echo") >&5
2758 (eval "$ac_try") 2>&5
2759 ac_status=$?
2760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 cross_compiling=no
2763 else
2764 if test "$cross_compiling" = maybe; then
2765 cross_compiling=yes
2766 else
2767 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2770 If you meant to cross compile, use \`--host'.
2771 See \`config.log' for more details." >&5
2772 $as_echo "$as_me: error: cannot run C compiled programs.
2773 If you meant to cross compile, use \`--host'.
2774 See \`config.log' for more details." >&2;}
2775 { (exit 1); exit 1; }; }; }
2776 fi
2777 fi
2778 fi
2779 { $as_echo "$as_me:$LINENO: result: yes" >&5
2780 $as_echo "yes" >&6; }
27812793
27822794 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
27832795 ac_clean_files=$ac_clean_files_save
2784 # Check that the compiler produces executables we can run. If not, either
2785 # the compiler is broken, or we cross compile.
2786 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2787 $as_echo_n "checking whether we are cross compiling... " >&6; }
2788 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2789 $as_echo "$cross_compiling" >&6; }
2790
2791 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
27922797 $as_echo_n "checking for suffix of executables... " >&6; }
2793 if { (ac_try="$ac_link"
2798 if { { ac_try="$ac_link"
27942799 case "(($ac_try" in
27952800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27962801 *) ac_try_echo=$ac_try;;
27972802 esac
2798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2799 $as_echo "$ac_try_echo") >&5
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
28002805 (eval "$ac_link") 2>&5
28012806 ac_status=$?
2802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; then
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; }; then :
28042809 # If both `conftest.exe' and `conftest' are `present' (well, observable)
28052810 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
28062811 # work properly (i.e., refer to `conftest.exe'), while it won't with
28152820 esac
28162821 done
28172822 else
2818 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28192824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2821 See \`config.log' for more details." >&5
2822 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2823 See \`config.log' for more details." >&2;}
2824 { (exit 1); exit 1; }; }; }
2825 fi
2826
2827 rm -f conftest$ac_cv_exeext
2828 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2825 as_fn_error "cannot compute suffix of executables: cannot compile and link
2826 See \`config.log' for more details." "$LINENO" 5; }
2827 fi
2828 rm -f conftest conftest$ac_cv_exeext
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
28292830 $as_echo "$ac_cv_exeext" >&6; }
28302831
28312832 rm -f conftest.$ac_ext
28322833 EXEEXT=$ac_cv_exeext
28332834 ac_exeext=$EXEEXT
2834 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2837 #include <stdio.h>
2838 int
2839 main ()
2840 {
2841 FILE *f = fopen ("conftest.out", "w");
2842 return ferror (f) || fclose (f) != 0;
2843
2844 ;
2845 return 0;
2846 }
2847 _ACEOF
2848 ac_clean_files="$ac_clean_files conftest.out"
2849 # Check that the compiler produces executables we can run. If not, either
2850 # the compiler is broken, or we cross compile.
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2852 $as_echo_n "checking whether we are cross compiling... " >&6; }
2853 if test "$cross_compiling" != yes; then
2854 { { ac_try="$ac_link"
2855 case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2858 esac
2859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2860 $as_echo "$ac_try_echo"; } >&5
2861 (eval "$ac_link") 2>&5
2862 ac_status=$?
2863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; }
2865 if { ac_try='./conftest$ac_cv_exeext'
2866 { { case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_try") 2>&5
2873 ac_status=$?
2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2875 test $ac_status = 0; }; }; then
2876 cross_compiling=no
2877 else
2878 if test "$cross_compiling" = maybe; then
2879 cross_compiling=yes
2880 else
2881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2883 as_fn_error "cannot run C compiled programs.
2884 If you meant to cross compile, use \`--host'.
2885 See \`config.log' for more details." "$LINENO" 5; }
2886 fi
2887 fi
2888 fi
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2890 $as_echo "$cross_compiling" >&6; }
2891
2892 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2893 ac_clean_files=$ac_clean_files_save
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
28352895 $as_echo_n "checking for suffix of object files... " >&6; }
2836 if test "${ac_cv_objext+set}" = set; then
2896 if test "${ac_cv_objext+set}" = set; then :
28372897 $as_echo_n "(cached) " >&6
28382898 else
2839 cat >conftest.$ac_ext <<_ACEOF
2840 /* confdefs.h. */
2841 _ACEOF
2842 cat confdefs.h >>conftest.$ac_ext
2843 cat >>conftest.$ac_ext <<_ACEOF
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28442900 /* end confdefs.h. */
28452901
28462902 int
28522908 }
28532909 _ACEOF
28542910 rm -f conftest.o conftest.obj
2855 if { (ac_try="$ac_compile"
2911 if { { ac_try="$ac_compile"
28562912 case "(($ac_try" in
28572913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28582914 *) ac_try_echo=$ac_try;;
28592915 esac
2860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2861 $as_echo "$ac_try_echo") >&5
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 $as_echo "$ac_try_echo"; } >&5
28622918 (eval "$ac_compile") 2>&5
28632919 ac_status=$?
2864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }; then
2920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2921 test $ac_status = 0; }; then :
28662922 for ac_file in conftest.o conftest.obj conftest.*; do
28672923 test -f "$ac_file" || continue;
28682924 case $ac_file in
28752931 $as_echo "$as_me: failed program was:" >&5
28762932 sed 's/^/| /' conftest.$ac_ext >&5
28772933
2878 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28792935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2880 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2881 See \`config.log' for more details." >&5
2882 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2883 See \`config.log' for more details." >&2;}
2884 { (exit 1); exit 1; }; }; }
2885 fi
2886
2936 as_fn_error "cannot compute suffix of object files: cannot compile
2937 See \`config.log' for more details." "$LINENO" 5; }
2938 fi
28872939 rm -f conftest.$ac_cv_objext conftest.$ac_ext
28882940 fi
2889 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
28902942 $as_echo "$ac_cv_objext" >&6; }
28912943 OBJEXT=$ac_cv_objext
28922944 ac_objext=$OBJEXT
2893 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
28942946 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2895 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2947 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
28962948 $as_echo_n "(cached) " >&6
28972949 else
2898 cat >conftest.$ac_ext <<_ACEOF
2899 /* confdefs.h. */
2900 _ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29032951 /* end confdefs.h. */
29042952
29052953 int
29132961 return 0;
29142962 }
29152963 _ACEOF
2916 rm -f conftest.$ac_objext
2917 if { (ac_try="$ac_compile"
2918 case "(($ac_try" in
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2921 esac
2922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2923 $as_echo "$ac_try_echo") >&5
2924 (eval "$ac_compile") 2>conftest.er1
2925 ac_status=$?
2926 grep -v '^ *+' conftest.er1 >conftest.err
2927 rm -f conftest.er1
2928 cat conftest.err >&5
2929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } && {
2931 test -z "$ac_c_werror_flag" ||
2932 test ! -s conftest.err
2933 } && test -s conftest.$ac_objext; then
2964 if ac_fn_c_try_compile "$LINENO"; then :
29342965 ac_compiler_gnu=yes
29352966 else
2936 $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2938
2939 ac_compiler_gnu=no
2940 fi
2941
2967 ac_compiler_gnu=no
2968 fi
29422969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29432970 ac_cv_c_compiler_gnu=$ac_compiler_gnu
29442971
29452972 fi
2946 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
29472974 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
29482975 if test $ac_compiler_gnu = yes; then
29492976 GCC=yes
29522979 fi
29532980 ac_test_CFLAGS=${CFLAGS+set}
29542981 ac_save_CFLAGS=$CFLAGS
2955 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
29562983 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2957 if test "${ac_cv_prog_cc_g+set}" = set; then
2984 if test "${ac_cv_prog_cc_g+set}" = set; then :
29582985 $as_echo_n "(cached) " >&6
29592986 else
29602987 ac_save_c_werror_flag=$ac_c_werror_flag
29612988 ac_c_werror_flag=yes
29622989 ac_cv_prog_cc_g=no
29632990 CFLAGS="-g"
2964 cat >conftest.$ac_ext <<_ACEOF
2965 /* confdefs.h. */
2966 _ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29692992 /* end confdefs.h. */
29702993
29712994 int
29762999 return 0;
29773000 }
29783001 _ACEOF
2979 rm -f conftest.$ac_objext
2980 if { (ac_try="$ac_compile"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2986 $as_echo "$ac_try_echo") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2988 ac_status=$?
2989 grep -v '^ *+' conftest.er1 >conftest.err
2990 rm -f conftest.er1
2991 cat conftest.err >&5
2992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext; then
3002 if ac_fn_c_try_compile "$LINENO"; then :
29973003 ac_cv_prog_cc_g=yes
29983004 else
2999 $as_echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3001
3002 CFLAGS=""
3003 cat >conftest.$ac_ext <<_ACEOF
3004 /* confdefs.h. */
3005 _ACEOF
3006 cat confdefs.h >>conftest.$ac_ext
3007 cat >>conftest.$ac_ext <<_ACEOF
3005 CFLAGS=""
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30083007 /* end confdefs.h. */
30093008
30103009 int
30153014 return 0;
30163015 }
30173016 _ACEOF
3018 rm -f conftest.$ac_objext
3019 if { (ac_try="$ac_compile"
3020 case "(($ac_try" in
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3023 esac
3024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3025 $as_echo "$ac_try_echo") >&5
3026 (eval "$ac_compile") 2>conftest.er1
3027 ac_status=$?
3028 grep -v '^ *+' conftest.er1 >conftest.err
3029 rm -f conftest.er1
3030 cat conftest.err >&5
3031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } && {
3033 test -z "$ac_c_werror_flag" ||
3034 test ! -s conftest.err
3035 } && test -s conftest.$ac_objext; then
3036 :
3037 else
3038 $as_echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3040
3041 ac_c_werror_flag=$ac_save_c_werror_flag
3017 if ac_fn_c_try_compile "$LINENO"; then :
3018
3019 else
3020 ac_c_werror_flag=$ac_save_c_werror_flag
30423021 CFLAGS="-g"
3043 cat >conftest.$ac_ext <<_ACEOF
3044 /* confdefs.h. */
3045 _ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30483023 /* end confdefs.h. */
30493024
30503025 int
30553030 return 0;
30563031 }
30573032 _ACEOF
3058 rm -f conftest.$ac_objext
3059 if { (ac_try="$ac_compile"
3060 case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3063 esac
3064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3065 $as_echo "$ac_try_echo") >&5
3066 (eval "$ac_compile") 2>conftest.er1
3067 ac_status=$?
3068 grep -v '^ *+' conftest.er1 >conftest.err
3069 rm -f conftest.er1
3070 cat conftest.err >&5
3071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } && {
3073 test -z "$ac_c_werror_flag" ||
3074 test ! -s conftest.err
3075 } && test -s conftest.$ac_objext; then
3033 if ac_fn_c_try_compile "$LINENO"; then :
30763034 ac_cv_prog_cc_g=yes
3077 else
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3080
3081
3082 fi
3083
3035 fi
30843036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30853037 fi
3086
30873038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30883039 fi
3089
30903040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30913041 ac_c_werror_flag=$ac_save_c_werror_flag
30923042 fi
3093 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
30943044 $as_echo "$ac_cv_prog_cc_g" >&6; }
30953045 if test "$ac_test_CFLAGS" = set; then
30963046 CFLAGS=$ac_save_CFLAGS
31073057 CFLAGS=
31083058 fi
31093059 fi
3110 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
31113061 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3112 if test "${ac_cv_prog_cc_c89+set}" = set; then
3062 if test "${ac_cv_prog_cc_c89+set}" = set; then :
31133063 $as_echo_n "(cached) " >&6
31143064 else
31153065 ac_cv_prog_cc_c89=no
31163066 ac_save_CC=$CC
3117 cat >conftest.$ac_ext <<_ACEOF
3118 /* confdefs.h. */
3119 _ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31223068 /* end confdefs.h. */
31233069 #include <stdarg.h>
31243070 #include <stdio.h>
31753121 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31763122 do
31773123 CC="$ac_save_CC $ac_arg"
3178 rm -f conftest.$ac_objext
3179 if { (ac_try="$ac_compile"
3180 case "(($ac_try" in
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3183 esac
3184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3185 $as_echo "$ac_try_echo") >&5
3186 (eval "$ac_compile") 2>conftest.er1
3187 ac_status=$?
3188 grep -v '^ *+' conftest.er1 >conftest.err
3189 rm -f conftest.er1
3190 cat conftest.err >&5
3191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } && {
3193 test -z "$ac_c_werror_flag" ||
3194 test ! -s conftest.err
3195 } && test -s conftest.$ac_objext; then
3124 if ac_fn_c_try_compile "$LINENO"; then :
31963125 ac_cv_prog_cc_c89=$ac_arg
3197 else
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3200
3201
3202 fi
3203
3126 fi
32043127 rm -f core conftest.err conftest.$ac_objext
32053128 test "x$ac_cv_prog_cc_c89" != "xno" && break
32063129 done
32113134 # AC_CACHE_VAL
32123135 case "x$ac_cv_prog_cc_c89" in
32133136 x)
3214 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
32153138 $as_echo "none needed" >&6; } ;;
32163139 xno)
3217 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
32183141 $as_echo "unsupported" >&6; } ;;
32193142 *)
32203143 CC="$CC $ac_cv_prog_cc_c89"
3221 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
32223145 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
32233146 esac
3224
3147 if test "x$ac_cv_prog_cc_c89" != xno; then :
3148
3149 fi
32253150
32263151 ac_ext=c
32273152 ac_cpp='$CPP $CPPFLAGS'
32403165 .PHONY: am__doit
32413166 END
32423167 # If we don't find an include directive, just comment out the code.
3243 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
32443169 $as_echo_n "checking for style of include used by $am_make... " >&6; }
32453170 am__include="#"
32463171 am__quote=
32683193 fi
32693194
32703195
3271 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
32723197 $as_echo "$_am_result" >&6; }
32733198 rm -f confinc confmf
32743199
32753200 # Check whether --enable-dependency-tracking was given.
3276 if test "${enable_dependency_tracking+set}" = set; then
3201 if test "${enable_dependency_tracking+set}" = set; then :
32773202 enableval=$enable_dependency_tracking;
32783203 fi
32793204
32933218
32943219 depcc="$CC" am_compiler_list=
32953220
3296 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
32973222 $as_echo_n "checking dependency style of $depcc... " >&6; }
3298 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3223 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
32993224 $as_echo_n "(cached) " >&6
33003225 else
33013226 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34033328 fi
34043329
34053330 fi
3406 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
34073332 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
34083333 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
34093334
34183343 fi
34193344
34203345
3421 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34223347 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
34233348 set x ${MAKE-make}
34243349 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3425 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3350 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
34263351 $as_echo_n "(cached) " >&6
34273352 else
34283353 cat >conftest.make <<\_ACEOF
34403365 rm -f conftest.make
34413366 fi
34423367 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3443 { $as_echo "$as_me:$LINENO: result: yes" >&5
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34443369 $as_echo "yes" >&6; }
34453370 SET_MAKE=
34463371 else
3447 { $as_echo "$as_me:$LINENO: result: no" >&5
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34483373 $as_echo "no" >&6; }
34493374 SET_MAKE="MAKE=${MAKE-make}"
34503375 fi
34523377
34533378
34543379 # Check whether --with-curl-config was given.
3455 if test "${with_curl_config+set}" = set; then
3380 if test "${with_curl_config+set}" = set; then :
34563381 withval=$with_curl_config; curl_config="$withval"
34573382 else
34583383 curl_config="curl-config"
34613386
34623387 if test -f $curl_config ; then
34633388 CURL_CONFIG=$curl_config
3464 { $as_echo "$as_me:$LINENO: result: yes" >&5
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34653390 $as_echo "yes" >&6; }
34663391 else for ac_prog in curl-config
34673392 do
34683393 # Extract the first word of "$ac_prog", so it can be a program name with args.
34693394 set dummy $ac_prog; ac_word=$2
3470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34713396 $as_echo_n "checking for $ac_word... " >&6; }
3472 if test "${ac_cv_prog_CURL_CONFIG+set}" = set; then
3397 if test "${ac_cv_prog_CURL_CONFIG+set}" = set; then :
34733398 $as_echo_n "(cached) " >&6
34743399 else
34753400 if test -n "$CURL_CONFIG"; then
34803405 do
34813406 IFS=$as_save_IFS
34823407 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3408 for ac_exec_ext in '' $ac_executable_extensions; do
34843409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34853410 ac_cv_prog_CURL_CONFIG="$ac_prog"
3486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34873412 break 2
34883413 fi
34893414 done
3490 done
3415 done
34913416 IFS=$as_save_IFS
34923417
34933418 fi
34943419 fi
34953420 CURL_CONFIG=$ac_cv_prog_CURL_CONFIG
34963421 if test -n "$CURL_CONFIG"; then
3497 { $as_echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5
34983423 $as_echo "$CURL_CONFIG" >&6; }
34993424 else
3500 { $as_echo "$as_me:$LINENO: result: no" >&5
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35013426 $as_echo "no" >&6; }
35023427 fi
35033428
35083433 fi
35093434
35103435 if test "X$CURL_CONFIG" = "X"; then
3511 { { $as_echo "$as_me:$LINENO: error: $curl_config not found.
3512 cURL is available from http://curl.haxx.se/" >&5
3513 $as_echo "$as_me: error: $curl_config not found.
3514 cURL is available from http://curl.haxx.se/" >&2;}
3515 { (exit 1); exit 1; }; }
3436 as_fn_error "$curl_config not found.
3437 cURL is available from http://curl.haxx.se/" "$LINENO" 5
35163438 fi
35173439
35183440 CURLCFLAGS="`$CURL_CONFIG --cflags`"
35253447 check_min=7.1.1
35263448
35273449
3528 { $as_echo "$as_me:$LINENO: checking for curl_easy_setopt" >&5
3529 $as_echo_n "checking for curl_easy_setopt... " >&6; }
3530 if test "${ac_cv_func_curl_easy_setopt+set}" = set; then
3531 $as_echo_n "(cached) " >&6
3532 else
3533 cat >conftest.$ac_ext <<_ACEOF
3534 /* confdefs.h. */
3535 _ACEOF
3536 cat confdefs.h >>conftest.$ac_ext
3537 cat >>conftest.$ac_ext <<_ACEOF
3538 /* end confdefs.h. */
3539 /* Define curl_easy_setopt to an innocuous variant, in case <limits.h> declares curl_easy_setopt.
3540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3541 #define curl_easy_setopt innocuous_curl_easy_setopt
3542
3543 /* System header to define __stub macros and hopefully few prototypes,
3544 which can conflict with char curl_easy_setopt (); below.
3545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3546 <limits.h> exists even on freestanding compilers. */
3547
3548 #ifdef __STDC__
3549 # include <limits.h>
3550 #else
3551 # include <assert.h>
3552 #endif
3553
3554 #undef curl_easy_setopt
3555
3556 /* Override any GCC internal prototype to avoid an error.
3557 Use char because int might match the return type of a GCC
3558 builtin and then its argument prototype would still apply. */
3559 #ifdef __cplusplus
3560 extern "C"
3561 #endif
3562 char curl_easy_setopt ();
3563 /* The GNU C library defines this for functions which it implements
3564 to always fail with ENOSYS. Some functions are actually named
3565 something starting with __ and the normal name is an alias. */
3566 #if defined __stub_curl_easy_setopt || defined __stub___curl_easy_setopt
3567 choke me
3568 #endif
3569
3570 int
3571 main ()
3572 {
3573 return curl_easy_setopt ();
3574 ;
3575 return 0;
3576 }
3577 _ACEOF
3578 rm -f conftest.$ac_objext conftest$ac_exeext
3579 if { (ac_try="$ac_link"
3580 case "(($ac_try" in
3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3583 esac
3584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3585 $as_echo "$ac_try_echo") >&5
3586 (eval "$ac_link") 2>conftest.er1
3587 ac_status=$?
3588 grep -v '^ *+' conftest.er1 >conftest.err
3589 rm -f conftest.er1
3590 cat conftest.err >&5
3591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } && {
3593 test -z "$ac_c_werror_flag" ||
3594 test ! -s conftest.err
3595 } && test -s conftest$ac_exeext && {
3596 test "$cross_compiling" = yes ||
3597 $as_test_x conftest$ac_exeext
3598 }; then
3599 ac_cv_func_curl_easy_setopt=yes
3600 else
3601 $as_echo "$as_me: failed program was:" >&5
3602 sed 's/^/| /' conftest.$ac_ext >&5
3603
3604 ac_cv_func_curl_easy_setopt=no
3605 fi
3606
3607 rm -rf conftest.dSYM
3608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3609 conftest$ac_exeext conftest.$ac_ext
3610 fi
3611 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_curl_easy_setopt" >&5
3612 $as_echo "$ac_cv_func_curl_easy_setopt" >&6; }
3613 if test "x$ac_cv_func_curl_easy_setopt" = x""yes; then
3614 :
3615 else
3616 { { $as_echo "$as_me:$LINENO: error: cURL $check_min or newer required \
3617 (cURL is available from http://curl.haxx.se/)" >&5
3618 $as_echo "$as_me: error: cURL $check_min or newer required \
3619 (cURL is available from http://curl.haxx.se/)" >&2;}
3620 { (exit 1); exit 1; }; }
3621 fi
3622
3623
3624 { $as_echo "$as_me:$LINENO: checking for curl_easy_strerror" >&5
3625 $as_echo_n "checking for curl_easy_strerror... " >&6; }
3626 if test "${ac_cv_func_curl_easy_strerror+set}" = set; then
3627 $as_echo_n "(cached) " >&6
3628 else
3629 cat >conftest.$ac_ext <<_ACEOF
3630 /* confdefs.h. */
3631 _ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3635 /* Define curl_easy_strerror to an innocuous variant, in case <limits.h> declares curl_easy_strerror.
3636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3637 #define curl_easy_strerror innocuous_curl_easy_strerror
3638
3639 /* System header to define __stub macros and hopefully few prototypes,
3640 which can conflict with char curl_easy_strerror (); below.
3641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3642 <limits.h> exists even on freestanding compilers. */
3643
3644 #ifdef __STDC__
3645 # include <limits.h>
3646 #else
3647 # include <assert.h>
3648 #endif
3649
3650 #undef curl_easy_strerror
3651
3652 /* Override any GCC internal prototype to avoid an error.
3653 Use char because int might match the return type of a GCC
3654 builtin and then its argument prototype would still apply. */
3655 #ifdef __cplusplus
3656 extern "C"
3657 #endif
3658 char curl_easy_strerror ();
3659 /* The GNU C library defines this for functions which it implements
3660 to always fail with ENOSYS. Some functions are actually named
3661 something starting with __ and the normal name is an alias. */
3662 #if defined __stub_curl_easy_strerror || defined __stub___curl_easy_strerror
3663 choke me
3664 #endif
3665
3666 int
3667 main ()
3668 {
3669 return curl_easy_strerror ();
3670 ;
3671 return 0;
3672 }
3673 _ACEOF
3674 rm -f conftest.$ac_objext conftest$ac_exeext
3675 if { (ac_try="$ac_link"
3676 case "(($ac_try" in
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3679 esac
3680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3681 $as_echo "$ac_try_echo") >&5
3682 (eval "$ac_link") 2>conftest.er1
3683 ac_status=$?
3684 grep -v '^ *+' conftest.er1 >conftest.err
3685 rm -f conftest.er1
3686 cat conftest.err >&5
3687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); } && {
3689 test -z "$ac_c_werror_flag" ||
3690 test ! -s conftest.err
3691 } && test -s conftest$ac_exeext && {
3692 test "$cross_compiling" = yes ||
3693 $as_test_x conftest$ac_exeext
3694 }; then
3695 ac_cv_func_curl_easy_strerror=yes
3696 else
3697 $as_echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3699
3700 ac_cv_func_curl_easy_strerror=no
3701 fi
3702
3703 rm -rf conftest.dSYM
3704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3705 conftest$ac_exeext conftest.$ac_ext
3706 fi
3707 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_curl_easy_strerror" >&5
3708 $as_echo "$ac_cv_func_curl_easy_strerror" >&6; }
3709 if test "x$ac_cv_func_curl_easy_strerror" = x""yes; then
3710 :
3450 ac_fn_c_check_func "$LINENO" "curl_easy_setopt" "ac_cv_func_curl_easy_setopt"
3451 if test "x$ac_cv_func_curl_easy_setopt" = x""yes; then :
3452
3453 else
3454 as_fn_error "cURL $check_min or newer required \
3455 (cURL is available from http://curl.haxx.se/)" "$LINENO" 5
3456 fi
3457
3458
3459 ac_fn_c_check_func "$LINENO" "curl_easy_strerror" "ac_cv_func_curl_easy_strerror"
3460 if test "x$ac_cv_func_curl_easy_strerror" = x""yes; then :
3461
37113462 else
37123463 CURLCFLAGS="$CURLCFLAGS -D NEED_CURL_EASY_STRERROR"
37133464 fi
37143465
37153466
3716 { $as_echo "$as_me:$LINENO: checking for cURL SSL support" >&5
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cURL SSL support" >&5
37173468 $as_echo_n "checking for cURL SSL support... " >&6; }
37183469 if test XSSL != X`$CURL_CONFIG --feature|grep SSL`; then
3719 { { $as_echo "$as_me:$LINENO: error: no SSL
3720 cURL is available from http://curl.haxx.se/" >&5
3721 $as_echo "$as_me: error: no SSL
3722 cURL is available from http://curl.haxx.se/" >&2;}
3723 { (exit 1); exit 1; }; }
3724 else
3725 { $as_echo "$as_me:$LINENO: result: yes" >&5
3470 as_fn_error "no SSL
3471 cURL is available from http://curl.haxx.se/" "$LINENO" 5
3472 else
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37263474 $as_echo "yes" >&6; }
37273475 fi
37283476
37553503 case $ac_val in #(
37563504 *${as_nl}*)
37573505 case $ac_var in #(
3758 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3506 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
37593507 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
37603508 esac
37613509 case $ac_var in #(
37623510 _ | IFS | as_nl) ;; #(
37633511 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3764 *) $as_unset $ac_var ;;
3512 *) { eval $ac_var=; unset $ac_var;} ;;
37653513 esac ;;
37663514 esac
37673515 done
37693517 (set) 2>&1 |
37703518 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37713519 *${as_nl}ac_space=\ *)
3772 # `set' does not quote correctly, so add quotes (double-quote
3773 # substitution turns \\\\ into \\, and sed turns \\ into \).
3520 # `set' does not quote correctly, so add quotes: double-quote
3521 # substitution turns \\\\ into \\, and sed turns \\ into \.
37743522 sed -n \
37753523 "s/'/'\\\\''/g;
37763524 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37933541 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37943542 if test -w "$cache_file"; then
37953543 test "x$cache_file" != "x/dev/null" &&
3796 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
37973545 $as_echo "$as_me: updating cache $cache_file" >&6;}
37983546 cat confcache >$cache_file
37993547 else
3800 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
38013549 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38023550 fi
38033551 fi
38533601 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
38543602 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
38553603 # will be set to the directory where LIBOBJS objects are built.
3856 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3857 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3604 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3605 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
38583606 done
38593607 LIBOBJS=$ac_libobjs
38603608
38703618 fi
38713619
38723620 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3873 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3874 Usually this means the macro was only invoked conditionally." >&5
3875 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
3876 Usually this means the macro was only invoked conditionally." >&2;}
3877 { (exit 1); exit 1; }; }
3621 as_fn_error "conditional \"AMDEP\" was never defined.
3622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
38783623 fi
38793624 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3880 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3881 Usually this means the macro was only invoked conditionally." >&5
3882 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3883 Usually this means the macro was only invoked conditionally." >&2;}
3884 { (exit 1); exit 1; }; }
3625 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
38853627 fi
38863628
38873629 : ${CONFIG_STATUS=./config.status}
38883630 ac_write_fail=0
38893631 ac_clean_files_save=$ac_clean_files
38903632 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3891 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
38923634 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3893 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3635 as_write_fail=0
3636 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
38943637 #! $SHELL
38953638 # Generated by $as_me.
38963639 # Run this file to recreate the current configuration.
39003643 debug=false
39013644 ac_cs_recheck=false
39023645 ac_cs_silent=false
3646
39033647 SHELL=\${CONFIG_SHELL-$SHELL}
3904 _ACEOF
3905
3906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3907 ## --------------------- ##
3908 ## M4sh Initialization. ##
3909 ## --------------------- ##
3648 export SHELL
3649 _ASEOF
3650 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3651 ## -------------------- ##
3652 ## M4sh Initialization. ##
3653 ## -------------------- ##
39103654
39113655 # Be more Bourne compatible
39123656 DUALCASE=1; export DUALCASE # for MKS sh
3913 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3657 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
39143658 emulate sh
39153659 NULLCMD=:
39163660 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
39183662 alias -g '${1+"$@"}'='"$@"'
39193663 setopt NO_GLOB_SUBST
39203664 else
3921 case `(set -o) 2>/dev/null` in
3922 *posix*) set -o posix ;;
3665 case `(set -o) 2>/dev/null` in #(
3666 *posix*) :
3667 set -o posix ;; #(
3668 *) :
3669 ;;
39233670 esac
3924
3925 fi
3926
3927
3928
3929
3930 # PATH needs CR
3931 # Avoid depending upon Character Ranges.
3932 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3933 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3934 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3935 as_cr_digits='0123456789'
3936 as_cr_alnum=$as_cr_Letters$as_cr_digits
3671 fi
3672
39373673
39383674 as_nl='
39393675 '
39423678 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39433679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39443680 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3945 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3681 # Prefer a ksh shell builtin over an external printf program on Solaris,
3682 # but without wasting forks for bash or zsh.
3683 if test -z "$BASH_VERSION$ZSH_VERSION" \
3684 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3685 as_echo='print -r --'
3686 as_echo_n='print -rn --'
3687 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
39463688 as_echo='printf %s\n'
39473689 as_echo_n='printf %s'
39483690 else
39533695 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
39543696 as_echo_n_body='eval
39553697 arg=$1;
3956 case $arg in
3698 case $arg in #(
39573699 *"$as_nl"*)
39583700 expr "X$arg" : "X\\(.*\\)$as_nl";
39593701 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
39763718 }
39773719 fi
39783720
3979 # Support unset when possible.
3980 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3981 as_unset=unset
3982 else
3983 as_unset=false
3984 fi
3985
39863721
39873722 # IFS
39883723 # We need space, tab and new line, in precisely that order. Quoting is
39923727 IFS=" "" $as_nl"
39933728
39943729 # Find who we are. Look in the path if we contain no directory separator.
3995 case $0 in
3730 case $0 in #((
39963731 *[\\/]* ) as_myself=$0 ;;
39973732 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39983733 for as_dir in $PATH
39993734 do
40003735 IFS=$as_save_IFS
40013736 test -z "$as_dir" && as_dir=.
4002 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4003 done
3737 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3738 done
40043739 IFS=$as_save_IFS
40053740
40063741 ;;
40123747 fi
40133748 if test ! -f "$as_myself"; then
40143749 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4015 { (exit 1); exit 1; }
4016 fi
4017
4018 # Work around bugs in pre-3.0 UWIN ksh.
4019 for as_var in ENV MAIL MAILPATH
4020 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3750 exit 1
3751 fi
3752
3753 # Unset variables that we do not need and which cause bugs (e.g. in
3754 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3755 # suppresses any "Segmentation fault" message there. '((' could
3756 # trigger a bug in pdksh 5.2.14.
3757 for as_var in BASH_ENV ENV MAIL MAILPATH
3758 do eval test x\${$as_var+set} = xset \
3759 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
40213760 done
40223761 PS1='$ '
40233762 PS2='> '
40293768 LANGUAGE=C
40303769 export LANGUAGE
40313770
4032 # Required to use basename.
3771 # CDPATH.
3772 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3773
3774
3775 # as_fn_error ERROR [LINENO LOG_FD]
3776 # ---------------------------------
3777 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3778 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3779 # script with status $?, using 1 if that was 0.
3780 as_fn_error ()
3781 {
3782 as_status=$?; test $as_status -eq 0 && as_status=1
3783 if test "$3"; then
3784 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3785 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3786 fi
3787 $as_echo "$as_me: error: $1" >&2
3788 as_fn_exit $as_status
3789 } # as_fn_error
3790
3791
3792 # as_fn_set_status STATUS
3793 # -----------------------
3794 # Set $? to STATUS, without forking.
3795 as_fn_set_status ()
3796 {
3797 return $1
3798 } # as_fn_set_status
3799
3800 # as_fn_exit STATUS
3801 # -----------------
3802 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3803 as_fn_exit ()
3804 {
3805 set +e
3806 as_fn_set_status $1
3807 exit $1
3808 } # as_fn_exit
3809
3810 # as_fn_unset VAR
3811 # ---------------
3812 # Portably unset VAR.
3813 as_fn_unset ()
3814 {
3815 { eval $1=; unset $1;}
3816 }
3817 as_unset=as_fn_unset
3818 # as_fn_append VAR VALUE
3819 # ----------------------
3820 # Append the text in VALUE to the end of the definition contained in VAR. Take
3821 # advantage of any shell optimizations that allow amortized linear growth over
3822 # repeated appends, instead of the typical quadratic growth present in naive
3823 # implementations.
3824 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3825 eval 'as_fn_append ()
3826 {
3827 eval $1+=\$2
3828 }'
3829 else
3830 as_fn_append ()
3831 {
3832 eval $1=\$$1\$2
3833 }
3834 fi # as_fn_append
3835
3836 # as_fn_arith ARG...
3837 # ------------------
3838 # Perform arithmetic evaluation on the ARGs, and store the result in the
3839 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3840 # must be portable across $(()) and expr.
3841 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3842 eval 'as_fn_arith ()
3843 {
3844 as_val=$(( $* ))
3845 }'
3846 else
3847 as_fn_arith ()
3848 {
3849 as_val=`expr "$@" || test $? -eq 1`
3850 }
3851 fi # as_fn_arith
3852
3853
40333854 if expr a : '\(a\)' >/dev/null 2>&1 &&
40343855 test "X`expr 00001 : '.*\(...\)'`" = X001; then
40353856 as_expr=expr
40433864 as_basename=false
40443865 fi
40453866
4046
4047 # Name of the executable.
3867 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3868 as_dirname=dirname
3869 else
3870 as_dirname=false
3871 fi
3872
40483873 as_me=`$as_basename -- "$0" ||
40493874 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40503875 X"$0" : 'X\(//\)$' \| \
40643889 }
40653890 s/.*/./; q'`
40663891
4067 # CDPATH.
4068 $as_unset CDPATH
4069
4070
4071
4072 as_lineno_1=$LINENO
4073 as_lineno_2=$LINENO
4074 test "x$as_lineno_1" != "x$as_lineno_2" &&
4075 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4076
4077 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4078 # uniformly replaced by the line number. The first 'sed' inserts a
4079 # line-number line after each line using $LINENO; the second 'sed'
4080 # does the real work. The second script uses 'N' to pair each
4081 # line-number line with the line containing $LINENO, and appends
4082 # trailing '-' during substitution so that $LINENO is not a special
4083 # case at line end.
4084 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4085 # scripts with optimization help from Paolo Bonzini. Blame Lee
4086 # E. McMahon (1931-1989) for sed's syntax. :-)
4087 sed -n '
4088 p
4089 /[$]LINENO/=
4090 ' <$as_myself |
4091 sed '
4092 s/[$]LINENO.*/&-/
4093 t lineno
4094 b
4095 :lineno
4096 N
4097 :loop
4098 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4099 t loop
4100 s/-\n.*//
4101 ' >$as_me.lineno &&
4102 chmod +x "$as_me.lineno" ||
4103 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4104 { (exit 1); exit 1; }; }
4105
4106 # Don't try to exec as it changes $[0], causing all sort of problems
4107 # (the dirname of $[0] is not the place where we might find the
4108 # original and so on. Autoconf is especially sensitive to this).
4109 . "./$as_me.lineno"
4110 # Exit status is that of the last command.
4111 exit
4112 }
4113
4114
4115 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4116 as_dirname=dirname
4117 else
4118 as_dirname=false
4119 fi
3892 # Avoid depending upon Character Ranges.
3893 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3894 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3895 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3896 as_cr_digits='0123456789'
3897 as_cr_alnum=$as_cr_Letters$as_cr_digits
41203898
41213899 ECHO_C= ECHO_N= ECHO_T=
4122 case `echo -n x` in
3900 case `echo -n x` in #(((((
41233901 -n*)
4124 case `echo 'x\c'` in
3902 case `echo 'xy\c'` in
41253903 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4126 *) ECHO_C='\c';;
3904 xy) ECHO_C='\c';;
3905 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3906 ECHO_T=' ';;
41273907 esac;;
41283908 *)
41293909 ECHO_N='-n';;
41303910 esac
4131 if expr a : '\(a\)' >/dev/null 2>&1 &&
4132 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4133 as_expr=expr
4134 else
4135 as_expr=false
4136 fi
41373911
41383912 rm -f conf$$ conf$$.exe conf$$.file
41393913 if test -d conf$$.dir; then
41623936 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41633937 rmdir conf$$.dir 2>/dev/null
41643938
4165 if mkdir -p . 2>/dev/null; then
4166 as_mkdir_p=:
4167 else
4168 test -d ./-p && rmdir ./-p
4169 as_mkdir_p=false
4170 fi
4171
4172 if test -x / >/dev/null 2>&1; then
4173 as_test_x='test -x'
4174 else
4175 if ls -dL / >/dev/null 2>&1; then
4176 as_ls_L_option=L
4177 else
4178 as_ls_L_option=
4179 fi
4180 as_test_x='
4181 eval sh -c '\''
4182 if test -d "$1"; then
4183 test -d "$1/.";
4184 else
4185 case $1 in
4186 -*)set "./$1";;
4187 esac;
4188 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4189 ???[sx]*):;;*)false;;esac;fi
4190 '\'' sh
4191 '
4192 fi
4193 as_executable_p=$as_test_x
4194
4195 # Sed expression to map a string onto a valid CPP name.
4196 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4197
4198 # Sed expression to map a string onto a valid variable name.
4199 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4200
4201
4202 exec 6>&1
4203
4204 # Save the log message, to keep $[0] and so on meaningful, and to
4205 # report actual input values of CONFIG_FILES etc. instead of their
4206 # values after options handling.
4207 ac_log="
4208 This file was extended by $as_me, which was
4209 generated by GNU Autoconf 2.63. Invocation command line was
4210
4211 CONFIG_FILES = $CONFIG_FILES
4212 CONFIG_HEADERS = $CONFIG_HEADERS
4213 CONFIG_LINKS = $CONFIG_LINKS
4214 CONFIG_COMMANDS = $CONFIG_COMMANDS
4215 $ $0 $@
4216
4217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4218 "
4219
4220 _ACEOF
4221
4222 case $ac_config_files in *"
4223 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4224 esac
4225
4226
4227
4228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4229 # Files that config.status was made for.
4230 config_files="$ac_config_files"
4231 config_commands="$ac_config_commands"
4232
4233 _ACEOF
4234
4235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4236 ac_cs_usage="\
4237 \`$as_me' instantiates files from templates according to the
4238 current configuration.
4239
4240 Usage: $0 [OPTION]... [FILE]...
4241
4242 -h, --help print this help, then exit
4243 -V, --version print version number and configuration settings, then exit
4244 -q, --quiet, --silent
4245 do not print progress messages
4246 -d, --debug don't remove temporary files
4247 --recheck update $as_me by reconfiguring in the same conditions
4248 --file=FILE[:TEMPLATE]
4249 instantiate the configuration file FILE
4250
4251 Configuration files:
4252 $config_files
4253
4254 Configuration commands:
4255 $config_commands
4256
4257 Report bugs to <bug-autoconf@gnu.org>."
4258
4259 _ACEOF
4260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4261 ac_cs_version="\\
4262 config.status
4263 configured by $0, generated by GNU Autoconf 2.63,
4264 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4265
4266 Copyright (C) 2008 Free Software Foundation, Inc.
4267 This config.status script is free software; the Free Software Foundation
4268 gives unlimited permission to copy, distribute and modify it."
4269
4270 ac_pwd='$ac_pwd'
4271 srcdir='$srcdir'
4272 INSTALL='$INSTALL'
4273 MKDIR_P='$MKDIR_P'
4274 AWK='$AWK'
4275 test -n "\$AWK" || AWK=awk
4276 _ACEOF
4277
4278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4279 # The default lists apply if the user does not specify any file.
4280 ac_need_defaults=:
4281 while test $# != 0
4282 do
4283 case $1 in
4284 --*=*)
4285 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4286 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4287 ac_shift=:
4288 ;;
4289 *)
4290 ac_option=$1
4291 ac_optarg=$2
4292 ac_shift=shift
4293 ;;
4294 esac
4295
4296 case $ac_option in
4297 # Handling of the options.
4298 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4299 ac_cs_recheck=: ;;
4300 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4301 $as_echo "$ac_cs_version"; exit ;;
4302 --debug | --debu | --deb | --de | --d | -d )
4303 debug=: ;;
4304 --file | --fil | --fi | --f )
4305 $ac_shift
4306 case $ac_optarg in
4307 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4308 esac
4309 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4310 ac_need_defaults=false;;
4311 --he | --h | --help | --hel | -h )
4312 $as_echo "$ac_cs_usage"; exit ;;
4313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4314 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4315 ac_cs_silent=: ;;
4316
4317 # This is an error.
4318 -*) { $as_echo "$as_me: error: unrecognized option: $1
4319 Try \`$0 --help' for more information." >&2
4320 { (exit 1); exit 1; }; } ;;
4321
4322 *) ac_config_targets="$ac_config_targets $1"
4323 ac_need_defaults=false ;;
4324
4325 esac
4326 shift
4327 done
4328
4329 ac_configure_extra_args=
4330
4331 if $ac_cs_silent; then
4332 exec 6>/dev/null
4333 ac_configure_extra_args="$ac_configure_extra_args --silent"
4334 fi
4335
4336 _ACEOF
4337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4338 if \$ac_cs_recheck; then
4339 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4340 shift
4341 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4342 CONFIG_SHELL='$SHELL'
4343 export CONFIG_SHELL
4344 exec "\$@"
4345 fi
4346
4347 _ACEOF
4348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4349 exec 5>>config.log
3939
3940 # as_fn_mkdir_p
3941 # -------------
3942 # Create "$as_dir" as a directory, including parents if necessary.
3943 as_fn_mkdir_p ()
43503944 {
4351 echo
4352 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4353 ## Running $as_me. ##
4354 _ASBOX
4355 $as_echo "$ac_log"
4356 } >&5
4357
4358 _ACEOF
4359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4360 #
4361 # INIT-COMMANDS
4362 #
4363 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4364
4365 _ACEOF
4366
4367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4368
4369 # Handling of arguments.
4370 for ac_config_target in $ac_config_targets
4371 do
4372 case $ac_config_target in
4373 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4374 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4375
4376 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4377 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4378 { (exit 1); exit 1; }; };;
4379 esac
4380 done
4381
4382
4383 # If the user did not use the arguments to specify the items to instantiate,
4384 # then the envvar interface is used. Set only those that are not.
4385 # We use the long form for the default assignment because of an extremely
4386 # bizarre bug on SunOS 4.1.3.
4387 if $ac_need_defaults; then
4388 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4389 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4390 fi
4391
4392 # Have a temporary directory for convenience. Make it in the build tree
4393 # simply because there is no reason against having it here, and in addition,
4394 # creating and moving files from /tmp can sometimes cause problems.
4395 # Hook for its removal unless debugging.
4396 # Note that there is a small window in which the directory will not be cleaned:
4397 # after its creation but before its name has been assigned to `$tmp'.
4398 $debug ||
4399 {
4400 tmp=
4401 trap 'exit_status=$?
4402 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4403 ' 0
4404 trap '{ (exit 1); exit 1; }' 1 2 13 15
4405 }
4406 # Create a (secure) tmp directory for tmp files.
4407
4408 {
4409 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4410 test -n "$tmp" && test -d "$tmp"
4411 } ||
4412 {
4413 tmp=./conf$$-$RANDOM
4414 (umask 077 && mkdir "$tmp")
4415 } ||
4416 {
4417 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4418 { (exit 1); exit 1; }
4419 }
4420
4421 # Set up the scripts for CONFIG_FILES section.
4422 # No need to generate them if there are no CONFIG_FILES.
4423 # This happens for instance with `./config.status config.h'.
4424 if test -n "$CONFIG_FILES"; then
4425
4426
4427 ac_cr='
4428 '
4429 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4430 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4431 ac_cs_awk_cr='\\r'
4432 else
4433 ac_cs_awk_cr=$ac_cr
4434 fi
4435
4436 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4437 _ACEOF
4438
4439
4440 {
4441 echo "cat >conf$$subs.awk <<_ACEOF" &&
4442 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4443 echo "_ACEOF"
4444 } >conf$$subs.sh ||
4445 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4446 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4447 { (exit 1); exit 1; }; }
4448 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4449 ac_delim='%!_!# '
4450 for ac_last_try in false false false false false :; do
4451 . ./conf$$subs.sh ||
4452 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4453 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4454 { (exit 1); exit 1; }; }
4455
4456 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4457 if test $ac_delim_n = $ac_delim_num; then
4458 break
4459 elif $ac_last_try; then
4460 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4461 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4462 { (exit 1); exit 1; }; }
4463 else
4464 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4465 fi
4466 done
4467 rm -f conf$$subs.sh
4468
4469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4470 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4471 _ACEOF
4472 sed -n '
4473 h
4474 s/^/S["/; s/!.*/"]=/
4475 p
4476 g
4477 s/^[^!]*!//
4478 :repl
4479 t repl
4480 s/'"$ac_delim"'$//
4481 t delim
4482 :nl
4483 h
4484 s/\(.\{148\}\).*/\1/
4485 t more1
4486 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4487 p
4488 n
4489 b repl
4490 :more1
4491 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4492 p
4493 g
4494 s/.\{148\}//
4495 t nl
4496 :delim
4497 h
4498 s/\(.\{148\}\).*/\1/
4499 t more2
4500 s/["\\]/\\&/g; s/^/"/; s/$/"/
4501 p
4502 b
4503 :more2
4504 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4505 p
4506 g
4507 s/.\{148\}//
4508 t delim
4509 ' <conf$$subs.awk | sed '
4510 /^[^""]/{
4511 N
4512 s/\n//
4513 }
4514 ' >>$CONFIG_STATUS || ac_write_fail=1
4515 rm -f conf$$subs.awk
4516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4517 _ACAWK
4518 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4519 for (key in S) S_is_set[key] = 1
4520 FS = ""
4521
4522 }
4523 {
4524 line = $ 0
4525 nfields = split(line, field, "@")
4526 substed = 0
4527 len = length(field[1])
4528 for (i = 2; i < nfields; i++) {
4529 key = field[i]
4530 keylen = length(key)
4531 if (S_is_set[key]) {
4532 value = S[key]
4533 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4534 len += length(value) + length(field[++i])
4535 substed = 1
4536 } else
4537 len += 1 + keylen
4538 }
4539
4540 print line
4541 }
4542
4543 _ACAWK
4544 _ACEOF
4545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4546 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4547 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4548 else
4549 cat
4550 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4551 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4552 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4553 { (exit 1); exit 1; }; }
4554 _ACEOF
4555
4556 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4557 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4558 # trailing colons and then remove the whole line if VPATH becomes empty
4559 # (actually we leave an empty line to preserve line numbers).
4560 if test "x$srcdir" = x.; then
4561 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4562 s/:*\$(srcdir):*/:/
4563 s/:*\${srcdir}:*/:/
4564 s/:*@srcdir@:*/:/
4565 s/^\([^=]*=[ ]*\):*/\1/
4566 s/:*$//
4567 s/^[^=]*=[ ]*$//
4568 }'
4569 fi
4570
4571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4572 fi # test -n "$CONFIG_FILES"
4573
4574
4575 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4576 shift
4577 for ac_tag
4578 do
4579 case $ac_tag in
4580 :[FHLC]) ac_mode=$ac_tag; continue;;
4581 esac
4582 case $ac_mode$ac_tag in
4583 :[FHL]*:*);;
4584 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4585 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4586 { (exit 1); exit 1; }; };;
4587 :[FH]-) ac_tag=-:-;;
4588 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4589 esac
4590 ac_save_IFS=$IFS
4591 IFS=:
4592 set x $ac_tag
4593 IFS=$ac_save_IFS
4594 shift
4595 ac_file=$1
4596 shift
4597
4598 case $ac_mode in
4599 :L) ac_source=$1;;
4600 :[FH])
4601 ac_file_inputs=
4602 for ac_f
4603 do
4604 case $ac_f in
4605 -) ac_f="$tmp/stdin";;
4606 *) # Look for the file first in the build tree, then in the source tree
4607 # (if the path is not absolute). The absolute path cannot be DOS-style,
4608 # because $ac_f cannot contain `:'.
4609 test -f "$ac_f" ||
4610 case $ac_f in
4611 [\\/$]*) false;;
4612 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4613 esac ||
4614 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4615 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4616 { (exit 1); exit 1; }; };;
4617 esac
4618 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4619 ac_file_inputs="$ac_file_inputs '$ac_f'"
4620 done
4621
4622 # Let's still pretend it is `configure' which instantiates (i.e., don't
4623 # use $as_me), people would be surprised to read:
4624 # /* config.h. Generated by config.status. */
4625 configure_input='Generated from '`
4626 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4627 `' by configure.'
4628 if test x"$ac_file" != x-; then
4629 configure_input="$ac_file. $configure_input"
4630 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4631 $as_echo "$as_me: creating $ac_file" >&6;}
4632 fi
4633 # Neutralize special characters interpreted by sed in replacement strings.
4634 case $configure_input in #(
4635 *\&* | *\|* | *\\* )
4636 ac_sed_conf_input=`$as_echo "$configure_input" |
4637 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4638 *) ac_sed_conf_input=$configure_input;;
4639 esac
4640
4641 case $ac_tag in
4642 *:-:* | *:-) cat >"$tmp/stdin" \
4643 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4644 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4645 { (exit 1); exit 1; }; } ;;
4646 esac
4647 ;;
4648 esac
4649
4650 ac_dir=`$as_dirname -- "$ac_file" ||
4651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4652 X"$ac_file" : 'X\(//\)[^/]' \| \
4653 X"$ac_file" : 'X\(//\)$' \| \
4654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4655 $as_echo X"$ac_file" |
4656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4657 s//\1/
4658 q
4659 }
4660 /^X\(\/\/\)[^/].*/{
4661 s//\1/
4662 q
4663 }
4664 /^X\(\/\/\)$/{
4665 s//\1/
4666 q
4667 }
4668 /^X\(\/\).*/{
4669 s//\1/
4670 q
4671 }
4672 s/.*/./; q'`
4673 { as_dir="$ac_dir"
3945
46743946 case $as_dir in #(
46753947 -*) as_dir=./$as_dir;;
46763948 esac
4677 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3949 test -d "$as_dir" || eval $as_mkdir_p || {
46783950 as_dirs=
46793951 while :; do
46803952 case $as_dir in #(
47083980 test -d "$as_dir" && break
47093981 done
47103982 test -z "$as_dirs" || eval "mkdir $as_dirs"
4711 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4712 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4713 { (exit 1); exit 1; }; }; }
3983 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3984
3985
3986 } # as_fn_mkdir_p
3987 if mkdir -p . 2>/dev/null; then
3988 as_mkdir_p='mkdir -p "$as_dir"'
3989 else
3990 test -d ./-p && rmdir ./-p
3991 as_mkdir_p=false
3992 fi
3993
3994 if test -x / >/dev/null 2>&1; then
3995 as_test_x='test -x'
3996 else
3997 if ls -dL / >/dev/null 2>&1; then
3998 as_ls_L_option=L
3999 else
4000 as_ls_L_option=
4001 fi
4002 as_test_x='
4003 eval sh -c '\''
4004 if test -d "$1"; then
4005 test -d "$1/.";
4006 else
4007 case $1 in #(
4008 -*)set "./$1";;
4009 esac;
4010 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4011 ???[sx]*):;;*)false;;esac;fi
4012 '\'' sh
4013 '
4014 fi
4015 as_executable_p=$as_test_x
4016
4017 # Sed expression to map a string onto a valid CPP name.
4018 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4019
4020 # Sed expression to map a string onto a valid variable name.
4021 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4022
4023
4024 exec 6>&1
4025 ## ----------------------------------- ##
4026 ## Main body of $CONFIG_STATUS script. ##
4027 ## ----------------------------------- ##
4028 _ASEOF
4029 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4030
4031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4032 # Save the log message, to keep $0 and so on meaningful, and to
4033 # report actual input values of CONFIG_FILES etc. instead of their
4034 # values after options handling.
4035 ac_log="
4036 This file was extended by $as_me, which was
4037 generated by GNU Autoconf 2.65. Invocation command line was
4038
4039 CONFIG_FILES = $CONFIG_FILES
4040 CONFIG_HEADERS = $CONFIG_HEADERS
4041 CONFIG_LINKS = $CONFIG_LINKS
4042 CONFIG_COMMANDS = $CONFIG_COMMANDS
4043 $ $0 $@
4044
4045 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4046 "
4047
4048 _ACEOF
4049
4050 case $ac_config_files in *"
4051 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4052 esac
4053
4054
4055
4056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4057 # Files that config.status was made for.
4058 config_files="$ac_config_files"
4059 config_commands="$ac_config_commands"
4060
4061 _ACEOF
4062
4063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4064 ac_cs_usage="\
4065 \`$as_me' instantiates files and other configuration actions
4066 from templates according to the current configuration. Unless the files
4067 and actions are specified as TAGs, all are instantiated by default.
4068
4069 Usage: $0 [OPTION]... [TAG]...
4070
4071 -h, --help print this help, then exit
4072 -V, --version print version number and configuration settings, then exit
4073 --config print configuration, then exit
4074 -q, --quiet, --silent
4075 do not print progress messages
4076 -d, --debug don't remove temporary files
4077 --recheck update $as_me by reconfiguring in the same conditions
4078 --file=FILE[:TEMPLATE]
4079 instantiate the configuration file FILE
4080
4081 Configuration files:
4082 $config_files
4083
4084 Configuration commands:
4085 $config_commands
4086
4087 Report bugs to the package provider."
4088
4089 _ACEOF
4090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4091 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4092 ac_cs_version="\\
4093 config.status
4094 configured by $0, generated by GNU Autoconf 2.65,
4095 with options \\"\$ac_cs_config\\"
4096
4097 Copyright (C) 2009 Free Software Foundation, Inc.
4098 This config.status script is free software; the Free Software Foundation
4099 gives unlimited permission to copy, distribute and modify it."
4100
4101 ac_pwd='$ac_pwd'
4102 srcdir='$srcdir'
4103 INSTALL='$INSTALL'
4104 MKDIR_P='$MKDIR_P'
4105 AWK='$AWK'
4106 test -n "\$AWK" || AWK=awk
4107 _ACEOF
4108
4109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4110 # The default lists apply if the user does not specify any file.
4111 ac_need_defaults=:
4112 while test $# != 0
4113 do
4114 case $1 in
4115 --*=*)
4116 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4117 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4118 ac_shift=:
4119 ;;
4120 *)
4121 ac_option=$1
4122 ac_optarg=$2
4123 ac_shift=shift
4124 ;;
4125 esac
4126
4127 case $ac_option in
4128 # Handling of the options.
4129 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4130 ac_cs_recheck=: ;;
4131 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4132 $as_echo "$ac_cs_version"; exit ;;
4133 --config | --confi | --conf | --con | --co | --c )
4134 $as_echo "$ac_cs_config"; exit ;;
4135 --debug | --debu | --deb | --de | --d | -d )
4136 debug=: ;;
4137 --file | --fil | --fi | --f )
4138 $ac_shift
4139 case $ac_optarg in
4140 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4141 esac
4142 as_fn_append CONFIG_FILES " '$ac_optarg'"
4143 ac_need_defaults=false;;
4144 --he | --h | --help | --hel | -h )
4145 $as_echo "$ac_cs_usage"; exit ;;
4146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4147 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4148 ac_cs_silent=: ;;
4149
4150 # This is an error.
4151 -*) as_fn_error "unrecognized option: \`$1'
4152 Try \`$0 --help' for more information." ;;
4153
4154 *) as_fn_append ac_config_targets " $1"
4155 ac_need_defaults=false ;;
4156
4157 esac
4158 shift
4159 done
4160
4161 ac_configure_extra_args=
4162
4163 if $ac_cs_silent; then
4164 exec 6>/dev/null
4165 ac_configure_extra_args="$ac_configure_extra_args --silent"
4166 fi
4167
4168 _ACEOF
4169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4170 if \$ac_cs_recheck; then
4171 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4172 shift
4173 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4174 CONFIG_SHELL='$SHELL'
4175 export CONFIG_SHELL
4176 exec "\$@"
4177 fi
4178
4179 _ACEOF
4180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4181 exec 5>>config.log
4182 {
4183 echo
4184 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4185 ## Running $as_me. ##
4186 _ASBOX
4187 $as_echo "$ac_log"
4188 } >&5
4189
4190 _ACEOF
4191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4192 #
4193 # INIT-COMMANDS
4194 #
4195 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4196
4197 _ACEOF
4198
4199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4200
4201 # Handling of arguments.
4202 for ac_config_target in $ac_config_targets
4203 do
4204 case $ac_config_target in
4205 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4206 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4207
4208 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4209 esac
4210 done
4211
4212
4213 # If the user did not use the arguments to specify the items to instantiate,
4214 # then the envvar interface is used. Set only those that are not.
4215 # We use the long form for the default assignment because of an extremely
4216 # bizarre bug on SunOS 4.1.3.
4217 if $ac_need_defaults; then
4218 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4219 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4220 fi
4221
4222 # Have a temporary directory for convenience. Make it in the build tree
4223 # simply because there is no reason against having it here, and in addition,
4224 # creating and moving files from /tmp can sometimes cause problems.
4225 # Hook for its removal unless debugging.
4226 # Note that there is a small window in which the directory will not be cleaned:
4227 # after its creation but before its name has been assigned to `$tmp'.
4228 $debug ||
4229 {
4230 tmp=
4231 trap 'exit_status=$?
4232 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4233 ' 0
4234 trap 'as_fn_exit 1' 1 2 13 15
4235 }
4236 # Create a (secure) tmp directory for tmp files.
4237
4238 {
4239 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4240 test -n "$tmp" && test -d "$tmp"
4241 } ||
4242 {
4243 tmp=./conf$$-$RANDOM
4244 (umask 077 && mkdir "$tmp")
4245 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4246
4247 # Set up the scripts for CONFIG_FILES section.
4248 # No need to generate them if there are no CONFIG_FILES.
4249 # This happens for instance with `./config.status config.h'.
4250 if test -n "$CONFIG_FILES"; then
4251
4252
4253 ac_cr=`echo X | tr X '\015'`
4254 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4255 # But we know of no other shell where ac_cr would be empty at this
4256 # point, so we can use a bashism as a fallback.
4257 if test "x$ac_cr" = x; then
4258 eval ac_cr=\$\'\\r\'
4259 fi
4260 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4261 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4262 ac_cs_awk_cr='\r'
4263 else
4264 ac_cs_awk_cr=$ac_cr
4265 fi
4266
4267 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4268 _ACEOF
4269
4270
4271 {
4272 echo "cat >conf$$subs.awk <<_ACEOF" &&
4273 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4274 echo "_ACEOF"
4275 } >conf$$subs.sh ||
4276 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4277 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4278 ac_delim='%!_!# '
4279 for ac_last_try in false false false false false :; do
4280 . ./conf$$subs.sh ||
4281 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4282
4283 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4284 if test $ac_delim_n = $ac_delim_num; then
4285 break
4286 elif $ac_last_try; then
4287 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4288 else
4289 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4290 fi
4291 done
4292 rm -f conf$$subs.sh
4293
4294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4295 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4296 _ACEOF
4297 sed -n '
4298 h
4299 s/^/S["/; s/!.*/"]=/
4300 p
4301 g
4302 s/^[^!]*!//
4303 :repl
4304 t repl
4305 s/'"$ac_delim"'$//
4306 t delim
4307 :nl
4308 h
4309 s/\(.\{148\}\)..*/\1/
4310 t more1
4311 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4312 p
4313 n
4314 b repl
4315 :more1
4316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4317 p
4318 g
4319 s/.\{148\}//
4320 t nl
4321 :delim
4322 h
4323 s/\(.\{148\}\)..*/\1/
4324 t more2
4325 s/["\\]/\\&/g; s/^/"/; s/$/"/
4326 p
4327 b
4328 :more2
4329 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4330 p
4331 g
4332 s/.\{148\}//
4333 t delim
4334 ' <conf$$subs.awk | sed '
4335 /^[^""]/{
4336 N
4337 s/\n//
4338 }
4339 ' >>$CONFIG_STATUS || ac_write_fail=1
4340 rm -f conf$$subs.awk
4341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4342 _ACAWK
4343 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4344 for (key in S) S_is_set[key] = 1
4345 FS = ""
4346
4347 }
4348 {
4349 line = $ 0
4350 nfields = split(line, field, "@")
4351 substed = 0
4352 len = length(field[1])
4353 for (i = 2; i < nfields; i++) {
4354 key = field[i]
4355 keylen = length(key)
4356 if (S_is_set[key]) {
4357 value = S[key]
4358 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4359 len += length(value) + length(field[++i])
4360 substed = 1
4361 } else
4362 len += 1 + keylen
4363 }
4364
4365 print line
4366 }
4367
4368 _ACAWK
4369 _ACEOF
4370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4371 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4372 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4373 else
4374 cat
4375 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4376 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4377 _ACEOF
4378
4379 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4380 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4381 # trailing colons and then remove the whole line if VPATH becomes empty
4382 # (actually we leave an empty line to preserve line numbers).
4383 if test "x$srcdir" = x.; then
4384 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4385 s/:*\$(srcdir):*/:/
4386 s/:*\${srcdir}:*/:/
4387 s/:*@srcdir@:*/:/
4388 s/^\([^=]*=[ ]*\):*/\1/
4389 s/:*$//
4390 s/^[^=]*=[ ]*$//
4391 }'
4392 fi
4393
4394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4395 fi # test -n "$CONFIG_FILES"
4396
4397
4398 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4399 shift
4400 for ac_tag
4401 do
4402 case $ac_tag in
4403 :[FHLC]) ac_mode=$ac_tag; continue;;
4404 esac
4405 case $ac_mode$ac_tag in
4406 :[FHL]*:*);;
4407 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4408 :[FH]-) ac_tag=-:-;;
4409 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4410 esac
4411 ac_save_IFS=$IFS
4412 IFS=:
4413 set x $ac_tag
4414 IFS=$ac_save_IFS
4415 shift
4416 ac_file=$1
4417 shift
4418
4419 case $ac_mode in
4420 :L) ac_source=$1;;
4421 :[FH])
4422 ac_file_inputs=
4423 for ac_f
4424 do
4425 case $ac_f in
4426 -) ac_f="$tmp/stdin";;
4427 *) # Look for the file first in the build tree, then in the source tree
4428 # (if the path is not absolute). The absolute path cannot be DOS-style,
4429 # because $ac_f cannot contain `:'.
4430 test -f "$ac_f" ||
4431 case $ac_f in
4432 [\\/$]*) false;;
4433 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4434 esac ||
4435 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4436 esac
4437 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4438 as_fn_append ac_file_inputs " '$ac_f'"
4439 done
4440
4441 # Let's still pretend it is `configure' which instantiates (i.e., don't
4442 # use $as_me), people would be surprised to read:
4443 # /* config.h. Generated by config.status. */
4444 configure_input='Generated from '`
4445 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4446 `' by configure.'
4447 if test x"$ac_file" != x-; then
4448 configure_input="$ac_file. $configure_input"
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4450 $as_echo "$as_me: creating $ac_file" >&6;}
4451 fi
4452 # Neutralize special characters interpreted by sed in replacement strings.
4453 case $configure_input in #(
4454 *\&* | *\|* | *\\* )
4455 ac_sed_conf_input=`$as_echo "$configure_input" |
4456 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4457 *) ac_sed_conf_input=$configure_input;;
4458 esac
4459
4460 case $ac_tag in
4461 *:-:* | *:-) cat >"$tmp/stdin" \
4462 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4463 esac
4464 ;;
4465 esac
4466
4467 ac_dir=`$as_dirname -- "$ac_file" ||
4468 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4469 X"$ac_file" : 'X\(//\)[^/]' \| \
4470 X"$ac_file" : 'X\(//\)$' \| \
4471 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4472 $as_echo X"$ac_file" |
4473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4474 s//\1/
4475 q
4476 }
4477 /^X\(\/\/\)[^/].*/{
4478 s//\1/
4479 q
4480 }
4481 /^X\(\/\/\)$/{
4482 s//\1/
4483 q
4484 }
4485 /^X\(\/\).*/{
4486 s//\1/
4487 q
4488 }
4489 s/.*/./; q'`
4490 as_dir="$ac_dir"; as_fn_mkdir_p
47144491 ac_builddir=.
47154492
47164493 case "$ac_dir" in
47674544 # If the template does not know about datarootdir, expand it.
47684545 # FIXME: This hack should be removed a few years after 2.60.
47694546 ac_datarootdir_hack=; ac_datarootdir_seen=
4770
47714547 ac_sed_dataroot='
47724548 /datarootdir/ {
47734549 p
47774553 /@docdir@/p
47784554 /@infodir@/p
47794555 /@localedir@/p
4780 /@mandir@/p
4781 '
4556 /@mandir@/p'
47824557 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
47834558 *datarootdir*) ac_datarootdir_seen=yes;;
47844559 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4785 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
47864561 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
47874562 _ACEOF
47884563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47924567 s&@infodir@&$infodir&g
47934568 s&@localedir@&$localedir&g
47944569 s&@mandir@&$mandir&g
4795 s&\\\${datarootdir}&$datarootdir&g' ;;
4570 s&\\\${datarootdir}&$datarootdir&g' ;;
47964571 esac
47974572 _ACEOF
47984573
48214596 $ac_datarootdir_hack
48224597 "
48234598 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4824 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4825 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4826 { (exit 1); exit 1; }; }
4599 || as_fn_error "could not create $ac_file" "$LINENO" 5
48274600
48284601 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
48294602 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
48304603 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4831 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
48324605 which seems to be undefined. Please make sure it is defined." >&5
48334606 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
48344607 which seems to be undefined. Please make sure it is defined." >&2;}
48384611 -) cat "$tmp/out" && rm -f "$tmp/out";;
48394612 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
48404613 esac \
4841 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4842 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4843 { (exit 1); exit 1; }; }
4614 || as_fn_error "could not create $ac_file" "$LINENO" 5
48444615 ;;
48454616
48464617
4847 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
4618 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
48484619 $as_echo "$as_me: executing $ac_file commands" >&6;}
48494620 ;;
48504621 esac
49394710 q
49404711 }
49414712 s/.*/./; q'`
4942 { as_dir=$dirpart/$fdir
4943 case $as_dir in #(
4944 -*) as_dir=./$as_dir;;
4945 esac
4946 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4947 as_dirs=
4948 while :; do
4949 case $as_dir in #(
4950 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4951 *) as_qdir=$as_dir;;
4952 esac
4953 as_dirs="'$as_qdir' $as_dirs"
4954 as_dir=`$as_dirname -- "$as_dir" ||
4955 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4956 X"$as_dir" : 'X\(//\)[^/]' \| \
4957 X"$as_dir" : 'X\(//\)$' \| \
4958 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4959 $as_echo X"$as_dir" |
4960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4961 s//\1/
4962 q
4963 }
4964 /^X\(\/\/\)[^/].*/{
4965 s//\1/
4966 q
4967 }
4968 /^X\(\/\/\)$/{
4969 s//\1/
4970 q
4971 }
4972 /^X\(\/\).*/{
4973 s//\1/
4974 q
4975 }
4976 s/.*/./; q'`
4977 test -d "$as_dir" && break
4978 done
4979 test -z "$as_dirs" || eval "mkdir $as_dirs"
4980 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4981 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4982 { (exit 1); exit 1; }; }; }
4713 as_dir=$dirpart/$fdir; as_fn_mkdir_p
49834714 # echo "creating $dirpart/$file"
49844715 echo '# dummy' > "$dirpart/$file"
49854716 done
49914722 done # for ac_tag
49924723
49934724
4994 { (exit 0); exit 0; }
4725 as_fn_exit 0
49954726 _ACEOF
4996 chmod +x $CONFIG_STATUS
49974727 ac_clean_files=$ac_clean_files_save
49984728
49994729 test $ac_write_fail = 0 ||
5000 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5001 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5002 { (exit 1); exit 1; }; }
4730 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
50034731
50044732
50054733 # configure is writing to config.log, and then calls config.status.
50204748 exec 5>>config.log
50214749 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50224750 # would make configure fail if this is the last instruction.
5023 $ac_cs_success || { (exit 1); exit 1; }
4751 $ac_cs_success || as_fn_exit $?
50244752 fi
50254753 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5026 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
50274755 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
50284756 fi
50294757
00 AC_INIT(esniper.c)
1 AM_INIT_AUTOMAKE(esniper,2.25.0)
1 AM_INIT_AUTOMAKE(esniper,2.26.0)
22 AC_PROG_CC
33 AC_PROG_MAKE_SET
44