Debian Codegraph @

configure

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