4 --with-gtkmm-prefix=PREFIX
5 Prefix where GTK-- is installed (optional)"
6 # Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
7 if test "${with_gtkmm_prefix+set}" = set; then
8 withval="$with_gtkmm_prefix"
9 gtkmm_config_prefix="$withval"
11 gtkmm_config_prefix=""
15 --with-gtkmm-exec-prefix=PREFIX
16 Exec prefix where GTK-- is installed (optional)"
17 # Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
18 if test "${with_gtkmm_exec_prefix+set}" = set; then
19 withval="$with_gtkmm_exec_prefix"
20 gtkmm_config_exec_prefix="$withval"
22 gtkmm_config_exec_prefix=""
26 --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
27 # Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
28 if test "${enable_gtkmmtest+set}" = set; then
29 enableval="$enable_gtkmmtest"
36 if test x$gtkmm_config_exec_prefix != x ; then
37 gtkmm_config_args="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
38 if test x${GTKMM_CONFIG+set} != xset ; then
39 GTKMM_CONFIG=$gtkmm_config_exec_prefix/bin/gtkmm-config
42 if test x$gtkmm_config_prefix != x ; then
43 gtkmm_config_args="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
44 if test x${GTKMM_CONFIG+set} != xset ; then
45 GTKMM_CONFIG=$gtkmm_config_prefix/bin/gtkmm-config
52 # Configure paths for GTK--DRAW
53 # Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.12
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix=/usr/local
67 # Any additions from configure.in:
69 enable-config=FILE put configure settings in config-FILE.make"
71 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
73 with-lang=LANG use LANG as language to emit messages"
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file=./config.cache
88 program_transform_name=s,x,x,
96 bindir='${exec_prefix}/bin'
97 sbindir='${exec_prefix}/sbin'
98 libexecdir='${exec_prefix}/libexec'
99 datadir='${prefix}/share'
100 sysconfdir='${prefix}/etc'
101 sharedstatedir='${prefix}/com'
102 localstatedir='${prefix}/var'
103 libdir='${exec_prefix}/lib'
104 includedir='${prefix}/include'
105 oldincludedir='/usr/include'
106 infodir='${prefix}/info'
107 mandir='${prefix}/man'
109 # Initialize some other variables.
112 # Maximum number of lines to put in a shell here document.
119 # If the previous option needs an argument, assign it.
120 if test -n "$ac_prev"; then
121 eval "$ac_prev=\$ac_option"
127 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
131 # Accept the important Cygnus configure options, so we can diagnose typos.
135 -bindir | --bindir | --bindi | --bind | --bin | --bi)
137 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
138 bindir="$ac_optarg" ;;
140 -build | --build | --buil | --bui | --bu)
142 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
143 build="$ac_optarg" ;;
145 -cache-file | --cache-file | --cache-fil | --cache-fi \
146 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
147 ac_prev=cache_file ;;
148 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
149 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
150 cache_file="$ac_optarg" ;;
152 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
154 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
156 datadir="$ac_optarg" ;;
158 -disable-* | --disable-*)
159 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
165 eval "enable_${ac_feature}=no" ;;
167 -enable-* | --enable-*)
168 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
169 # Reject names that are not valid shell variable names.
170 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
171 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
173 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
178 eval "enable_${ac_feature}='$ac_optarg'" ;;
180 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
181 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
182 | --exec | --exe | --ex)
183 ac_prev=exec_prefix ;;
184 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
185 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
186 | --exec=* | --exe=* | --ex=*)
187 exec_prefix="$ac_optarg" ;;
189 -gas | --gas | --ga | --g)
190 # Obsolete; use --with-gas.
193 -help | --help | --hel | --he)
194 # Omit some internal or obsolete options to make the list less imposing.
195 # This message is too long to be a string in the A/UX 3.1 sh.
197 Usage: configure [options] [host]
198 Options: [defaults in brackets after descriptions]
200 --cache-file=FILE cache test results in FILE
201 --help print this message
202 --no-create do not create output files
203 --quiet, --silent do not print \`checking...' messages
204 --version print the version of autoconf that created configure
205 Directory and file names:
206 --prefix=PREFIX install architecture-independent files in PREFIX
208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
210 --bindir=DIR user executables in DIR [EPREFIX/bin]
211 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
212 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
213 --datadir=DIR read-only architecture-independent data in DIR
215 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
216 --sharedstatedir=DIR modifiable architecture-independent data in DIR
218 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
219 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
220 --includedir=DIR C header files in DIR [PREFIX/include]
221 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
222 --infodir=DIR info documentation in DIR [PREFIX/info]
223 --mandir=DIR man documentation in DIR [PREFIX/man]
224 --srcdir=DIR find the sources in DIR [configure dir or ..]
225 --program-prefix=PREFIX prepend PREFIX to installed program names
226 --program-suffix=SUFFIX append SUFFIX to installed program names
227 --program-transform-name=PROGRAM
228 run sed PROGRAM on installed program names
232 --build=BUILD configure for building on BUILD [BUILD=HOST]
233 --host=HOST configure for HOST [guessed]
234 --target=TARGET configure for TARGET [TARGET=HOST]
235 Features and packages:
236 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
237 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
238 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
239 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
240 --x-includes=DIR X include files are in DIR
241 --x-libraries=DIR X library files are in DIR
243 if test -n "$ac_help"; then
244 echo "--enable and --with options recognized:$ac_help"
248 -host | --host | --hos | --ho)
250 -host=* | --host=* | --hos=* | --ho=*)
253 -includedir | --includedir | --includedi | --included | --include \
254 | --includ | --inclu | --incl | --inc)
255 ac_prev=includedir ;;
256 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
257 | --includ=* | --inclu=* | --incl=* | --inc=*)
258 includedir="$ac_optarg" ;;
260 -infodir | --infodir | --infodi | --infod | --info | --inf)
262 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
263 infodir="$ac_optarg" ;;
265 -libdir | --libdir | --libdi | --libd)
267 -libdir=* | --libdir=* | --libdi=* | --libd=*)
268 libdir="$ac_optarg" ;;
270 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
271 | --libexe | --libex | --libe)
272 ac_prev=libexecdir ;;
273 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
274 | --libexe=* | --libex=* | --libe=*)
275 libexecdir="$ac_optarg" ;;
277 -localstatedir | --localstatedir | --localstatedi | --localstated \
278 | --localstate | --localstat | --localsta | --localst \
279 | --locals | --local | --loca | --loc | --lo)
280 ac_prev=localstatedir ;;
281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
282 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
283 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
284 localstatedir="$ac_optarg" ;;
286 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
288 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
289 mandir="$ac_optarg" ;;
292 # Obsolete; use --without-fp.
295 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
299 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
300 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
303 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
304 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
305 | --oldin | --oldi | --old | --ol | --o)
306 ac_prev=oldincludedir ;;
307 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
308 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
309 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
310 oldincludedir="$ac_optarg" ;;
312 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
314 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
315 prefix="$ac_optarg" ;;
317 -program-prefix | --program-prefix | --program-prefi | --program-pref \
318 | --program-pre | --program-pr | --program-p)
319 ac_prev=program_prefix ;;
320 -program-prefix=* | --program-prefix=* | --program-prefi=* \
321 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
322 program_prefix="$ac_optarg" ;;
324 -program-suffix | --program-suffix | --program-suffi | --program-suff \
325 | --program-suf | --program-su | --program-s)
326 ac_prev=program_suffix ;;
327 -program-suffix=* | --program-suffix=* | --program-suffi=* \
328 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
329 program_suffix="$ac_optarg" ;;
331 -program-transform-name | --program-transform-name \
332 | --program-transform-nam | --program-transform-na \
333 | --program-transform-n | --program-transform- \
334 | --program-transform | --program-transfor \
335 | --program-transfo | --program-transf \
336 | --program-trans | --program-tran \
337 | --progr-tra | --program-tr | --program-t)
338 ac_prev=program_transform_name ;;
339 -program-transform-name=* | --program-transform-name=* \
340 | --program-transform-nam=* | --program-transform-na=* \
341 | --program-transform-n=* | --program-transform-=* \
342 | --program-transform=* | --program-transfor=* \
343 | --program-transfo=* | --program-transf=* \
344 | --program-trans=* | --program-tran=* \
345 | --progr-tra=* | --program-tr=* | --program-t=*)
346 program_transform_name="$ac_optarg" ;;
348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
349 | -silent | --silent | --silen | --sile | --sil)
352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
356 sbindir="$ac_optarg" ;;
358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
360 | --sharedst | --shareds | --shared | --share | --shar \
362 ac_prev=sharedstatedir ;;
363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
367 sharedstatedir="$ac_optarg" ;;
369 -site | --site | --sit)
371 -site=* | --site=* | --sit=*)
374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
377 srcdir="$ac_optarg" ;;
379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
380 | --syscon | --sysco | --sysc | --sys | --sy)
381 ac_prev=sysconfdir ;;
382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
384 sysconfdir="$ac_optarg" ;;
386 -target | --target | --targe | --targ | --tar | --ta | --t)
388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
389 target="$ac_optarg" ;;
391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
394 -version | --version | --versio | --versi | --vers)
395 echo "configure generated by autoconf version 2.12"
399 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
400 # Reject names that are not valid shell variable names.
401 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
402 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
404 ac_package=`echo $ac_package| sed 's/-/_/g'`
409 eval "with_${ac_package}='$ac_optarg'" ;;
411 -without-* | --without-*)
412 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
413 # Reject names that are not valid shell variable names.
414 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
415 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
417 ac_package=`echo $ac_package| sed 's/-/_/g'`
418 eval "with_${ac_package}=no" ;;
421 # Obsolete; use --with-x.
424 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
425 | --x-incl | --x-inc | --x-in | --x-i)
426 ac_prev=x_includes ;;
427 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
428 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
429 x_includes="$ac_optarg" ;;
431 -x-libraries | --x-libraries | --x-librarie | --x-librari \
432 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
433 ac_prev=x_libraries ;;
434 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
435 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
436 x_libraries="$ac_optarg" ;;
438 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
442 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
443 echo "configure: warning: $ac_option: invalid host type" 1>&2
445 if test "x$nonopt" != xNONE; then
446 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
454 if test -n "$ac_prev"; then
455 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
458 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
460 # File descriptor usage:
463 # 2 errors and warnings
464 # 3 some systems may open it to /dev/tty
465 # 4 used on the Kubota Titan
466 # 6 checking for... messages and results
467 # 5 compiler messages saved in config.log
468 if test "$silent" = yes; then
476 This file contains any messages produced by compilers while
477 running configure, to aid debugging if configure makes a mistake.
480 # Strip out --no-create and --no-recursion so they do not pile up.
481 # Also quote any args containing shell metacharacters.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c) ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
490 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
491 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
492 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
497 # Only set these to C if already set. These must not be set unconditionally
498 # because not all systems understand e.g. LANG=C (notably SCO).
499 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
500 # Non-C LC_CTYPE values break the ctype check.
501 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
502 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
503 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
504 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
506 # confdefs.h avoids OS command line length limits that DEFS can exceed.
507 rm -rf conftest* confdefs.h
508 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
511 # A filename unique to this package, relative to the directory that
512 # configure is in, which we can look for to find out if srcdir is correct.
513 ac_unique_file=make/stepmake.lsm.in
515 # Find the source files, if location was not specified.
516 if test -z "$srcdir"; then
517 ac_srcdir_defaulted=yes
518 # Try the directory containing this script, then its parent.
520 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
521 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
523 if test ! -r $srcdir/$ac_unique_file; then
527 ac_srcdir_defaulted=no
529 if test ! -r $srcdir/$ac_unique_file; then
530 if test "$ac_srcdir_defaulted" = yes; then
531 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
533 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
536 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
538 # Prefer explicitly selected file to automatically selected ones.
539 if test -z "$CONFIG_SITE"; then
540 if test "x$prefix" != xNONE; then
541 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
543 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
546 for ac_site_file in $CONFIG_SITE; do
547 if test -r "$ac_site_file"; then
548 echo "loading site script $ac_site_file"
553 if test -r "$cache_file"; then
554 echo "loading cache $cache_file"
557 echo "creating cache $cache_file"
562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
563 ac_cpp='$CPP $CPPFLAGS'
564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
565 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
566 cross_compiling=$ac_cv_prog_cc_cross
568 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
569 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
577 ac_n= ac_c='\c' ac_t=
583 # Bootstrap StepMake configure
587 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
588 if test x$MY_PATCH_LEVEL != x; then
589 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
592 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
593 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
594 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
596 if test "x$PACKAGE" = "xSTEPMAKE"; then
597 echo Stepmake package!
598 (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
599 (cd stepmake; rm -f bin; ln -s ../bin .)
601 for ac_dir in bin $srcdir/bin; do
602 if test -f $ac_dir/install-sh; then
604 ac_install_sh="$ac_aux_dir/install-sh -c"
606 elif test -f $ac_dir/install.sh; then
608 ac_install_sh="$ac_aux_dir/install.sh -c"
612 if test -z "$ac_aux_dir"; then
613 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
615 ac_config_guess=$ac_aux_dir/config.guess
616 ac_config_sub=$ac_aux_dir/config.sub
617 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
620 echo Package: $PACKAGE
622 for ac_dir in stepmake/bin $srcdir/stepmake/bin; do
623 if test -f $ac_dir/install-sh; then
625 ac_install_sh="$ac_aux_dir/install-sh -c"
627 elif test -f $ac_dir/install.sh; then
629 ac_install_sh="$ac_aux_dir/install.sh -c"
633 if test -z "$ac_aux_dir"; then
634 { echo "configure: error: can not find install-sh or install.sh in stepmake/bin $srcdir/stepmake/bin" 1>&2; exit 1; }
636 ac_config_guess=$ac_aux_dir/config.guess
637 ac_config_sub=$ac_aux_dir/config.sub
638 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
645 cat >> confdefs.h <<EOF
646 #define PACKAGE "${PACKAGE_NAME}"
649 cat >> confdefs.h <<EOF
650 #define TOPLEVEL_VERSION "${FULL_VERSION}"
654 package_depth=`dirname $cache_file`
657 AUTOGENERATE="This file was automatically generated by configure"
659 absolute_builddir="`pwd`"
662 # No versioning on directory names of sub-packages
666 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
667 if test "x$STATE_VECTOR" != "x"; then
668 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
673 # Check whether --enable-config or --disable-config was given.
674 if test "${enable_config+set}" = set; then
675 enableval="$enable_config"
676 CONFIGSUFFIX=$enableval
680 if test "$CONFIGSUFFIX" != "" ; then
681 CONFIGFILE=config-$CONFIGSUFFIX
688 # Make sure we can run config.sub.
689 if $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking host system type""... $ac_c" 1>&6
694 echo "configure:695: checking host system type" >&5
697 case "$host_alias" in
701 if host_alias=`$ac_config_guess`; then :
702 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`$ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
716 # Extract the first word of "$ac_prog", so it can be a program name with args.
717 set dummy $ac_prog; ac_word=$2
718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
719 echo "configure:720: checking for $ac_word" >&5
720 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
721 echo $ac_n "(cached) $ac_c" 1>&6
723 if test -n "$MAKE"; then
724 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
726 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
727 for ac_dir in $PATH; do
728 test -z "$ac_dir" && ac_dir=.
729 if test -f $ac_dir/$ac_word; then
730 ac_cv_prog_MAKE="$ac_prog"
737 MAKE="$ac_cv_prog_MAKE"
738 if test -n "$MAKE"; then
739 echo "$ac_t""$MAKE" 1>&6
741 echo "$ac_t""no" 1>&6
744 test -n "$MAKE" && break
746 test -n "$MAKE" || MAKE="error"
750 # Extract the first word of "$ac_prog", so it can be a program name with args.
751 set dummy $ac_prog; ac_word=$2
752 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
753 echo "configure:754: checking for $ac_word" >&5
754 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
755 echo $ac_n "(cached) $ac_c" 1>&6
757 if test -n "$FIND"; then
758 ac_cv_prog_FIND="$FIND" # Let the user override the test.
760 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
761 for ac_dir in $PATH; do
762 test -z "$ac_dir" && ac_dir=.
763 if test -f $ac_dir/$ac_word; then
764 ac_cv_prog_FIND="$ac_prog"
771 FIND="$ac_cv_prog_FIND"
772 if test -n "$FIND"; then
773 echo "$ac_t""$FIND" 1>&6
775 echo "$ac_t""no" 1>&6
778 test -n "$FIND" && break
780 test -n "$FIND" || FIND="error"
787 # Extract the first word of "$ac_prog", so it can be a program name with args.
788 set dummy $ac_prog; ac_word=$2
789 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
790 echo "configure:791: checking for $ac_word" >&5
791 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
792 echo $ac_n "(cached) $ac_c" 1>&6
794 if test -n "$TAR"; then
795 ac_cv_prog_TAR="$TAR" # Let the user override the test.
797 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
798 for ac_dir in $PATH; do
799 test -z "$ac_dir" && ac_dir=.
800 if test -f $ac_dir/$ac_word; then
801 ac_cv_prog_TAR="$ac_prog"
808 TAR="$ac_cv_prog_TAR"
809 if test -n "$TAR"; then
810 echo "$ac_t""$TAR" 1>&6
812 echo "$ac_t""no" 1>&6
815 test -n "$TAR" && break
817 test -n "$TAR" || TAR="error"
821 # Extract the first word of "$ac_prog", so it can be a program name with args.
822 set dummy $ac_prog; ac_word=$2
823 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
824 echo "configure:825: checking for $ac_word" >&5
825 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
826 echo $ac_n "(cached) $ac_c" 1>&6
828 if test -n "$BASH"; then
829 ac_cv_prog_BASH="$BASH" # Let the user override the test.
831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
832 for ac_dir in $PATH; do
833 test -z "$ac_dir" && ac_dir=.
834 if test -f $ac_dir/$ac_word; then
835 ac_cv_prog_BASH="$ac_prog"
842 BASH="$ac_cv_prog_BASH"
843 if test -n "$BASH"; then
844 echo "$ac_t""$BASH" 1>&6
846 echo "$ac_t""no" 1>&6
849 test -n "$BASH" && break
851 test -n "$BASH" || BASH="/bin/sh"
854 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
855 set dummy ${PYTHON:-python}; ac_word=$2
856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
857 echo "configure:858: checking for $ac_word" >&5
858 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
859 echo $ac_n "(cached) $ac_c" 1>&6
863 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
867 for ac_dir in $PATH; do
868 test -z "$ac_dir" && ac_dir=.
869 if test -f $ac_dir/$ac_word; then
870 ac_cv_path_PYTHON="$ac_dir/$ac_word"
875 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
879 PYTHON="$ac_cv_path_PYTHON"
880 if test -n "$PYTHON"; then
881 echo "$ac_t""$PYTHON" 1>&6
883 echo "$ac_t""no" 1>&6
890 result="`echo \"$MAKE\" | grep echo`"
891 if test "x$MAKE" = "xerror" -o "x$result" != "x"; then
893 echo "configure: warning: can\'t find GNU make. You should install GNU make" 1>&2
898 if test $MAKE != "error" ; then
899 $MAKE -v| grep GNU > /dev/null
903 echo "configure: warning: Please install *GNU* make" 1>&2
910 result="`echo \"$PYTHON\" | grep echo`"
911 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
913 echo "configure: warning: can\'t find python. You should install Python" 1>&2
919 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
920 LN=cp # hard link does not work under cygnus-nt
921 LN_S=cp # symbolic link does not work for native nt
926 INSTALL="\$(stepdir)/../bin/install-dot-exe.sh -c"
933 INSTALL="\$(stepdir)/../bin/install-sh -c"
940 cat >> confdefs.h <<EOF
941 #define DIRSEP '${DIRSEP}'
944 cat >> confdefs.h <<EOF
945 #define PATHSEP '${PATHSEP}'
953 if test "$datadir" = "\${prefix}/share"; then
954 datadir='${prefix}/share/'$package
956 DIR_DATADIR=${datadir}
958 if test "$prefix" = "NONE"; then
959 presome=${ac_default_prefix}
961 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
964 cat >> confdefs.h <<EOF
965 #define DIR_DATADIR "${DIR_DATADIR}"
971 # For all packages except the StepMake package itself
972 # AC_CONFIG_SUBDIRS(stepmake)
974 # Uncomment the configuration options your package needs.
975 # AC_STEPMAKE_COMPILE
976 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
979 # AC_STEPMAKE_CXXTEMPLATE
980 # AC_STEPMAKE_LEXYACC
982 # AC_STEPMAKE_LIBTOOL
988 # Check whether --with-localedir or --without-localedir was given.
989 if test "${with_localedir+set}" = set; then
990 withval="$with_localedir"
991 localedir=$with_localedir
993 localedir='${prefix}/share/locale'
997 # Check whether --with-lang or --without-lang was given.
998 if test "${with_lang+set}" = set; then
1006 echo $ac_n "checking language""... $ac_c" 1>&6
1007 echo "configure:1008: checking language" >&5
1009 En* | en* | Am* | am* | US* | us*)
1011 NL | nl | Du* | du* | Ned* | ned*)
1018 echo "$ac_t""$lang" 1>&6
1020 if test "$lang" = "unknown" ; then
1022 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1028 # AC_STEPMAKE_GETTEXT
1030 # AC_STEPMAKE_MSGFMT
1032 # AC_STEPMAKE_TEXMF_DIRS
1034 if test "x$YODL" = "x"; then
1035 for ac_prog in striproff
1037 # Extract the first word of "$ac_prog", so it can be a program name with args.
1038 set dummy $ac_prog; ac_word=$2
1039 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1040 echo "configure:1041: checking for $ac_word" >&5
1041 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
1042 echo $ac_n "(cached) $ac_c" 1>&6
1044 if test -n "$STRIPROFF"; then
1045 ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
1047 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1048 for ac_dir in $PATH; do
1049 test -z "$ac_dir" && ac_dir=.
1050 if test -f $ac_dir/$ac_word; then
1051 ac_cv_prog_STRIPROFF="$ac_prog"
1058 STRIPROFF="$ac_cv_prog_STRIPROFF"
1059 if test -n "$STRIPROFF"; then
1060 echo "$ac_t""$STRIPROFF" 1>&6
1062 echo "$ac_t""no" 1>&6
1065 test -n "$STRIPROFF" && break
1067 test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
1071 # Extract the first word of "$ac_prog", so it can be a program name with args.
1072 set dummy $ac_prog; ac_word=$2
1073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1074 echo "configure:1075: checking for $ac_word" >&5
1075 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
1076 echo $ac_n "(cached) $ac_c" 1>&6
1078 if test -n "$YODL"; then
1079 ac_cv_prog_YODL="$YODL" # Let the user override the test.
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/$ac_word; then
1085 ac_cv_prog_YODL="$ac_prog"
1092 YODL="$ac_cv_prog_YODL"
1093 if test -n "$YODL"; then
1094 echo "$ac_t""$YODL" 1>&6
1096 echo "$ac_t""no" 1>&6
1099 test -n "$YODL" && break
1101 test -n "$YODL" || YODL="-echo no yodl"
1103 for ac_prog in yodl2html
1105 # Extract the first word of "$ac_prog", so it can be a program name with args.
1106 set dummy $ac_prog; ac_word=$2
1107 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1108 echo "configure:1109: checking for $ac_word" >&5
1109 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
1110 echo $ac_n "(cached) $ac_c" 1>&6
1112 if test -n "$YODL2HTML"; then
1113 ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
1115 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1116 for ac_dir in $PATH; do
1117 test -z "$ac_dir" && ac_dir=.
1118 if test -f $ac_dir/$ac_word; then
1119 ac_cv_prog_YODL2HTML="$ac_prog"
1126 YODL2HTML="$ac_cv_prog_YODL2HTML"
1127 if test -n "$YODL2HTML"; then
1128 echo "$ac_t""$YODL2HTML" 1>&6
1130 echo "$ac_t""no" 1>&6
1133 test -n "$YODL2HTML" && break
1135 test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
1137 for ac_prog in yodl2latex
1139 # Extract the first word of "$ac_prog", so it can be a program name with args.
1140 set dummy $ac_prog; ac_word=$2
1141 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1142 echo "configure:1143: checking for $ac_word" >&5
1143 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
1144 echo $ac_n "(cached) $ac_c" 1>&6
1146 if test -n "$YODL2LATEX"; then
1147 ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
1149 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1150 for ac_dir in $PATH; do
1151 test -z "$ac_dir" && ac_dir=.
1152 if test -f $ac_dir/$ac_word; then
1153 ac_cv_prog_YODL2LATEX="$ac_prog"
1160 YODL2LATEX="$ac_cv_prog_YODL2LATEX"
1161 if test -n "$YODL2LATEX"; then
1162 echo "$ac_t""$YODL2LATEX" 1>&6
1164 echo "$ac_t""no" 1>&6
1167 test -n "$YODL2LATEX" && break
1170 for ac_prog in yodl2man
1172 # Extract the first word of "$ac_prog", so it can be a program name with args.
1173 set dummy $ac_prog; ac_word=$2
1174 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1175 echo "configure:1176: checking for $ac_word" >&5
1176 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
1177 echo $ac_n "(cached) $ac_c" 1>&6
1179 if test -n "$YODL2MAN"; then
1180 ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
1182 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1183 for ac_dir in $PATH; do
1184 test -z "$ac_dir" && ac_dir=.
1185 if test -f $ac_dir/$ac_word; then
1186 ac_cv_prog_YODL2MAN="$ac_prog"
1193 YODL2MAN="$ac_cv_prog_YODL2MAN"
1194 if test -n "$YODL2MAN"; then
1195 echo "$ac_t""$YODL2MAN" 1>&6
1197 echo "$ac_t""no" 1>&6
1200 test -n "$YODL2MAN" && break
1202 test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
1204 for ac_prog in yodl2msless
1206 # Extract the first word of "$ac_prog", so it can be a program name with args.
1207 set dummy $ac_prog; ac_word=$2
1208 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1209 echo "configure:1210: checking for $ac_word" >&5
1210 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
1211 echo $ac_n "(cached) $ac_c" 1>&6
1213 if test -n "$YODL2MSLESS"; then
1214 ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
1216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1217 for ac_dir in $PATH; do
1218 test -z "$ac_dir" && ac_dir=.
1219 if test -f $ac_dir/$ac_word; then
1220 ac_cv_prog_YODL2MSLESS="$ac_prog"
1227 YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
1228 if test -n "$YODL2MSLESS"; then
1229 echo "$ac_t""$YODL2MSLESS" 1>&6
1231 echo "$ac_t""no" 1>&6
1234 test -n "$YODL2MSLESS" && break
1236 test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
1238 for ac_prog in yodl2texinfo
1240 # Extract the first word of "$ac_prog", so it can be a program name with args.
1241 set dummy $ac_prog; ac_word=$2
1242 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1243 echo "configure:1244: checking for $ac_word" >&5
1244 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
1245 echo $ac_n "(cached) $ac_c" 1>&6
1247 if test -n "$YODL2TEXINFO"; then
1248 ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
1250 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1251 for ac_dir in $PATH; do
1252 test -z "$ac_dir" && ac_dir=.
1253 if test -f $ac_dir/$ac_word; then
1254 ac_cv_prog_YODL2TEXINFO="$ac_prog"
1261 YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
1262 if test -n "$YODL2TEXINFO"; then
1263 echo "$ac_t""$YODL2TEXINFO" 1>&6
1265 echo "$ac_t""no" 1>&6
1268 test -n "$YODL2TEXINFO" && break
1270 test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
1272 for ac_prog in yodl2txt
1274 # Extract the first word of "$ac_prog", so it can be a program name with args.
1275 set dummy $ac_prog; ac_word=$2
1276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1277 echo "configure:1278: checking for $ac_word" >&5
1278 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
1279 echo $ac_n "(cached) $ac_c" 1>&6
1281 if test -n "$YODL2TXT"; then
1282 ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
1284 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1285 for ac_dir in $PATH; do
1286 test -z "$ac_dir" && ac_dir=.
1287 if test -f $ac_dir/$ac_word; then
1288 ac_cv_prog_YODL2TXT="$ac_prog"
1295 YODL2TXT="$ac_cv_prog_YODL2TXT"
1296 if test -n "$YODL2TXT"; then
1297 echo "$ac_t""$YODL2TXT" 1>&6
1299 echo "$ac_t""no" 1>&6
1302 test -n "$YODL2TXT" && break
1304 test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
1315 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
1317 if test "x$YODL" = "-echo no yodl"; then
1319 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
1325 # AM_PATH_GTK(1.0.0,,AC_MSG_ERROR([please install proper version of gtk]))
1326 # AM_PATH_GTK__(0.9.4,,AC_MSG_ERROR([please install proper version of gtk--]))
1328 for ac_prog in makeinfo
1330 # Extract the first word of "$ac_prog", so it can be a program name with args.
1331 set dummy $ac_prog; ac_word=$2
1332 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1333 echo "configure:1334: checking for $ac_word" >&5
1334 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1335 echo $ac_n "(cached) $ac_c" 1>&6
1337 if test -n "$MAKEINFO"; then
1338 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1340 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1341 for ac_dir in $PATH; do
1342 test -z "$ac_dir" && ac_dir=.
1343 if test -f $ac_dir/$ac_word; then
1344 ac_cv_prog_MAKEINFO="$ac_prog"
1351 MAKEINFO="$ac_cv_prog_MAKEINFO"
1352 if test -n "$MAKEINFO"; then
1353 echo "$ac_t""$MAKEINFO" 1>&6
1355 echo "$ac_t""no" 1>&6
1358 test -n "$MAKEINFO" && break
1360 test -n "$MAKEINFO" || MAKEINFO="error"
1362 # AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl,
1363 # You should install Yodl 1.30.pre6 or better)
1367 cat > confcache <<\EOF
1368 # This file is a shell script that caches the results of configure
1369 # tests run on this system so they can be shared between configure
1370 # scripts and configure runs. It is not useful on other systems.
1371 # If it contains results you don't want to keep, you may remove or edit it.
1373 # By default, configure uses ./config.cache as the cache file,
1374 # creating it if it does not exist already. You can give configure
1375 # the --cache-file=FILE option to use a different cache file; that is
1376 # what configure does when it calls configure scripts in
1377 # subdirectories, so they share the cache.
1378 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1379 # config.status only pays attention to the cache file if you give it the
1380 # --recheck option to rerun configure.
1383 # The following way of writing the cache mishandles newlines in values,
1384 # but we know of no workaround that is simple, portable, and efficient.
1385 # So, don't put newlines in cache variables' values.
1386 # Ultrix sh set writes to stderr and can't be redirected directly,
1387 # and sets the high bit in the cache file unless we assign to the vars.
1389 case `(ac_space=' '; set) 2>&1` in
1391 # `set' does not quote correctly, so add quotes (double-quote substitution
1392 # turns \\\\ into \\, and sed turns \\ into \).
1394 -e "s/'/'\\\\''/g" \
1395 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1398 # `set' quotes correctly as required by POSIX, so do not add quotes.
1399 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1402 if cmp -s $cache_file confcache; then
1405 if test -w $cache_file; then
1406 echo "updating cache $cache_file"
1407 cat confcache > $cache_file
1409 echo "not updating unwritable cache $cache_file"
1414 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1416 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1417 # Let make expand exec_prefix.
1418 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1420 # Any assignment to VPATH causes Sun make to only execute
1421 # the first set of double-colon rules, so remove it if not needed.
1422 # If there is a colon in the path, we need to keep it.
1423 if test "x$srcdir" = x.; then
1424 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1427 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1429 DEFS=-DHAVE_CONFIG_H
1431 # Without the "./", some shells look in PATH for config.status.
1432 : ${CONFIG_STATUS=./config.status}
1434 echo creating $CONFIG_STATUS
1435 rm -f $CONFIG_STATUS
1436 cat > $CONFIG_STATUS <<EOF
1438 # Generated automatically by configure.
1439 # Run this file to recreate the current configuration.
1440 # This directory was configured as follows,
1441 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1443 # $0 $ac_configure_args
1445 # Compiler output produced by configure, useful for debugging
1446 # configure, is in ./config.log if it exists.
1448 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1451 case "\$ac_option" in
1452 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1453 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1454 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1455 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1456 echo "$CONFIG_STATUS generated by autoconf version 2.12"
1458 -help | --help | --hel | --he | --h)
1459 echo "\$ac_cs_usage"; exit 0 ;;
1460 *) echo "\$ac_cs_usage"; exit 1 ;;
1464 ac_given_srcdir=$srcdir
1466 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.hh:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1468 cat >> $CONFIG_STATUS <<EOF
1470 # Protect against being on the right side of a sed subst in config.status.
1471 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1472 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1475 s%@CFLAGS@%$CFLAGS%g
1476 s%@CPPFLAGS@%$CPPFLAGS%g
1477 s%@CXXFLAGS@%$CXXFLAGS%g
1479 s%@LDFLAGS@%$LDFLAGS%g
1481 s%@exec_prefix@%$exec_prefix%g
1482 s%@prefix@%$prefix%g
1483 s%@program_transform_name@%$program_transform_name%g
1484 s%@bindir@%$bindir%g
1485 s%@sbindir@%$sbindir%g
1486 s%@libexecdir@%$libexecdir%g
1487 s%@datadir@%$datadir%g
1488 s%@sysconfdir@%$sysconfdir%g
1489 s%@sharedstatedir@%$sharedstatedir%g
1490 s%@localstatedir@%$localstatedir%g
1491 s%@libdir@%$libdir%g
1492 s%@includedir@%$includedir%g
1493 s%@oldincludedir@%$oldincludedir%g
1494 s%@infodir@%$infodir%g
1495 s%@mandir@%$mandir%g
1496 s%@package@%$package%g
1497 s%@PACKAGE@%$PACKAGE%g
1498 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
1499 s%@package_depth@%$package_depth%g
1500 s%@AUTOGENERATE@%$AUTOGENERATE%g
1501 s%@absolute_builddir@%$absolute_builddir%g
1502 s%@stepmake@%$stepmake%g
1503 s%@STATE_VECTOR@%$STATE_VECTOR%g
1504 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
1506 s%@host_alias@%$host_alias%g
1507 s%@host_cpu@%$host_cpu%g
1508 s%@host_vendor@%$host_vendor%g
1509 s%@host_os@%$host_os%g
1514 s%@PYTHON@%$PYTHON%g
1515 s%@DOTEXE@%$DOTEXE%g
1519 s%@INSTALL@%$INSTALL%g
1520 s%@PATHSEP@%$PATHSEP%g
1521 s%@DIRSEP@%$DIRSEP%g
1522 s%@DIR_DATADIR@%$DIR_DATADIR%g
1523 s%@STRIPROFF@%$STRIPROFF%g
1525 s%@YODL2HTML@%$YODL2HTML%g
1526 s%@YODL2LATEX@%$YODL2LATEX%g
1527 s%@YODL2MAN@%$YODL2MAN%g
1528 s%@YODL2MSLESS@%$YODL2MSLESS%g
1529 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
1530 s%@YODL2TXT@%$YODL2TXT%g
1531 s%@MAKEINFO@%$MAKEINFO%g
1536 cat >> $CONFIG_STATUS <<\EOF
1538 # Split the substitutions into bite-sized pieces for seds with
1539 # small command number limits, like on Digital OSF/1 and HP-UX.
1540 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1541 ac_file=1 # Number of current file.
1542 ac_beg=1 # First line for current file.
1543 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1546 while $ac_more_lines; do
1547 if test $ac_beg -gt 1; then
1548 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1550 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1552 if test ! -s conftest.s$ac_file; then
1554 rm -f conftest.s$ac_file
1556 if test -z "$ac_sed_cmds"; then
1557 ac_sed_cmds="sed -f conftest.s$ac_file"
1559 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1561 ac_file=`expr $ac_file + 1`
1563 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1566 if test -z "$ac_sed_cmds"; then
1571 cat >> $CONFIG_STATUS <<EOF
1573 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
1575 cat >> $CONFIG_STATUS <<\EOF
1576 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1577 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1579 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1580 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1581 *) ac_file_in="${ac_file}.in" ;;
1584 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1586 # Remove last slash and all that follows it. Not all systems have dirname.
1587 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1588 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1589 # The file is in a subdirectory.
1590 test ! -d "$ac_dir" && mkdir "$ac_dir"
1591 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1592 # A "../" for each directory in $ac_dir_suffix.
1593 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1595 ac_dir_suffix= ac_dots=
1598 case "$ac_given_srcdir" in
1600 if test -z "$ac_dots"; then top_srcdir=.
1601 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1602 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1604 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1605 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1609 echo creating "$ac_file"
1611 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1613 *Makefile*) ac_comsub="1i\\
1614 # $configure_input" ;;
1618 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1620 s%@configure_input@%$configure_input%g
1621 s%@srcdir@%$srcdir%g
1622 s%@top_srcdir@%$top_srcdir%g
1623 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1627 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1628 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1630 # ac_d sets the value in "#define NAME VALUE" lines.
1631 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1632 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1635 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1636 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1637 ac_uB='\([ ]\)%\1#\2define\3'
1640 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1641 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1642 ac_eB='$%\1#\2define\3'
1646 if test "${CONFIG_HEADERS+set}" != set; then
1648 cat >> $CONFIG_STATUS <<EOF
1649 CONFIG_HEADERS="$CONFIGFILE.hh:config.hh.in"
1651 cat >> $CONFIG_STATUS <<\EOF
1653 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1654 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1656 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1657 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1658 *) ac_file_in="${ac_file}.in" ;;
1661 echo creating $ac_file
1663 rm -f conftest.frag conftest.in conftest.out
1664 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1665 cat $ac_file_inputs > conftest.in
1669 # Transform confdefs.h into a sed script conftest.vals that substitutes
1670 # the proper values into config.h.in to produce config.h. And first:
1671 # Protect against being on the right side of a sed subst in config.status.
1672 # Protect against being in an unquoted here document in config.status.
1674 cat > conftest.hdr <<\EOF
1677 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1681 sed -n -f conftest.hdr confdefs.h > conftest.vals
1684 # This sed command replaces #undef with comments. This is necessary, for
1685 # example, in the case of _POSIX_SOURCE, which is predefined and required
1686 # on some systems where configure will not decide to define it.
1687 cat >> conftest.vals <<\EOF
1688 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1691 # Break up conftest.vals because some shells have a limit on
1692 # the size of here documents, and old seds have small limits too.
1697 ac_lines=`grep -c . conftest.vals`
1698 # grep -c gives empty output for an empty file on some AIX systems.
1699 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1700 # Write a limited-size here document to conftest.frag.
1701 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1702 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1704 sed -f conftest.frag conftest.in > conftest.out
1706 mv conftest.out conftest.in
1708 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1710 mv conftest.tail conftest.vals
1714 cat >> $CONFIG_STATUS <<\EOF
1715 rm -f conftest.frag conftest.h
1716 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1717 cat conftest.in >> conftest.h
1719 if cmp -s $ac_file conftest.h 2>/dev/null; then
1720 echo "$ac_file is unchanged"
1723 # Remove last slash and all that follows it. Not all systems have dirname.
1724 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1725 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1726 # The file is in a subdirectory.
1727 test ! -d "$ac_dir" && mkdir "$ac_dir"
1730 mv conftest.h $ac_file
1735 cat >> $CONFIG_STATUS <<EOF
1738 cat >> $CONFIG_STATUS <<\EOF
1742 chmod +x $CONFIG_STATUS
1743 rm -fr confdefs* $ac_clean_files
1744 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1748 cp make/toplevel.make.in ./GNUmakefile
1749 chmod 444 GNUmakefile