Add default Smack manifest for xorg-x11-proto-trapproto.spec
[pkgs/xorg/proto/x11proto-trap.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for TrapProto 3.4.3.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44   echo "#! /bin/sh" >conf$$.sh
45   echo  "exit 0"   >>conf$$.sh
46   chmod +x conf$$.sh
47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48     PATH_SEPARATOR=';'
49   else
50     PATH_SEPARATOR=:
51   fi
52   rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order.  Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" ""        $as_nl"
71
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84      ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89   as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93   { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108   LC_TELEPHONE LC_TIME
109 do
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135          X"$0" : 'X\(//\)$' \| \
136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138     sed '/^.*\/\([^/][^/]*\)\/*$/{
139             s//\1/
140             q
141           }
142           /^X\/\(\/\/\)$/{
143             s//\1/
144             q
145           }
146           /^X\/\(\/\).*/{
147             s//\1/
148             q
149           }
150           s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157   if (eval ":") 2>/dev/null; then
158   as_have_required=yes
159 else
160   as_have_required=no
161 fi
162
163   if test $as_have_required = yes &&     (eval ":
164 (as_func_return () {
165   (exit \$1)
166 }
167 as_func_success () {
168   as_func_return 0
169 }
170 as_func_failure () {
171   as_func_return 1
172 }
173 as_func_ret_success () {
174   return 0
175 }
176 as_func_ret_failure () {
177   return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182   :
183 else
184   exitcode=1
185   echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189   exitcode=1
190   echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194   :
195 else
196   exitcode=1
197   echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201   exitcode=1
202   echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206   :
207 else
208   exitcode=1
209   echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215   as_lineno_1=\$LINENO
216   as_lineno_2=\$LINENO
217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220   :
221 else
222   as_candidate_shells=
223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226   IFS=$as_save_IFS
227   test -z "$as_dir" && as_dir=.
228   case $as_dir in
229          /*)
230            for as_base in sh bash ksh sh5; do
231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232            done;;
233        esac
234 done
235 IFS=$as_save_IFS
236
237
238       for as_shell in $as_candidate_shells $SHELL; do
239          # Try only shells that exist, to save several forks.
240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243   emulate sh
244   NULLCMD=:
245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246   # is contrary to our usage.  Disable this feature.
247   alias -g '${1+"$@"}'='"$@"'
248   setopt NO_GLOB_SUBST
249 else
250   case `(set -o) 2>/dev/null` in
251   *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260   CONFIG_SHELL=$as_shell
261                as_have_required=yes
262                if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264   emulate sh
265   NULLCMD=:
266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267   # is contrary to our usage.  Disable this feature.
268   alias -g '${1+"$@"}'='"$@"'
269   setopt NO_GLOB_SUBST
270 else
271   case `(set -o) 2>/dev/null` in
272   *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280   (exit $1)
281 }
282 as_func_success () {
283   as_func_return 0
284 }
285 as_func_failure () {
286   as_func_return 1
287 }
288 as_func_ret_success () {
289   return 0
290 }
291 as_func_ret_failure () {
292   return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297   :
298 else
299   exitcode=1
300   echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304   exitcode=1
305   echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309   :
310 else
311   exitcode=1
312   echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316   exitcode=1
317   echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321   :
322 else
323   exitcode=1
324   echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330   as_lineno_1=$LINENO
331   as_lineno_2=$LINENO
332   test "x$as_lineno_1" != "x$as_lineno_2" &&
333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337   break
338 fi
339
340 fi
341
342       done
343
344       if test "x$CONFIG_SHELL" != x; then
345   for as_var in BASH_ENV ENV
346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347         done
348         export CONFIG_SHELL
349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353     if test $as_have_required = no; then
354   echo This script requires a shell more modern than all the
355       echo shells that I found on your system.  Please install a
356       echo modern shell, or manually run the script under such a
357       echo shell if you do have one.
358       { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369   (exit \$1)
370 }
371 as_func_success () {
372   as_func_return 0
373 }
374 as_func_failure () {
375   as_func_return 1
376 }
377 as_func_ret_success () {
378   return 0
379 }
380 as_func_ret_failure () {
381   return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386   :
387 else
388   exitcode=1
389   echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393   exitcode=1
394   echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398   :
399 else
400   exitcode=1
401   echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405   exitcode=1
406   echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410   :
411 else
412   exitcode=1
413   echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417   echo No shell found that supports shell functions.
418   echo Please tell autoconf@gnu.org about your system,
419   echo including any error possibly output before this
420   echo message
421 }
422
423
424
425   as_lineno_1=$LINENO
426   as_lineno_2=$LINENO
427   test "x$as_lineno_1" != "x$as_lineno_2" &&
428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431   # uniformly replaced by the line number.  The first 'sed' inserts a
432   # line-number line after each line using $LINENO; the second 'sed'
433   # does the real work.  The second script uses 'N' to pair each
434   # line-number line with the line containing $LINENO, and appends
435   # trailing '-' during substitution so that $LINENO is not a special
436   # case at line end.
437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
439   # E. McMahon (1931-1989) for sed's syntax.  :-)
440   sed -n '
441     p
442     /[$]LINENO/=
443   ' <$as_myself |
444     sed '
445       s/[$]LINENO.*/&-/
446       t lineno
447       b
448       :lineno
449       N
450       :loop
451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452       t loop
453       s/-\n.*//
454     ' >$as_me.lineno &&
455   chmod +x "$as_me.lineno" ||
456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457    { (exit 1); exit 1; }; }
458
459   # Don't try to exec as it changes $[0], causing all sort of problems
460   # (the dirname of $[0] is not the place where we might find the
461   # original and so on.  Autoconf is especially sensitive to this).
462   . "./$as_me.lineno"
463   # Exit status is that of the last command.
464   exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469   as_dirname=dirname
470 else
471   as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477   case `echo 'x\c'` in
478   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479   *)   ECHO_C='\c';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
487   as_expr=expr
488 else
489   as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494   rm -f conf$$.dir/conf$$.file
495 else
496   rm -f conf$$.dir
497   mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501   as_ln_s='ln -s'
502   # ... but there are two gotchas:
503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505   # In both cases, we have to default to `cp -p'.
506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507     as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509   as_ln_s=ln
510 else
511   as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517   as_mkdir_p=:
518 else
519   test -d ./-p && rmdir ./-p
520   as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524   as_test_x='test -x'
525 else
526   if ls -dL / >/dev/null 2>&1; then
527     as_ls_L_option=L
528   else
529     as_ls_L_option=
530   fi
531   as_test_x='
532     eval sh -c '\''
533       if test -d "$1"; then
534         test -d "$1/.";
535       else
536         case $1 in
537         -*)set "./$1";;
538         esac;
539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540         ???[sx]*):;;*)false;;esac;fi
541     '\'' sh
542   '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='TrapProto'
576 PACKAGE_TARNAME='trapproto'
577 PACKAGE_VERSION='3.4.3'
578 PACKAGE_STRING='TrapProto 3.4.3'
579 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
580
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 INSTALL_PROGRAM
619 INSTALL_SCRIPT
620 INSTALL_DATA
621 CYGPATH_W
622 PACKAGE
623 VERSION
624 ACLOCAL
625 AUTOCONF
626 AUTOMAKE
627 AUTOHEADER
628 MAKEINFO
629 AMTAR
630 install_sh
631 STRIP
632 INSTALL_STRIP_PROGRAM
633 AWK
634 SET_MAKE
635 am__leading_dot
636 LIBOBJS
637 LTLIBOBJS'
638 ac_subst_files=''
639       ac_precious_vars='build_alias
640 host_alias
641 target_alias'
642
643
644 # Initialize some variables set by options.
645 ac_init_help=
646 ac_init_version=false
647 # The variables have the same names as the options, with
648 # dashes changed to underlines.
649 cache_file=/dev/null
650 exec_prefix=NONE
651 no_create=
652 no_recursion=
653 prefix=NONE
654 program_prefix=NONE
655 program_suffix=NONE
656 program_transform_name=s,x,x,
657 silent=
658 site=
659 srcdir=
660 verbose=
661 x_includes=NONE
662 x_libraries=NONE
663
664 # Installation directory options.
665 # These are left unexpanded so users can "make install exec_prefix=/foo"
666 # and all the variables that are supposed to be based on exec_prefix
667 # by default will actually change.
668 # Use braces instead of parens because sh, perl, etc. also accept them.
669 # (The list follows the same order as the GNU Coding Standards.)
670 bindir='${exec_prefix}/bin'
671 sbindir='${exec_prefix}/sbin'
672 libexecdir='${exec_prefix}/libexec'
673 datarootdir='${prefix}/share'
674 datadir='${datarootdir}'
675 sysconfdir='${prefix}/etc'
676 sharedstatedir='${prefix}/com'
677 localstatedir='${prefix}/var'
678 includedir='${prefix}/include'
679 oldincludedir='/usr/include'
680 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
681 infodir='${datarootdir}/info'
682 htmldir='${docdir}'
683 dvidir='${docdir}'
684 pdfdir='${docdir}'
685 psdir='${docdir}'
686 libdir='${exec_prefix}/lib'
687 localedir='${datarootdir}/locale'
688 mandir='${datarootdir}/man'
689
690 ac_prev=
691 ac_dashdash=
692 for ac_option
693 do
694   # If the previous option needs an argument, assign it.
695   if test -n "$ac_prev"; then
696     eval $ac_prev=\$ac_option
697     ac_prev=
698     continue
699   fi
700
701   case $ac_option in
702   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
703   *)    ac_optarg=yes ;;
704   esac
705
706   # Accept the important Cygnus configure options, so we can diagnose typos.
707
708   case $ac_dashdash$ac_option in
709   --)
710     ac_dashdash=yes ;;
711
712   -bindir | --bindir | --bindi | --bind | --bin | --bi)
713     ac_prev=bindir ;;
714   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
715     bindir=$ac_optarg ;;
716
717   -build | --build | --buil | --bui | --bu)
718     ac_prev=build_alias ;;
719   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
720     build_alias=$ac_optarg ;;
721
722   -cache-file | --cache-file | --cache-fil | --cache-fi \
723   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
724     ac_prev=cache_file ;;
725   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
726   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
727     cache_file=$ac_optarg ;;
728
729   --config-cache | -C)
730     cache_file=config.cache ;;
731
732   -datadir | --datadir | --datadi | --datad)
733     ac_prev=datadir ;;
734   -datadir=* | --datadir=* | --datadi=* | --datad=*)
735     datadir=$ac_optarg ;;
736
737   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
738   | --dataroo | --dataro | --datar)
739     ac_prev=datarootdir ;;
740   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
741   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
742     datarootdir=$ac_optarg ;;
743
744   -disable-* | --disable-*)
745     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
746     # Reject names that are not valid shell variable names.
747     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
748       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
749    { (exit 1); exit 1; }; }
750     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
751     eval enable_$ac_feature=no ;;
752
753   -docdir | --docdir | --docdi | --doc | --do)
754     ac_prev=docdir ;;
755   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
756     docdir=$ac_optarg ;;
757
758   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
759     ac_prev=dvidir ;;
760   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
761     dvidir=$ac_optarg ;;
762
763   -enable-* | --enable-*)
764     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
765     # Reject names that are not valid shell variable names.
766     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
767       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
768    { (exit 1); exit 1; }; }
769     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
770     eval enable_$ac_feature=\$ac_optarg ;;
771
772   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
773   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
774   | --exec | --exe | --ex)
775     ac_prev=exec_prefix ;;
776   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
777   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
778   | --exec=* | --exe=* | --ex=*)
779     exec_prefix=$ac_optarg ;;
780
781   -gas | --gas | --ga | --g)
782     # Obsolete; use --with-gas.
783     with_gas=yes ;;
784
785   -help | --help | --hel | --he | -h)
786     ac_init_help=long ;;
787   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
788     ac_init_help=recursive ;;
789   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
790     ac_init_help=short ;;
791
792   -host | --host | --hos | --ho)
793     ac_prev=host_alias ;;
794   -host=* | --host=* | --hos=* | --ho=*)
795     host_alias=$ac_optarg ;;
796
797   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
798     ac_prev=htmldir ;;
799   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
800   | --ht=*)
801     htmldir=$ac_optarg ;;
802
803   -includedir | --includedir | --includedi | --included | --include \
804   | --includ | --inclu | --incl | --inc)
805     ac_prev=includedir ;;
806   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
807   | --includ=* | --inclu=* | --incl=* | --inc=*)
808     includedir=$ac_optarg ;;
809
810   -infodir | --infodir | --infodi | --infod | --info | --inf)
811     ac_prev=infodir ;;
812   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
813     infodir=$ac_optarg ;;
814
815   -libdir | --libdir | --libdi | --libd)
816     ac_prev=libdir ;;
817   -libdir=* | --libdir=* | --libdi=* | --libd=*)
818     libdir=$ac_optarg ;;
819
820   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
821   | --libexe | --libex | --libe)
822     ac_prev=libexecdir ;;
823   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
824   | --libexe=* | --libex=* | --libe=*)
825     libexecdir=$ac_optarg ;;
826
827   -localedir | --localedir | --localedi | --localed | --locale)
828     ac_prev=localedir ;;
829   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
830     localedir=$ac_optarg ;;
831
832   -localstatedir | --localstatedir | --localstatedi | --localstated \
833   | --localstate | --localstat | --localsta | --localst | --locals)
834     ac_prev=localstatedir ;;
835   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
836   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
837     localstatedir=$ac_optarg ;;
838
839   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
840     ac_prev=mandir ;;
841   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
842     mandir=$ac_optarg ;;
843
844   -nfp | --nfp | --nf)
845     # Obsolete; use --without-fp.
846     with_fp=no ;;
847
848   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
849   | --no-cr | --no-c | -n)
850     no_create=yes ;;
851
852   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
853   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
854     no_recursion=yes ;;
855
856   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
857   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
858   | --oldin | --oldi | --old | --ol | --o)
859     ac_prev=oldincludedir ;;
860   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
861   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
862   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
863     oldincludedir=$ac_optarg ;;
864
865   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
866     ac_prev=prefix ;;
867   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
868     prefix=$ac_optarg ;;
869
870   -program-prefix | --program-prefix | --program-prefi | --program-pref \
871   | --program-pre | --program-pr | --program-p)
872     ac_prev=program_prefix ;;
873   -program-prefix=* | --program-prefix=* | --program-prefi=* \
874   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
875     program_prefix=$ac_optarg ;;
876
877   -program-suffix | --program-suffix | --program-suffi | --program-suff \
878   | --program-suf | --program-su | --program-s)
879     ac_prev=program_suffix ;;
880   -program-suffix=* | --program-suffix=* | --program-suffi=* \
881   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
882     program_suffix=$ac_optarg ;;
883
884   -program-transform-name | --program-transform-name \
885   | --program-transform-nam | --program-transform-na \
886   | --program-transform-n | --program-transform- \
887   | --program-transform | --program-transfor \
888   | --program-transfo | --program-transf \
889   | --program-trans | --program-tran \
890   | --progr-tra | --program-tr | --program-t)
891     ac_prev=program_transform_name ;;
892   -program-transform-name=* | --program-transform-name=* \
893   | --program-transform-nam=* | --program-transform-na=* \
894   | --program-transform-n=* | --program-transform-=* \
895   | --program-transform=* | --program-transfor=* \
896   | --program-transfo=* | --program-transf=* \
897   | --program-trans=* | --program-tran=* \
898   | --progr-tra=* | --program-tr=* | --program-t=*)
899     program_transform_name=$ac_optarg ;;
900
901   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
902     ac_prev=pdfdir ;;
903   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
904     pdfdir=$ac_optarg ;;
905
906   -psdir | --psdir | --psdi | --psd | --ps)
907     ac_prev=psdir ;;
908   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
909     psdir=$ac_optarg ;;
910
911   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
912   | -silent | --silent | --silen | --sile | --sil)
913     silent=yes ;;
914
915   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
916     ac_prev=sbindir ;;
917   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
918   | --sbi=* | --sb=*)
919     sbindir=$ac_optarg ;;
920
921   -sharedstatedir | --sharedstatedir | --sharedstatedi \
922   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
923   | --sharedst | --shareds | --shared | --share | --shar \
924   | --sha | --sh)
925     ac_prev=sharedstatedir ;;
926   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
927   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
928   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
929   | --sha=* | --sh=*)
930     sharedstatedir=$ac_optarg ;;
931
932   -site | --site | --sit)
933     ac_prev=site ;;
934   -site=* | --site=* | --sit=*)
935     site=$ac_optarg ;;
936
937   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
938     ac_prev=srcdir ;;
939   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
940     srcdir=$ac_optarg ;;
941
942   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
943   | --syscon | --sysco | --sysc | --sys | --sy)
944     ac_prev=sysconfdir ;;
945   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
946   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
947     sysconfdir=$ac_optarg ;;
948
949   -target | --target | --targe | --targ | --tar | --ta | --t)
950     ac_prev=target_alias ;;
951   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
952     target_alias=$ac_optarg ;;
953
954   -v | -verbose | --verbose | --verbos | --verbo | --verb)
955     verbose=yes ;;
956
957   -version | --version | --versio | --versi | --vers | -V)
958     ac_init_version=: ;;
959
960   -with-* | --with-*)
961     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
962     # Reject names that are not valid shell variable names.
963     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
964       { echo "$as_me: error: invalid package name: $ac_package" >&2
965    { (exit 1); exit 1; }; }
966     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
967     eval with_$ac_package=\$ac_optarg ;;
968
969   -without-* | --without-*)
970     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
971     # Reject names that are not valid shell variable names.
972     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
973       { echo "$as_me: error: invalid package name: $ac_package" >&2
974    { (exit 1); exit 1; }; }
975     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
976     eval with_$ac_package=no ;;
977
978   --x)
979     # Obsolete; use --with-x.
980     with_x=yes ;;
981
982   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
983   | --x-incl | --x-inc | --x-in | --x-i)
984     ac_prev=x_includes ;;
985   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
986   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
987     x_includes=$ac_optarg ;;
988
989   -x-libraries | --x-libraries | --x-librarie | --x-librari \
990   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
991     ac_prev=x_libraries ;;
992   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
993   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
994     x_libraries=$ac_optarg ;;
995
996   -*) { echo "$as_me: error: unrecognized option: $ac_option
997 Try \`$0 --help' for more information." >&2
998    { (exit 1); exit 1; }; }
999     ;;
1000
1001   *=*)
1002     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1003     # Reject names that are not valid shell variable names.
1004     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1005       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1006    { (exit 1); exit 1; }; }
1007     eval $ac_envvar=\$ac_optarg
1008     export $ac_envvar ;;
1009
1010   *)
1011     # FIXME: should be removed in autoconf 3.0.
1012     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1013     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1014       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1015     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1016     ;;
1017
1018   esac
1019 done
1020
1021 if test -n "$ac_prev"; then
1022   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1023   { echo "$as_me: error: missing argument to $ac_option" >&2
1024    { (exit 1); exit 1; }; }
1025 fi
1026
1027 # Be sure to have absolute directory names.
1028 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1029                 datadir sysconfdir sharedstatedir localstatedir includedir \
1030                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1031                 libdir localedir mandir
1032 do
1033   eval ac_val=\$$ac_var
1034   case $ac_val in
1035     [\\/$]* | ?:[\\/]* )  continue;;
1036     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1037   esac
1038   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1039    { (exit 1); exit 1; }; }
1040 done
1041
1042 # There might be people who depend on the old broken behavior: `$host'
1043 # used to hold the argument of --host etc.
1044 # FIXME: To remove some day.
1045 build=$build_alias
1046 host=$host_alias
1047 target=$target_alias
1048
1049 # FIXME: To remove some day.
1050 if test "x$host_alias" != x; then
1051   if test "x$build_alias" = x; then
1052     cross_compiling=maybe
1053     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1054     If a cross compiler is detected then cross compile mode will be used." >&2
1055   elif test "x$build_alias" != "x$host_alias"; then
1056     cross_compiling=yes
1057   fi
1058 fi
1059
1060 ac_tool_prefix=
1061 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1062
1063 test "$silent" = yes && exec 6>/dev/null
1064
1065
1066 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1067 ac_ls_di=`ls -di .` &&
1068 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1069   { echo "$as_me: error: Working directory cannot be determined" >&2
1070    { (exit 1); exit 1; }; }
1071 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1072   { echo "$as_me: error: pwd does not report name of working directory" >&2
1073    { (exit 1); exit 1; }; }
1074
1075
1076 # Find the source files, if location was not specified.
1077 if test -z "$srcdir"; then
1078   ac_srcdir_defaulted=yes
1079   # Try the directory containing this script, then the parent directory.
1080   ac_confdir=`$as_dirname -- "$0" ||
1081 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1082          X"$0" : 'X\(//\)[^/]' \| \
1083          X"$0" : 'X\(//\)$' \| \
1084          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1085 echo X"$0" |
1086     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1087             s//\1/
1088             q
1089           }
1090           /^X\(\/\/\)[^/].*/{
1091             s//\1/
1092             q
1093           }
1094           /^X\(\/\/\)$/{
1095             s//\1/
1096             q
1097           }
1098           /^X\(\/\).*/{
1099             s//\1/
1100             q
1101           }
1102           s/.*/./; q'`
1103   srcdir=$ac_confdir
1104   if test ! -r "$srcdir/$ac_unique_file"; then
1105     srcdir=..
1106   fi
1107 else
1108   ac_srcdir_defaulted=no
1109 fi
1110 if test ! -r "$srcdir/$ac_unique_file"; then
1111   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1112   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1113    { (exit 1); exit 1; }; }
1114 fi
1115 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1116 ac_abs_confdir=`(
1117         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1118    { (exit 1); exit 1; }; }
1119         pwd)`
1120 # When building in place, set srcdir=.
1121 if test "$ac_abs_confdir" = "$ac_pwd"; then
1122   srcdir=.
1123 fi
1124 # Remove unnecessary trailing slashes from srcdir.
1125 # Double slashes in file names in object file debugging info
1126 # mess up M-x gdb in Emacs.
1127 case $srcdir in
1128 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1129 esac
1130 for ac_var in $ac_precious_vars; do
1131   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1132   eval ac_env_${ac_var}_value=\$${ac_var}
1133   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1134   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1135 done
1136
1137 #
1138 # Report the --help message.
1139 #
1140 if test "$ac_init_help" = "long"; then
1141   # Omit some internal or obsolete options to make the list less imposing.
1142   # This message is too long to be a string in the A/UX 3.1 sh.
1143   cat <<_ACEOF
1144 \`configure' configures TrapProto 3.4.3 to adapt to many kinds of systems.
1145
1146 Usage: $0 [OPTION]... [VAR=VALUE]...
1147
1148 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1149 VAR=VALUE.  See below for descriptions of some of the useful variables.
1150
1151 Defaults for the options are specified in brackets.
1152
1153 Configuration:
1154   -h, --help              display this help and exit
1155       --help=short        display options specific to this package
1156       --help=recursive    display the short help of all the included packages
1157   -V, --version           display version information and exit
1158   -q, --quiet, --silent   do not print \`checking...' messages
1159       --cache-file=FILE   cache test results in FILE [disabled]
1160   -C, --config-cache      alias for \`--cache-file=config.cache'
1161   -n, --no-create         do not create output files
1162       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1163
1164 Installation directories:
1165   --prefix=PREFIX         install architecture-independent files in PREFIX
1166                           [$ac_default_prefix]
1167   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1168                           [PREFIX]
1169
1170 By default, \`make install' will install all the files in
1171 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1172 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1173 for instance \`--prefix=\$HOME'.
1174
1175 For better control, use the options below.
1176
1177 Fine tuning of the installation directories:
1178   --bindir=DIR           user executables [EPREFIX/bin]
1179   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1180   --libexecdir=DIR       program executables [EPREFIX/libexec]
1181   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1182   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1183   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1184   --libdir=DIR           object code libraries [EPREFIX/lib]
1185   --includedir=DIR       C header files [PREFIX/include]
1186   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1187   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1188   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1189   --infodir=DIR          info documentation [DATAROOTDIR/info]
1190   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1191   --mandir=DIR           man documentation [DATAROOTDIR/man]
1192   --docdir=DIR           documentation root [DATAROOTDIR/doc/trapproto]
1193   --htmldir=DIR          html documentation [DOCDIR]
1194   --dvidir=DIR           dvi documentation [DOCDIR]
1195   --pdfdir=DIR           pdf documentation [DOCDIR]
1196   --psdir=DIR            ps documentation [DOCDIR]
1197 _ACEOF
1198
1199   cat <<\_ACEOF
1200
1201 Program names:
1202   --program-prefix=PREFIX            prepend PREFIX to installed program names
1203   --program-suffix=SUFFIX            append SUFFIX to installed program names
1204   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1205 _ACEOF
1206 fi
1207
1208 if test -n "$ac_init_help"; then
1209   case $ac_init_help in
1210      short | recursive ) echo "Configuration of TrapProto 3.4.3:";;
1211    esac
1212   cat <<\_ACEOF
1213
1214 Optional Packages:
1215   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1216   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1217   --with-release-version=STRING
1218                           Use release version string in package name
1219
1220 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1221 _ACEOF
1222 ac_status=$?
1223 fi
1224
1225 if test "$ac_init_help" = "recursive"; then
1226   # If there are subdirs, report their specific --help.
1227   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1228     test -d "$ac_dir" || continue
1229     ac_builddir=.
1230
1231 case "$ac_dir" in
1232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1233 *)
1234   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1235   # A ".." for each directory in $ac_dir_suffix.
1236   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1237   case $ac_top_builddir_sub in
1238   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1239   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1240   esac ;;
1241 esac
1242 ac_abs_top_builddir=$ac_pwd
1243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1244 # for backward compatibility:
1245 ac_top_builddir=$ac_top_build_prefix
1246
1247 case $srcdir in
1248   .)  # We are building in place.
1249     ac_srcdir=.
1250     ac_top_srcdir=$ac_top_builddir_sub
1251     ac_abs_top_srcdir=$ac_pwd ;;
1252   [\\/]* | ?:[\\/]* )  # Absolute name.
1253     ac_srcdir=$srcdir$ac_dir_suffix;
1254     ac_top_srcdir=$srcdir
1255     ac_abs_top_srcdir=$srcdir ;;
1256   *) # Relative name.
1257     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1258     ac_top_srcdir=$ac_top_build_prefix$srcdir
1259     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1260 esac
1261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1262
1263     cd "$ac_dir" || { ac_status=$?; continue; }
1264     # Check for guested configure.
1265     if test -f "$ac_srcdir/configure.gnu"; then
1266       echo &&
1267       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1268     elif test -f "$ac_srcdir/configure"; then
1269       echo &&
1270       $SHELL "$ac_srcdir/configure" --help=recursive
1271     else
1272       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1273     fi || ac_status=$?
1274     cd "$ac_pwd" || { ac_status=$?; break; }
1275   done
1276 fi
1277
1278 test -n "$ac_init_help" && exit $ac_status
1279 if $ac_init_version; then
1280   cat <<\_ACEOF
1281 TrapProto configure 3.4.3
1282 generated by GNU Autoconf 2.61
1283
1284 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1285 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1286 This configure script is free software; the Free Software Foundation
1287 gives unlimited permission to copy, distribute and modify it.
1288 _ACEOF
1289   exit
1290 fi
1291 cat >config.log <<_ACEOF
1292 This file contains any messages produced by compilers while
1293 running configure, to aid debugging if configure makes a mistake.
1294
1295 It was created by TrapProto $as_me 3.4.3, which was
1296 generated by GNU Autoconf 2.61.  Invocation command line was
1297
1298   $ $0 $@
1299
1300 _ACEOF
1301 exec 5>>config.log
1302 {
1303 cat <<_ASUNAME
1304 ## --------- ##
1305 ## Platform. ##
1306 ## --------- ##
1307
1308 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1309 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1310 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1311 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1312 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1313
1314 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1315 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1316
1317 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1318 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1319 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1320 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1321 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1322 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1323 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1324
1325 _ASUNAME
1326
1327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1328 for as_dir in $PATH
1329 do
1330   IFS=$as_save_IFS
1331   test -z "$as_dir" && as_dir=.
1332   echo "PATH: $as_dir"
1333 done
1334 IFS=$as_save_IFS
1335
1336 } >&5
1337
1338 cat >&5 <<_ACEOF
1339
1340
1341 ## ----------- ##
1342 ## Core tests. ##
1343 ## ----------- ##
1344
1345 _ACEOF
1346
1347
1348 # Keep a trace of the command line.
1349 # Strip out --no-create and --no-recursion so they do not pile up.
1350 # Strip out --silent because we don't want to record it for future runs.
1351 # Also quote any args containing shell meta-characters.
1352 # Make two passes to allow for proper duplicate-argument suppression.
1353 ac_configure_args=
1354 ac_configure_args0=
1355 ac_configure_args1=
1356 ac_must_keep_next=false
1357 for ac_pass in 1 2
1358 do
1359   for ac_arg
1360   do
1361     case $ac_arg in
1362     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1363     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1364     | -silent | --silent | --silen | --sile | --sil)
1365       continue ;;
1366     *\'*)
1367       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1368     esac
1369     case $ac_pass in
1370     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1371     2)
1372       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1373       if test $ac_must_keep_next = true; then
1374         ac_must_keep_next=false # Got value, back to normal.
1375       else
1376         case $ac_arg in
1377           *=* | --config-cache | -C | -disable-* | --disable-* \
1378           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1379           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1380           | -with-* | --with-* | -without-* | --without-* | --x)
1381             case "$ac_configure_args0 " in
1382               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1383             esac
1384             ;;
1385           -* ) ac_must_keep_next=true ;;
1386         esac
1387       fi
1388       ac_configure_args="$ac_configure_args '$ac_arg'"
1389       ;;
1390     esac
1391   done
1392 done
1393 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1394 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1395
1396 # When interrupted or exit'd, cleanup temporary files, and complete
1397 # config.log.  We remove comments because anyway the quotes in there
1398 # would cause problems or look ugly.
1399 # WARNING: Use '\'' to represent an apostrophe within the trap.
1400 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1401 trap 'exit_status=$?
1402   # Save into config.log some information that might help in debugging.
1403   {
1404     echo
1405
1406     cat <<\_ASBOX
1407 ## ---------------- ##
1408 ## Cache variables. ##
1409 ## ---------------- ##
1410 _ASBOX
1411     echo
1412     # The following way of writing the cache mishandles newlines in values,
1413 (
1414   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1415     eval ac_val=\$$ac_var
1416     case $ac_val in #(
1417     *${as_nl}*)
1418       case $ac_var in #(
1419       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1420 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1421       esac
1422       case $ac_var in #(
1423       _ | IFS | as_nl) ;; #(
1424       *) $as_unset $ac_var ;;
1425       esac ;;
1426     esac
1427   done
1428   (set) 2>&1 |
1429     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1430     *${as_nl}ac_space=\ *)
1431       sed -n \
1432         "s/'\''/'\''\\\\'\'''\''/g;
1433           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1434       ;; #(
1435     *)
1436       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1437       ;;
1438     esac |
1439     sort
1440 )
1441     echo
1442
1443     cat <<\_ASBOX
1444 ## ----------------- ##
1445 ## Output variables. ##
1446 ## ----------------- ##
1447 _ASBOX
1448     echo
1449     for ac_var in $ac_subst_vars
1450     do
1451       eval ac_val=\$$ac_var
1452       case $ac_val in
1453       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1454       esac
1455       echo "$ac_var='\''$ac_val'\''"
1456     done | sort
1457     echo
1458
1459     if test -n "$ac_subst_files"; then
1460       cat <<\_ASBOX
1461 ## ------------------- ##
1462 ## File substitutions. ##
1463 ## ------------------- ##
1464 _ASBOX
1465       echo
1466       for ac_var in $ac_subst_files
1467       do
1468         eval ac_val=\$$ac_var
1469         case $ac_val in
1470         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1471         esac
1472         echo "$ac_var='\''$ac_val'\''"
1473       done | sort
1474       echo
1475     fi
1476
1477     if test -s confdefs.h; then
1478       cat <<\_ASBOX
1479 ## ----------- ##
1480 ## confdefs.h. ##
1481 ## ----------- ##
1482 _ASBOX
1483       echo
1484       cat confdefs.h
1485       echo
1486     fi
1487     test "$ac_signal" != 0 &&
1488       echo "$as_me: caught signal $ac_signal"
1489     echo "$as_me: exit $exit_status"
1490   } >&5
1491   rm -f core *.core core.conftest.* &&
1492     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1493     exit $exit_status
1494 ' 0
1495 for ac_signal in 1 2 13 15; do
1496   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1497 done
1498 ac_signal=0
1499
1500 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1501 rm -f -r conftest* confdefs.h
1502
1503 # Predefined preprocessor variables.
1504
1505 cat >>confdefs.h <<_ACEOF
1506 #define PACKAGE_NAME "$PACKAGE_NAME"
1507 _ACEOF
1508
1509
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1512 _ACEOF
1513
1514
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1517 _ACEOF
1518
1519
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_STRING "$PACKAGE_STRING"
1522 _ACEOF
1523
1524
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1527 _ACEOF
1528
1529
1530 # Let the site file select an alternate cache file if it wants to.
1531 # Prefer explicitly selected file to automatically selected ones.
1532 if test -n "$CONFIG_SITE"; then
1533   set x "$CONFIG_SITE"
1534 elif test "x$prefix" != xNONE; then
1535   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1536 else
1537   set x "$ac_default_prefix/share/config.site" \
1538         "$ac_default_prefix/etc/config.site"
1539 fi
1540 shift
1541 for ac_site_file
1542 do
1543   if test -r "$ac_site_file"; then
1544     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1545 echo "$as_me: loading site script $ac_site_file" >&6;}
1546     sed 's/^/| /' "$ac_site_file" >&5
1547     . "$ac_site_file"
1548   fi
1549 done
1550
1551 if test -r "$cache_file"; then
1552   # Some versions of bash will fail to source /dev/null (special
1553   # files actually), so we avoid doing that.
1554   if test -f "$cache_file"; then
1555     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1556 echo "$as_me: loading cache $cache_file" >&6;}
1557     case $cache_file in
1558       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1559       *)                      . "./$cache_file";;
1560     esac
1561   fi
1562 else
1563   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1564 echo "$as_me: creating cache $cache_file" >&6;}
1565   >$cache_file
1566 fi
1567
1568 # Check that the precious variables saved in the cache have kept the same
1569 # value.
1570 ac_cache_corrupted=false
1571 for ac_var in $ac_precious_vars; do
1572   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1573   eval ac_new_set=\$ac_env_${ac_var}_set
1574   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1575   eval ac_new_val=\$ac_env_${ac_var}_value
1576   case $ac_old_set,$ac_new_set in
1577     set,)
1578       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1579 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1580       ac_cache_corrupted=: ;;
1581     ,set)
1582       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1583 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1584       ac_cache_corrupted=: ;;
1585     ,);;
1586     *)
1587       if test "x$ac_old_val" != "x$ac_new_val"; then
1588         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1589 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1590         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1591 echo "$as_me:   former value:  $ac_old_val" >&2;}
1592         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1593 echo "$as_me:   current value: $ac_new_val" >&2;}
1594         ac_cache_corrupted=:
1595       fi;;
1596   esac
1597   # Pass precious variables to config.status.
1598   if test "$ac_new_set" = set; then
1599     case $ac_new_val in
1600     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1601     *) ac_arg=$ac_var=$ac_new_val ;;
1602     esac
1603     case " $ac_configure_args " in
1604       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1605       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1606     esac
1607   fi
1608 done
1609 if $ac_cache_corrupted; then
1610   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1611 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1612   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1613 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1614    { (exit 1); exit 1; }; }
1615 fi
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641 ac_ext=c
1642 ac_cpp='$CPP $CPPFLAGS'
1643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1646
1647
1648 am__api_version="1.7"
1649 ac_aux_dir=
1650 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1651   if test -f "$ac_dir/install-sh"; then
1652     ac_aux_dir=$ac_dir
1653     ac_install_sh="$ac_aux_dir/install-sh -c"
1654     break
1655   elif test -f "$ac_dir/install.sh"; then
1656     ac_aux_dir=$ac_dir
1657     ac_install_sh="$ac_aux_dir/install.sh -c"
1658     break
1659   elif test -f "$ac_dir/shtool"; then
1660     ac_aux_dir=$ac_dir
1661     ac_install_sh="$ac_aux_dir/shtool install -c"
1662     break
1663   fi
1664 done
1665 if test -z "$ac_aux_dir"; then
1666   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1667 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1668    { (exit 1); exit 1; }; }
1669 fi
1670
1671 # These three variables are undocumented and unsupported,
1672 # and are intended to be withdrawn in a future Autoconf release.
1673 # They can cause serious problems if a builder's source tree is in a directory
1674 # whose full name contains unusual characters.
1675 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1676 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1677 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1678
1679
1680 # Find a good install program.  We prefer a C program (faster),
1681 # so one script is as good as another.  But avoid the broken or
1682 # incompatible versions:
1683 # SysV /etc/install, /usr/sbin/install
1684 # SunOS /usr/etc/install
1685 # IRIX /sbin/install
1686 # AIX /bin/install
1687 # AmigaOS /C/install, which installs bootblocks on floppy discs
1688 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1689 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1690 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1691 # OS/2's system install, which has a completely different semantic
1692 # ./install, which can be erroneously created by make from ./install.sh.
1693 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1694 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1695 if test -z "$INSTALL"; then
1696 if test "${ac_cv_path_install+set}" = set; then
1697   echo $ECHO_N "(cached) $ECHO_C" >&6
1698 else
1699   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 for as_dir in $PATH
1701 do
1702   IFS=$as_save_IFS
1703   test -z "$as_dir" && as_dir=.
1704   # Account for people who put trailing slashes in PATH elements.
1705 case $as_dir/ in
1706   ./ | .// | /cC/* | \
1707   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1708   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1709   /usr/ucb/* ) ;;
1710   *)
1711     # OSF1 and SCO ODT 3.0 have their own names for install.
1712     # Don't use installbsd from OSF since it installs stuff as root
1713     # by default.
1714     for ac_prog in ginstall scoinst install; do
1715       for ac_exec_ext in '' $ac_executable_extensions; do
1716         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1717           if test $ac_prog = install &&
1718             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1719             # AIX install.  It has an incompatible calling convention.
1720             :
1721           elif test $ac_prog = install &&
1722             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1723             # program-specific install script used by HP pwplus--don't use.
1724             :
1725           else
1726             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1727             break 3
1728           fi
1729         fi
1730       done
1731     done
1732     ;;
1733 esac
1734 done
1735 IFS=$as_save_IFS
1736
1737
1738 fi
1739   if test "${ac_cv_path_install+set}" = set; then
1740     INSTALL=$ac_cv_path_install
1741   else
1742     # As a last resort, use the slow shell script.  Don't cache a
1743     # value for INSTALL within a source directory, because that will
1744     # break other packages using the cache if that directory is
1745     # removed, or if the value is a relative name.
1746     INSTALL=$ac_install_sh
1747   fi
1748 fi
1749 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1750 echo "${ECHO_T}$INSTALL" >&6; }
1751
1752 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1753 # It thinks the first close brace ends the variable substitution.
1754 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1755
1756 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1757
1758 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1759
1760 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1761 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1762 # Just in case
1763 sleep 1
1764 echo timestamp > conftest.file
1765 # Do `set' in a subshell so we don't clobber the current shell's
1766 # arguments.  Must try -L first in case configure is actually a
1767 # symlink; some systems play weird games with the mod time of symlinks
1768 # (eg FreeBSD returns the mod time of the symlink's containing
1769 # directory).
1770 if (
1771    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1772    if test "$*" = "X"; then
1773       # -L didn't work.
1774       set X `ls -t $srcdir/configure conftest.file`
1775    fi
1776    rm -f conftest.file
1777    if test "$*" != "X $srcdir/configure conftest.file" \
1778       && test "$*" != "X conftest.file $srcdir/configure"; then
1779
1780       # If neither matched, then we have a broken ls.  This can happen
1781       # if, for instance, CONFIG_SHELL is bash and it inherits a
1782       # broken ls alias from the environment.  This has actually
1783       # happened.  Such a system could not be considered "sane".
1784       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1785 alias in your environment" >&5
1786 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1787 alias in your environment" >&2;}
1788    { (exit 1); exit 1; }; }
1789    fi
1790
1791    test "$2" = conftest.file
1792    )
1793 then
1794    # Ok.
1795    :
1796 else
1797    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1798 Check your system clock" >&5
1799 echo "$as_me: error: newly created file is older than distributed files!
1800 Check your system clock" >&2;}
1801    { (exit 1); exit 1; }; }
1802 fi
1803 { echo "$as_me:$LINENO: result: yes" >&5
1804 echo "${ECHO_T}yes" >&6; }
1805 test "$program_prefix" != NONE &&
1806   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1807 # Use a double $ so make ignores it.
1808 test "$program_suffix" != NONE &&
1809   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1810 # Double any \ or $.  echo might interpret backslashes.
1811 # By default was `s,x,x', remove it if useless.
1812 cat <<\_ACEOF >conftest.sed
1813 s/[\\$]/&&/g;s/;s,x,x,$//
1814 _ACEOF
1815 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1816 rm -f conftest.sed
1817
1818
1819 # expand $ac_aux_dir to an absolute path
1820 am_aux_dir=`cd $ac_aux_dir && pwd`
1821
1822 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1823 # Use eval to expand $SHELL
1824 if eval "$MISSING --run true"; then
1825   am_missing_run="$MISSING --run "
1826 else
1827   am_missing_run=
1828   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1829 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1830 fi
1831
1832 for ac_prog in gawk mawk nawk awk
1833 do
1834   # Extract the first word of "$ac_prog", so it can be a program name with args.
1835 set dummy $ac_prog; ac_word=$2
1836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1838 if test "${ac_cv_prog_AWK+set}" = set; then
1839   echo $ECHO_N "(cached) $ECHO_C" >&6
1840 else
1841   if test -n "$AWK"; then
1842   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1843 else
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 for as_dir in $PATH
1846 do
1847   IFS=$as_save_IFS
1848   test -z "$as_dir" && as_dir=.
1849   for ac_exec_ext in '' $ac_executable_extensions; do
1850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1851     ac_cv_prog_AWK="$ac_prog"
1852     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853     break 2
1854   fi
1855 done
1856 done
1857 IFS=$as_save_IFS
1858
1859 fi
1860 fi
1861 AWK=$ac_cv_prog_AWK
1862 if test -n "$AWK"; then
1863   { echo "$as_me:$LINENO: result: $AWK" >&5
1864 echo "${ECHO_T}$AWK" >&6; }
1865 else
1866   { echo "$as_me:$LINENO: result: no" >&5
1867 echo "${ECHO_T}no" >&6; }
1868 fi
1869
1870
1871   test -n "$AWK" && break
1872 done
1873
1874 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1875 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1876 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1877 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1878   echo $ECHO_N "(cached) $ECHO_C" >&6
1879 else
1880   cat >conftest.make <<\_ACEOF
1881 SHELL = /bin/sh
1882 all:
1883         @echo '@@@%%%=$(MAKE)=@@@%%%'
1884 _ACEOF
1885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1886 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1887   *@@@%%%=?*=@@@%%%*)
1888     eval ac_cv_prog_make_${ac_make}_set=yes;;
1889   *)
1890     eval ac_cv_prog_make_${ac_make}_set=no;;
1891 esac
1892 rm -f conftest.make
1893 fi
1894 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1895   { echo "$as_me:$LINENO: result: yes" >&5
1896 echo "${ECHO_T}yes" >&6; }
1897   SET_MAKE=
1898 else
1899   { echo "$as_me:$LINENO: result: no" >&5
1900 echo "${ECHO_T}no" >&6; }
1901   SET_MAKE="MAKE=${MAKE-make}"
1902 fi
1903
1904 rm -rf .tst 2>/dev/null
1905 mkdir .tst 2>/dev/null
1906 if test -d .tst; then
1907   am__leading_dot=.
1908 else
1909   am__leading_dot=_
1910 fi
1911 rmdir .tst 2>/dev/null
1912
1913  # test to see if srcdir already configured
1914 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1915    test -f $srcdir/config.status; then
1916   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1917 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1918    { (exit 1); exit 1; }; }
1919 fi
1920
1921 # test whether we have cygpath
1922 if test -z "$CYGPATH_W"; then
1923   if (cygpath --version) >/dev/null 2>/dev/null; then
1924     CYGPATH_W='cygpath -w'
1925   else
1926     CYGPATH_W=echo
1927   fi
1928 fi
1929
1930
1931 # Define the identity of the package.
1932  PACKAGE='trapproto'
1933  VERSION='3.4.3'
1934
1935
1936 cat >>confdefs.h <<_ACEOF
1937 #define PACKAGE "$PACKAGE"
1938 _ACEOF
1939
1940
1941 cat >>confdefs.h <<_ACEOF
1942 #define VERSION "$VERSION"
1943 _ACEOF
1944
1945 # Some tools Automake needs.
1946
1947 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1948
1949
1950 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1951
1952
1953 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1954
1955
1956 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1957
1958
1959 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1960
1961
1962 AMTAR=${AMTAR-"${am_missing_run}tar"}
1963
1964 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1965
1966 # Installed binaries are usually stripped using `strip' when the user
1967 # run `make install-strip'.  However `strip' might not be the right
1968 # tool to use in cross-compilation environments, therefore Automake
1969 # will honor the `STRIP' environment variable to overrule this program.
1970 if test "$cross_compiling" != no; then
1971   if test -n "$ac_tool_prefix"; then
1972   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1973 set dummy ${ac_tool_prefix}strip; ac_word=$2
1974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1976 if test "${ac_cv_prog_STRIP+set}" = set; then
1977   echo $ECHO_N "(cached) $ECHO_C" >&6
1978 else
1979   if test -n "$STRIP"; then
1980   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1981 else
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 for as_dir in $PATH
1984 do
1985   IFS=$as_save_IFS
1986   test -z "$as_dir" && as_dir=.
1987   for ac_exec_ext in '' $ac_executable_extensions; do
1988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1989     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991     break 2
1992   fi
1993 done
1994 done
1995 IFS=$as_save_IFS
1996
1997 fi
1998 fi
1999 STRIP=$ac_cv_prog_STRIP
2000 if test -n "$STRIP"; then
2001   { echo "$as_me:$LINENO: result: $STRIP" >&5
2002 echo "${ECHO_T}$STRIP" >&6; }
2003 else
2004   { echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6; }
2006 fi
2007
2008
2009 fi
2010 if test -z "$ac_cv_prog_STRIP"; then
2011   ac_ct_STRIP=$STRIP
2012   # Extract the first word of "strip", so it can be a program name with args.
2013 set dummy strip; ac_word=$2
2014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2016 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2017   echo $ECHO_N "(cached) $ECHO_C" >&6
2018 else
2019   if test -n "$ac_ct_STRIP"; then
2020   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2021 else
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH
2024 do
2025   IFS=$as_save_IFS
2026   test -z "$as_dir" && as_dir=.
2027   for ac_exec_ext in '' $ac_executable_extensions; do
2028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2029     ac_cv_prog_ac_ct_STRIP="strip"
2030     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031     break 2
2032   fi
2033 done
2034 done
2035 IFS=$as_save_IFS
2036
2037 fi
2038 fi
2039 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2040 if test -n "$ac_ct_STRIP"; then
2041   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2042 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2043 else
2044   { echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6; }
2046 fi
2047
2048   if test "x$ac_ct_STRIP" = x; then
2049     STRIP=":"
2050   else
2051     case $cross_compiling:$ac_tool_warned in
2052 yes:)
2053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2054 whose name does not start with the host triplet.  If you think this
2055 configuration is useful to you, please write to autoconf@gnu.org." >&5
2056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2057 whose name does not start with the host triplet.  If you think this
2058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2059 ac_tool_warned=yes ;;
2060 esac
2061     STRIP=$ac_ct_STRIP
2062   fi
2063 else
2064   STRIP="$ac_cv_prog_STRIP"
2065 fi
2066
2067 fi
2068 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2069
2070 # We need awk for the "check" target.  The system "awk" is bad on
2071 # some platforms.
2072
2073
2074
2075
2076
2077
2078 # Check whether --with-release-version was given.
2079 if test "${with_release_version+set}" = set; then
2080   withval=$with_release_version; RELEASE_VERSION="$withval"
2081 else
2082   RELEASE_VERSION=""
2083 fi
2084
2085         if test "x$RELEASE_VERSION" != "x"; then
2086                 PACKAGE="$PACKAGE-$RELEASE_VERSION"
2087                 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
2088                 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
2089 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
2090         fi
2091
2092
2093 ac_config_files="$ac_config_files Makefile trapproto.pc"
2094
2095 cat >confcache <<\_ACEOF
2096 # This file is a shell script that caches the results of configure
2097 # tests run on this system so they can be shared between configure
2098 # scripts and configure runs, see configure's option --config-cache.
2099 # It is not useful on other systems.  If it contains results you don't
2100 # want to keep, you may remove or edit it.
2101 #
2102 # config.status only pays attention to the cache file if you give it
2103 # the --recheck option to rerun configure.
2104 #
2105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2107 # following values.
2108
2109 _ACEOF
2110
2111 # The following way of writing the cache mishandles newlines in values,
2112 # but we know of no workaround that is simple, portable, and efficient.
2113 # So, we kill variables containing newlines.
2114 # Ultrix sh set writes to stderr and can't be redirected directly,
2115 # and sets the high bit in the cache file unless we assign to the vars.
2116 (
2117   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2118     eval ac_val=\$$ac_var
2119     case $ac_val in #(
2120     *${as_nl}*)
2121       case $ac_var in #(
2122       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2123 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2124       esac
2125       case $ac_var in #(
2126       _ | IFS | as_nl) ;; #(
2127       *) $as_unset $ac_var ;;
2128       esac ;;
2129     esac
2130   done
2131
2132   (set) 2>&1 |
2133     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2134     *${as_nl}ac_space=\ *)
2135       # `set' does not quote correctly, so add quotes (double-quote
2136       # substitution turns \\\\ into \\, and sed turns \\ into \).
2137       sed -n \
2138         "s/'/'\\\\''/g;
2139           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2140       ;; #(
2141     *)
2142       # `set' quotes correctly as required by POSIX, so do not add quotes.
2143       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2144       ;;
2145     esac |
2146     sort
2147 ) |
2148   sed '
2149      /^ac_cv_env_/b end
2150      t clear
2151      :clear
2152      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2153      t end
2154      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2155      :end' >>confcache
2156 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2157   if test -w "$cache_file"; then
2158     test "x$cache_file" != "x/dev/null" &&
2159       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2160 echo "$as_me: updating cache $cache_file" >&6;}
2161     cat confcache >$cache_file
2162   else
2163     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2164 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2165   fi
2166 fi
2167 rm -f confcache
2168
2169 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2170 # Let make expand exec_prefix.
2171 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2172
2173 # Transform confdefs.h into DEFS.
2174 # Protect against shell expansion while executing Makefile rules.
2175 # Protect against Makefile macro expansion.
2176 #
2177 # If the first sed substitution is executed (which looks for macros that
2178 # take arguments), then branch to the quote section.  Otherwise,
2179 # look for a macro that doesn't take arguments.
2180 ac_script='
2181 t clear
2182 :clear
2183 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2184 t quote
2185 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2186 t quote
2187 b any
2188 :quote
2189 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2190 s/\[/\\&/g
2191 s/\]/\\&/g
2192 s/\$/$$/g
2193 H
2194 :any
2195 ${
2196         g
2197         s/^\n//
2198         s/\n/ /g
2199         p
2200 }
2201 '
2202 DEFS=`sed -n "$ac_script" confdefs.h`
2203
2204
2205 ac_libobjs=
2206 ac_ltlibobjs=
2207 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2208   # 1. Remove the extension, and $U if already installed.
2209   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2210   ac_i=`echo "$ac_i" | sed "$ac_script"`
2211   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2212   #    will be set to the directory where LIBOBJS objects are built.
2213   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2214   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2215 done
2216 LIBOBJS=$ac_libobjs
2217
2218 LTLIBOBJS=$ac_ltlibobjs
2219
2220
2221
2222 : ${CONFIG_STATUS=./config.status}
2223 ac_clean_files_save=$ac_clean_files
2224 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2225 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2226 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2227 cat >$CONFIG_STATUS <<_ACEOF
2228 #! $SHELL
2229 # Generated by $as_me.
2230 # Run this file to recreate the current configuration.
2231 # Compiler output produced by configure, useful for debugging
2232 # configure, is in config.log if it exists.
2233
2234 debug=false
2235 ac_cs_recheck=false
2236 ac_cs_silent=false
2237 SHELL=\${CONFIG_SHELL-$SHELL}
2238 _ACEOF
2239
2240 cat >>$CONFIG_STATUS <<\_ACEOF
2241 ## --------------------- ##
2242 ## M4sh Initialization.  ##
2243 ## --------------------- ##
2244
2245 # Be more Bourne compatible
2246 DUALCASE=1; export DUALCASE # for MKS sh
2247 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2248   emulate sh
2249   NULLCMD=:
2250   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2251   # is contrary to our usage.  Disable this feature.
2252   alias -g '${1+"$@"}'='"$@"'
2253   setopt NO_GLOB_SUBST
2254 else
2255   case `(set -o) 2>/dev/null` in
2256   *posix*) set -o posix ;;
2257 esac
2258
2259 fi
2260
2261
2262
2263
2264 # PATH needs CR
2265 # Avoid depending upon Character Ranges.
2266 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2267 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2268 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2269 as_cr_digits='0123456789'
2270 as_cr_alnum=$as_cr_Letters$as_cr_digits
2271
2272 # The user is always right.
2273 if test "${PATH_SEPARATOR+set}" != set; then
2274   echo "#! /bin/sh" >conf$$.sh
2275   echo  "exit 0"   >>conf$$.sh
2276   chmod +x conf$$.sh
2277   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2278     PATH_SEPARATOR=';'
2279   else
2280     PATH_SEPARATOR=:
2281   fi
2282   rm -f conf$$.sh
2283 fi
2284
2285 # Support unset when possible.
2286 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2287   as_unset=unset
2288 else
2289   as_unset=false
2290 fi
2291
2292
2293 # IFS
2294 # We need space, tab and new line, in precisely that order.  Quoting is
2295 # there to prevent editors from complaining about space-tab.
2296 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2297 # splitting by setting IFS to empty value.)
2298 as_nl='
2299 '
2300 IFS=" ""        $as_nl"
2301
2302 # Find who we are.  Look in the path if we contain no directory separator.
2303 case $0 in
2304   *[\\/]* ) as_myself=$0 ;;
2305   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 for as_dir in $PATH
2307 do
2308   IFS=$as_save_IFS
2309   test -z "$as_dir" && as_dir=.
2310   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2311 done
2312 IFS=$as_save_IFS
2313
2314      ;;
2315 esac
2316 # We did not find ourselves, most probably we were run as `sh COMMAND'
2317 # in which case we are not to be found in the path.
2318 if test "x$as_myself" = x; then
2319   as_myself=$0
2320 fi
2321 if test ! -f "$as_myself"; then
2322   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2323   { (exit 1); exit 1; }
2324 fi
2325
2326 # Work around bugs in pre-3.0 UWIN ksh.
2327 for as_var in ENV MAIL MAILPATH
2328 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2329 done
2330 PS1='$ '
2331 PS2='> '
2332 PS4='+ '
2333
2334 # NLS nuisances.
2335 for as_var in \
2336   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2337   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2338   LC_TELEPHONE LC_TIME
2339 do
2340   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2341     eval $as_var=C; export $as_var
2342   else
2343     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2344   fi
2345 done
2346
2347 # Required to use basename.
2348 if expr a : '\(a\)' >/dev/null 2>&1 &&
2349    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2350   as_expr=expr
2351 else
2352   as_expr=false
2353 fi
2354
2355 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2356   as_basename=basename
2357 else
2358   as_basename=false
2359 fi
2360
2361
2362 # Name of the executable.
2363 as_me=`$as_basename -- "$0" ||
2364 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2365          X"$0" : 'X\(//\)$' \| \
2366          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2367 echo X/"$0" |
2368     sed '/^.*\/\([^/][^/]*\)\/*$/{
2369             s//\1/
2370             q
2371           }
2372           /^X\/\(\/\/\)$/{
2373             s//\1/
2374             q
2375           }
2376           /^X\/\(\/\).*/{
2377             s//\1/
2378             q
2379           }
2380           s/.*/./; q'`
2381
2382 # CDPATH.
2383 $as_unset CDPATH
2384
2385
2386
2387   as_lineno_1=$LINENO
2388   as_lineno_2=$LINENO
2389   test "x$as_lineno_1" != "x$as_lineno_2" &&
2390   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2391
2392   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2393   # uniformly replaced by the line number.  The first 'sed' inserts a
2394   # line-number line after each line using $LINENO; the second 'sed'
2395   # does the real work.  The second script uses 'N' to pair each
2396   # line-number line with the line containing $LINENO, and appends
2397   # trailing '-' during substitution so that $LINENO is not a special
2398   # case at line end.
2399   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2400   # scripts with optimization help from Paolo Bonzini.  Blame Lee
2401   # E. McMahon (1931-1989) for sed's syntax.  :-)
2402   sed -n '
2403     p
2404     /[$]LINENO/=
2405   ' <$as_myself |
2406     sed '
2407       s/[$]LINENO.*/&-/
2408       t lineno
2409       b
2410       :lineno
2411       N
2412       :loop
2413       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2414       t loop
2415       s/-\n.*//
2416     ' >$as_me.lineno &&
2417   chmod +x "$as_me.lineno" ||
2418     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2419    { (exit 1); exit 1; }; }
2420
2421   # Don't try to exec as it changes $[0], causing all sort of problems
2422   # (the dirname of $[0] is not the place where we might find the
2423   # original and so on.  Autoconf is especially sensitive to this).
2424   . "./$as_me.lineno"
2425   # Exit status is that of the last command.
2426   exit
2427 }
2428
2429
2430 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2431   as_dirname=dirname
2432 else
2433   as_dirname=false
2434 fi
2435
2436 ECHO_C= ECHO_N= ECHO_T=
2437 case `echo -n x` in
2438 -n*)
2439   case `echo 'x\c'` in
2440   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2441   *)   ECHO_C='\c';;
2442   esac;;
2443 *)
2444   ECHO_N='-n';;
2445 esac
2446
2447 if expr a : '\(a\)' >/dev/null 2>&1 &&
2448    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2449   as_expr=expr
2450 else
2451   as_expr=false
2452 fi
2453
2454 rm -f conf$$ conf$$.exe conf$$.file
2455 if test -d conf$$.dir; then
2456   rm -f conf$$.dir/conf$$.file
2457 else
2458   rm -f conf$$.dir
2459   mkdir conf$$.dir
2460 fi
2461 echo >conf$$.file
2462 if ln -s conf$$.file conf$$ 2>/dev/null; then
2463   as_ln_s='ln -s'
2464   # ... but there are two gotchas:
2465   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2466   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2467   # In both cases, we have to default to `cp -p'.
2468   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2469     as_ln_s='cp -p'
2470 elif ln conf$$.file conf$$ 2>/dev/null; then
2471   as_ln_s=ln
2472 else
2473   as_ln_s='cp -p'
2474 fi
2475 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2476 rmdir conf$$.dir 2>/dev/null
2477
2478 if mkdir -p . 2>/dev/null; then
2479   as_mkdir_p=:
2480 else
2481   test -d ./-p && rmdir ./-p
2482   as_mkdir_p=false
2483 fi
2484
2485 if test -x / >/dev/null 2>&1; then
2486   as_test_x='test -x'
2487 else
2488   if ls -dL / >/dev/null 2>&1; then
2489     as_ls_L_option=L
2490   else
2491     as_ls_L_option=
2492   fi
2493   as_test_x='
2494     eval sh -c '\''
2495       if test -d "$1"; then
2496         test -d "$1/.";
2497       else
2498         case $1 in
2499         -*)set "./$1";;
2500         esac;
2501         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2502         ???[sx]*):;;*)false;;esac;fi
2503     '\'' sh
2504   '
2505 fi
2506 as_executable_p=$as_test_x
2507
2508 # Sed expression to map a string onto a valid CPP name.
2509 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2510
2511 # Sed expression to map a string onto a valid variable name.
2512 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2513
2514
2515 exec 6>&1
2516
2517 # Save the log message, to keep $[0] and so on meaningful, and to
2518 # report actual input values of CONFIG_FILES etc. instead of their
2519 # values after options handling.
2520 ac_log="
2521 This file was extended by TrapProto $as_me 3.4.3, which was
2522 generated by GNU Autoconf 2.61.  Invocation command line was
2523
2524   CONFIG_FILES    = $CONFIG_FILES
2525   CONFIG_HEADERS  = $CONFIG_HEADERS
2526   CONFIG_LINKS    = $CONFIG_LINKS
2527   CONFIG_COMMANDS = $CONFIG_COMMANDS
2528   $ $0 $@
2529
2530 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2531 "
2532
2533 _ACEOF
2534
2535 cat >>$CONFIG_STATUS <<_ACEOF
2536 # Files that config.status was made for.
2537 config_files="$ac_config_files"
2538
2539 _ACEOF
2540
2541 cat >>$CONFIG_STATUS <<\_ACEOF
2542 ac_cs_usage="\
2543 \`$as_me' instantiates files from templates according to the
2544 current configuration.
2545
2546 Usage: $0 [OPTIONS] [FILE]...
2547
2548   -h, --help       print this help, then exit
2549   -V, --version    print version number and configuration settings, then exit
2550   -q, --quiet      do not print progress messages
2551   -d, --debug      don't remove temporary files
2552       --recheck    update $as_me by reconfiguring in the same conditions
2553   --file=FILE[:TEMPLATE]
2554                    instantiate the configuration file FILE
2555
2556 Configuration files:
2557 $config_files
2558
2559 Report bugs to <bug-autoconf@gnu.org>."
2560
2561 _ACEOF
2562 cat >>$CONFIG_STATUS <<_ACEOF
2563 ac_cs_version="\\
2564 TrapProto config.status 3.4.3
2565 configured by $0, generated by GNU Autoconf 2.61,
2566   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2567
2568 Copyright (C) 2006 Free Software Foundation, Inc.
2569 This config.status script is free software; the Free Software Foundation
2570 gives unlimited permission to copy, distribute and modify it."
2571
2572 ac_pwd='$ac_pwd'
2573 srcdir='$srcdir'
2574 INSTALL='$INSTALL'
2575 _ACEOF
2576
2577 cat >>$CONFIG_STATUS <<\_ACEOF
2578 # If no file are specified by the user, then we need to provide default
2579 # value.  By we need to know if files were specified by the user.
2580 ac_need_defaults=:
2581 while test $# != 0
2582 do
2583   case $1 in
2584   --*=*)
2585     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2586     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2587     ac_shift=:
2588     ;;
2589   *)
2590     ac_option=$1
2591     ac_optarg=$2
2592     ac_shift=shift
2593     ;;
2594   esac
2595
2596   case $ac_option in
2597   # Handling of the options.
2598   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2599     ac_cs_recheck=: ;;
2600   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2601     echo "$ac_cs_version"; exit ;;
2602   --debug | --debu | --deb | --de | --d | -d )
2603     debug=: ;;
2604   --file | --fil | --fi | --f )
2605     $ac_shift
2606     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2607     ac_need_defaults=false;;
2608   --he | --h |  --help | --hel | -h )
2609     echo "$ac_cs_usage"; exit ;;
2610   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2611   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2612     ac_cs_silent=: ;;
2613
2614   # This is an error.
2615   -*) { echo "$as_me: error: unrecognized option: $1
2616 Try \`$0 --help' for more information." >&2
2617    { (exit 1); exit 1; }; } ;;
2618
2619   *) ac_config_targets="$ac_config_targets $1"
2620      ac_need_defaults=false ;;
2621
2622   esac
2623   shift
2624 done
2625
2626 ac_configure_extra_args=
2627
2628 if $ac_cs_silent; then
2629   exec 6>/dev/null
2630   ac_configure_extra_args="$ac_configure_extra_args --silent"
2631 fi
2632
2633 _ACEOF
2634 cat >>$CONFIG_STATUS <<_ACEOF
2635 if \$ac_cs_recheck; then
2636   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2637   CONFIG_SHELL=$SHELL
2638   export CONFIG_SHELL
2639   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2640 fi
2641
2642 _ACEOF
2643 cat >>$CONFIG_STATUS <<\_ACEOF
2644 exec 5>>config.log
2645 {
2646   echo
2647   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2648 ## Running $as_me. ##
2649 _ASBOX
2650   echo "$ac_log"
2651 } >&5
2652
2653 _ACEOF
2654 cat >>$CONFIG_STATUS <<_ACEOF
2655 _ACEOF
2656
2657 cat >>$CONFIG_STATUS <<\_ACEOF
2658
2659 # Handling of arguments.
2660 for ac_config_target in $ac_config_targets
2661 do
2662   case $ac_config_target in
2663     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2664     "trapproto.pc") CONFIG_FILES="$CONFIG_FILES trapproto.pc" ;;
2665
2666   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2667 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2668    { (exit 1); exit 1; }; };;
2669   esac
2670 done
2671
2672
2673 # If the user did not use the arguments to specify the items to instantiate,
2674 # then the envvar interface is used.  Set only those that are not.
2675 # We use the long form for the default assignment because of an extremely
2676 # bizarre bug on SunOS 4.1.3.
2677 if $ac_need_defaults; then
2678   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2679 fi
2680
2681 # Have a temporary directory for convenience.  Make it in the build tree
2682 # simply because there is no reason against having it here, and in addition,
2683 # creating and moving files from /tmp can sometimes cause problems.
2684 # Hook for its removal unless debugging.
2685 # Note that there is a small window in which the directory will not be cleaned:
2686 # after its creation but before its name has been assigned to `$tmp'.
2687 $debug ||
2688 {
2689   tmp=
2690   trap 'exit_status=$?
2691   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2692 ' 0
2693   trap '{ (exit 1); exit 1; }' 1 2 13 15
2694 }
2695 # Create a (secure) tmp directory for tmp files.
2696
2697 {
2698   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2699   test -n "$tmp" && test -d "$tmp"
2700 }  ||
2701 {
2702   tmp=./conf$$-$RANDOM
2703   (umask 077 && mkdir "$tmp")
2704 } ||
2705 {
2706    echo "$me: cannot create a temporary directory in ." >&2
2707    { (exit 1); exit 1; }
2708 }
2709
2710 #
2711 # Set up the sed scripts for CONFIG_FILES section.
2712 #
2713
2714 # No need to generate the scripts if there are no CONFIG_FILES.
2715 # This happens for instance when ./config.status config.h
2716 if test -n "$CONFIG_FILES"; then
2717
2718 _ACEOF
2719
2720
2721
2722 ac_delim='%!_!# '
2723 for ac_last_try in false false false false false :; do
2724   cat >conf$$subs.sed <<_ACEOF
2725 SHELL!$SHELL$ac_delim
2726 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2727 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2728 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2729 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2730 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2731 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2732 exec_prefix!$exec_prefix$ac_delim
2733 prefix!$prefix$ac_delim
2734 program_transform_name!$program_transform_name$ac_delim
2735 bindir!$bindir$ac_delim
2736 sbindir!$sbindir$ac_delim
2737 libexecdir!$libexecdir$ac_delim
2738 datarootdir!$datarootdir$ac_delim
2739 datadir!$datadir$ac_delim
2740 sysconfdir!$sysconfdir$ac_delim
2741 sharedstatedir!$sharedstatedir$ac_delim
2742 localstatedir!$localstatedir$ac_delim
2743 includedir!$includedir$ac_delim
2744 oldincludedir!$oldincludedir$ac_delim
2745 docdir!$docdir$ac_delim
2746 infodir!$infodir$ac_delim
2747 htmldir!$htmldir$ac_delim
2748 dvidir!$dvidir$ac_delim
2749 pdfdir!$pdfdir$ac_delim
2750 psdir!$psdir$ac_delim
2751 libdir!$libdir$ac_delim
2752 localedir!$localedir$ac_delim
2753 mandir!$mandir$ac_delim
2754 DEFS!$DEFS$ac_delim
2755 ECHO_C!$ECHO_C$ac_delim
2756 ECHO_N!$ECHO_N$ac_delim
2757 ECHO_T!$ECHO_T$ac_delim
2758 LIBS!$LIBS$ac_delim
2759 build_alias!$build_alias$ac_delim
2760 host_alias!$host_alias$ac_delim
2761 target_alias!$target_alias$ac_delim
2762 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2763 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2764 INSTALL_DATA!$INSTALL_DATA$ac_delim
2765 CYGPATH_W!$CYGPATH_W$ac_delim
2766 PACKAGE!$PACKAGE$ac_delim
2767 VERSION!$VERSION$ac_delim
2768 ACLOCAL!$ACLOCAL$ac_delim
2769 AUTOCONF!$AUTOCONF$ac_delim
2770 AUTOMAKE!$AUTOMAKE$ac_delim
2771 AUTOHEADER!$AUTOHEADER$ac_delim
2772 MAKEINFO!$MAKEINFO$ac_delim
2773 AMTAR!$AMTAR$ac_delim
2774 install_sh!$install_sh$ac_delim
2775 STRIP!$STRIP$ac_delim
2776 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2777 AWK!$AWK$ac_delim
2778 SET_MAKE!$SET_MAKE$ac_delim
2779 am__leading_dot!$am__leading_dot$ac_delim
2780 LIBOBJS!$LIBOBJS$ac_delim
2781 LTLIBOBJS!$LTLIBOBJS$ac_delim
2782 _ACEOF
2783
2784   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
2785     break
2786   elif $ac_last_try; then
2787     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2788 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2789    { (exit 1); exit 1; }; }
2790   else
2791     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2792   fi
2793 done
2794
2795 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2796 if test -n "$ac_eof"; then
2797   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2798   ac_eof=`expr $ac_eof + 1`
2799 fi
2800
2801 cat >>$CONFIG_STATUS <<_ACEOF
2802 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2803 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2804 _ACEOF
2805 sed '
2806 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2807 s/^/s,@/; s/!/@,|#_!!_#|/
2808 :n
2809 t n
2810 s/'"$ac_delim"'$/,g/; t
2811 s/$/\\/; p
2812 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2813 ' >>$CONFIG_STATUS <conf$$subs.sed
2814 rm -f conf$$subs.sed
2815 cat >>$CONFIG_STATUS <<_ACEOF
2816 :end
2817 s/|#_!!_#|//g
2818 CEOF$ac_eof
2819 _ACEOF
2820
2821
2822 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2823 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2824 # trailing colons and then remove the whole line if VPATH becomes empty
2825 # (actually we leave an empty line to preserve line numbers).
2826 if test "x$srcdir" = x.; then
2827   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2828 s/:*\$(srcdir):*/:/
2829 s/:*\${srcdir}:*/:/
2830 s/:*@srcdir@:*/:/
2831 s/^\([^=]*=[     ]*\):*/\1/
2832 s/:*$//
2833 s/^[^=]*=[       ]*$//
2834 }'
2835 fi
2836
2837 cat >>$CONFIG_STATUS <<\_ACEOF
2838 fi # test -n "$CONFIG_FILES"
2839
2840
2841 for ac_tag in  :F $CONFIG_FILES
2842 do
2843   case $ac_tag in
2844   :[FHLC]) ac_mode=$ac_tag; continue;;
2845   esac
2846   case $ac_mode$ac_tag in
2847   :[FHL]*:*);;
2848   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2849 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2850    { (exit 1); exit 1; }; };;
2851   :[FH]-) ac_tag=-:-;;
2852   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2853   esac
2854   ac_save_IFS=$IFS
2855   IFS=:
2856   set x $ac_tag
2857   IFS=$ac_save_IFS
2858   shift
2859   ac_file=$1
2860   shift
2861
2862   case $ac_mode in
2863   :L) ac_source=$1;;
2864   :[FH])
2865     ac_file_inputs=
2866     for ac_f
2867     do
2868       case $ac_f in
2869       -) ac_f="$tmp/stdin";;
2870       *) # Look for the file first in the build tree, then in the source tree
2871          # (if the path is not absolute).  The absolute path cannot be DOS-style,
2872          # because $ac_f cannot contain `:'.
2873          test -f "$ac_f" ||
2874            case $ac_f in
2875            [\\/$]*) false;;
2876            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2877            esac ||
2878            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2879 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2880    { (exit 1); exit 1; }; };;
2881       esac
2882       ac_file_inputs="$ac_file_inputs $ac_f"
2883     done
2884
2885     # Let's still pretend it is `configure' which instantiates (i.e., don't
2886     # use $as_me), people would be surprised to read:
2887     #    /* config.h.  Generated by config.status.  */
2888     configure_input="Generated from "`IFS=:
2889           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2890     if test x"$ac_file" != x-; then
2891       configure_input="$ac_file.  $configure_input"
2892       { echo "$as_me:$LINENO: creating $ac_file" >&5
2893 echo "$as_me: creating $ac_file" >&6;}
2894     fi
2895
2896     case $ac_tag in
2897     *:-:* | *:-) cat >"$tmp/stdin";;
2898     esac
2899     ;;
2900   esac
2901
2902   ac_dir=`$as_dirname -- "$ac_file" ||
2903 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2904          X"$ac_file" : 'X\(//\)[^/]' \| \
2905          X"$ac_file" : 'X\(//\)$' \| \
2906          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2907 echo X"$ac_file" |
2908     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2909             s//\1/
2910             q
2911           }
2912           /^X\(\/\/\)[^/].*/{
2913             s//\1/
2914             q
2915           }
2916           /^X\(\/\/\)$/{
2917             s//\1/
2918             q
2919           }
2920           /^X\(\/\).*/{
2921             s//\1/
2922             q
2923           }
2924           s/.*/./; q'`
2925   { as_dir="$ac_dir"
2926   case $as_dir in #(
2927   -*) as_dir=./$as_dir;;
2928   esac
2929   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2930     as_dirs=
2931     while :; do
2932       case $as_dir in #(
2933       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2934       *) as_qdir=$as_dir;;
2935       esac
2936       as_dirs="'$as_qdir' $as_dirs"
2937       as_dir=`$as_dirname -- "$as_dir" ||
2938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2939          X"$as_dir" : 'X\(//\)[^/]' \| \
2940          X"$as_dir" : 'X\(//\)$' \| \
2941          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2942 echo X"$as_dir" |
2943     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2944             s//\1/
2945             q
2946           }
2947           /^X\(\/\/\)[^/].*/{
2948             s//\1/
2949             q
2950           }
2951           /^X\(\/\/\)$/{
2952             s//\1/
2953             q
2954           }
2955           /^X\(\/\).*/{
2956             s//\1/
2957             q
2958           }
2959           s/.*/./; q'`
2960       test -d "$as_dir" && break
2961     done
2962     test -z "$as_dirs" || eval "mkdir $as_dirs"
2963   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2964 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2965    { (exit 1); exit 1; }; }; }
2966   ac_builddir=.
2967
2968 case "$ac_dir" in
2969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2970 *)
2971   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2972   # A ".." for each directory in $ac_dir_suffix.
2973   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2974   case $ac_top_builddir_sub in
2975   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2976   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2977   esac ;;
2978 esac
2979 ac_abs_top_builddir=$ac_pwd
2980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2981 # for backward compatibility:
2982 ac_top_builddir=$ac_top_build_prefix
2983
2984 case $srcdir in
2985   .)  # We are building in place.
2986     ac_srcdir=.
2987     ac_top_srcdir=$ac_top_builddir_sub
2988     ac_abs_top_srcdir=$ac_pwd ;;
2989   [\\/]* | ?:[\\/]* )  # Absolute name.
2990     ac_srcdir=$srcdir$ac_dir_suffix;
2991     ac_top_srcdir=$srcdir
2992     ac_abs_top_srcdir=$srcdir ;;
2993   *) # Relative name.
2994     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2995     ac_top_srcdir=$ac_top_build_prefix$srcdir
2996     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2997 esac
2998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2999
3000
3001   case $ac_mode in
3002   :F)
3003   #
3004   # CONFIG_FILE
3005   #
3006
3007   case $INSTALL in
3008   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3009   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3010   esac
3011 _ACEOF
3012
3013 cat >>$CONFIG_STATUS <<\_ACEOF
3014 # If the template does not know about datarootdir, expand it.
3015 # FIXME: This hack should be removed a few years after 2.60.
3016 ac_datarootdir_hack=; ac_datarootdir_seen=
3017
3018 case `sed -n '/datarootdir/ {
3019   p
3020   q
3021 }
3022 /@datadir@/p
3023 /@docdir@/p
3024 /@infodir@/p
3025 /@localedir@/p
3026 /@mandir@/p
3027 ' $ac_file_inputs` in
3028 *datarootdir*) ac_datarootdir_seen=yes;;
3029 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3030   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3031 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3032 _ACEOF
3033 cat >>$CONFIG_STATUS <<_ACEOF
3034   ac_datarootdir_hack='
3035   s&@datadir@&$datadir&g
3036   s&@docdir@&$docdir&g
3037   s&@infodir@&$infodir&g
3038   s&@localedir@&$localedir&g
3039   s&@mandir@&$mandir&g
3040     s&\\\${datarootdir}&$datarootdir&g' ;;
3041 esac
3042 _ACEOF
3043
3044 # Neutralize VPATH when `$srcdir' = `.'.
3045 # Shell code in configure.ac might set extrasub.
3046 # FIXME: do we really want to maintain this feature?
3047 cat >>$CONFIG_STATUS <<_ACEOF
3048   sed "$ac_vpsub
3049 $extrasub
3050 _ACEOF
3051 cat >>$CONFIG_STATUS <<\_ACEOF
3052 :t
3053 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3054 s&@configure_input@&$configure_input&;t t
3055 s&@top_builddir@&$ac_top_builddir_sub&;t t
3056 s&@srcdir@&$ac_srcdir&;t t
3057 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3058 s&@top_srcdir@&$ac_top_srcdir&;t t
3059 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3060 s&@builddir@&$ac_builddir&;t t
3061 s&@abs_builddir@&$ac_abs_builddir&;t t
3062 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3063 s&@INSTALL@&$ac_INSTALL&;t t
3064 $ac_datarootdir_hack
3065 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3066
3067 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3068   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3069   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3070   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3071 which seems to be undefined.  Please make sure it is defined." >&5
3072 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3073 which seems to be undefined.  Please make sure it is defined." >&2;}
3074
3075   rm -f "$tmp/stdin"
3076   case $ac_file in
3077   -) cat "$tmp/out"; rm -f "$tmp/out";;
3078   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3079   esac
3080  ;;
3081
3082
3083
3084   esac
3085
3086 done # for ac_tag
3087
3088
3089 { (exit 0); exit 0; }
3090 _ACEOF
3091 chmod +x $CONFIG_STATUS
3092 ac_clean_files=$ac_clean_files_save
3093
3094
3095 # configure is writing to config.log, and then calls config.status.
3096 # config.status does its own redirection, appending to config.log.
3097 # Unfortunately, on DOS this fails, as config.log is still kept open
3098 # by configure, so config.status won't be able to write to it; its
3099 # output is simply discarded.  So we exec the FD to /dev/null,
3100 # effectively closing config.log, so it can be properly (re)opened and
3101 # appended to by config.status.  When coming back to configure, we
3102 # need to make the FD available again.
3103 if test "$no_create" != yes; then
3104   ac_cs_success=:
3105   ac_config_status_args=
3106   test "$silent" = yes &&
3107     ac_config_status_args="$ac_config_status_args --quiet"
3108   exec 5>/dev/null
3109   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3110   exec 5>>config.log
3111   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3112   # would make configure fail if this is the last instruction.
3113   $ac_cs_success || { (exit 1); exit 1; }
3114 fi
3115