3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12.1
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
17 --enable-shared build shared libraries [default=yes]"
19 --enable-static build static libraries [default=yes]"
21 --enable-maintainer-mode enable make rules and dependencies not useful
22 (and sometimes confusing) to the casual installer"
24 # Initialize some variables set by options.
25 # The variables have the same names as the options, with
26 # dashes changed to underlines.
28 cache_file
=.
/config.cache
37 program_transform_name
=s
,x
,x
,
45 bindir
='${exec_prefix}/bin'
46 sbindir
='${exec_prefix}/sbin'
47 libexecdir
='${exec_prefix}/libexec'
48 datadir
='${prefix}/share'
49 sysconfdir
='${prefix}/etc'
50 sharedstatedir
='${prefix}/com'
51 localstatedir
='${prefix}/var'
52 libdir
='${exec_prefix}/lib'
53 includedir
='${prefix}/include'
54 oldincludedir
='/usr/include'
55 infodir
='${prefix}/info'
56 mandir
='${prefix}/man'
58 # Initialize some other variables.
61 # Maximum number of lines to put in a shell here document.
68 # If the previous option needs an argument, assign it.
69 if test -n "$ac_prev"; then
70 eval "$ac_prev=\$ac_option"
76 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
80 # Accept the important Cygnus configure options, so we can diagnose typos.
84 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
86 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
87 bindir
="$ac_optarg" ;;
89 -build |
--build |
--buil |
--bui |
--bu)
91 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
94 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
95 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
97 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
98 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
99 cache_file
="$ac_optarg" ;;
101 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
103 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
105 datadir
="$ac_optarg" ;;
107 -disable-* |
--disable-*)
108 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
109 # Reject names that are not valid shell variable names.
110 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
111 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
113 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
114 eval "enable_${ac_feature}=no" ;;
116 -enable-* |
--enable-*)
117 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
118 # Reject names that are not valid shell variable names.
119 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
120 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
122 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
127 eval "enable_${ac_feature}='$ac_optarg'" ;;
129 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
130 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
131 |
--exec |
--exe |
--ex)
132 ac_prev
=exec_prefix
;;
133 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
134 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
135 |
--exec=* |
--exe=* |
--ex=*)
136 exec_prefix
="$ac_optarg" ;;
138 -gas |
--gas |
--ga |
--g)
139 # Obsolete; use --with-gas.
142 -help |
--help |
--hel |
--he)
143 # Omit some internal or obsolete options to make the list less imposing.
144 # This message is too long to be a string in the A/UX 3.1 sh.
146 Usage: configure [options] [host]
147 Options: [defaults in brackets after descriptions]
149 --cache-file=FILE cache test results in FILE
150 --help print this message
151 --no-create do not create output files
152 --quiet, --silent do not print \`checking...' messages
153 --version print the version of autoconf that created configure
154 Directory and file names:
155 --prefix=PREFIX install architecture-independent files in PREFIX
157 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
159 --bindir=DIR user executables in DIR [EPREFIX/bin]
160 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
161 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
162 --datadir=DIR read-only architecture-independent data in DIR
164 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
165 --sharedstatedir=DIR modifiable architecture-independent data in DIR
167 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
168 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
169 --includedir=DIR C header files in DIR [PREFIX/include]
170 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
171 --infodir=DIR info documentation in DIR [PREFIX/info]
172 --mandir=DIR man documentation in DIR [PREFIX/man]
173 --srcdir=DIR find the sources in DIR [configure dir or ..]
174 --program-prefix=PREFIX prepend PREFIX to installed program names
175 --program-suffix=SUFFIX append SUFFIX to installed program names
176 --program-transform-name=PROGRAM
177 run sed PROGRAM on installed program names
181 --build=BUILD configure for building on BUILD [BUILD=HOST]
182 --host=HOST configure for HOST [guessed]
183 --target=TARGET configure for TARGET [TARGET=HOST]
184 Features and packages:
185 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
186 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
187 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
188 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
189 --x-includes=DIR X include files are in DIR
190 --x-libraries=DIR X library files are in DIR
192 if test -n "$ac_help"; then
193 echo "--enable and --with options recognized:$ac_help"
197 -host |
--host |
--hos |
--ho)
199 -host=* |
--host=* |
--hos=* |
--ho=*)
202 -includedir |
--includedir |
--includedi |
--included |
--include \
203 |
--includ |
--inclu |
--incl |
--inc)
204 ac_prev
=includedir
;;
205 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
206 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
207 includedir
="$ac_optarg" ;;
209 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
211 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
212 infodir
="$ac_optarg" ;;
214 -libdir |
--libdir |
--libdi |
--libd)
216 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
217 libdir
="$ac_optarg" ;;
219 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
220 |
--libexe |
--libex |
--libe)
221 ac_prev
=libexecdir
;;
222 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
223 |
--libexe=* |
--libex=* |
--libe=*)
224 libexecdir
="$ac_optarg" ;;
226 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
227 |
--localstate |
--localstat |
--localsta |
--localst \
228 |
--locals |
--local |
--loca |
--loc |
--lo)
229 ac_prev
=localstatedir
;;
230 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
231 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
232 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
233 localstatedir
="$ac_optarg" ;;
235 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
237 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
238 mandir
="$ac_optarg" ;;
241 # Obsolete; use --without-fp.
244 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
248 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
249 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
252 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
253 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
254 |
--oldin |
--oldi |
--old |
--ol |
--o)
255 ac_prev
=oldincludedir
;;
256 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
257 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
258 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
259 oldincludedir
="$ac_optarg" ;;
261 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
263 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
264 prefix
="$ac_optarg" ;;
266 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
267 |
--program-pre |
--program-pr |
--program-p)
268 ac_prev
=program_prefix
;;
269 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
270 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
271 program_prefix
="$ac_optarg" ;;
273 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
274 |
--program-suf |
--program-su |
--program-s)
275 ac_prev
=program_suffix
;;
276 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
277 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
278 program_suffix
="$ac_optarg" ;;
280 -program-transform-name |
--program-transform-name \
281 |
--program-transform-nam |
--program-transform-na \
282 |
--program-transform-n |
--program-transform- \
283 |
--program-transform |
--program-transfor \
284 |
--program-transfo |
--program-transf \
285 |
--program-trans |
--program-tran \
286 |
--progr-tra |
--program-tr |
--program-t)
287 ac_prev
=program_transform_name
;;
288 -program-transform-name=* |
--program-transform-name=* \
289 |
--program-transform-nam=* |
--program-transform-na=* \
290 |
--program-transform-n=* |
--program-transform-=* \
291 |
--program-transform=* |
--program-transfor=* \
292 |
--program-transfo=* |
--program-transf=* \
293 |
--program-trans=* |
--program-tran=* \
294 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
295 program_transform_name
="$ac_optarg" ;;
297 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
298 |
-silent |
--silent |
--silen |
--sile |
--sil)
301 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
303 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
305 sbindir
="$ac_optarg" ;;
307 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
308 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
309 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
311 ac_prev
=sharedstatedir
;;
312 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
313 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
314 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
316 sharedstatedir
="$ac_optarg" ;;
318 -site |
--site |
--sit)
320 -site=* |
--site=* |
--sit=*)
323 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
325 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
326 srcdir
="$ac_optarg" ;;
328 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
329 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
330 ac_prev
=sysconfdir
;;
331 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
332 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
333 sysconfdir
="$ac_optarg" ;;
335 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
337 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
338 target
="$ac_optarg" ;;
340 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
343 -version |
--version |
--versio |
--versi |
--vers)
344 echo "configure generated by autoconf version 2.12.1"
348 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
349 # Reject names that are not valid shell variable names.
350 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
351 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
353 ac_package
=`echo $ac_package| sed 's/-/_/g'`
358 eval "with_${ac_package}='$ac_optarg'" ;;
360 -without-* |
--without-*)
361 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
362 # Reject names that are not valid shell variable names.
363 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
364 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
366 ac_package
=`echo $ac_package| sed 's/-/_/g'`
367 eval "with_${ac_package}=no" ;;
370 # Obsolete; use --with-x.
373 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
374 |
--x-incl |
--x-inc |
--x-in |
--x-i)
375 ac_prev
=x_includes
;;
376 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
377 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
378 x_includes
="$ac_optarg" ;;
380 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
381 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
382 ac_prev
=x_libraries
;;
383 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
384 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
385 x_libraries
="$ac_optarg" ;;
387 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
391 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
392 echo "configure: warning: $ac_option: invalid host type" 1>&2
394 if test "x$nonopt" != xNONE
; then
395 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
403 if test -n "$ac_prev"; then
404 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
407 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
409 # File descriptor usage:
412 # 2 errors and warnings
413 # 3 some systems may open it to /dev/tty
414 # 4 used on the Kubota Titan
415 # 6 checking for... messages and results
416 # 5 compiler messages saved in config.log
417 if test "$silent" = yes; then
425 This file contains any messages produced by compilers while
426 running configure, to aid debugging if configure makes a mistake.
429 # Strip out --no-create and --no-recursion so they do not pile up.
430 # Also quote any args containing shell metacharacters.
435 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
436 |
--no-cr |
--no-c) ;;
437 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
438 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
439 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
440 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
441 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
446 # Only set these to C if already set. These must not be set unconditionally
447 # because not all systems understand e.g. LANG=C (notably SCO).
448 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
449 # Non-C LC_CTYPE values break the ctype check.
450 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
451 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
452 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
453 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
455 # confdefs.h avoids OS command line length limits that DEFS can exceed.
456 rm -rf conftest
* confdefs.h
457 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
460 # A filename unique to this package, relative to the directory that
461 # configure is in, which we can look for to find out if srcdir is correct.
462 ac_unique_file
=gprof.c
464 # Find the source files, if location was not specified.
465 if test -z "$srcdir"; then
466 ac_srcdir_defaulted
=yes
467 # Try the directory containing this script, then its parent.
469 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
470 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
472 if test ! -r $srcdir/$ac_unique_file; then
476 ac_srcdir_defaulted
=no
478 if test ! -r $srcdir/$ac_unique_file; then
479 if test "$ac_srcdir_defaulted" = yes; then
480 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
482 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
485 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
487 # Prefer explicitly selected file to automatically selected ones.
488 if test -z "$CONFIG_SITE"; then
489 if test "x$prefix" != xNONE
; then
490 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
492 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
495 for ac_site_file
in $CONFIG_SITE; do
496 if test -r "$ac_site_file"; then
497 echo "loading site script $ac_site_file"
502 if test -r "$cache_file"; then
503 echo "loading cache $cache_file"
506 echo "creating cache $cache_file"
511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
512 ac_cpp
='$CPP $CPPFLAGS'
513 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
514 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
515 cross_compiling
=$ac_cv_prog_cc_cross
517 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
518 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
519 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
526 ac_n
= ac_c
='\c' ac_t
=
532 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
533 if test -f $ac_dir/install-sh
; then
535 ac_install_sh
="$ac_aux_dir/install-sh -c"
537 elif test -f $ac_dir/install.sh
; then
539 ac_install_sh
="$ac_aux_dir/install.sh -c"
543 if test -z "$ac_aux_dir"; then
544 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
546 ac_config_guess
=$ac_aux_dir/config.guess
547 ac_config_sub
=$ac_aux_dir/config.sub
548 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
551 # Do some error checking and defaulting for the host and target type.
553 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
556 # 1. You are not allowed to specify --host, --target, and nonopt at the
558 # 2. Host defaults to nonopt.
559 # 3. If nonopt is not specified, then host defaults to the current host,
560 # as determined by config.guess.
561 # 4. Target and build default to nonopt.
562 # 5. If nonopt is not specified, then target and build default to host.
564 # The aliases save the names the user supplied, while $host etc.
565 # will get canonicalized.
566 case $host---$target---$nonopt in
567 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
568 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
572 # Make sure we can run config.sub.
573 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
574 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
577 echo $ac_n "checking host system type""... $ac_c" 1>&6
578 echo "configure:579: checking host system type" >&5
581 case "$host_alias" in
585 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
586 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
588 *) host_alias
=$nonopt ;;
592 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
593 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
594 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
595 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
596 echo "$ac_t""$host" 1>&6
598 echo $ac_n "checking target system type""... $ac_c" 1>&6
599 echo "configure:600: checking target system type" >&5
602 case "$target_alias" in
605 NONE
) target_alias
=$host_alias ;;
606 *) target_alias
=$nonopt ;;
610 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
611 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
612 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
613 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
614 echo "$ac_t""$target" 1>&6
616 echo $ac_n "checking build system type""... $ac_c" 1>&6
617 echo "configure:618: checking build system type" >&5
620 case "$build_alias" in
623 NONE
) build_alias
=$host_alias ;;
624 *) build_alias
=$nonopt ;;
628 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
629 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
630 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
631 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
632 echo "$ac_t""$build" 1>&6
634 test "$host_alias" != "$target_alias" &&
635 test "$program_prefix$program_suffix$program_transform_name" = \
637 program_prefix
=${target_alias}-
640 # Find a good install program. We prefer a C program (faster),
641 # so one script is as good as another. But avoid the broken or
642 # incompatible versions:
643 # SysV /etc/install, /usr/sbin/install
644 # SunOS /usr/etc/install
647 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
648 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
649 # ./install, which can be erroneously created by make from ./install.sh.
650 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
651 echo "configure:652: checking for a BSD compatible install" >&5
652 if test -z "$INSTALL"; then
653 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
654 echo $ac_n "(cached) $ac_c" 1>&6
656 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
657 for ac_dir
in $PATH; do
658 # Account for people who put trailing slashes in PATH elements.
660 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
662 # OSF1 and SCO ODT 3.0 have their own names for install.
663 for ac_prog
in ginstall installbsd scoinst
install; do
664 if test -f $ac_dir/$ac_prog; then
665 if test $ac_prog = install &&
666 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
667 # AIX install. It has an incompatible calling convention.
668 # OSF/1 installbsd also uses dspmsg, but is usable.
671 ac_cv_path_install
="$ac_dir/$ac_prog -c"
682 if test "${ac_cv_path_install+set}" = set; then
683 INSTALL
="$ac_cv_path_install"
685 # As a last resort, use the slow shell script. We don't cache a
686 # path for INSTALL within a source directory, because that will
687 # break other packages using the cache if that directory is
688 # removed, or if the path is relative.
689 INSTALL
="$ac_install_sh"
692 echo "$ac_t""$INSTALL" 1>&6
694 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
695 # It thinks the first close brace ends the variable substitution.
696 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
698 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
701 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
708 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
709 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
711 cat >> confdefs.h
<<EOF
712 #define PACKAGE "$PACKAGE"
715 cat >> confdefs.h
<<EOF
716 #define VERSION "$VERSION"
719 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
720 echo "configure:721: checking whether build environment is sane" >&5
723 echo timestamp
> conftestfile
724 # Do `set' in a subshell so we don't clobber the current shell's
725 # arguments. Must try -L first in case configure is actually a
726 # symlink; some systems play weird games with the mod time of symlinks
727 # (eg FreeBSD returns the mod time of the symlink's containing
730 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
731 if test "" = "X"; then
733 set X
`ls -t $srcdir/configure conftestfile`
735 test "$2" = conftestfile
741 { echo "configure: error: newly created file is older than distributed files!
742 Check your system clock" 1>&2; exit 1; }
745 echo "$ac_t""yes" 1>&6
746 if test "$program_transform_name" = s
,x
,x
,; then
747 program_transform_name
=
749 # Double any \ or $. echo might interpret backslashes.
750 cat <<\EOF_SED
> conftestsed
751 s
,\\,\\\\,g
; s
,\$
,$$
,g
753 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
756 test "$program_prefix" != NONE
&&
757 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
758 # Use a double $ so make ignores it.
759 test "$program_suffix" != NONE
&&
760 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
762 # sed with no file args requires a program.
763 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
765 missing_dir
=`cd $ac_aux_dir && pwd`
766 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
767 echo "configure:768: checking for working aclocal" >&5
768 # Run test in a subshell; some versions of sh will print an error if
769 # an executable is not found, even if stderr is redirected.
770 # Redirect stdin to placate older versions of autoconf. Sigh.
771 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
773 echo "$ac_t""found" 1>&6
775 ACLOCAL
="$missing_dir/missing aclocal"
776 echo "$ac_t""missing" 1>&6
779 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
780 echo "configure:781: checking for working autoconf" >&5
781 # Run test in a subshell; some versions of sh will print an error if
782 # an executable is not found, even if stderr is redirected.
783 # Redirect stdin to placate older versions of autoconf. Sigh.
784 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
786 echo "$ac_t""found" 1>&6
788 AUTOCONF
="$missing_dir/missing autoconf"
789 echo "$ac_t""missing" 1>&6
792 echo $ac_n "checking for working automake""... $ac_c" 1>&6
793 echo "configure:794: checking for working automake" >&5
794 # Run test in a subshell; some versions of sh will print an error if
795 # an executable is not found, even if stderr is redirected.
796 # Redirect stdin to placate older versions of autoconf. Sigh.
797 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
799 echo "$ac_t""found" 1>&6
801 AUTOMAKE
="$missing_dir/missing automake"
802 echo "$ac_t""missing" 1>&6
805 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
806 echo "configure:807: checking for working autoheader" >&5
807 # Run test in a subshell; some versions of sh will print an error if
808 # an executable is not found, even if stderr is redirected.
809 # Redirect stdin to placate older versions of autoconf. Sigh.
810 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
811 AUTOHEADER
=autoheader
812 echo "$ac_t""found" 1>&6
814 AUTOHEADER
="$missing_dir/missing autoheader"
815 echo "$ac_t""missing" 1>&6
818 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
819 echo "configure:820: checking for working makeinfo" >&5
820 # Run test in a subshell; some versions of sh will print an error if
821 # an executable is not found, even if stderr is redirected.
822 # Redirect stdin to placate older versions of autoconf. Sigh.
823 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
825 echo "$ac_t""found" 1>&6
827 MAKEINFO
="$missing_dir/missing makeinfo"
828 echo "$ac_t""missing" 1>&6
831 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
832 echo "configure:833: checking whether ${MAKE-make} sets \${MAKE}" >&5
833 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
834 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
835 echo $ac_n "(cached) $ac_c" 1>&6
837 cat > conftestmake
<<\EOF
839 @
echo 'ac_maketemp="${MAKE}"'
841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
842 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
843 if test -n "$ac_maketemp"; then
844 eval ac_cv_prog_make_
${ac_make}_set
=yes
846 eval ac_cv_prog_make_
${ac_make}_set
=no
850 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
851 echo "$ac_t""yes" 1>&6
854 echo "$ac_t""no" 1>&6
855 SET_MAKE
="MAKE=${MAKE-make}"
859 # Extract the first word of "gcc", so it can be a program name with args.
860 set dummy gcc
; ac_word
=$2
861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
862 echo "configure:863: checking for $ac_word" >&5
863 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
864 echo $ac_n "(cached) $ac_c" 1>&6
866 if test -n "$CC"; then
867 ac_cv_prog_CC
="$CC" # Let the user override the test.
869 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
870 for ac_dir
in $PATH; do
871 test -z "$ac_dir" && ac_dir
=.
872 if test -f $ac_dir/$ac_word; then
881 if test -n "$CC"; then
882 echo "$ac_t""$CC" 1>&6
884 echo "$ac_t""no" 1>&6
887 if test -z "$CC"; then
888 # Extract the first word of "cc", so it can be a program name with args.
889 set dummy cc
; ac_word
=$2
890 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
891 echo "configure:892: checking for $ac_word" >&5
892 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
893 echo $ac_n "(cached) $ac_c" 1>&6
895 if test -n "$CC"; then
896 ac_cv_prog_CC
="$CC" # Let the user override the test.
898 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
900 for ac_dir
in $PATH; do
901 test -z "$ac_dir" && ac_dir
=.
902 if test -f $ac_dir/$ac_word; then
903 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
912 if test $ac_prog_rejected = yes; then
913 # We found a bogon in the path, so make sure we never use it.
914 set dummy
$ac_cv_prog_CC
916 if test $# -gt 0; then
917 # We chose a different compiler from the bogus one.
918 # However, it has the same basename, so the bogon will be chosen
919 # first if we set CC to just the basename; use the full file name.
921 set dummy
"$ac_dir/$ac_word" "$@"
929 if test -n "$CC"; then
930 echo "$ac_t""$CC" 1>&6
932 echo "$ac_t""no" 1>&6
935 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
938 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
939 echo "configure:940: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
943 ac_cpp
='$CPP $CPPFLAGS'
944 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
945 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
946 cross_compiling
=$ac_cv_prog_cc_cross
948 cat > conftest.
$ac_ext <<EOF
949 #line 950 "configure"
950 #include "confdefs.h"
953 if { (eval echo configure
:954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
954 ac_cv_prog_cc_works
=yes
955 # If we can't run a trivial program, we are probably using a cross compiler.
956 if (.
/conftest
; exit) 2>/dev
/null
; then
957 ac_cv_prog_cc_cross
=no
959 ac_cv_prog_cc_cross
=yes
962 echo "configure: failed program was:" >&5
963 cat conftest.
$ac_ext >&5
964 ac_cv_prog_cc_works
=no
968 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
969 if test $ac_cv_prog_cc_works = no
; then
970 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
972 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
973 echo "configure:974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
974 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
975 cross_compiling
=$ac_cv_prog_cc_cross
977 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
978 echo "configure:979: checking whether we are using GNU C" >&5
979 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
980 echo $ac_n "(cached) $ac_c" 1>&6
982 cat > conftest.c
<<EOF
987 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
994 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
996 if test $ac_cv_prog_gcc = yes; then
998 ac_test_CFLAGS
="${CFLAGS+set}"
999 ac_save_CFLAGS
="$CFLAGS"
1001 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1002 echo "configure:1003: checking whether ${CC-cc} accepts -g" >&5
1003 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1004 echo $ac_n "(cached) $ac_c" 1>&6
1006 echo 'void f(){}' > conftest.c
1007 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1016 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1017 if test "$ac_test_CFLAGS" = set; then
1018 CFLAGS
="$ac_save_CFLAGS"
1019 elif test $ac_cv_prog_cc_g = yes; then
1026 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1029 # Extract the first word of "ranlib", so it can be a program name with args.
1030 set dummy ranlib
; ac_word
=$2
1031 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1032 echo "configure:1033: checking for $ac_word" >&5
1033 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1034 echo $ac_n "(cached) $ac_c" 1>&6
1036 if test -n "$RANLIB"; then
1037 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1039 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1040 for ac_dir
in $PATH; do
1041 test -z "$ac_dir" && ac_dir
=.
1042 if test -f $ac_dir/$ac_word; then
1043 ac_cv_prog_RANLIB
="ranlib"
1048 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1051 RANLIB
="$ac_cv_prog_RANLIB"
1052 if test -n "$RANLIB"; then
1053 echo "$ac_t""$RANLIB" 1>&6
1055 echo "$ac_t""no" 1>&6
1058 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1059 if test "${with_gnu_ld+set}" = set; then
1060 withval
="$with_gnu_ld"
1061 test "$withval" = no || with_gnu_ld
=yes
1066 if test "$with_gnu_ld" = yes; then
1067 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1068 echo "configure:1069: checking for GNU ld" >&5
1070 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1071 echo "configure:1072: checking for non-GNU ld" >&5
1073 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1074 echo $ac_n "(cached) $ac_c" 1>&6
1078 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1081 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1082 for ac_dir
in $PATH; do
1083 test -z "$ac_dir" && ac_dir
=.
1084 if test -f "$ac_dir/ld"; then
1085 ac_cv_path_LD
="$ac_dir/ld"
1086 # Check to see if the program is GNU ld. I'd rather use --version,
1087 # but apparently some GNU ld's only accept -v.
1088 # Break only if it was the GNU/non-GNU ld that we prefer.
1089 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU ld|with BFD)' > /dev
/null
; then
1090 test "$with_gnu_ld" = yes && break
1092 test "$with_gnu_ld" != yes && break
1102 if test -n "$LD"; then
1103 echo "$ac_t""$LD" 1>&6
1105 echo "$ac_t""no" 1>&6
1107 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1109 echo $ac_n "checking whether we are using GNU ld""... $ac_c" 1>&6
1110 echo "configure:1111: checking whether we are using GNU ld" >&5
1111 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1112 echo $ac_n "(cached) $ac_c" 1>&6
1114 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1115 if $LD -v 2>&1 </dev
/null |
egrep '(GNU ld|with BFD)' > /dev
/null
; then
1116 ac_cv_prog_gnu_ld
=yes
1118 ac_cv_prog_gnu_ld
=no
1122 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1125 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1126 echo "configure:1127: checking whether ln -s works" >&5
1127 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1128 echo $ac_n "(cached) $ac_c" 1>&6
1131 if ln -s X conftestdata
2>/dev
/null
1134 ac_cv_prog_LN_S
="ln -s"
1139 LN_S
="$ac_cv_prog_LN_S"
1140 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1141 echo "$ac_t""yes" 1>&6
1143 echo "$ac_t""no" 1>&6
1152 # Always use our own libtool.
1153 LIBTOOL
='$(top_builddir)/libtool'
1156 # Check whether --enable-shared or --disable-shared was given.
1157 if test "${enable_shared+set}" = set; then
1158 enableval
="$enable_shared"
1159 if test "$enableval" = no
; then
1167 test "$enable_shared" = no
&& libtool_shared
=" --disable-shared"
1169 # Check whether --enable-static or --disable-static was given.
1170 if test "${enable_static+set}" = set; then
1171 enableval
="$enable_static"
1172 if test "$enableval" = no
; then
1180 test "$enable_static" = no
&& libtool_static
=" --disable-static"
1182 libtool_flags
="$libtool_shared$libtool_static"
1183 test "$silent" = yes && libtool_flags
="$libtool_flags --silent"
1184 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
1185 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
1187 # Some flags need to be propagated to the compiler or linker for good
1191 ac_save_CFLAGS
="$CFLAGS"
1192 # -n32 always needs to be added to the linker when using GCC.
1193 test "$ac_cv_prog_gcc" = yes && CFLAGS
="$CFLAGS -n32"
1194 for f
in '-32' '-64' '-cckr' '-n32' '-mips1' '-mips2' '-mips3' '-mips4'; do
1195 if echo " $CC $CFLAGS " |
egrep -e "[ ]$f[ ]" > /dev
/null
; then
1199 CFLAGS
="$ac_save_CFLAGS"
1203 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1204 CFLAGS
="$CFLAGS -belf"
1208 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1209 CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
1210 LD
="$LD" RANLIB
="$RANLIB" LN_S
="$LN_S" \
1211 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
1212 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh
$host \
1213 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1220 # Extract the first word of "gcc", so it can be a program name with args.
1221 set dummy gcc
; ac_word
=$2
1222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1223 echo "configure:1224: checking for $ac_word" >&5
1224 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1225 echo $ac_n "(cached) $ac_c" 1>&6
1227 if test -n "$CC"; then
1228 ac_cv_prog_CC
="$CC" # Let the user override the test.
1230 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1231 for ac_dir
in $PATH; do
1232 test -z "$ac_dir" && ac_dir
=.
1233 if test -f $ac_dir/$ac_word; then
1242 if test -n "$CC"; then
1243 echo "$ac_t""$CC" 1>&6
1245 echo "$ac_t""no" 1>&6
1248 if test -z "$CC"; then
1249 # Extract the first word of "cc", so it can be a program name with args.
1250 set dummy cc
; ac_word
=$2
1251 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1252 echo "configure:1253: checking for $ac_word" >&5
1253 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1254 echo $ac_n "(cached) $ac_c" 1>&6
1256 if test -n "$CC"; then
1257 ac_cv_prog_CC
="$CC" # Let the user override the test.
1259 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1261 for ac_dir
in $PATH; do
1262 test -z "$ac_dir" && ac_dir
=.
1263 if test -f $ac_dir/$ac_word; then
1264 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1265 ac_prog_rejected
=yes
1273 if test $ac_prog_rejected = yes; then
1274 # We found a bogon in the path, so make sure we never use it.
1275 set dummy
$ac_cv_prog_CC
1277 if test $# -gt 0; then
1278 # We chose a different compiler from the bogus one.
1279 # However, it has the same basename, so the bogon will be chosen
1280 # first if we set CC to just the basename; use the full file name.
1282 set dummy
"$ac_dir/$ac_word" "$@"
1290 if test -n "$CC"; then
1291 echo "$ac_t""$CC" 1>&6
1293 echo "$ac_t""no" 1>&6
1296 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1299 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1300 echo "configure:1301: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1304 ac_cpp
='$CPP $CPPFLAGS'
1305 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1306 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1307 cross_compiling
=$ac_cv_prog_cc_cross
1309 cat > conftest.
$ac_ext <<EOF
1310 #line 1311 "configure"
1311 #include "confdefs.h"
1314 if { (eval echo configure
:1315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1315 ac_cv_prog_cc_works
=yes
1316 # If we can't run a trivial program, we are probably using a cross compiler.
1317 if (.
/conftest
; exit) 2>/dev
/null
; then
1318 ac_cv_prog_cc_cross
=no
1320 ac_cv_prog_cc_cross
=yes
1323 echo "configure: failed program was:" >&5
1324 cat conftest.
$ac_ext >&5
1325 ac_cv_prog_cc_works
=no
1329 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1330 if test $ac_cv_prog_cc_works = no
; then
1331 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1333 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1334 echo "configure:1335: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1335 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1336 cross_compiling
=$ac_cv_prog_cc_cross
1338 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1339 echo "configure:1340: checking whether we are using GNU C" >&5
1340 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1341 echo $ac_n "(cached) $ac_c" 1>&6
1343 cat > conftest.c
<<EOF
1348 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1355 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1357 if test $ac_cv_prog_gcc = yes; then
1359 ac_test_CFLAGS
="${CFLAGS+set}"
1360 ac_save_CFLAGS
="$CFLAGS"
1362 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1363 echo "configure:1364: checking whether ${CC-cc} accepts -g" >&5
1364 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1365 echo $ac_n "(cached) $ac_c" 1>&6
1367 echo 'void f(){}' > conftest.c
1368 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1377 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1378 if test "$ac_test_CFLAGS" = set; then
1379 CFLAGS
="$ac_save_CFLAGS"
1380 elif test $ac_cv_prog_cc_g = yes; then
1387 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1391 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1394 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1395 echo "configure:1396: checking for POSIXized ISC" >&5
1396 if test -d /etc
/conf
/kconfig.d
&&
1397 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
1399 echo "$ac_t""yes" 1>&6
1400 ISC
=yes # If later tests want to check for ISC.
1401 cat >> confdefs.h
<<\EOF
1402 #define _POSIX_SOURCE 1
1405 if test "$GCC" = yes; then
1411 echo "$ac_t""no" 1>&6
1417 alpha-
*-*) MY_TARGET
=alpha
;;
1418 i
[3456]86-*-*) MY_TARGET
=i386
;;
1419 sparc-
*-*) MY_TARGET
=sparc
;;
1420 tahoe-
*-*) MY_TARGET
=tahoe
;;
1421 vax-
*-*) MY_TARGET
=vax
;;
1422 ns32k-
*-*) MY_TARGET
=ns532
;;
1423 *-*-*) MY_TARGET
=dummy
;;
1429 *-*-bsd4.4
* |
*-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
1430 cat >> confdefs.h
<<\EOF
1431 #define BSD44_FORMAT 1
1437 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1438 echo "configure:1439: checking whether to enable maintainer-specific portions of Makefiles" >&5
1439 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1440 if test "${enable_maintainer_mode+set}" = set; then
1441 enableval
="$enable_maintainer_mode"
1442 USE_MAINTAINER_MODE
=$enableval
1444 USE_MAINTAINER_MODE
=no
1447 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1448 if test $USE_MAINTAINER_MODE = yes; then
1455 echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
1456 echo "configure:1457: checking for Cygwin32 environment" >&5
1457 if eval "test \"`echo '$''{'am_cv_cygwin32'+set}'`\" = set"; then
1458 echo $ac_n "(cached) $ac_c" 1>&6
1460 cat > conftest.
$ac_ext <<EOF
1461 #line 1462 "configure"
1462 #include "confdefs.h"
1465 int main () { return __CYGWIN32__; }
1468 if { (eval echo configure
:1469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1472 echo "configure: failed program was:" >&5
1473 cat conftest.
$ac_ext >&5
1481 echo "$ac_t""$am_cv_cygwin32" 1>&6
1483 test "$am_cv_cygwin32" = yes && CYGWIN32
=yes
1485 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1486 echo "configure:1487: checking for executable suffix" >&5
1487 if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then
1488 echo $ac_n "(cached) $ac_c" 1>&6
1490 if test "$CYGWIN32" = yes; then
1493 cat > am_c_test.c
<< 'EOF'
1495 /* Nothing needed here
*/
1498 ${CC-cc} -o am_c_test
$CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c
$LIBS 1>&5
1499 am_cv_exeext
=`echo am_c_test.* | grep -v am_c_test.c | sed -e s/am_c_test//`
1503 test x
"${am_cv_exeext}" = x
&& am_cv_exeext
=no
1506 test x
"${am_cv_exeext}" != xno
&& EXEEXT
=${am_cv_exeext}
1507 echo "$ac_t""${am_cv_exeext}" 1>&6
1511 cat > confcache
<<\EOF
1512 # This file is a shell script that caches the results of configure
1513 # tests run on this system so they can be shared between configure
1514 # scripts and configure runs. It is not useful on other systems.
1515 # If it contains results you don't want to keep, you may remove or edit it.
1517 # By default, configure uses ./config.cache as the cache file,
1518 # creating it if it does not exist already. You can give configure
1519 # the --cache-file=FILE option to use a different cache file; that is
1520 # what configure does when it calls configure scripts in
1521 # subdirectories, so they share the cache.
1522 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1523 # config.status only pays attention to the cache file if you give it the
1524 # --recheck option to rerun configure.
1527 # The following way of writing the cache mishandles newlines in values,
1528 # but we know of no workaround that is simple, portable, and efficient.
1529 # So, don't put newlines in cache variables' values.
1530 # Ultrix sh set writes to stderr and can't be redirected directly,
1531 # and sets the high bit in the cache file unless we assign to the vars.
1533 case `(ac_space=' '; set) 2>&1` in
1535 # `set' does not quote correctly, so add quotes (double-quote substitution
1536 # turns \\\\ into \\, and sed turns \\ into \).
1538 -e "s/'/'\\\\''/g" \
1539 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1542 # `set' quotes correctly as required by POSIX, so do not add quotes.
1543 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1546 if cmp -s $cache_file confcache
; then
1549 if test -w $cache_file; then
1550 echo "updating cache $cache_file"
1551 cat confcache
> $cache_file
1553 echo "not updating unwritable cache $cache_file"
1558 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1560 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1561 # Let make expand exec_prefix.
1562 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1564 # Any assignment to VPATH causes Sun make to only execute
1565 # the first set of double-colon rules, so remove it if not needed.
1566 # If there is a colon in the path, we need to keep it.
1567 if test "x$srcdir" = x.
; then
1568 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1571 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1573 DEFS
=-DHAVE_CONFIG_H
1575 # Without the "./", some shells look in PATH for config.status.
1576 : ${CONFIG_STATUS=./config.status}
1578 echo creating
$CONFIG_STATUS
1579 rm -f $CONFIG_STATUS
1580 cat > $CONFIG_STATUS <<EOF
1582 # Generated automatically by configure.
1583 # Run this file to recreate the current configuration.
1584 # This directory was configured as follows,
1585 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1587 # $0 $ac_configure_args
1589 # Compiler output produced by configure, useful for debugging
1590 # configure, is in ./config.log if it exists.
1592 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1595 case "\$ac_option" in
1596 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1597 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1598 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1599 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1600 echo "$CONFIG_STATUS generated by autoconf version 2.12.1"
1602 -help | --help | --hel | --he | --h)
1603 echo "\$ac_cs_usage"; exit 0 ;;
1604 *) echo "\$ac_cs_usage"; exit 1 ;;
1608 ac_given_srcdir=$srcdir
1609 ac_given_INSTALL="$INSTALL"
1611 trap 'rm -fr `echo "Makefile gconfig.h:gconfig.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1613 cat >> $CONFIG_STATUS <<EOF
1615 # Protect against being on the right side of a sed subst in config.status.
1616 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1617 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1620 s%@CFLAGS@%$CFLAGS%g
1621 s%@CPPFLAGS@%$CPPFLAGS%g
1622 s%@CXXFLAGS@%$CXXFLAGS%g
1624 s%@LDFLAGS@%$LDFLAGS%g
1626 s%@exec_prefix@%$exec_prefix%g
1627 s%@prefix@%$prefix%g
1628 s%@program_transform_name@%$program_transform_name%g
1629 s%@bindir@%$bindir%g
1630 s%@sbindir@%$sbindir%g
1631 s%@libexecdir@%$libexecdir%g
1632 s%@datadir@%$datadir%g
1633 s%@sysconfdir@%$sysconfdir%g
1634 s%@sharedstatedir@%$sharedstatedir%g
1635 s%@localstatedir@%$localstatedir%g
1636 s%@libdir@%$libdir%g
1637 s%@includedir@%$includedir%g
1638 s%@oldincludedir@%$oldincludedir%g
1639 s%@infodir@%$infodir%g
1640 s%@mandir@%$mandir%g
1642 s%@host_alias@%$host_alias%g
1643 s%@host_cpu@%$host_cpu%g
1644 s%@host_vendor@%$host_vendor%g
1645 s%@host_os@%$host_os%g
1646 s%@target@%$target%g
1647 s%@target_alias@%$target_alias%g
1648 s%@target_cpu@%$target_cpu%g
1649 s%@target_vendor@%$target_vendor%g
1650 s%@target_os@%$target_os%g
1652 s%@build_alias@%$build_alias%g
1653 s%@build_cpu@%$build_cpu%g
1654 s%@build_vendor@%$build_vendor%g
1655 s%@build_os@%$build_os%g
1656 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1657 s%@INSTALL_DATA@%$INSTALL_DATA%g
1658 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1659 s%@PACKAGE@%$PACKAGE%g
1660 s%@VERSION@%$VERSION%g
1661 s%@ACLOCAL@%$ACLOCAL%g
1662 s%@AUTOCONF@%$AUTOCONF%g
1663 s%@AUTOMAKE@%$AUTOMAKE%g
1664 s%@AUTOHEADER@%$AUTOHEADER%g
1665 s%@MAKEINFO@%$MAKEINFO%g
1666 s%@SET_MAKE@%$SET_MAKE%g
1668 s%@RANLIB@%$RANLIB%g
1671 s%@LIBTOOL@%$LIBTOOL%g
1672 s%@MY_TARGET@%$MY_TARGET%g
1674 s%@EXEEXT@%$EXEEXT%g
1679 cat >> $CONFIG_STATUS <<\EOF
1681 # Split the substitutions into bite-sized pieces for seds with
1682 # small command number limits, like on Digital OSF/1 and HP-UX.
1683 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
1684 ac_file
=1 # Number of current file.
1685 ac_beg
=1 # First line for current file.
1686 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
1689 while $ac_more_lines; do
1690 if test $ac_beg -gt 1; then
1691 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
1693 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
1695 if test ! -s conftest.s
$ac_file; then
1697 rm -f conftest.s
$ac_file
1699 if test -z "$ac_sed_cmds"; then
1700 ac_sed_cmds
="sed -f conftest.s$ac_file"
1702 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
1704 ac_file
=`expr $ac_file + 1`
1706 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
1709 if test -z "$ac_sed_cmds"; then
1714 cat >> $CONFIG_STATUS <<EOF
1716 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1718 cat >> $CONFIG_STATUS <<\EOF
1719 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
1720 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1722 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
1723 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1724 *) ac_file_in
="${ac_file}.in" ;;
1727 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1729 # Remove last slash and all that follows it. Not all systems have dirname.
1730 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1731 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
1732 # The file is in a subdirectory.
1733 test ! -d "$ac_dir" && mkdir
"$ac_dir"
1734 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
1735 # A "../" for each directory in $ac_dir_suffix.
1736 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1738 ac_dir_suffix
= ac_dots
=
1741 case "$ac_given_srcdir" in
1743 if test -z "$ac_dots"; then top_srcdir
=.
1744 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1745 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
1747 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1748 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
1751 case "$ac_given_INSTALL" in
1752 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
1753 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
1756 echo creating
"$ac_file"
1758 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1760 *Makefile
*) ac_comsub
="1i\\
1761 # $configure_input" ;;
1765 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1767 s%@configure_input@%$configure_input%g
1768 s%@srcdir@%$srcdir%g
1769 s%@top_srcdir@%$top_srcdir%g
1770 s%@INSTALL@%$INSTALL%g
1771 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
1775 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1776 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1778 # ac_d sets the value in "#define NAME VALUE" lines.
1779 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1780 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
1783 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1784 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1785 ac_uB
='\([ ]\)%\1#\2define\3'
1788 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1789 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1790 ac_eB
='$%\1#\2define\3'
1794 if test "${CONFIG_HEADERS+set}" != set; then
1796 cat >> $CONFIG_STATUS <<EOF
1797 CONFIG_HEADERS="gconfig.h:gconfig.in"
1799 cat >> $CONFIG_STATUS <<\EOF
1801 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
1802 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1804 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
1805 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1806 *) ac_file_in
="${ac_file}.in" ;;
1809 echo creating
$ac_file
1811 rm -f conftest.frag conftest.
in conftest.out
1812 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1813 cat $ac_file_inputs > conftest.
in
1817 # Transform confdefs.h into a sed script conftest.vals that substitutes
1818 # the proper values into config.h.in to produce config.h. And first:
1819 # Protect against being on the right side of a sed subst in config.status.
1820 # Protect against being in an unquoted here document in config.status.
1822 cat > conftest.hdr
<<\EOF
1825 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1829 sed -n -f conftest.hdr confdefs.h > conftest.vals
1832 # This sed command replaces #undef with comments. This is necessary, for
1833 # example, in the case of _POSIX_SOURCE, which is predefined and required
1834 # on some systems where configure will not decide to define it.
1835 cat >> conftest.vals <<\EOF
1836 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1839 # Break up conftest.vals because some shells have a limit on
1840 # the size of here documents, and old seds have small limits too.
1845 ac_lines=`grep -c . conftest.vals
`
1846 # grep -c gives empty output for an empty file on some AIX systems.
1847 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1848 # Write a limited-size here document to conftest.frag.
1849 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1850 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1852 sed -f conftest.frag conftest.in > conftest.out
1854 mv conftest.out conftest.in
1856 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1858 mv conftest.tail conftest.vals
1862 cat >> $CONFIG_STATUS <<\EOF
1863 rm -f conftest.frag conftest.h
1864 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1865 cat conftest.in >> conftest.h
1867 if cmp -s $ac_file conftest.h 2>/dev/null; then
1868 echo "$ac_file is unchanged"
1871 # Remove last slash and all that follows it. Not all systems have dirname.
1872 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1873 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1874 # The file is in a subdirectory.
1875 test ! -d "$ac_dir" && mkdir "$ac_dir"
1878 mv conftest.h $ac_file
1883 cat >> $CONFIG_STATUS <<EOF
1887 cat >> $CONFIG_STATUS <<\EOF
1888 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
1892 chmod +x $CONFIG_STATUS
1893 rm -fr confdefs* $ac_clean_files
1894 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1