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