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