/[hurd]/gnumach/linux/configure
ViewVC logotype

Diff of /gnumach/linux/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by roland, Sat May 22 23:35:45 1999 UTC revision 1.2.4.1 by marcus, Tue Jul 12 23:01:04 2005 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
   
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated automatically using autoconf version 2.12  # Generated by GNU Autoconf 2.59 for GNU Mach 1.3.
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.  
4  #  #
5    # Copyright (C) 2003 Free Software Foundation, Inc.
6  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
7  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
8    ## --------------------- ##
9    ## M4sh Initialization.  ##
10    ## --------------------- ##
11    
12    # Be Bourne compatible
13    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14      emulate sh
15      NULLCMD=:
16      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17      # is contrary to our usage.  Disable this feature.
18      alias -g '${1+"$@"}'='"$@"'
19    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20      set -o posix
21    fi
22    DUALCASE=1; export DUALCASE # for MKS sh
23    
24    # Support unset when possible.
25    if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26      as_unset=unset
27    else
28      as_unset=false
29    fi
30    
31    
32    # Work around bugs in pre-3.0 UWIN ksh.
33    $as_unset ENV MAIL MAILPATH
34    PS1='$ '
35    PS2='> '
36    PS4='+ '
37    
38    # NLS nuisances.
39    for as_var in \
40      LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41      LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42      LC_TELEPHONE LC_TIME
43    do
44      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45        eval $as_var=C; export $as_var
46      else
47        $as_unset $as_var
48      fi
49    done
50    
51    # Required to use basename.
52    if expr a : '\(a\)' >/dev/null 2>&1; then
53      as_expr=expr
54    else
55      as_expr=false
56    fi
57    
58    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59      as_basename=basename
60    else
61      as_basename=false
62    fi
63    
64    
65    # Name of the executable.
66    as_me=`$as_basename "$0" ||
67    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68             X"$0" : 'X\(//\)$' \| \
69             X"$0" : 'X\(/\)$' \| \
70             .     : '\(.\)' 2>/dev/null ||
71    echo X/"$0" |
72        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73              /^X\/\(\/\/\)$/{ s//\1/; q; }
74              /^X\/\(\/\).*/{ s//\1/; q; }
75              s/.*/./; q'`
76    
77    
78    # PATH needs CR, and LINENO needs CR and PATH.
79    # Avoid depending upon Character Ranges.
80    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83    as_cr_digits='0123456789'
84    as_cr_alnum=$as_cr_Letters$as_cr_digits
85    
86    # The user is always right.
87    if test "${PATH_SEPARATOR+set}" != set; then
88      echo "#! /bin/sh" >conf$$.sh
89      echo  "exit 0"   >>conf$$.sh
90      chmod +x conf$$.sh
91      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92        PATH_SEPARATOR=';'
93      else
94        PATH_SEPARATOR=:
95      fi
96      rm -f conf$$.sh
97    fi
98    
99    
100      as_lineno_1=$LINENO
101      as_lineno_2=$LINENO
102      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103      test "x$as_lineno_1" != "x$as_lineno_2" &&
104      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105      # Find who we are.  Look in the path if we contain no path at all
106      # relative or not.
107      case $0 in
108        *[\\/]* ) as_myself=$0 ;;
109        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110    for as_dir in $PATH
111    do
112      IFS=$as_save_IFS
113      test -z "$as_dir" && as_dir=.
114      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115    done
116    
117           ;;
118      esac
119      # We did not find ourselves, most probably we were run as `sh COMMAND'
120      # in which case we are not to be found in the path.
121      if test "x$as_myself" = x; then
122        as_myself=$0
123      fi
124      if test ! -f "$as_myself"; then
125        { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126       { (exit 1); exit 1; }; }
127      fi
128      case $CONFIG_SHELL in
129      '')
130        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132    do
133      IFS=$as_save_IFS
134      test -z "$as_dir" && as_dir=.
135      for as_base in sh bash ksh sh5; do
136             case $as_dir in
137             /*)
138               if ("$as_dir/$as_base" -c '
139      as_lineno_1=$LINENO
140      as_lineno_2=$LINENO
141      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142      test "x$as_lineno_1" != "x$as_lineno_2" &&
143      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146                 CONFIG_SHELL=$as_dir/$as_base
147                 export CONFIG_SHELL
148                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149               fi;;
150             esac
151           done
152    done
153    ;;
154      esac
155    
156      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157      # uniformly replaced by the line number.  The first 'sed' inserts a
158      # line-number line before each line; the second 'sed' does the real
159      # work.  The second script uses 'N' to pair each line-number line
160      # with the numbered line, and appends trailing '-' during
161      # substitution so that $LINENO is not a special case at line end.
162      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164      sed '=' <$as_myself |
165        sed '
166          N
167          s,$,-,
168          : loop
169          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170          t loop
171          s,-$,,
172          s,^['$as_cr_digits']*\n,,
173        ' >$as_me.lineno &&
174      chmod +x $as_me.lineno ||
175        { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176       { (exit 1); exit 1; }; }
177    
178      # Don't try to exec as it changes $[0], causing all sort of problems
179      # (the dirname of $[0] is not the place where we might find the
180      # original and so on.  Autoconf is especially sensible to this).
181      . ./$as_me.lineno
182      # Exit status is that of the last command.
183      exit
184    }
185    
186    
187    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188      *c*,-n*) ECHO_N= ECHO_C='
189    ' ECHO_T='      ' ;;
190      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192    esac
193    
194    if expr a : '\(a\)' >/dev/null 2>&1; then
195      as_expr=expr
196    else
197      as_expr=false
198    fi
199    
200    rm -f conf$$ conf$$.exe conf$$.file
201    echo >conf$$.file
202    if ln -s conf$$.file conf$$ 2>/dev/null; then
203      # We could just check for DJGPP; but this test a) works b) is more generic
204      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205      if test -f conf$$.exe; then
206        # Don't use ln at all; we don't have any links
207        as_ln_s='cp -p'
208      else
209        as_ln_s='ln -s'
210      fi
211    elif ln conf$$.file conf$$ 2>/dev/null; then
212      as_ln_s=ln
213    else
214      as_ln_s='cp -p'
215    fi
216    rm -f conf$$ conf$$.exe conf$$.file
217    
218    if mkdir -p . 2>/dev/null; then
219      as_mkdir_p=:
220    else
221      test -d ./-p && rmdir ./-p
222      as_mkdir_p=false
223    fi
224    
225    as_executable_p="test -f"
226    
227  # Defaults:  # Sed expression to map a string onto a valid CPP name.
228  ac_help=  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229    
230    # Sed expression to map a string onto a valid variable name.
231    as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232    
233    
234    # IFS
235    # We need space, tab and new line, in precisely that order.
236    as_nl='
237    '
238    IFS="   $as_nl"
239    
240    # CDPATH.
241    $as_unset CDPATH
242    
243    
244    # Name of the host.
245    # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246    # so uname gets run too.
247    ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248    
249    exec 6>&1
250    
251    #
252    # Initializations.
253    #
254  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
255  # Any additions from configure.in:  ac_config_libobj_dir=.
256    cross_compiling=no
257    subdirs=
258    MFLAGS=
259    MAKEFLAGS=
260    SHELL=${CONFIG_SHELL-/bin/sh}
261    
262    # Maximum number of lines to put in a shell here document.
263    # This variable seems obsolete.  It should probably be removed, and
264    # only ac_max_sed_lines should be used.
265    : ${ac_max_here_lines=38}
266    
267    # Identity of this package.
268    PACKAGE_NAME='GNU Mach'
269    PACKAGE_TARNAME='package'
270    PACKAGE_VERSION='1.3'
271    PACKAGE_STRING='GNU Mach 1.3'
272    PACKAGE_BUGREPORT=''
273    
274    ac_unique_file="src/include/linux/version.h"
275    ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os systype LIBOBJS LTLIBOBJS'
276    ac_subst_files=''
277    
278  # Initialize some variables set by options.  # Initialize some variables set by options.
279    ac_init_help=
280    ac_init_version=false
281  # The variables have the same names as the options, with  # The variables have the same names as the options, with
282  # dashes changed to underlines.  # dashes changed to underlines.
283  build=NONE  cache_file=/dev/null
 cache_file=./config.cache  
284  exec_prefix=NONE  exec_prefix=NONE
 host=NONE  
285  no_create=  no_create=
 nonopt=NONE  
286  no_recursion=  no_recursion=
287  prefix=NONE  prefix=NONE
288  program_prefix=NONE  program_prefix=NONE
# Line 29  program_transform_name=s,x,x, Line 291  program_transform_name=s,x,x,
291  silent=  silent=
292  site=  site=
293  srcdir=  srcdir=
 target=NONE  
294  verbose=  verbose=
295  x_includes=NONE  x_includes=NONE
296  x_libraries=NONE  x_libraries=NONE
297    
298    # Installation directory options.
299    # These are left unexpanded so users can "make install exec_prefix=/foo"
300    # and all the variables that are supposed to be based on exec_prefix
301    # by default will actually change.
302    # Use braces instead of parens because sh, perl, etc. also accept them.
303  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
304  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
305  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
# Line 46  oldincludedir='/usr/include' Line 313  oldincludedir='/usr/include'
313  infodir='${prefix}/info'  infodir='${prefix}/info'
314  mandir='${prefix}/man'  mandir='${prefix}/man'
315    
 # Initialize some other variables.  
 subdirs=  
 MFLAGS= MAKEFLAGS=  
 # Maximum number of lines to put in a shell here document.  
 ac_max_here_lines=12  
   
316  ac_prev=  ac_prev=
317  for ac_option  for ac_option
318  do  do
   
319    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
320    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
321      eval "$ac_prev=\$ac_option"      eval "$ac_prev=\$ac_option"
# Line 63  do Line 323  do
323      continue      continue
324    fi    fi
325    
326    case "$ac_option" in    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  
   *) ac_optarg= ;;  
   esac  
327    
328    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
329    
330    case "$ac_option" in    case $ac_option in
331    
332    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
333      ac_prev=bindir ;;      ac_prev=bindir ;;
334    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335      bindir="$ac_optarg" ;;      bindir=$ac_optarg ;;
336    
337    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
338      ac_prev=build ;;      ac_prev=build_alias ;;
339    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340      build="$ac_optarg" ;;      build_alias=$ac_optarg ;;
341    
342    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
343    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344      ac_prev=cache_file ;;      ac_prev=cache_file ;;
345    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347      cache_file="$ac_optarg" ;;      cache_file=$ac_optarg ;;
348    
349      --config-cache | -C)
350        cache_file=config.cache ;;
351    
352    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353      ac_prev=datadir ;;      ac_prev=datadir ;;
354    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355    | --da=*)    | --da=*)
356      datadir="$ac_optarg" ;;      datadir=$ac_optarg ;;
357    
358    -disable-* | --disable-*)    -disable-* | --disable-*)
359      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
361      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363      fi     { (exit 1); exit 1; }; }
364      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365      eval "enable_${ac_feature}=no" ;;      eval "enable_$ac_feature=no" ;;
366    
367    -enable-* | --enable-*)    -enable-* | --enable-*)
368      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
370      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372      fi     { (exit 1); exit 1; }; }
373      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374      case "$ac_option" in      case $ac_option in
375        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
377      esac      esac
378      eval "enable_${ac_feature}='$ac_optarg'" ;;      eval "enable_$ac_feature='$ac_optarg'" ;;
379    
380    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 124  do Line 384  do
384    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
387      exec_prefix="$ac_optarg" ;;      exec_prefix=$ac_optarg ;;
388    
389    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
390      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
391      with_gas=yes ;;      with_gas=yes ;;
392    
393    -help | --help | --hel | --he)    -help | --help | --hel | --he | -h)
394      # Omit some internal or obsolete options to make the list less imposing.      ac_init_help=long ;;
395      # This message is too long to be a string in the A/UX 3.1 sh.    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396      cat << EOF      ac_init_help=recursive ;;
397  Usage: configure [options] [host]    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398  Options: [defaults in brackets after descriptions]      ac_init_help=short ;;
 Configuration:  
   --cache-file=FILE       cache test results in FILE  
   --help                  print this message  
   --no-create             do not create output files  
   --quiet, --silent       do not print \`checking...' messages  
   --version               print the version of autoconf that created configure  
 Directory and file names:  
   --prefix=PREFIX         install architecture-independent files in PREFIX  
                           [$ac_default_prefix]  
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
                           [same as prefix]  
   --bindir=DIR            user executables in DIR [EPREFIX/bin]  
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]  
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]  
   --datadir=DIR           read-only architecture-independent data in DIR  
                           [PREFIX/share]  
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]  
   --sharedstatedir=DIR    modifiable architecture-independent data in DIR  
                           [PREFIX/com]  
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]  
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]  
   --includedir=DIR        C header files in DIR [PREFIX/include]  
   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]  
   --infodir=DIR           info documentation in DIR [PREFIX/info]  
   --mandir=DIR            man documentation in DIR [PREFIX/man]  
   --srcdir=DIR            find the sources in DIR [configure dir or ..]  
   --program-prefix=PREFIX prepend PREFIX to installed program names  
   --program-suffix=SUFFIX append SUFFIX to installed program names  
   --program-transform-name=PROGRAM  
                           run sed PROGRAM on installed program names  
 EOF  
     cat << EOF  
 Host type:  
   --build=BUILD           configure for building on BUILD [BUILD=HOST]  
   --host=HOST             configure for HOST [guessed]  
   --target=TARGET         configure for TARGET [TARGET=HOST]  
 Features and packages:  
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]  
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  
   --x-includes=DIR        X include files are in DIR  
   --x-libraries=DIR       X library files are in DIR  
 EOF  
     if test -n "$ac_help"; then  
       echo "--enable and --with options recognized:$ac_help"  
     fi  
     exit 0 ;;  
399    
400    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
401      ac_prev=host ;;      ac_prev=host_alias ;;
402    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
403      host="$ac_optarg" ;;      host_alias=$ac_optarg ;;
404    
405    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
406    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
407      ac_prev=includedir ;;      ac_prev=includedir ;;
408    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
410      includedir="$ac_optarg" ;;      includedir=$ac_optarg ;;
411    
412    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
413      ac_prev=infodir ;;      ac_prev=infodir ;;
414    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415      infodir="$ac_optarg" ;;      infodir=$ac_optarg ;;
416    
417    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
418      ac_prev=libdir ;;      ac_prev=libdir ;;
419    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
420      libdir="$ac_optarg" ;;      libdir=$ac_optarg ;;
421    
422    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
424      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
425    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
427      libexecdir="$ac_optarg" ;;      libexecdir=$ac_optarg ;;
428    
429    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
430    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
# Line 221  EOF Line 433  EOF
433    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436      localstatedir="$ac_optarg" ;;      localstatedir=$ac_optarg ;;
437    
438    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439      ac_prev=mandir ;;      ac_prev=mandir ;;
440    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441      mandir="$ac_optarg" ;;      mandir=$ac_optarg ;;
442    
443    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
444      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
445      with_fp=no ;;      with_fp=no ;;
446    
447    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448    | --no-cr | --no-c)    | --no-cr | --no-c | -n)
449      no_create=yes ;;      no_create=yes ;;
450    
451    -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 247  EOF Line 459  EOF
459    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462      oldincludedir="$ac_optarg" ;;      oldincludedir=$ac_optarg ;;
463    
464    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465      ac_prev=prefix ;;      ac_prev=prefix ;;
466    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467      prefix="$ac_optarg" ;;      prefix=$ac_optarg ;;
468    
469    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
470    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
471      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
472    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
473    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474      program_prefix="$ac_optarg" ;;      program_prefix=$ac_optarg ;;
475    
476    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
477    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
478      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
479    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
480    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481      program_suffix="$ac_optarg" ;;      program_suffix=$ac_optarg ;;
482    
483    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
484    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 283  EOF Line 495  EOF
495    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
496    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
497    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
498      program_transform_name="$ac_optarg" ;;      program_transform_name=$ac_optarg ;;
499    
500    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 293  EOF Line 505  EOF
505      ac_prev=sbindir ;;      ac_prev=sbindir ;;
506    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
508      sbindir="$ac_optarg" ;;      sbindir=$ac_optarg ;;
509    
510    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
511    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 304  EOF Line 516  EOF
516    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518    | --sha=* | --sh=*)    | --sha=* | --sh=*)
519      sharedstatedir="$ac_optarg" ;;      sharedstatedir=$ac_optarg ;;
520    
521    -site | --site | --sit)    -site | --site | --sit)
522      ac_prev=site ;;      ac_prev=site ;;
523    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
524      site="$ac_optarg" ;;      site=$ac_optarg ;;
525    
526    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527      ac_prev=srcdir ;;      ac_prev=srcdir ;;
528    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529      srcdir="$ac_optarg" ;;      srcdir=$ac_optarg ;;
530    
531    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
533      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
534    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536      sysconfdir="$ac_optarg" ;;      sysconfdir=$ac_optarg ;;
537    
538    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
539      ac_prev=target ;;      ac_prev=target_alias ;;
540    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541      target="$ac_optarg" ;;      target_alias=$ac_optarg ;;
542    
543    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
544      verbose=yes ;;      verbose=yes ;;
545    
546    -version | --version | --versio | --versi | --vers)    -version | --version | --versio | --versi | --vers | -V)
547      echo "configure generated by autoconf version 2.12"      ac_init_version=: ;;
     exit 0 ;;  
548    
549    -with-* | --with-*)    -with-* | --with-*)
550      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
552      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
554      fi     { (exit 1); exit 1; }; }
555      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
556      case "$ac_option" in      case $ac_option in
557        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
559      esac      esac
560      eval "with_${ac_package}='$ac_optarg'" ;;      eval "with_$ac_package='$ac_optarg'" ;;
561    
562    -without-* | --without-*)    -without-* | --without-*)
563      ac_package=`echo $ac_option|sed -e 's/-*without-//'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
565      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
567      fi     { (exit 1); exit 1; }; }
568      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
569      eval "with_${ac_package}=no" ;;      eval "with_$ac_package=no" ;;
570    
571    --x)    --x)
572      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 366  EOF Line 577  EOF
577      ac_prev=x_includes ;;      ac_prev=x_includes ;;
578    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580      x_includes="$ac_optarg" ;;      x_includes=$ac_optarg ;;
581    
582    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
583    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
585    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587      x_libraries="$ac_optarg" ;;      x_libraries=$ac_optarg ;;
588    
589    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    -*) { echo "$as_me: error: unrecognized option: $ac_option
590    Try \`$0 --help' for more information." >&2
591       { (exit 1); exit 1; }; }
592      ;;      ;;
593    
594      *=*)
595        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596        # Reject names that are not valid shell variable names.
597        expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598          { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599       { (exit 1); exit 1; }; }
600        ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601        eval "$ac_envvar='$ac_optarg'"
602        export $ac_envvar ;;
603    
604    *)    *)
605      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      # FIXME: should be removed in autoconf 3.0.
606        echo "configure: warning: $ac_option: invalid host type" 1>&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607      fi      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608      if test "x$nonopt" != xNONE; then        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609        { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     fi  
     nonopt="$ac_option"  
610      ;;      ;;
611    
612    esac    esac
613  done  done
614    
615  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
616    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617  fi    { echo "$as_me: error: missing argument to $ac_option" >&2
618       { (exit 1); exit 1; }; }
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
 # File descriptor usage:  
 # 0 standard input  
 # 1 file creation  
 # 2 errors and warnings  
 # 3 some systems may open it to /dev/tty  
 # 4 used on the Kubota Titan  
 # 6 checking for... messages and results  
 # 5 compiler messages saved in config.log  
 if test "$silent" = yes; then  
   exec 6>/dev/null  
 else  
   exec 6>&1  
619  fi  fi
 exec 5>./config.log  
620    
621  echo "\  # Be sure to have absolute paths.
622  This file contains any messages produced by compilers while  for ac_var in exec_prefix prefix
623  running configure, to aid debugging if configure makes a mistake.  do
624  " 1>&5    eval ac_val=$`echo $ac_var`
625      case $ac_val in
626        [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627        *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628       { (exit 1); exit 1; }; };;
629      esac
630    done
631    
632  # Strip out --no-create and --no-recursion so they do not pile up.  # Be sure to have absolute paths.
633  # Also quote any args containing shell metacharacters.  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634  ac_configure_args=                localstatedir libdir includedir oldincludedir infodir mandir
 for ac_arg  
635  do  do
636    case "$ac_arg" in    eval ac_val=$`echo $ac_var`
637    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    case $ac_val in
638    | --no-cr | --no-c) ;;      [\\/$]* | ?:[\\/]* ) ;;
639    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;     { (exit 1); exit 1; }; };;
   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  
   ac_configure_args="$ac_configure_args '$ac_arg'" ;;  
   *) ac_configure_args="$ac_configure_args $ac_arg" ;;  
641    esac    esac
642  done  done
643    
644  # NLS nuisances.  # There might be people who depend on the old broken behavior: `$host'
645  # Only set these to C if already set.  These must not be set unconditionally  # used to hold the argument of --host etc.
646  # because not all systems understand e.g. LANG=C (notably SCO).  # FIXME: To remove some day.
647  # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!  build=$build_alias
648  # Non-C LC_CTYPE values break the ctype check.  host=$host_alias
649  if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi  target=$target_alias
650  if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi  
651  if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi  # FIXME: To remove some day.
652  if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi  if test "x$host_alias" != x; then
653      if test "x$build_alias" = x; then
654        cross_compiling=maybe
655        echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656        If a cross compiler is detected then cross compile mode will be used." >&2
657      elif test "x$build_alias" != "x$host_alias"; then
658        cross_compiling=yes
659      fi
660    fi
661    
662  # confdefs.h avoids OS command line length limits that DEFS can exceed.  ac_tool_prefix=
663  rm -rf conftest* confdefs.h  test -n "$host_alias" && ac_tool_prefix=$host_alias-
664  # AIX cpp loses on an empty file, so make sure it contains at least a newline.  
665  echo > confdefs.h  test "$silent" = yes && exec 6>/dev/null
666    
 # A filename unique to this package, relative to the directory that  
 # configure is in, which we can look for to find out if srcdir is correct.  
 ac_unique_file=src/include/linux/version.h  
667    
668  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
669  if test -z "$srcdir"; then  if test -z "$srcdir"; then
670    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
671    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
672    ac_prog=$0    ac_confdir=`(dirname "$0") 2>/dev/null ||
673    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.           X"$0" : 'X\(//\)[^/]' \| \
675             X"$0" : 'X\(//\)$' \| \
676             X"$0" : 'X\(/\)' \| \
677             .     : '\(.\)' 2>/dev/null ||
678    echo X"$0" |
679        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681              /^X\(\/\/\)$/{ s//\1/; q; }
682              /^X\(\/\).*/{ s//\1/; q; }
683              s/.*/./; q'`
684    srcdir=$ac_confdir    srcdir=$ac_confdir
685    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
686      srcdir=..      srcdir=..
# Line 468  else Line 690  else
690  fi  fi
691  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
692    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
693      { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694       { (exit 1); exit 1; }; }
695    else    else
696      { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697       { (exit 1); exit 1; }; }
698    fi    fi
699  fi  fi
700  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701      { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702       { (exit 1); exit 1; }; }
703    srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704    ac_env_build_alias_set=${build_alias+set}
705    ac_env_build_alias_value=$build_alias
706    ac_cv_env_build_alias_set=${build_alias+set}
707    ac_cv_env_build_alias_value=$build_alias
708    ac_env_host_alias_set=${host_alias+set}
709    ac_env_host_alias_value=$host_alias
710    ac_cv_env_host_alias_set=${host_alias+set}
711    ac_cv_env_host_alias_value=$host_alias
712    ac_env_target_alias_set=${target_alias+set}
713    ac_env_target_alias_value=$target_alias
714    ac_cv_env_target_alias_set=${target_alias+set}
715    ac_cv_env_target_alias_value=$target_alias
716    
717    #
718    # Report the --help message.
719    #
720    if test "$ac_init_help" = "long"; then
721      # Omit some internal or obsolete options to make the list less imposing.
722      # This message is too long to be a string in the A/UX 3.1 sh.
723      cat <<_ACEOF
724    \`configure' configures GNU Mach 1.3 to adapt to many kinds of systems.
725    
726    Usage: $0 [OPTION]... [VAR=VALUE]...
727    
728    To assign environment variables (e.g., CC, CFLAGS...), specify them as
729    VAR=VALUE.  See below for descriptions of some of the useful variables.
730    
731    Defaults for the options are specified in brackets.
732    
733    Configuration:
734      -h, --help              display this help and exit
735          --help=short        display options specific to this package
736          --help=recursive    display the short help of all the included packages
737      -V, --version           display version information and exit
738      -q, --quiet, --silent   do not print \`checking...' messages
739          --cache-file=FILE   cache test results in FILE [disabled]
740      -C, --config-cache      alias for \`--cache-file=config.cache'
741      -n, --no-create         do not create output files
742          --srcdir=DIR        find the sources in DIR [configure dir or \`..']
743    
744    _ACEOF
745    
746      cat <<_ACEOF
747    Installation directories:
748      --prefix=PREFIX         install architecture-independent files in PREFIX
749                              [$ac_default_prefix]
750      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
751                              [PREFIX]
752    
753    By default, \`make install' will install all the files in
754    \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
755    an installation prefix other than \`$ac_default_prefix' using \`--prefix',
756    for instance \`--prefix=\$HOME'.
757    
758    For better control, use the options below.
759    
760    Fine tuning of the installation directories:
761      --bindir=DIR           user executables [EPREFIX/bin]
762      --sbindir=DIR          system admin executables [EPREFIX/sbin]
763      --libexecdir=DIR       program executables [EPREFIX/libexec]
764      --datadir=DIR          read-only architecture-independent data [PREFIX/share]
765      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
766      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
767      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
768      --libdir=DIR           object code libraries [EPREFIX/lib]
769      --includedir=DIR       C header files [PREFIX/include]
770      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
771      --infodir=DIR          info documentation [PREFIX/info]
772      --mandir=DIR           man documentation [PREFIX/man]
773    _ACEOF
774    
775      cat <<\_ACEOF
776    
777    System types:
778      --build=BUILD     configure for building on BUILD [guessed]
779      --host=HOST       cross-compile to build programs to run on HOST [BUILD]
780    _ACEOF
781    fi
782    
783    if test -n "$ac_init_help"; then
784      case $ac_init_help in
785         short | recursive ) echo "Configuration of GNU Mach 1.3:";;
786       esac
787      cat <<\_ACEOF
788    
789    _ACEOF
790    fi
791    
792    if test "$ac_init_help" = "recursive"; then
793      # If there are subdirs, report their specific --help.
794      ac_popdir=`pwd`
795      for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
796        test -d $ac_dir || continue
797        ac_builddir=.
798    
799    if test "$ac_dir" != .; then
800      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
801      # A "../" for each directory in $ac_dir_suffix.
802      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
803    else
804      ac_dir_suffix= ac_top_builddir=
805    fi
806    
807    case $srcdir in
808      .)  # No --srcdir option.  We are building in place.
809        ac_srcdir=.
810        if test -z "$ac_top_builddir"; then
811           ac_top_srcdir=.
812        else
813           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
814        fi ;;
815      [\\/]* | ?:[\\/]* )  # Absolute path.
816        ac_srcdir=$srcdir$ac_dir_suffix;
817        ac_top_srcdir=$srcdir ;;
818      *) # Relative path.
819        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
820        ac_top_srcdir=$ac_top_builddir$srcdir ;;
821    esac
822    
823    # Do not use `cd foo && pwd` to compute absolute paths, because
824    # the directories may not exist.
825    case `pwd` in
826    .) ac_abs_builddir="$ac_dir";;
827    *)
828      case "$ac_dir" in
829      .) ac_abs_builddir=`pwd`;;
830      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
831      *) ac_abs_builddir=`pwd`/"$ac_dir";;
832      esac;;
833    esac
834    case $ac_abs_builddir in
835    .) ac_abs_top_builddir=${ac_top_builddir}.;;
836    *)
837      case ${ac_top_builddir}. in
838      .) ac_abs_top_builddir=$ac_abs_builddir;;
839      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
840      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
841      esac;;
842    esac
843    case $ac_abs_builddir in
844    .) ac_abs_srcdir=$ac_srcdir;;
845    *)
846      case $ac_srcdir in
847      .) ac_abs_srcdir=$ac_abs_builddir;;
848      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
849      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
850      esac;;
851    esac
852    case $ac_abs_builddir in
853    .) ac_abs_top_srcdir=$ac_top_srcdir;;
854    *)
855      case $ac_top_srcdir in
856      .) ac_abs_top_srcdir=$ac_abs_builddir;;
857      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
858      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
859      esac;;
860    esac
861    
862        cd $ac_dir
863        # Check for guested configure; otherwise get Cygnus style configure.
864        if test -f $ac_srcdir/configure.gnu; then
865          echo
866          $SHELL $ac_srcdir/configure.gnu  --help=recursive
867        elif test -f $ac_srcdir/configure; then
868          echo
869          $SHELL $ac_srcdir/configure  --help=recursive
870        elif test -f $ac_srcdir/configure.ac ||
871               test -f $ac_srcdir/configure.in; then
872          echo
873          $ac_configure --help
874        else
875          echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
876        fi
877        cd "$ac_popdir"
878      done
879    fi
880    
881    test -n "$ac_init_help" && exit 0
882    if $ac_init_version; then
883      cat <<\_ACEOF
884    GNU Mach configure 1.3
885    generated by GNU Autoconf 2.59
886    
887    Copyright (C) 2003 Free Software Foundation, Inc.
888    This configure script is free software; the Free Software Foundation
889    gives unlimited permission to copy, distribute and modify it.
890    _ACEOF
891      exit 0
892    fi
893    exec 5>config.log
894    cat >&5 <<_ACEOF
895    This file contains any messages produced by compilers while
896    running configure, to aid debugging if configure makes a mistake.
897    
898    It was created by GNU Mach $as_me 1.3, which was
899    generated by GNU Autoconf 2.59.  Invocation command line was
900    
901      $ $0 $@
902    
903    _ACEOF
904    {
905    cat <<_ASUNAME
906    ## --------- ##
907    ## Platform. ##
908    ## --------- ##
909    
910    hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
911    uname -m = `(uname -m) 2>/dev/null || echo unknown`
912    uname -r = `(uname -r) 2>/dev/null || echo unknown`
913    uname -s = `(uname -s) 2>/dev/null || echo unknown`
914    uname -v = `(uname -v) 2>/dev/null || echo unknown`
915    
916    /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
917    /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
918    
919    /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
920    /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
921    /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
922    hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
923    /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
924    /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
925    /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
926    
927    _ASUNAME
928    
929    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
930    for as_dir in $PATH
931    do
932      IFS=$as_save_IFS
933      test -z "$as_dir" && as_dir=.
934      echo "PATH: $as_dir"
935    done
936    
937    } >&5
938    
939    cat >&5 <<_ACEOF
940    
941    
942    ## ----------- ##
943    ## Core tests. ##
944    ## ----------- ##
945    
946    _ACEOF
947    
948    
949    # Keep a trace of the command line.
950    # Strip out --no-create and --no-recursion so they do not pile up.
951    # Strip out --silent because we don't want to record it for future runs.
952    # Also quote any args containing shell meta-characters.
953    # Make two passes to allow for proper duplicate-argument suppression.
954    ac_configure_args=
955    ac_configure_args0=
956    ac_configure_args1=
957    ac_sep=
958    ac_must_keep_next=false
959    for ac_pass in 1 2
960    do
961      for ac_arg
962      do
963        case $ac_arg in
964        -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
965        -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966        | -silent | --silent | --silen | --sile | --sil)
967          continue ;;
968        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
969          ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
970        esac
971        case $ac_pass in
972        1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
973        2)
974          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
975          if test $ac_must_keep_next = true; then
976            ac_must_keep_next=false # Got value, back to normal.
977          else
978            case $ac_arg in
979              *=* | --config-cache | -C | -disable-* | --disable-* \
980              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
981              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
982              | -with-* | --with-* | -without-* | --without-* | --x)
983                case "$ac_configure_args0 " in
984                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
985                esac
986                ;;
987              -* ) ac_must_keep_next=true ;;
988            esac
989          fi
990          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
991          # Get rid of the leading space.
992          ac_sep=" "
993          ;;
994        esac
995      done
996    done
997    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
998    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
999    
1000    # When interrupted or exit'd, cleanup temporary files, and complete
1001    # config.log.  We remove comments because anyway the quotes in there
1002    # would cause problems or look ugly.
1003    # WARNING: Be sure not to use single quotes in there, as some shells,
1004    # such as our DU 5.0 friend, will then `close' the trap.
1005    trap 'exit_status=$?
1006      # Save into config.log some information that might help in debugging.
1007      {
1008        echo
1009    
1010        cat <<\_ASBOX
1011    ## ---------------- ##
1012    ## Cache variables. ##
1013    ## ---------------- ##
1014    _ASBOX
1015        echo
1016        # The following way of writing the cache mishandles newlines in values,
1017    {
1018      (set) 2>&1 |
1019        case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1020        *ac_space=\ *)
1021          sed -n \
1022            "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1023              s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1024          ;;
1025        *)
1026          sed -n \
1027            "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1028          ;;
1029        esac;
1030    }
1031        echo
1032    
1033        cat <<\_ASBOX
1034    ## ----------------- ##
1035    ## Output variables. ##
1036    ## ----------------- ##
1037    _ASBOX
1038        echo
1039        for ac_var in $ac_subst_vars
1040        do
1041          eval ac_val=$`echo $ac_var`
1042          echo "$ac_var='"'"'$ac_val'"'"'"
1043        done | sort
1044        echo
1045    
1046        if test -n "$ac_subst_files"; then
1047          cat <<\_ASBOX
1048    ## ------------- ##
1049    ## Output files. ##
1050    ## ------------- ##
1051    _ASBOX
1052          echo
1053          for ac_var in $ac_subst_files
1054          do
1055            eval ac_val=$`echo $ac_var`
1056            echo "$ac_var='"'"'$ac_val'"'"'"
1057          done | sort
1058          echo
1059        fi
1060    
1061        if test -s confdefs.h; then
1062          cat <<\_ASBOX
1063    ## ----------- ##
1064    ## confdefs.h. ##
1065    ## ----------- ##
1066    _ASBOX
1067          echo
1068          sed "/^$/d" confdefs.h | sort
1069          echo
1070        fi
1071        test "$ac_signal" != 0 &&
1072          echo "$as_me: caught signal $ac_signal"
1073        echo "$as_me: exit $exit_status"
1074      } >&5
1075      rm -f core *.core &&
1076      rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1077        exit $exit_status
1078         ' 0
1079    for ac_signal in 1 2 13 15; do
1080      trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1081    done
1082    ac_signal=0
1083    
1084    # confdefs.h avoids OS command line length limits that DEFS can exceed.
1085    rm -rf conftest* confdefs.h
1086    # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1087    echo >confdefs.h
1088    
1089    # Predefined preprocessor variables.
1090    
1091    cat >>confdefs.h <<_ACEOF
1092    #define PACKAGE_NAME "$PACKAGE_NAME"
1093    _ACEOF
1094    
1095    
1096    cat >>confdefs.h <<_ACEOF
1097    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1098    _ACEOF
1099    
1100    
1101    cat >>confdefs.h <<_ACEOF
1102    #define PACKAGE_VERSION "$PACKAGE_VERSION"
1103    _ACEOF
1104    
1105    
1106    cat >>confdefs.h <<_ACEOF
1107    #define PACKAGE_STRING "$PACKAGE_STRING"
1108    _ACEOF
1109    
1110    
1111    cat >>confdefs.h <<_ACEOF
1112    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1113    _ACEOF
1114    
1115    
1116    # Let the site file select an alternate cache file if it wants to.
1117  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
1118  if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
1119    if test "x$prefix" != xNONE; then    if test "x$prefix" != xNONE; then
# Line 485  if test -z "$CONFIG_SITE"; then Line 1124  if test -z "$CONFIG_SITE"; then
1124  fi  fi
1125  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
1126    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1127      echo "loading site script $ac_site_file"      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1128    echo "$as_me: loading site script $ac_site_file" >&6;}
1129        sed 's/^/| /' "$ac_site_file" >&5
1130      . "$ac_site_file"      . "$ac_site_file"
1131    fi    fi
1132  done  done
1133    
1134  if test -r "$cache_file"; then  if test -r "$cache_file"; then
1135    echo "loading cache $cache_file"    # Some versions of bash will fail to source /dev/null (special
1136    . $cache_file    # files actually), so we avoid doing that.
1137      if test -f "$cache_file"; then
1138        { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1139    echo "$as_me: loading cache $cache_file" >&6;}
1140        case $cache_file in
1141          [\\/]* | ?:[\\/]* ) . $cache_file;;
1142          *)                      . ./$cache_file;;
1143        esac
1144      fi
1145  else  else
1146    echo "creating cache $cache_file"    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1147    > $cache_file  echo "$as_me: creating cache $cache_file" >&6;}
1148      >$cache_file
1149    fi
1150    
1151    # Check that the precious variables saved in the cache have kept the same
1152    # value.
1153    ac_cache_corrupted=false
1154    for ac_var in `(set) 2>&1 |
1155                   sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1156      eval ac_old_set=\$ac_cv_env_${ac_var}_set
1157      eval ac_new_set=\$ac_env_${ac_var}_set
1158      eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1159      eval ac_new_val="\$ac_env_${ac_var}_value"
1160      case $ac_old_set,$ac_new_set in
1161        set,)
1162          { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1163    echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1164          ac_cache_corrupted=: ;;
1165        ,set)
1166          { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1167    echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1168          ac_cache_corrupted=: ;;
1169        ,);;
1170        *)
1171          if test "x$ac_old_val" != "x$ac_new_val"; then
1172            { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1173    echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1174            { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1175    echo "$as_me:   former value:  $ac_old_val" >&2;}
1176            { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1177    echo "$as_me:   current value: $ac_new_val" >&2;}
1178            ac_cache_corrupted=:
1179          fi;;
1180      esac
1181      # Pass precious variables to config.status.
1182      if test "$ac_new_set" = set; then
1183        case $ac_new_val in
1184        *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1185          ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1186        *) ac_arg=$ac_var=$ac_new_val ;;
1187        esac
1188        case " $ac_configure_args " in
1189          *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1190          *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1191        esac
1192      fi
1193    done
1194    if $ac_cache_corrupted; then
1195      { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1196    echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1197      { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1198    echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1199       { (exit 1); exit 1; }; }
1200  fi  fi
1201    
1202  ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
1203  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
1204  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1205  ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1206  cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1207    
1208    
1209    
1210    
1211    
1212    
1213    
1214    
1215    
1216    
1217    
1218    
1219    
1220    
1221    
1222    
1223    
1224    
1225    
1226    
1227    
1228    
1229    
 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  
   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  
   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then  
     ac_n= ac_c='  
 ' ac_t='        '  
   else  
     ac_n=-n ac_c= ac_t=  
   fi  
 else  
   ac_n= ac_c='\c' ac_t=  
 fi  
1230    
1231    
1232    
# Line 537  for ac_dir in $srcdir $srcdir/.. $srcdir Line 1248  for ac_dir in $srcdir $srcdir/.. $srcdir
1248      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
1249      ac_install_sh="$ac_aux_dir/install.sh -c"      ac_install_sh="$ac_aux_dir/install.sh -c"
1250      break      break
1251      elif test -f $ac_dir/shtool; then
1252        ac_aux_dir=$ac_dir
1253        ac_install_sh="$ac_aux_dir/shtool install -c"
1254        break
1255    fi    fi
1256  done  done
1257  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
1258    { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1259    echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1260       { (exit 1); exit 1; }; }
1261  fi  fi
1262  ac_config_guess=$ac_aux_dir/config.guess  ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1263  ac_config_sub=$ac_aux_dir/config.sub  ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1264  ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.  ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   
1265    
1266  # Make sure we can run config.sub.  # Make sure we can run config.sub.
1267  if $ac_config_sub sun4 >/dev/null 2>&1; then :  $ac_config_sub sun4 >/dev/null 2>&1 ||
1268  else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1269    echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1270       { (exit 1); exit 1; }; }
1271    
1272    echo "$as_me:$LINENO: checking build system type" >&5
1273    echo $ECHO_N "checking build system type... $ECHO_C" >&6
1274    if test "${ac_cv_build+set}" = set; then
1275      echo $ECHO_N "(cached) $ECHO_C" >&6
1276    else
1277      ac_cv_build_alias=$build_alias
1278    test -z "$ac_cv_build_alias" &&
1279      ac_cv_build_alias=`$ac_config_guess`
1280    test -z "$ac_cv_build_alias" &&
1281      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1282    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1283       { (exit 1); exit 1; }; }
1284    ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1285      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1286    echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1287       { (exit 1); exit 1; }; }
1288    
1289  fi  fi
1290    echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1291    echo "${ECHO_T}$ac_cv_build" >&6
1292    build=$ac_cv_build
1293    build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1294    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1295    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1296    
 echo $ac_n "checking host system type""... $ac_c" 1>&6  
 echo "configure:557: checking host system type" >&5  
1297    
1298  host_alias=$host  echo "$as_me:$LINENO: checking host system type" >&5
1299  case "$host_alias" in  echo $ECHO_N "checking host system type... $ECHO_C" >&6
1300  NONE)  if test "${ac_cv_host+set}" = set; then
1301    case $nonopt in    echo $ECHO_N "(cached) $ECHO_C" >&6
1302    NONE)  else
1303      if host_alias=`$ac_config_guess`; then :    ac_cv_host_alias=$host_alias
1304      else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }  test -z "$ac_cv_host_alias" &&
1305      fi ;;    ac_cv_host_alias=$ac_cv_build_alias
1306    *) host_alias=$nonopt ;;  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1307    esac ;;    { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1308  esac  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1309       { (exit 1); exit 1; }; }
1310    
1311    fi
1312    echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1313    echo "${ECHO_T}$ac_cv_host" >&6
1314    host=$ac_cv_host
1315    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1316    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1317    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1318    
 host=`$ac_config_sub $host_alias`  
 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$host" 1>&6  
1319    
1320  case "$host_cpu" in  case "$host_cpu" in
1321  i[3456]86)      systype=i386 ;;  i[3456]86)      systype=i386 ;;
# Line 579  i[3456]86)     systype=i386 ;; Line 1323  i[3456]86)     systype=i386 ;;
1323  esac  esac
1324    
1325    
1326                        ac_config_links="$ac_config_links src/include/asm:src/include/asm-${systype} dev/include/asm:dev/include/asm-${systype}"
1327    
1328    
1329  trap '' 1 2 15                                          ac_config_files="$ac_config_files src/.dummy:dummy.in dev/.dummy:dummy.in src/include/.dummy:dummy.in dev/include/.dummy:dummy.in"
1330  cat > confcache <<\EOF  
1331    cat >confcache <<\_ACEOF
1332  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
1333  # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
1334  # scripts and configure runs.  It is not useful on other systems.  # scripts and configure runs, see configure's option --config-cache.
1335  # If it contains results you don't want to keep, you may remove or edit it.  # It is not useful on other systems.  If it contains results you don't
1336    # want to keep, you may remove or edit it.
1337  #  #
1338  # By default, configure uses ./config.cache as the cache file,  # config.status only pays attention to the cache file if you give it
1339  # creating it if it does not exist already.  You can give configure  # the --recheck option to rerun configure.
 # the --cache-file=FILE option to use a different cache file; that is  
 # what configure does when it calls configure scripts in  
 # subdirectories, so they share the cache.  
 # Giving --cache-file=/dev/null disables caching, for debugging configure.  
 # config.status only pays attention to the cache file if you give it the  
 # --recheck option to rerun configure.  
1340  #  #
1341  EOF  # `ac_cv_env_foo' variables (set or unset) will be overridden when
1342    # loading this file, other *unset* `ac_cv_foo' will be assigned the
1343    # following values.
1344    
1345    _ACEOF
1346    
1347  # The following way of writing the cache mishandles newlines in values,  # The following way of writing the cache mishandles newlines in values,
1348  # but we know of no workaround that is simple, portable, and efficient.  # but we know of no workaround that is simple, portable, and efficient.
1349  # So, don't put newlines in cache variables' values.  # So, don't put newlines in cache variables' values.
1350  # Ultrix sh set writes to stderr and can't be redirected directly,  # Ultrix sh set writes to stderr and can't be redirected directly,
1351  # and sets the high bit in the cache file unless we assign to the vars.  # and sets the high bit in the cache file unless we assign to the vars.
1352  (set) 2>&1 |  {
1353    case `(ac_space=' '; set) 2>&1` in    (set) 2>&1 |
1354    *ac_space=\ *)      case `(ac_space=' '; set | grep ac_space) 2>&1` in
1355      # `set' does not quote correctly, so add quotes (double-quote substitution      *ac_space=\ *)
1356      # turns \\\\ into \\, and sed turns \\ into \).        # `set' does not quote correctly, so add quotes (double-quote
1357      sed -n \        # substitution turns \\\\ into \\, and sed turns \\ into \).
1358        -e "s/'/'\\\\''/g" \        sed -n \
1359        -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"          "s/'/'\\\\''/g;
1360      ;;            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1361    *)        ;;
1362      # `set' quotes correctly as required by POSIX, so do not add quotes.      *)
1363      sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'        # `set' quotes correctly as required by POSIX, so do not add quotes.
1364      ;;        sed -n \
1365    esac >> confcache          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1366  if cmp -s $cache_file confcache; then        ;;
1367    :      esac;
1368  else  } |
1369      sed '
1370         t clear
1371         : clear
1372         s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1373         t end
1374         /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1375         : end' >>confcache
1376    if diff $cache_file confcache >/dev/null 2>&1; then :; else
1377    if test -w $cache_file; then    if test -w $cache_file; then
1378      echo "updating cache $cache_file"      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1379      cat confcache > $cache_file      cat confcache >$cache_file
1380    else    else
1381      echo "not updating unwritable cache $cache_file"      echo "not updating unwritable cache $cache_file"
1382    fi    fi
1383  fi  fi
1384  rm -f confcache  rm -f confcache
1385    
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
1386  test "x$prefix" = xNONE && prefix=$ac_default_prefix  test "x$prefix" = xNONE && prefix=$ac_default_prefix
1387  # Let make expand exec_prefix.  # Let make expand exec_prefix.
1388  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1389    
1390  # Any assignment to VPATH causes Sun make to only execute  # VPATH may cause trouble with some makes, so we remove $(srcdir),
1391  # the first set of double-colon rules, so remove it if not needed.  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1392  # If there is a colon in the path, we need to keep it.  # trailing colons and then remove the whole line if VPATH becomes empty
1393    # (actually we leave an empty line to preserve line numbers).
1394  if test "x$srcdir" = x.; then  if test "x$srcdir" = x.; then
1395    ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'    ac_vpsub='/^[  ]*VPATH[        ]*=/{
1396    s/:*\$(srcdir):*/:/;
1397    s/:*\${srcdir}:*/:/;
1398    s/:*@srcdir@:*/:/;
1399    s/^\([^=]*=[     ]*\):*/\1/;
1400    s/:*$//;
1401    s/^[^=]*=[       ]*$//;
1402    }'
1403  fi  fi
1404    
 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15  
   
1405  # Transform confdefs.h into DEFS.  # Transform confdefs.h into DEFS.
1406  # Protect against shell expansion while executing Makefile rules.  # Protect against shell expansion while executing Makefile rules.
1407  # Protect against Makefile macro expansion.  # Protect against Makefile macro expansion.
1408  cat > conftest.defs <<\EOF  #
1409  s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g  # If the first sed substitution is executed (which looks for macros that
1410  s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g  # take arguments), then we branch to the quote section.  Otherwise,
1411  s%\[%\\&%g  # look for a macro that doesn't take arguments.
1412  s%\]%\\&%g  cat >confdef2opt.sed <<\_ACEOF
1413  s%\$%$$%g  t clear
1414  EOF  : clear
1415  DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`  s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1416  rm -f conftest.defs  t quote
1417    s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1418    t quote
1419    d
1420    : quote
1421    s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
1422    s,\[,\\&,g
1423    s,\],\\&,g
1424    s,\$,$$,g
1425    p
1426    _ACEOF
1427    # We use echo to avoid assuming a particular line-breaking character.
1428    # The extra dot is to prevent the shell from consuming trailing
1429    # line-breaks from the sub-command output.  A line-break within
1430    # single-quotes doesn't work because, if this script is created in a
1431    # platform that uses two characters for line-breaks (e.g., DOS), tr
1432    # would break.
1433    ac_LF_and_DOT=`echo; echo .`
1434    DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1435    rm -f confdef2opt.sed
1436    
1437    
1438    ac_libobjs=
1439    ac_ltlibobjs=
1440    for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1441      # 1. Remove the extension, and $U if already installed.
1442      ac_i=`echo "$ac_i" |
1443             sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1444      # 2. Add them.
1445      ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1446      ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1447    done
1448    LIBOBJS=$ac_libobjs
1449    
1450    LTLIBOBJS=$ac_ltlibobjs
1451    
 # Without the "./", some shells look in PATH for config.status.  
 : ${CONFIG_STATUS=./config.status}  
1452    
1453  echo creating $CONFIG_STATUS  
1454  rm -f $CONFIG_STATUS  : ${CONFIG_STATUS=./config.status}
1455  cat > $CONFIG_STATUS <<EOF  ac_clean_files_save=$ac_clean_files
1456  #! /bin/sh  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1457  # Generated automatically by configure.  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1458    echo "$as_me: creating $CONFIG_STATUS" >&6;}
1459    cat >$CONFIG_STATUS <<_ACEOF
1460    #! $SHELL
1461    # Generated by $as_me.
1462  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
 # This directory was configured as follows,  
 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:  
 #  
 # $0 $ac_configure_args  
 #  
1463  # Compiler output produced by configure, useful for debugging  # Compiler output produced by configure, useful for debugging
1464  # configure, is in ./config.log if it exists.  # configure, is in config.log if it exists.
1465    
1466  ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"  debug=false
1467  for ac_option  ac_cs_recheck=false
1468    ac_cs_silent=false
1469    SHELL=\${CONFIG_SHELL-$SHELL}
1470    _ACEOF
1471    
1472    cat >>$CONFIG_STATUS <<\_ACEOF
1473    ## --------------------- ##
1474    ## M4sh Initialization.  ##
1475    ## --------------------- ##
1476    
1477    # Be Bourne compatible
1478    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1479      emulate sh
1480      NULLCMD=:
1481      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1482      # is contrary to our usage.  Disable this feature.
1483      alias -g '${1+"$@"}'='"$@"'
1484    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1485      set -o posix
1486    fi
1487    DUALCASE=1; export DUALCASE # for MKS sh
1488    
1489    # Support unset when possible.
1490    if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1491      as_unset=unset
1492    else
1493      as_unset=false
1494    fi
1495    
1496    
1497    # Work around bugs in pre-3.0 UWIN ksh.
1498    $as_unset ENV MAIL MAILPATH
1499    PS1='$ '
1500    PS2='> '
1501    PS4='+ '
1502    
1503    # NLS nuisances.
1504    for as_var in \
1505      LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1506      LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1507      LC_TELEPHONE LC_TIME
1508    do
1509      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1510        eval $as_var=C; export $as_var
1511      else
1512        $as_unset $as_var
1513      fi
1514    done
1515    
1516    # Required to use basename.
1517    if expr a : '\(a\)' >/dev/null 2>&1; then
1518      as_expr=expr
1519    else
1520      as_expr=false
1521    fi
1522    
1523    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1524      as_basename=basename
1525    else
1526      as_basename=false
1527    fi
1528    
1529    
1530    # Name of the executable.
1531    as_me=`$as_basename "$0" ||
1532    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1533             X"$0" : 'X\(//\)$' \| \
1534             X"$0" : 'X\(/\)$' \| \
1535             .     : '\(.\)' 2>/dev/null ||
1536    echo X/"$0" |
1537        sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1538              /^X\/\(\/\/\)$/{ s//\1/; q; }
1539              /^X\/\(\/\).*/{ s//\1/; q; }
1540              s/.*/./; q'`
1541    
1542    
1543    # PATH needs CR, and LINENO needs CR and PATH.
1544    # Avoid depending upon Character Ranges.
1545    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1546    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1547    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1548    as_cr_digits='0123456789'
1549    as_cr_alnum=$as_cr_Letters$as_cr_digits
1550    
1551    # The user is always right.
1552    if test "${PATH_SEPARATOR+set}" != set; then
1553      echo "#! /bin/sh" >conf$$.sh
1554      echo  "exit 0"   >>conf$$.sh
1555      chmod +x conf$$.sh
1556      if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1557        PATH_SEPARATOR=';'
1558      else
1559        PATH_SEPARATOR=:
1560      fi
1561      rm -f conf$$.sh
1562    fi
1563    
1564    
1565      as_lineno_1=$LINENO
1566      as_lineno_2=$LINENO
1567      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1568      test "x$as_lineno_1" != "x$as_lineno_2" &&
1569      test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1570      # Find who we are.  Look in the path if we contain no path at all
1571      # relative or not.
1572      case $0 in
1573        *[\\/]* ) as_myself=$0 ;;
1574        *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575    for as_dir in $PATH
1576  do  do
1577    case "\$ac_option" in    IFS=$as_save_IFS
1578      test -z "$as_dir" && as_dir=.
1579      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1580    done
1581    
1582           ;;
1583      esac
1584      # We did not find ourselves, most probably we were run as `sh COMMAND'
1585      # in which case we are not to be found in the path.
1586      if test "x$as_myself" = x; then
1587        as_myself=$0
1588      fi
1589      if test ! -f "$as_myself"; then
1590        { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1591    echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1592       { (exit 1); exit 1; }; }
1593      fi
1594      case $CONFIG_SHELL in
1595      '')
1596        as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1597    for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1598    do
1599      IFS=$as_save_IFS
1600      test -z "$as_dir" && as_dir=.
1601      for as_base in sh bash ksh sh5; do
1602             case $as_dir in
1603             /*)
1604               if ("$as_dir/$as_base" -c '
1605      as_lineno_1=$LINENO
1606      as_lineno_2=$LINENO
1607      as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1608      test "x$as_lineno_1" != "x$as_lineno_2" &&
1609      test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1610                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1611                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1612                 CONFIG_SHELL=$as_dir/$as_base
1613                 export CONFIG_SHELL
1614                 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1615               fi;;
1616             esac
1617           done
1618    done
1619    ;;
1620      esac
1621    
1622      # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1623      # uniformly replaced by the line number.  The first 'sed' inserts a
1624      # line-number line before each line; the second 'sed' does the real
1625      # work.  The second script uses 'N' to pair each line-number line
1626      # with the numbered line, and appends trailing '-' during
1627      # substitution so that $LINENO is not a special case at line end.
1628      # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1629      # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1630      sed '=' <$as_myself |
1631        sed '
1632          N
1633          s,$,-,
1634          : loop
1635          s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1636          t loop
1637          s,-$,,
1638          s,^['$as_cr_digits']*\n,,
1639        ' >$as_me.lineno &&
1640      chmod +x $as_me.lineno ||
1641        { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1642    echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1643       { (exit 1); exit 1; }; }
1644    
1645      # Don't try to exec as it changes $[0], causing all sort of problems
1646      # (the dirname of $[0] is not the place where we might find the
1647      # original and so on.  Autoconf is especially sensible to this).
1648      . ./$as_me.lineno
1649      # Exit status is that of the last command.
1650      exit
1651    }
1652    
1653    
1654    case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1655      *c*,-n*) ECHO_N= ECHO_C='
1656    ' ECHO_T='      ' ;;
1657      *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1658      *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1659    esac
1660    
1661    if expr a : '\(a\)' >/dev/null 2>&1; then
1662      as_expr=expr
1663    else
1664      as_expr=false
1665    fi
1666    
1667    rm -f conf$$ conf$$.exe conf$$.file
1668    echo >conf$$.file
1669    if ln -s conf$$.file conf$$ 2>/dev/null; then
1670      # We could just check for DJGPP; but this test a) works b) is more generic
1671      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1672      if test -f conf$$.exe; then
1673        # Don't use ln at all; we don't have any links
1674        as_ln_s='cp -p'
1675      else
1676        as_ln_s='ln -s'
1677      fi
1678    elif ln conf$$.file conf$$ 2>/dev/null; then
1679      as_ln_s=ln
1680    else
1681      as_ln_s='cp -p'
1682    fi
1683    rm -f conf$$ conf$$.exe conf$$.file
1684    
1685    if mkdir -p . 2>/dev/null; then
1686      as_mkdir_p=:
1687    else
1688      test -d ./-p && rmdir ./-p
1689      as_mkdir_p=false
1690    fi
1691    
1692    as_executable_p="test -f"
1693    
1694    # Sed expression to map a string onto a valid CPP name.
1695    as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1696    
1697    # Sed expression to map a string onto a valid variable name.
1698    as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1699    
1700    
1701    # IFS
1702    # We need space, tab and new line, in precisely that order.
1703    as_nl='
1704    '
1705    IFS="   $as_nl"
1706    
1707    # CDPATH.
1708    $as_unset CDPATH
1709    
1710    exec 6>&1
1711    
1712    # Open the log real soon, to keep \$[0] and so on meaningful, and to
1713    # report actual input values of CONFIG_FILES etc. instead of their
1714    # values after options handling.  Logging --version etc. is OK.
1715    exec 5>>config.log
1716    {
1717      echo
1718      sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1719    ## Running $as_me. ##
1720    _ASBOX
1721    } >&5
1722    cat >&5 <<_CSEOF
1723    
1724    This file was extended by GNU Mach $as_me 1.3, which was
1725    generated by GNU Autoconf 2.59.  Invocation command line was
1726    
1727      CONFIG_FILES    = $CONFIG_FILES
1728      CONFIG_HEADERS  = $CONFIG_HEADERS
1729      CONFIG_LINKS    = $CONFIG_LINKS
1730      CONFIG_COMMANDS = $CONFIG_COMMANDS
1731      $ $0 $@
1732    
1733    _CSEOF
1734    echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1735    echo >&5
1736    _ACEOF
1737    
1738    # Files that config.status was made for.
1739    if test -n "$ac_config_files"; then
1740      echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1741    fi
1742    
1743    if test -n "$ac_config_headers"; then
1744      echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1745    fi
1746    
1747    if test -n "$ac_config_links"; then
1748      echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1749    fi
1750    
1751    if test -n "$ac_config_commands"; then
1752      echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1753    fi
1754    
1755    cat >>$CONFIG_STATUS <<\_ACEOF
1756    
1757    ac_cs_usage="\
1758    \`$as_me' instantiates files from templates according to the
1759    current configuration.
1760    
1761    Usage: $0 [OPTIONS] [FILE]...
1762    
1763      -h, --help       print this help, then exit
1764      -V, --version    print version number, then exit
1765      -q, --quiet      do not print progress messages
1766      -d, --debug      don't remove temporary files
1767          --recheck    update $as_me by reconfiguring in the same conditions
1768      --file=FILE[:TEMPLATE]
1769                       instantiate the configuration file FILE
1770    
1771    Configuration files:
1772    $config_files
1773    
1774    Configuration links:
1775    $config_links
1776    
1777    Report bugs to <bug-autoconf@gnu.org>."
1778    _ACEOF
1779    
1780    cat >>$CONFIG_STATUS <<_ACEOF
1781    ac_cs_version="\\
1782    GNU Mach config.status 1.3
1783    configured by $0, generated by GNU Autoconf 2.59,
1784      with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1785    
1786    Copyright (C) 2003 Free Software Foundation, Inc.
1787    This config.status script is free software; the Free Software Foundation
1788    gives unlimited permission to copy, distribute and modify it."
1789    srcdir=$srcdir
1790    _ACEOF
1791    
1792    cat >>$CONFIG_STATUS <<\_ACEOF
1793    # If no file are specified by the user, then we need to provide default
1794    # value.  By we need to know if files were specified by the user.
1795    ac_need_defaults=:
1796    while test $# != 0
1797    do
1798      case $1 in
1799      --*=*)
1800        ac_option=`expr "x$1" : 'x\([^=]*\)='`
1801        ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1802        ac_shift=:
1803        ;;
1804      -*)
1805        ac_option=$1
1806        ac_optarg=$2
1807        ac_shift=shift
1808        ;;
1809      *) # This is not an option, so the user has probably given explicit
1810         # arguments.
1811         ac_option=$1
1812         ac_need_defaults=false;;
1813      esac
1814    
1815      case $ac_option in
1816      # Handling of the options.
1817    _ACEOF
1818    cat >>$CONFIG_STATUS <<\_ACEOF
1819    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1820      echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"      ac_cs_recheck=: ;;
1821      exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;    --version | --vers* | -V )
1822    -version | --version | --versio | --versi | --vers | --ver | --ve | --v)      echo "$ac_cs_version"; exit 0 ;;
1823      echo "$CONFIG_STATUS generated by autoconf version 2.12"    --he | --h)
1824      exit 0 ;;      # Conflict between --help and --header
1825    -help | --help | --hel | --he | --h)      { { echo "$as_me:$LINENO: error: ambiguous option: $1
1826      echo "\$ac_cs_usage"; exit 0 ;;  Try \`$0 --help' for more information." >&5
1827    *) echo "\$ac_cs_usage"; exit 1 ;;  echo "$as_me: error: ambiguous option: $1
1828    Try \`$0 --help' for more information." >&2;}
1829       { (exit 1); exit 1; }; };;
1830      --help | --hel | -h )
1831        echo "$ac_cs_usage"; exit 0 ;;
1832      --debug | --d* | -d )
1833        debug=: ;;
1834      --file | --fil | --fi | --f )
1835        $ac_shift
1836        CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1837        ac_need_defaults=false;;
1838      --header | --heade | --head | --hea )
1839        $ac_shift
1840        CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1841        ac_need_defaults=false;;
1842      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1843      | -silent | --silent | --silen | --sile | --sil | --si | --s)
1844        ac_cs_silent=: ;;
1845    
1846      # This is an error.
1847      -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1848    Try \`$0 --help' for more information." >&5
1849    echo "$as_me: error: unrecognized option: $1
1850    Try \`$0 --help' for more information." >&2;}
1851       { (exit 1); exit 1; }; } ;;
1852    
1853      *) ac_config_targets="$ac_config_targets $1" ;;
1854    
1855    esac    esac
1856      shift
1857  done  done
1858    
1859  ac_given_srcdir=$srcdir  ac_configure_extra_args=
1860    
1861  trap 'rm -fr `echo "src/.dummy:dummy.in dev/.dummy:dummy.in  if $ac_cs_silent; then
1862            src/include/.dummy:dummy.in dev/include/.dummy:dummy.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15    exec 6>/dev/null
1863  EOF    ac_configure_extra_args="$ac_configure_extra_args --silent"
1864  cat >> $CONFIG_STATUS <<EOF  fi
   
 # Protect against being on the right side of a sed subst in config.status.  
 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;  
  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF  
 $ac_vpsub  
 $extrasub  
 s%@CFLAGS@%$CFLAGS%g  
 s%@CPPFLAGS@%$CPPFLAGS%g  
 s%@CXXFLAGS@%$CXXFLAGS%g  
 s%@DEFS@%$DEFS%g  
 s%@LDFLAGS@%$LDFLAGS%g  
 s%@LIBS@%$LIBS%g  
 s%@exec_prefix@%$exec_prefix%g  
 s%@prefix@%$prefix%g  
 s%@program_transform_name@%$program_transform_name%g  
 s%@bindir@%$bindir%g  
 s%@sbindir@%$sbindir%g  
 s%@libexecdir@%$libexecdir%g  
 s%@datadir@%$datadir%g  
 s%@sysconfdir@%$sysconfdir%g  
 s%@sharedstatedir@%$sharedstatedir%g  
 s%@localstatedir@%$localstatedir%g  
 s%@libdir@%$libdir%g  
 s%@includedir@%$includedir%g  
 s%@oldincludedir@%$oldincludedir%g  
 s%@infodir@%$infodir%g  
 s%@mandir@%$mandir%g  
 s%@host@%$host%g  
 s%@host_alias@%$host_alias%g  
 s%@host_cpu@%$host_cpu%g  
 s%@host_vendor@%$host_vendor%g  
 s%@host_os@%$host_os%g  
 s%@systype@%$systype%g  
1865    
1866    _ACEOF
1867    cat >>$CONFIG_STATUS <<_ACEOF
1868    if \$ac_cs_recheck; then
1869      echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1870      exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1871    fi
1872    
1873    _ACEOF
1874    
1875    
1876    
1877    
1878    
1879    cat >>$CONFIG_STATUS <<\_ACEOF
1880    for ac_config_target in $ac_config_targets
1881    do
1882      case "$ac_config_target" in
1883      # Handling of arguments.
1884      "src/.dummy" ) CONFIG_FILES="$CONFIG_FILES src/.dummy:dummy.in" ;;
1885      "dev/.dummy" ) CONFIG_FILES="$CONFIG_FILES dev/.dummy:dummy.in" ;;
1886      "src/include/.dummy" ) CONFIG_FILES="$CONFIG_FILES src/include/.dummy:dummy.in" ;;
1887      "dev/include/.dummy" ) CONFIG_FILES="$CONFIG_FILES dev/include/.dummy:dummy.in" ;;
1888      "src/include/asm" ) CONFIG_LINKS="$CONFIG_LINKS src/include/asm:src/include/asm-${systype}" ;;
1889      "dev/include/asm" ) CONFIG_LINKS="$CONFIG_LINKS dev/include/asm:dev/include/asm-${systype}" ;;
1890      *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1891    echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1892       { (exit 1); exit 1; }; };;
1893      esac
1894    done
1895    
1896    # If the user did not use the arguments to specify the items to instantiate,
1897    # then the envvar interface is used.  Set only those that are not.
1898    # We use the long form for the default assignment because of an extremely
1899    # bizarre bug on SunOS 4.1.3.
1900    if $ac_need_defaults; then
1901      test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1902      test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
1903    fi
1904    
1905    # Have a temporary directory for convenience.  Make it in the build tree
1906    # simply because there is no reason to put it here, and in addition,
1907    # creating and moving files from /tmp can sometimes cause problems.
1908    # Create a temporary directory, and hook for its removal unless debugging.
1909    $debug ||
1910    {
1911      trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1912      trap '{ (exit 1); exit 1; }' 1 2 13 15
1913    }
1914    
1915    # Create a (secure) tmp directory for tmp files.
1916    
1917    {
1918      tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1919      test -n "$tmp" && test -d "$tmp"
1920    }  ||
1921    {
1922      tmp=./confstat$$-$RANDOM
1923      (umask 077 && mkdir $tmp)
1924    } ||
1925    {
1926       echo "$me: cannot create a temporary directory in ." >&2
1927       { (exit 1); exit 1; }
1928    }
1929    
1930    _ACEOF
1931    
1932    cat >>$CONFIG_STATUS <<_ACEOF
1933    
1934    #
1935    # CONFIG_FILES section.
1936    #
1937    
1938    # No need to generate the scripts if there are no CONFIG_FILES.
1939    # This happens for instance when ./config.status config.h
1940    if test -n "\$CONFIG_FILES"; then
1941      # Protect against being on the right side of a sed subst in config.status.
1942      sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1943       s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1944    s,@SHELL@,$SHELL,;t t
1945    s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1946    s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1947    s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1948    s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1949    s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1950    s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1951    s,@exec_prefix@,$exec_prefix,;t t
1952    s,@prefix@,$prefix,;t t
1953    s,@program_transform_name@,$program_transform_name,;t t
1954    s,@bindir@,$bindir,;t t
1955    s,@sbindir@,$sbindir,;t t
1956    s,@libexecdir@,$libexecdir,;t t
1957    s,@datadir@,$datadir,;t t
1958    s,@sysconfdir@,$sysconfdir,;t t
1959    s,@sharedstatedir@,$sharedstatedir,;t t
1960    s,@localstatedir@,$localstatedir,;t t
1961    s,@libdir@,$libdir,;t t
1962    s,@includedir@,$includedir,;t t
1963    s,@oldincludedir@,$oldincludedir,;t t
1964    s,@infodir@,$infodir,;t t
1965    s,@mandir@,$mandir,;t t
1966    s,@build_alias@,$build_alias,;t t
1967    s,@host_alias@,$host_alias,;t t
1968    s,@target_alias@,$target_alias,;t t
1969    s,@DEFS@,$DEFS,;t t
1970    s,@ECHO_C@,$ECHO_C,;t t
1971    s,@ECHO_N@,$ECHO_N,;t t
1972    s,@ECHO_T@,$ECHO_T,;t t
1973    s,@LIBS@,$LIBS,;t t
1974    s,@build@,$build,;t t
1975    s,@build_cpu@,$build_cpu,;t t
1976    s,@build_vendor@,$build_vendor,;t t
1977    s,@build_os@,$build_os,;t t
1978    s,@host@,$host,;t t
1979    s,@host_cpu@,$host_cpu,;t t
1980    s,@host_vendor@,$host_vendor,;t t
1981    s,@host_os@,$host_os,;t t
1982    s,@systype@,$systype,;t t
1983    s,@LIBOBJS@,$LIBOBJS,;t t
1984    s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1985  CEOF  CEOF
 EOF  
1986    
1987  cat >> $CONFIG_STATUS <<\EOF  _ACEOF
1988    
1989  # Split the substitutions into bite-sized pieces for seds with    cat >>$CONFIG_STATUS <<\_ACEOF
1990  # small command number limits, like on Digital OSF/1 and HP-UX.    # Split the substitutions into bite-sized pieces for seds with
1991  ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.    # small command number limits, like on Digital OSF/1 and HP-UX.
1992  ac_file=1 # Number of current file.    ac_max_sed_lines=48
1993  ac_beg=1 # First line for current file.    ac_sed_frag=1 # Number of current file.
1994  ac_end=$ac_max_sed_cmds # Line after last line for current file.    ac_beg=1 # First line for current file.
1995  ac_more_lines=:    ac_end=$ac_max_sed_lines # Line after last line for current file.
1996  ac_sed_cmds=""    ac_more_lines=:
1997  while $ac_more_lines; do    ac_sed_cmds=
1998    if test $ac_beg -gt 1; then    while $ac_more_lines; do
1999      sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file      if test $ac_beg -gt 1; then
2000    else        sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2001      sed "${ac_end}q" conftest.subs > conftest.s$ac_file      else
2002    fi        sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2003    if test ! -s conftest.s$ac_file; then      fi
2004      ac_more_lines=false      if test ! -s $tmp/subs.frag; then
2005      rm -f conftest.s$ac_file        ac_more_lines=false
   else  
     if test -z "$ac_sed_cmds"; then  
       ac_sed_cmds="sed -f conftest.s$ac_file"  
2006      else      else
2007        ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"        # The purpose of the label and of the branching condition is to
2008          # speed up the sed processing (if there are no `@' at all, there
2009          # is no need to browse any of the substitutions).
2010          # These are the two extra sed commands mentioned above.
2011          (echo ':t
2012      /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2013          if test -z "$ac_sed_cmds"; then
2014            ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2015          else
2016            ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2017          fi
2018          ac_sed_frag=`expr $ac_sed_frag + 1`
2019          ac_beg=$ac_end
2020          ac_end=`expr $ac_end + $ac_max_sed_lines`
2021      fi      fi
2022      ac_file=`expr $ac_file + 1`    done
2023      ac_beg=$ac_end    if test -z "$ac_sed_cmds"; then
2024      ac_end=`expr $ac_end + $ac_max_sed_cmds`      ac_sed_cmds=cat
2025    fi    fi
2026  done  fi # test -n "$CONFIG_FILES"
 if test -z "$ac_sed_cmds"; then  
   ac_sed_cmds=cat  
 fi  
 EOF  
   
 cat >> $CONFIG_STATUS <<EOF  
2027    
2028  CONFIG_FILES=\${CONFIG_FILES-"src/.dummy:dummy.in dev/.dummy:dummy.in  _ACEOF
2029            src/include/.dummy:dummy.in dev/include/.dummy:dummy.in"}  cat >>$CONFIG_STATUS <<\_ACEOF
2030  EOF  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 cat >> $CONFIG_STATUS <<\EOF  
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  
2031    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2032    case "$ac_file" in    case $ac_file in
2033    *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`    - | *:- | *:-:* ) # input from stdin
2034         ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;          cat >$tmp/stdin
2035    *) ac_file_in="${ac_file}.in" ;;          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2036    esac          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2037      *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2038    # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2039      * )   ac_file_in=$ac_file.in ;;
   # Remove last slash and all that follows it.  Not all systems have dirname.  
   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`  
   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then  
     # The file is in a subdirectory.  
     test ! -d "$ac_dir" && mkdir "$ac_dir"  
     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"  
     # A "../" for each directory in $ac_dir_suffix.  
     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`  
   else  
     ac_dir_suffix= ac_dots=  
   fi  
   
   case "$ac_given_srcdir" in  
   .)  srcdir=.  
       if test -z "$ac_dots"; then top_srcdir=.  
       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;  
   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;  
   *) # Relative path.  
     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"  
     top_srcdir="$ac_dots$ac_given_srcdir" ;;  
2040    esac    esac
2041    
2042      # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2043      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2044    $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2045             X"$ac_file" : 'X\(//\)[^/]' \| \
2046             X"$ac_file" : 'X\(//\)$' \| \
2047             X"$ac_file" : 'X\(/\)' \| \
2048             .     : '\(.\)' 2>/dev/null ||
2049    echo X"$ac_file" |
2050        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2051              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2052              /^X\(\/\/\)$/{ s//\1/; q; }
2053              /^X\(\/\).*/{ s//\1/; q; }
2054              s/.*/./; q'`
2055      { if $as_mkdir_p; then
2056        mkdir -p "$ac_dir"
2057      else
2058        as_dir="$ac_dir"
2059        as_dirs=
2060        while test ! -d "$as_dir"; do
2061          as_dirs="$as_dir $as_dirs"
2062          as_dir=`(dirname "$as_dir") 2>/dev/null ||
2063    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2064             X"$as_dir" : 'X\(//\)[^/]' \| \
2065             X"$as_dir" : 'X\(//\)$' \| \
2066             X"$as_dir" : 'X\(/\)' \| \
2067             .     : '\(.\)' 2>/dev/null ||
2068    echo X"$as_dir" |
2069        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2070              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2071              /^X\(\/\/\)$/{ s//\1/; q; }
2072              /^X\(\/\).*/{ s//\1/; q; }
2073              s/.*/./; q'`
2074        done
2075        test ! -n "$as_dirs" || mkdir $as_dirs
2076      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2077    echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2078       { (exit 1); exit 1; }; }; }
2079    
2080      ac_builddir=.
2081    
2082    if test "$ac_dir" != .; then
2083      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2084      # A "../" for each directory in $ac_dir_suffix.
2085      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2086    else
2087      ac_dir_suffix= ac_top_builddir=
2088    fi
2089    
2090    case $srcdir in
2091      .)  # No --srcdir option.  We are building in place.
2092        ac_srcdir=.
2093        if test -z "$ac_top_builddir"; then
2094           ac_top_srcdir=.
2095        else
2096           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2097        fi ;;
2098      [\\/]* | ?:[\\/]* )  # Absolute path.
2099        ac_srcdir=$srcdir$ac_dir_suffix;
2100        ac_top_srcdir=$srcdir ;;
2101      *) # Relative path.
2102        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2103        ac_top_srcdir=$ac_top_builddir$srcdir ;;
2104    esac
2105    
2106    # Do not use `cd foo && pwd` to compute absolute paths, because
2107    # the directories may not exist.
2108    case `pwd` in
2109    .) ac_abs_builddir="$ac_dir";;
2110    *)
2111      case "$ac_dir" in
2112      .) ac_abs_builddir=`pwd`;;
2113      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2114      *) ac_abs_builddir=`pwd`/"$ac_dir";;
2115      esac;;
2116    esac
2117    case $ac_abs_builddir in
2118    .) ac_abs_top_builddir=${ac_top_builddir}.;;
2119    *)
2120      case ${ac_top_builddir}. in
2121      .) ac_abs_top_builddir=$ac_abs_builddir;;
2122      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2123      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2124      esac;;
2125    esac
2126    case $ac_abs_builddir in
2127    .) ac_abs_srcdir=$ac_srcdir;;
2128    *)
2129      case $ac_srcdir in
2130      .) ac_abs_srcdir=$ac_abs_builddir;;
2131      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2132      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2133      esac;;
2134    esac
2135    case $ac_abs_builddir in
2136    .) ac_abs_top_srcdir=$ac_top_srcdir;;
2137    *)
2138      case $ac_top_srcdir in
2139      .) ac_abs_top_srcdir=$ac_abs_builddir;;
2140      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2141      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2142      esac;;
2143    esac
2144    
2145    
2146    
2147      # Let's still pretend it is `configure' which instantiates (i.e., don't
2148      # use $as_me), people would be surprised to read:
2149      #    /* config.h.  Generated by config.status.  */
2150      if test x"$ac_file" = x-; then
2151        configure_input=
2152      else
2153        configure_input="$ac_file.  "
2154      fi
2155      configure_input=$configure_input"Generated from `echo $ac_file_in |
2156                                         sed 's,.*/,,'` by configure."
2157    
2158      # First look for the input files in the build tree, otherwise in the
2159      # src tree.
2160      ac_file_inputs=`IFS=:
2161        for f in $ac_file_in; do
2162          case $f in
2163          -) echo $tmp/stdin ;;
2164          [\\/$]*)
2165             # Absolute (can't be DOS-style, as IFS=:)
2166             test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2167    echo "$as_me: error: cannot find input file: $f" >&2;}
2168       { (exit 1); exit 1; }; }
2169             echo "$f";;
2170          *) # Relative
2171             if test -f "$f"; then
2172               # Build tree
2173               echo "$f"
2174             elif test -f "$srcdir/$f"; then
2175               # Source tree
2176               echo "$srcdir/$f"
2177             else
2178               # /dev/null tree
2179               { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2180    echo "$as_me: error: cannot find input file: $f" >&2;}
2181       { (exit 1); exit 1; }; }
2182             fi;;
2183          esac
2184        done` || { (exit 1); exit 1; }
2185    
2186      if test x"$ac_file" != x-; then
2187        { echo "$as_me:$LINENO: creating $ac_file" >&5
2188    echo "$as_me: creating $ac_file" >&6;}
2189        rm -f "$ac_file"
2190      fi
2191    _ACEOF
2192    cat >>$CONFIG_STATUS <<_ACEOF
2193      sed "$ac_vpsub
2194    $extrasub
2195    _ACEOF
2196    cat >>$CONFIG_STATUS <<\_ACEOF
2197    :t
2198    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2199    s,@configure_input@,$configure_input,;t t
2200    s,@srcdir@,$ac_srcdir,;t t
2201    s,@abs_srcdir@,$ac_abs_srcdir,;t t
2202    s,@top_srcdir@,$ac_top_srcdir,;t t
2203    s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2204    s,@builddir@,$ac_builddir,;t t
2205    s,@abs_builddir@,$ac_abs_builddir,;t t
2206    s,@top_builddir@,$ac_top_builddir,;t t
2207    s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2208    " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2209      rm -f $tmp/stdin
2210      if test x"$ac_file" != x-; then
2211        mv $tmp/out $ac_file
2212      else
2213        cat $tmp/out
2214        rm -f $tmp/out
2215      fi
2216    
2217    done
2218    _ACEOF
2219    cat >>$CONFIG_STATUS <<\_ACEOF
2220    
2221    #
2222    # CONFIG_LINKS section.
2223    #
2224    
2225    echo creating "$ac_file"  for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
2226    rm -f "$ac_file"    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2227    configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   case "$ac_file" in  
   *Makefile*) ac_comsub="1i\\  
 # $configure_input" ;;  
   *) ac_comsub= ;;  
   esac  
   
   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`  
   sed -e "$ac_comsub  
 s%@configure_input@%$configure_input%g  
 s%@srcdir@%$srcdir%g  
 s%@top_srcdir@%$top_srcdir%g  
 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file  
 fi; done  
 rm -f conftest.s*  
   
 EOF  
   
 cat >> $CONFIG_STATUS <<EOF  
 ac_sources="src/include/asm-${systype} dev/include/asm-${systype}"  
 ac_dests="src/include/asm dev/include/asm"  
 EOF  
   
 cat >> $CONFIG_STATUS <<\EOF  
 srcdir=$ac_given_srcdir  
 while test -n "$ac_sources"; do  
   set $ac_dests; ac_dest=$1; shift; ac_dests=$*  
   set $ac_sources; ac_source=$1; shift; ac_sources=$*  
2228    
2229    echo "linking $srcdir/$ac_source to $ac_dest"    { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
2230    echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
2231    
2232    if test ! -r $srcdir/$ac_source; then    if test ! -r $srcdir/$ac_source; then
2233      { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }      { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
2234    echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
2235       { (exit 1); exit 1; }; }
2236    fi    fi
2237    rm -f $ac_dest    rm -f $ac_dest
2238    
2239    # Make relative symlinks.    # Make relative symlinks.
2240    # Remove last slash and all that follows it.  Not all systems have dirname.    ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
2241    ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`  $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2242    if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then           X"$ac_dest" : 'X\(//\)[^/]' \| \
2243      # The dest file is in a subdirectory.           X"$ac_dest" : 'X\(//\)$' \| \
2244      test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"           X"$ac_dest" : 'X\(/\)' \| \
2245      ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"           .     : '\(.\)' 2>/dev/null ||
2246      # A "../" for each directory in $ac_dest_dir_suffix.  echo X"$ac_dest" |
2247      ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2248              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2249              /^X\(\/\/\)$/{ s//\1/; q; }
2250              /^X\(\/\).*/{ s//\1/; q; }
2251              s/.*/./; q'`
2252      { if $as_mkdir_p; then
2253        mkdir -p "$ac_dest_dir"
2254    else    else
2255      ac_dest_dir_suffix= ac_dots=      as_dir="$ac_dest_dir"
2256    fi      as_dirs=
2257        while test ! -d "$as_dir"; do
2258          as_dirs="$as_dir $as_dirs"
2259          as_dir=`(dirname "$as_dir") 2>/dev/null ||
2260    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2261             X"$as_dir" : 'X\(//\)[^/]' \| \
2262             X"$as_dir" : 'X\(//\)$' \| \
2263             X"$as_dir" : 'X\(/\)' \| \
2264             .     : '\(.\)' 2>/dev/null ||
2265    echo X"$as_dir" |
2266        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2267              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2268              /^X\(\/\/\)$/{ s//\1/; q; }
2269              /^X\(\/\).*/{ s//\1/; q; }
2270              s/.*/./; q'`
2271        done
2272        test ! -n "$as_dirs" || mkdir $as_dirs
2273      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
2274    echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
2275       { (exit 1); exit 1; }; }; }
2276    
2277      ac_builddir=.
2278    
2279    if test "$ac_dest_dir" != .; then
2280      ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
2281      # A "../" for each directory in $ac_dir_suffix.
2282      ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2283    else
2284      ac_dir_suffix= ac_top_builddir=
2285    fi
2286    
2287    case $srcdir in
2288      .)  # No --srcdir option.  We are building in place.
2289        ac_srcdir=.
2290        if test -z "$ac_top_builddir"; then
2291           ac_top_srcdir=.
2292        else
2293           ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2294        fi ;;
2295      [\\/]* | ?:[\\/]* )  # Absolute path.
2296        ac_srcdir=$srcdir$ac_dir_suffix;
2297        ac_top_srcdir=$srcdir ;;
2298      *) # Relative path.
2299        ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2300        ac_top_srcdir=$ac_top_builddir$srcdir ;;
2301    esac
2302    
2303    # Do not use `cd foo && pwd` to compute absolute paths, because
2304    # the directories may not exist.
2305    case `pwd` in
2306    .) ac_abs_builddir="$ac_dest_dir";;
2307    *)
2308      case "$ac_dest_dir" in
2309      .) ac_abs_builddir=`pwd`;;
2310      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
2311      *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
2312      esac;;
2313    esac
2314    case $ac_abs_builddir in
2315    .) ac_abs_top_builddir=${ac_top_builddir}.;;
2316    *)
2317      case ${ac_top_builddir}. in
2318      .) ac_abs_top_builddir=$ac_abs_builddir;;
2319      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2320      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2321      esac;;
2322    esac
2323    case $ac_abs_builddir in
2324    .) ac_abs_srcdir=$ac_srcdir;;
2325    *)
2326      case $ac_srcdir in
2327      .) ac_abs_srcdir=$ac_abs_builddir;;
2328      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2329      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2330      esac;;
2331    esac
2332    case $ac_abs_builddir in
2333    .) ac_abs_top_srcdir=$ac_top_srcdir;;
2334    *)
2335      case $ac_top_srcdir in
2336      .) ac_abs_top_srcdir=$ac_abs_builddir;;
2337      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2338      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2339      esac;;
2340    esac
2341    
2342    case "$srcdir" in  
2343    [/$]*) ac_rel_source="$srcdir/$ac_source" ;;    case $srcdir in
2344    *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
2345          *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
2346    esac    esac
2347    
2348    # Make a symlink if possible; otherwise try a hard link.    # Try a symlink, then a hard link, then a copy.
2349    if ln -s $ac_rel_source $ac_dest 2>/dev/null ||    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
2350      ln $srcdir/$ac_source $ac_dest; then :      ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
2351    else      cp -p $srcdir/$ac_source $ac_dest ||
2352      { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }      { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
2353    fi  echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
2354       { (exit 1); exit 1; }; }
2355  done  done
2356  EOF  _ACEOF
 cat >> $CONFIG_STATUS <<EOF  
2357    
2358  EOF  cat >>$CONFIG_STATUS <<\_ACEOF
 cat >> $CONFIG_STATUS <<\EOF  
2359    
2360  exit 0  { (exit 0); exit 0; }
2361  EOF  _ACEOF
2362  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
2363  rm -fr confdefs* $ac_clean_files  ac_clean_files=$ac_clean_files_save
2364  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1  
2365    
2366    # configure is writing to config.log, and then calls config.status.
2367    # config.status does its own redirection, appending to config.log.
2368    # Unfortunately, on DOS this fails, as config.log is still kept open
2369    # by configure, so config.status won't be able to write to it; its
2370    # output is simply discarded.  So we exec the FD to /dev/null,
2371    # effectively closing config.log, so it can be properly (re)opened and
2372    # appended to by config.status.  When coming back to configure, we
2373    # need to make the FD available again.
2374    if test "$no_create" != yes; then
2375      ac_cs_success=:
2376      ac_config_status_args=
2377      test "$silent" = yes &&
2378        ac_config_status_args="$ac_config_status_args --quiet"
2379      exec 5>/dev/null
2380      $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2381      exec 5>>config.log
2382      # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2383      # would make configure fail if this is the last instruction.
2384      $ac_cs_success || { (exit 1); exit 1; }
2385    fi
2386    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26