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