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)
60 # Guess values for system-dependent variables and create Makefiles.
61 # Generated automatically using autoconf version 2.12
62 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
64 # This configure script is free software; the Free Software Foundation
65 # gives unlimited permission to copy, distribute and modify it.
69 ac_default_prefix=/usr/local
70 # Any additions from configure.in:
72 enable-config=FILE put configure settings in config-FILE.make"
74 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
76 with-lang=LANG use LANG as language to emit messages"
78 # Initialize some variables set by options.
79 # The variables have the same names as the options, with
80 # dashes changed to underlines.
82 cache_file=./config.cache
91 program_transform_name=s,x,x,
99 bindir='${exec_prefix}/bin'
100 sbindir='${exec_prefix}/sbin'
101 libexecdir='${exec_prefix}/libexec'
102 datadir='${prefix}/share'
103 sysconfdir='${prefix}/etc'
104 sharedstatedir='${prefix}/com'
105 localstatedir='${prefix}/var'
106 libdir='${exec_prefix}/lib'
107 includedir='${prefix}/include'
108 oldincludedir='/usr/include'
109 infodir='${prefix}/info'
110 mandir='${prefix}/man'
112 # Initialize some other variables.
115 # Maximum number of lines to put in a shell here document.
122 # If the previous option needs an argument, assign it.
123 if test -n "$ac_prev"; then
124 eval "$ac_prev=\$ac_option"
130 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
134 # Accept the important Cygnus configure options, so we can diagnose typos.
138 -bindir | --bindir | --bindi | --bind | --bin | --bi)
140 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
141 bindir="$ac_optarg" ;;
143 -build | --build | --buil | --bui | --bu)
145 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
146 build="$ac_optarg" ;;
148 -cache-file | --cache-file | --cache-fil | --cache-fi \
149 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
150 ac_prev=cache_file ;;
151 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
152 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
153 cache_file="$ac_optarg" ;;
155 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
157 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
159 datadir="$ac_optarg" ;;
161 -disable-* | --disable-*)
162 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
163 # Reject names that are not valid shell variable names.
164 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
165 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
167 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
168 eval "enable_${ac_feature}=no" ;;
170 -enable-* | --enable-*)
171 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
172 # Reject names that are not valid shell variable names.
173 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
174 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
176 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
181 eval "enable_${ac_feature}='$ac_optarg'" ;;
183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
185 | --exec | --exe | --ex)
186 ac_prev=exec_prefix ;;
187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
189 | --exec=* | --exe=* | --ex=*)
190 exec_prefix="$ac_optarg" ;;
192 -gas | --gas | --ga | --g)
193 # Obsolete; use --with-gas.
196 -help | --help | --hel | --he)
197 # Omit some internal or obsolete options to make the list less imposing.
198 # This message is too long to be a string in the A/UX 3.1 sh.
200 Usage: configure [options] [host]
201 Options: [defaults in brackets after descriptions]
203 --cache-file=FILE cache test results in FILE
204 --help print this message
205 --no-create do not create output files
206 --quiet, --silent do not print \`checking...' messages
207 --version print the version of autoconf that created configure
208 Directory and file names:
209 --prefix=PREFIX install architecture-independent files in PREFIX
211 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
213 --bindir=DIR user executables in DIR [EPREFIX/bin]
214 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
215 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
216 --datadir=DIR read-only architecture-independent data in DIR
218 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
219 --sharedstatedir=DIR modifiable architecture-independent data in DIR
221 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
222 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
223 --includedir=DIR C header files in DIR [PREFIX/include]
224 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
225 --infodir=DIR info documentation in DIR [PREFIX/info]
226 --mandir=DIR man documentation in DIR [PREFIX/man]
227 --srcdir=DIR find the sources in DIR [configure dir or ..]
228 --program-prefix=PREFIX prepend PREFIX to installed program names
229 --program-suffix=SUFFIX append SUFFIX to installed program names
230 --program-transform-name=PROGRAM
231 run sed PROGRAM on installed program names
235 --build=BUILD configure for building on BUILD [BUILD=HOST]
236 --host=HOST configure for HOST [guessed]
237 --target=TARGET configure for TARGET [TARGET=HOST]
238 Features and packages:
239 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
240 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
241 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
242 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
243 --x-includes=DIR X include files are in DIR
244 --x-libraries=DIR X library files are in DIR
246 if test -n "$ac_help"; then
247 echo "--enable and --with options recognized:$ac_help"
251 -host | --host | --hos | --ho)
253 -host=* | --host=* | --hos=* | --ho=*)
256 -includedir | --includedir | --includedi | --included | --include \
257 | --includ | --inclu | --incl | --inc)
258 ac_prev=includedir ;;
259 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
260 | --includ=* | --inclu=* | --incl=* | --inc=*)
261 includedir="$ac_optarg" ;;
263 -infodir | --infodir | --infodi | --infod | --info | --inf)
265 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
266 infodir="$ac_optarg" ;;
268 -libdir | --libdir | --libdi | --libd)
270 -libdir=* | --libdir=* | --libdi=* | --libd=*)
271 libdir="$ac_optarg" ;;
273 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
274 | --libexe | --libex | --libe)
275 ac_prev=libexecdir ;;
276 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
277 | --libexe=* | --libex=* | --libe=*)
278 libexecdir="$ac_optarg" ;;
280 -localstatedir | --localstatedir | --localstatedi | --localstated \
281 | --localstate | --localstat | --localsta | --localst \
282 | --locals | --local | --loca | --loc | --lo)
283 ac_prev=localstatedir ;;
284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
285 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
286 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
287 localstatedir="$ac_optarg" ;;
289 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
291 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
292 mandir="$ac_optarg" ;;
295 # Obsolete; use --without-fp.
298 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
302 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
303 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
306 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
307 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
308 | --oldin | --oldi | --old | --ol | --o)
309 ac_prev=oldincludedir ;;
310 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
311 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
312 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
313 oldincludedir="$ac_optarg" ;;
315 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
317 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
318 prefix="$ac_optarg" ;;
320 -program-prefix | --program-prefix | --program-prefi | --program-pref \
321 | --program-pre | --program-pr | --program-p)
322 ac_prev=program_prefix ;;
323 -program-prefix=* | --program-prefix=* | --program-prefi=* \
324 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
325 program_prefix="$ac_optarg" ;;
327 -program-suffix | --program-suffix | --program-suffi | --program-suff \
328 | --program-suf | --program-su | --program-s)
329 ac_prev=program_suffix ;;
330 -program-suffix=* | --program-suffix=* | --program-suffi=* \
331 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
332 program_suffix="$ac_optarg" ;;
334 -program-transform-name | --program-transform-name \
335 | --program-transform-nam | --program-transform-na \
336 | --program-transform-n | --program-transform- \
337 | --program-transform | --program-transfor \
338 | --program-transfo | --program-transf \
339 | --program-trans | --program-tran \
340 | --progr-tra | --program-tr | --program-t)
341 ac_prev=program_transform_name ;;
342 -program-transform-name=* | --program-transform-name=* \
343 | --program-transform-nam=* | --program-transform-na=* \
344 | --program-transform-n=* | --program-transform-=* \
345 | --program-transform=* | --program-transfor=* \
346 | --program-transfo=* | --program-transf=* \
347 | --program-trans=* | --program-tran=* \
348 | --progr-tra=* | --program-tr=* | --program-t=*)
349 program_transform_name="$ac_optarg" ;;
351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
352 | -silent | --silent | --silen | --sile | --sil)
355 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
357 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
359 sbindir="$ac_optarg" ;;
361 -sharedstatedir | --sharedstatedir | --sharedstatedi \
362 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
363 | --sharedst | --shareds | --shared | --share | --shar \
365 ac_prev=sharedstatedir ;;
366 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
367 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
368 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
370 sharedstatedir="$ac_optarg" ;;
372 -site | --site | --sit)
374 -site=* | --site=* | --sit=*)
377 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
379 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
380 srcdir="$ac_optarg" ;;
382 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
383 | --syscon | --sysco | --sysc | --sys | --sy)
384 ac_prev=sysconfdir ;;
385 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
386 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
387 sysconfdir="$ac_optarg" ;;
389 -target | --target | --targe | --targ | --tar | --ta | --t)
391 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
392 target="$ac_optarg" ;;
394 -v | -verbose | --verbose | --verbos | --verbo | --verb)
397 -version | --version | --versio | --versi | --vers)
398 echo "configure generated by autoconf version 2.12"
402 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
403 # Reject names that are not valid shell variable names.
404 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
405 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
407 ac_package=`echo $ac_package| sed 's/-/_/g'`
412 eval "with_${ac_package}='$ac_optarg'" ;;
414 -without-* | --without-*)
415 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
416 # Reject names that are not valid shell variable names.
417 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
418 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
420 ac_package=`echo $ac_package| sed 's/-/_/g'`
421 eval "with_${ac_package}=no" ;;
424 # Obsolete; use --with-x.
427 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
428 | --x-incl | --x-inc | --x-in | --x-i)
429 ac_prev=x_includes ;;
430 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
431 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
432 x_includes="$ac_optarg" ;;
434 -x-libraries | --x-libraries | --x-librarie | --x-librari \
435 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
436 ac_prev=x_libraries ;;
437 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
438 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
439 x_libraries="$ac_optarg" ;;
441 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
445 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
446 echo "configure: warning: $ac_option: invalid host type" 1>&2
448 if test "x$nonopt" != xNONE; then
449 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
457 if test -n "$ac_prev"; then
458 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
461 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
463 # File descriptor usage:
466 # 2 errors and warnings
467 # 3 some systems may open it to /dev/tty
468 # 4 used on the Kubota Titan
469 # 6 checking for... messages and results
470 # 5 compiler messages saved in config.log
471 if test "$silent" = yes; then
479 This file contains any messages produced by compilers while
480 running configure, to aid debugging if configure makes a mistake.
483 # Strip out --no-create and --no-recursion so they do not pile up.
484 # Also quote any args containing shell metacharacters.
489 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
490 | --no-cr | --no-c) ;;
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
494 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
495 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
500 # Only set these to C if already set. These must not be set unconditionally
501 # because not all systems understand e.g. LANG=C (notably SCO).
502 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
503 # Non-C LC_CTYPE values break the ctype check.
504 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
505 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
506 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
507 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
509 # confdefs.h avoids OS command line length limits that DEFS can exceed.
510 rm -rf conftest* confdefs.h
511 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
514 # A filename unique to this package, relative to the directory that
515 # configure is in, which we can look for to find out if srcdir is correct.
516 ac_unique_file=make/stepmake.lsm.in
518 # Find the source files, if location was not specified.
519 if test -z "$srcdir"; then
520 ac_srcdir_defaulted=yes
521 # Try the directory containing this script, then its parent.
523 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
524 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
526 if test ! -r $srcdir/$ac_unique_file; then
530 ac_srcdir_defaulted=no
532 if test ! -r $srcdir/$ac_unique_file; then
533 if test "$ac_srcdir_defaulted" = yes; then
534 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
536 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
539 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
541 # Prefer explicitly selected file to automatically selected ones.
542 if test -z "$CONFIG_SITE"; then
543 if test "x$prefix" != xNONE; then
544 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
546 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
549 for ac_site_file in $CONFIG_SITE; do
550 if test -r "$ac_site_file"; then
551 echo "loading site script $ac_site_file"
556 if test -r "$cache_file"; then
557 echo "loading cache $cache_file"
560 echo "creating cache $cache_file"
565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
566 ac_cpp='$CPP $CPPFLAGS'
567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
568 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
569 cross_compiling=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
580 ac_n= ac_c='\c' ac_t=
586 # Bootstrap StepMake configure
590 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
591 if test x$MY_PATCH_LEVEL != x; then
592 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
595 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
596 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
597 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
599 # No versioning on directory names of sub-packages
601 stepmake=${datadir}/stepmake
603 if test "$prefix" = "NONE"; then
604 presome=${ac_default_prefix}
606 stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
608 if test "x$PACKAGE" = "xSTEPMAKE"; then
609 echo Stepmake package!
610 (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
611 (cd stepmake; rm -f bin; ln -s ../bin .)
613 for ac_dir in bin $srcdir/bin; do
614 if test -f $ac_dir/install-sh; then
616 ac_install_sh="$ac_aux_dir/install-sh -c"
618 elif test -f $ac_dir/install.sh; then
620 ac_install_sh="$ac_aux_dir/install.sh -c"
624 if test -z "$ac_aux_dir"; then
625 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
627 ac_config_guess=$ac_aux_dir/config.guess
628 ac_config_sub=$ac_aux_dir/config.sub
629 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
633 echo Package: $PACKAGE
634 # Check for installed stepmake
635 if test -d $stepmake; then
636 echo Using installed stepmake: $stepmake
638 stepmake='$(depth)'/stepmake
639 echo Using local stepmake: $datadir/stepmake not found
643 $HOME/usr/local/share/stepmake/bin\
644 $HOME/usr/local/lib/stepmake/bin\
645 $HOME/usr/share/stepmake/bin\
646 $HOME/usr/lib/stepmake/bin\
647 /usr/local/share/stepmake/bin\
648 /usr/local/lib/stepmake/bin\
649 /usr/share/stepmake/bin\
650 /usr/lib/stepmake/bin\
653 $HOME/usr/local/share/stepmake/bin\
654 $HOME/usr/local/lib/stepmake/bin\
655 $HOME/usr/share/stepmake/bin\
656 $HOME/usr/lib/stepmake/bin\
657 /usr/local/share/stepmake/bin\
658 /usr/local/lib/stepmake/bin\
659 /usr/share/stepmake/bin\
660 /usr/lib/stepmake/bin\
663 if test -f $ac_dir/install-sh; then
665 ac_install_sh="$ac_aux_dir/install-sh -c"
667 elif test -f $ac_dir/install.sh; then
669 ac_install_sh="$ac_aux_dir/install.sh -c"
673 if test -z "$ac_aux_dir"; then
674 { echo "configure: error: can not find install-sh or install.sh in \
675 $HOME/usr/local/share/stepmake/bin\
676 $HOME/usr/local/lib/stepmake/bin\
677 $HOME/usr/share/stepmake/bin\
678 $HOME/usr/lib/stepmake/bin\
679 /usr/local/share/stepmake/bin\
680 /usr/local/lib/stepmake/bin\
681 /usr/share/stepmake/bin\
682 /usr/lib/stepmake/bin\
685 $HOME/usr/local/share/stepmake/bin\
686 $HOME/usr/local/lib/stepmake/bin\
687 $HOME/usr/share/stepmake/bin\
688 $HOME/usr/lib/stepmake/bin\
689 /usr/local/share/stepmake/bin\
690 /usr/local/lib/stepmake/bin\
691 /usr/share/stepmake/bin\
692 /usr/lib/stepmake/bin\
696 ac_config_guess=$ac_aux_dir/config.guess
697 ac_config_sub=$ac_aux_dir/config.sub
698 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
706 cat >> confdefs.h <<EOF
707 #define PACKAGE "${PACKAGE_NAME}"
710 cat >> confdefs.h <<EOF
711 #define TOPLEVEL_VERSION "${FULL_VERSION}"
715 if test "$package_depth" = "" ; then
718 package_depth="../$package_depth"
723 AUTOGENERATE="This file was automatically generated by configure"
725 absolute_builddir="`pwd`"
728 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
729 if test "x$STATE_VECTOR" != "x"; then
730 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
735 # Check whether --enable-config or --disable-config was given.
736 if test "${enable_config+set}" = set; then
737 enableval="$enable_config"
738 CONFIGSUFFIX=$enableval
742 if test "$CONFIGSUFFIX" != "" ; then
743 CONFIGFILE=config-$CONFIGSUFFIX
750 # Make sure we can run config.sub.
751 if $ac_config_sub sun4 >/dev/null 2>&1; then :
752 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
755 echo $ac_n "checking host system type""... $ac_c" 1>&6
756 echo "configure:757: checking host system type" >&5
759 case "$host_alias" in
763 if host_alias=`$ac_config_guess`; then :
764 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
766 *) host_alias=$nonopt ;;
770 host=`$ac_config_sub $host_alias`
771 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
772 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
773 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
774 echo "$ac_t""$host" 1>&6
776 for ac_prog in gmake make
778 # Extract the first word of "$ac_prog", so it can be a program name with args.
779 set dummy $ac_prog; ac_word=$2
780 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
781 echo "configure:782: checking for $ac_word" >&5
782 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
783 echo $ac_n "(cached) $ac_c" 1>&6
785 if test -n "$MAKE"; then
786 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
788 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
789 for ac_dir in $PATH; do
790 test -z "$ac_dir" && ac_dir=.
791 if test -f $ac_dir/$ac_word; then
792 ac_cv_prog_MAKE="$ac_prog"
799 MAKE="$ac_cv_prog_MAKE"
800 if test -n "$MAKE"; then
801 echo "$ac_t""$MAKE" 1>&6
803 echo "$ac_t""no" 1>&6
806 test -n "$MAKE" && break
808 test -n "$MAKE" || MAKE="error"
812 # Extract the first word of "$ac_prog", so it can be a program name with args.
813 set dummy $ac_prog; ac_word=$2
814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
815 echo "configure:816: checking for $ac_word" >&5
816 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
817 echo $ac_n "(cached) $ac_c" 1>&6
819 if test -n "$FIND"; then
820 ac_cv_prog_FIND="$FIND" # Let the user override the test.
822 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
823 for ac_dir in $PATH; do
824 test -z "$ac_dir" && ac_dir=.
825 if test -f $ac_dir/$ac_word; then
826 ac_cv_prog_FIND="$ac_prog"
833 FIND="$ac_cv_prog_FIND"
834 if test -n "$FIND"; then
835 echo "$ac_t""$FIND" 1>&6
837 echo "$ac_t""no" 1>&6
840 test -n "$FIND" && break
842 test -n "$FIND" || FIND="error"
848 # Extract the first word of "$ac_prog", so it can be a program name with args.
849 set dummy $ac_prog; ac_word=$2
850 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
851 echo "configure:852: checking for $ac_word" >&5
852 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
853 echo $ac_n "(cached) $ac_c" 1>&6
855 if test -n "$TAR"; then
856 ac_cv_prog_TAR="$TAR" # Let the user override the test.
858 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
859 for ac_dir in $PATH; do
860 test -z "$ac_dir" && ac_dir=.
861 if test -f $ac_dir/$ac_word; then
862 ac_cv_prog_TAR="$ac_prog"
869 TAR="$ac_cv_prog_TAR"
870 if test -n "$TAR"; then
871 echo "$ac_t""$TAR" 1>&6
873 echo "$ac_t""no" 1>&6
876 test -n "$TAR" && break
878 test -n "$TAR" || TAR="error"
882 # Extract the first word of "$ac_prog", so it can be a program name with args.
883 set dummy $ac_prog; ac_word=$2
884 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
885 echo "configure:886: checking for $ac_word" >&5
886 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
887 echo $ac_n "(cached) $ac_c" 1>&6
889 if test -n "$BASH"; then
890 ac_cv_prog_BASH="$BASH" # Let the user override the test.
892 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
893 for ac_dir in $PATH; do
894 test -z "$ac_dir" && ac_dir=.
895 if test -f $ac_dir/$ac_word; then
896 ac_cv_prog_BASH="$ac_prog"
903 BASH="$ac_cv_prog_BASH"
904 if test -n "$BASH"; then
905 echo "$ac_t""$BASH" 1>&6
907 echo "$ac_t""no" 1>&6
910 test -n "$BASH" && break
912 test -n "$BASH" || BASH="/bin/sh"
915 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
916 set dummy ${PYTHON:-python}; ac_word=$2
917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
918 echo "configure:919: checking for $ac_word" >&5
919 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
920 echo $ac_n "(cached) $ac_c" 1>&6
924 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
927 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
928 for ac_dir in $PATH; do
929 test -z "$ac_dir" && ac_dir=.
930 if test -f $ac_dir/$ac_word; then
931 ac_cv_path_PYTHON="$ac_dir/$ac_word"
936 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
940 PYTHON="$ac_cv_path_PYTHON"
941 if test -n "$PYTHON"; then
942 echo "$ac_t""$PYTHON" 1>&6
944 echo "$ac_t""no" 1>&6
949 if test $MAKE != "error" ; then
950 $MAKE -v 2> /dev/null | grep GNU > /dev/null
954 echo "configure: warning: Please install *GNU* make" 1>&2
961 result="`echo \"$PYTHON\" | grep echo`"
962 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
964 echo "configure: warning: can\'t find python. You should install Python" 1>&2
970 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
971 LN=cp # hard link does not work under cygnus-nt
972 LN_S='cp -r' # symbolic link does not work for native nt
979 # cygwin fixes all these things.
980 # it seems these were used because of dos-style TEXINPUTS and
981 # MFINPUTS needed for miktex.
982 # but this breaks parsing of all other cygwin/unix style paths.
984 # if your (mik)tex breaks, make a:
985 # /usr/local/bin/tex:
987 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
993 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
995 # this way, you may have buildscripts/out/lilypond-profile
996 # 'automatically' sourced from /usr/etc/profile.d/ too.
1000 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1007 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1014 cat >> confdefs.h <<EOF
1015 #define DIRSEP '${DIRSEP}'
1018 cat >> confdefs.h <<EOF
1019 #define PATHSEP '${PATHSEP}'
1027 if test "$datadir" = "\${prefix}/share"; then
1028 datadir='${prefix}/share/'$package
1030 DIR_DATADIR=${datadir}
1032 if test "$prefix" = "NONE"; then
1033 presome=${ac_default_prefix}
1035 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1038 cat >> confdefs.h <<EOF
1039 #define DIR_DATADIR "${DIR_DATADIR}"
1045 # For all packages except the StepMake package itself
1046 # AC_CONFIG_SUBDIRS(stepmake)
1048 # Uncomment the configuration options your package needs.
1049 # AC_STEPMAKE_COMPILE
1050 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1053 # AC_STEPMAKE_CXXTEMPLATE
1054 # AC_STEPMAKE_LEXYACC
1056 # AC_STEPMAKE_LIBTOOL
1062 # Check whether --with-localedir or --without-localedir was given.
1063 if test "${with_localedir+set}" = set; then
1064 withval="$with_localedir"
1065 localedir=$with_localedir
1067 localedir='${prefix}/share/locale'
1071 # Check whether --with-lang or --without-lang was given.
1072 if test "${with_lang+set}" = set; then
1073 withval="$with_lang"
1080 echo $ac_n "checking language""... $ac_c" 1>&6
1081 echo "configure:1082: checking language" >&5
1083 En* | en* | Am* | am* | US* | us*)
1085 NL | nl | Du* | du* | Ned* | ned*)
1092 echo "$ac_t""$lang" 1>&6
1094 if test "$lang" = "unknown" ; then
1096 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1102 # AC_STEPMAKE_GETTEXT
1104 # AC_STEPMAKE_MSGFMT
1106 # AC_STEPMAKE_TEXMF_DIRS
1108 if test "x$YODL" = "x"; then
1109 for ac_prog in striproff
1111 # Extract the first word of "$ac_prog", so it can be a program name with args.
1112 set dummy $ac_prog; ac_word=$2
1113 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1114 echo "configure:1115: checking for $ac_word" >&5
1115 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
1116 echo $ac_n "(cached) $ac_c" 1>&6
1118 if test -n "$STRIPROFF"; then
1119 ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
1121 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1122 for ac_dir in $PATH; do
1123 test -z "$ac_dir" && ac_dir=.
1124 if test -f $ac_dir/$ac_word; then
1125 ac_cv_prog_STRIPROFF="$ac_prog"
1132 STRIPROFF="$ac_cv_prog_STRIPROFF"
1133 if test -n "$STRIPROFF"; then
1134 echo "$ac_t""$STRIPROFF" 1>&6
1136 echo "$ac_t""no" 1>&6
1139 test -n "$STRIPROFF" && break
1141 test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
1145 # Extract the first word of "$ac_prog", so it can be a program name with args.
1146 set dummy $ac_prog; ac_word=$2
1147 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1148 echo "configure:1149: checking for $ac_word" >&5
1149 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
1150 echo $ac_n "(cached) $ac_c" 1>&6
1152 if test -n "$YODL"; then
1153 ac_cv_prog_YODL="$YODL" # Let the user override the test.
1155 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1156 for ac_dir in $PATH; do
1157 test -z "$ac_dir" && ac_dir=.
1158 if test -f $ac_dir/$ac_word; then
1159 ac_cv_prog_YODL="$ac_prog"
1166 YODL="$ac_cv_prog_YODL"
1167 if test -n "$YODL"; then
1168 echo "$ac_t""$YODL" 1>&6
1170 echo "$ac_t""no" 1>&6
1173 test -n "$YODL" && break
1175 test -n "$YODL" || YODL="-echo no yodl"
1177 for ac_prog in yodl2html
1179 # Extract the first word of "$ac_prog", so it can be a program name with args.
1180 set dummy $ac_prog; ac_word=$2
1181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1182 echo "configure:1183: checking for $ac_word" >&5
1183 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 if test -n "$YODL2HTML"; then
1187 ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
1189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1190 for ac_dir in $PATH; do
1191 test -z "$ac_dir" && ac_dir=.
1192 if test -f $ac_dir/$ac_word; then
1193 ac_cv_prog_YODL2HTML="$ac_prog"
1200 YODL2HTML="$ac_cv_prog_YODL2HTML"
1201 if test -n "$YODL2HTML"; then
1202 echo "$ac_t""$YODL2HTML" 1>&6
1204 echo "$ac_t""no" 1>&6
1207 test -n "$YODL2HTML" && break
1209 test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
1211 for ac_prog in yodl2latex
1213 # Extract the first word of "$ac_prog", so it can be a program name with args.
1214 set dummy $ac_prog; ac_word=$2
1215 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1216 echo "configure:1217: checking for $ac_word" >&5
1217 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
1218 echo $ac_n "(cached) $ac_c" 1>&6
1220 if test -n "$YODL2LATEX"; then
1221 ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
1223 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1224 for ac_dir in $PATH; do
1225 test -z "$ac_dir" && ac_dir=.
1226 if test -f $ac_dir/$ac_word; then
1227 ac_cv_prog_YODL2LATEX="$ac_prog"
1234 YODL2LATEX="$ac_cv_prog_YODL2LATEX"
1235 if test -n "$YODL2LATEX"; then
1236 echo "$ac_t""$YODL2LATEX" 1>&6
1238 echo "$ac_t""no" 1>&6
1241 test -n "$YODL2LATEX" && break
1244 for ac_prog in yodl2man
1246 # Extract the first word of "$ac_prog", so it can be a program name with args.
1247 set dummy $ac_prog; ac_word=$2
1248 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1249 echo "configure:1250: checking for $ac_word" >&5
1250 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
1251 echo $ac_n "(cached) $ac_c" 1>&6
1253 if test -n "$YODL2MAN"; then
1254 ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
1256 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1257 for ac_dir in $PATH; do
1258 test -z "$ac_dir" && ac_dir=.
1259 if test -f $ac_dir/$ac_word; then
1260 ac_cv_prog_YODL2MAN="$ac_prog"
1267 YODL2MAN="$ac_cv_prog_YODL2MAN"
1268 if test -n "$YODL2MAN"; then
1269 echo "$ac_t""$YODL2MAN" 1>&6
1271 echo "$ac_t""no" 1>&6
1274 test -n "$YODL2MAN" && break
1276 test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
1278 for ac_prog in yodl2msless
1280 # Extract the first word of "$ac_prog", so it can be a program name with args.
1281 set dummy $ac_prog; ac_word=$2
1282 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1283 echo "configure:1284: checking for $ac_word" >&5
1284 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
1285 echo $ac_n "(cached) $ac_c" 1>&6
1287 if test -n "$YODL2MSLESS"; then
1288 ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
1290 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1291 for ac_dir in $PATH; do
1292 test -z "$ac_dir" && ac_dir=.
1293 if test -f $ac_dir/$ac_word; then
1294 ac_cv_prog_YODL2MSLESS="$ac_prog"
1301 YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
1302 if test -n "$YODL2MSLESS"; then
1303 echo "$ac_t""$YODL2MSLESS" 1>&6
1305 echo "$ac_t""no" 1>&6
1308 test -n "$YODL2MSLESS" && break
1310 test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
1312 for ac_prog in yodl2texinfo
1314 # Extract the first word of "$ac_prog", so it can be a program name with args.
1315 set dummy $ac_prog; ac_word=$2
1316 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1317 echo "configure:1318: checking for $ac_word" >&5
1318 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
1319 echo $ac_n "(cached) $ac_c" 1>&6
1321 if test -n "$YODL2TEXINFO"; then
1322 ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
1324 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1325 for ac_dir in $PATH; do
1326 test -z "$ac_dir" && ac_dir=.
1327 if test -f $ac_dir/$ac_word; then
1328 ac_cv_prog_YODL2TEXINFO="$ac_prog"
1335 YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
1336 if test -n "$YODL2TEXINFO"; then
1337 echo "$ac_t""$YODL2TEXINFO" 1>&6
1339 echo "$ac_t""no" 1>&6
1342 test -n "$YODL2TEXINFO" && break
1344 test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
1346 for ac_prog in yodl2txt
1348 # Extract the first word of "$ac_prog", so it can be a program name with args.
1349 set dummy $ac_prog; ac_word=$2
1350 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1351 echo "configure:1352: checking for $ac_word" >&5
1352 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
1353 echo $ac_n "(cached) $ac_c" 1>&6
1355 if test -n "$YODL2TXT"; then
1356 ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
1358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1359 for ac_dir in $PATH; do
1360 test -z "$ac_dir" && ac_dir=.
1361 if test -f $ac_dir/$ac_word; then
1362 ac_cv_prog_YODL2TXT="$ac_prog"
1369 YODL2TXT="$ac_cv_prog_YODL2TXT"
1370 if test -n "$YODL2TXT"; then
1371 echo "$ac_t""$YODL2TXT" 1>&6
1373 echo "$ac_t""no" 1>&6
1376 test -n "$YODL2TXT" && break
1378 test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
1380 YODL2LESS_DIR='$(bindir)/'
1391 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
1393 if test "x$YODL" = "-echo no yodl"; then
1395 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
1401 # AM_PATH_GTK(1.0.0,,AC_MSG_ERROR([please install proper version of gtk]))
1402 # AM_PATH_GTK__(0.9.4,,AC_MSG_ERROR([please install proper version of gtk--]))
1404 for ac_prog in makeinfo
1406 # Extract the first word of "$ac_prog", so it can be a program name with args.
1407 set dummy $ac_prog; ac_word=$2
1408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1409 echo "configure:1410: checking for $ac_word" >&5
1410 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1411 echo $ac_n "(cached) $ac_c" 1>&6
1413 if test -n "$MAKEINFO"; then
1414 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1417 for ac_dir in $PATH; do
1418 test -z "$ac_dir" && ac_dir=.
1419 if test -f $ac_dir/$ac_word; then
1420 ac_cv_prog_MAKEINFO="$ac_prog"
1427 MAKEINFO="$ac_cv_prog_MAKEINFO"
1428 if test -n "$MAKEINFO"; then
1429 echo "$ac_t""$MAKEINFO" 1>&6
1431 echo "$ac_t""no" 1>&6
1434 test -n "$MAKEINFO" && break
1436 test -n "$MAKEINFO" || MAKEINFO="error"
1438 # AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl,
1439 # You should install Yodl 1.30.pre6 or better)
1443 cat > confcache <<\EOF
1444 # This file is a shell script that caches the results of configure
1445 # tests run on this system so they can be shared between configure
1446 # scripts and configure runs. It is not useful on other systems.
1447 # If it contains results you don't want to keep, you may remove or edit it.
1449 # By default, configure uses ./config.cache as the cache file,
1450 # creating it if it does not exist already. You can give configure
1451 # the --cache-file=FILE option to use a different cache file; that is
1452 # what configure does when it calls configure scripts in
1453 # subdirectories, so they share the cache.
1454 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1455 # config.status only pays attention to the cache file if you give it the
1456 # --recheck option to rerun configure.
1459 # The following way of writing the cache mishandles newlines in values,
1460 # but we know of no workaround that is simple, portable, and efficient.
1461 # So, don't put newlines in cache variables' values.
1462 # Ultrix sh set writes to stderr and can't be redirected directly,
1463 # and sets the high bit in the cache file unless we assign to the vars.
1465 case `(ac_space=' '; set) 2>&1` in
1467 # `set' does not quote correctly, so add quotes (double-quote substitution
1468 # turns \\\\ into \\, and sed turns \\ into \).
1470 -e "s/'/'\\\\''/g" \
1471 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1474 # `set' quotes correctly as required by POSIX, so do not add quotes.
1475 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1478 if cmp -s $cache_file confcache; then
1481 if test -w $cache_file; then
1482 echo "updating cache $cache_file"
1483 cat confcache > $cache_file
1485 echo "not updating unwritable cache $cache_file"
1490 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1493 # Let make expand exec_prefix.
1494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1496 # Any assignment to VPATH causes Sun make to only execute
1497 # the first set of double-colon rules, so remove it if not needed.
1498 # If there is a colon in the path, we need to keep it.
1499 if test "x$srcdir" = x.; then
1500 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1503 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1505 DEFS=-DHAVE_CONFIG_H
1507 # Without the "./", some shells look in PATH for config.status.
1508 : ${CONFIG_STATUS=./config.status}
1510 echo creating $CONFIG_STATUS
1511 rm -f $CONFIG_STATUS
1512 cat > $CONFIG_STATUS <<EOF
1514 # Generated automatically by configure.
1515 # Run this file to recreate the current configuration.
1516 # This directory was configured as follows,
1517 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1519 # $0 $ac_configure_args
1521 # Compiler output produced by configure, useful for debugging
1522 # configure, is in ./config.log if it exists.
1524 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1527 case "\$ac_option" in
1528 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1529 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1530 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1531 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1532 echo "$CONFIG_STATUS generated by autoconf version 2.12"
1534 -help | --help | --hel | --he | --h)
1535 echo "\$ac_cs_usage"; exit 0 ;;
1536 *) echo "\$ac_cs_usage"; exit 1 ;;
1540 ac_given_srcdir=$srcdir
1542 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.hh:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1544 cat >> $CONFIG_STATUS <<EOF
1546 # Protect against being on the right side of a sed subst in config.status.
1547 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1548 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1551 s%@CFLAGS@%$CFLAGS%g
1552 s%@CPPFLAGS@%$CPPFLAGS%g
1553 s%@CXXFLAGS@%$CXXFLAGS%g
1555 s%@LDFLAGS@%$LDFLAGS%g
1557 s%@exec_prefix@%$exec_prefix%g
1558 s%@prefix@%$prefix%g
1559 s%@program_transform_name@%$program_transform_name%g
1560 s%@bindir@%$bindir%g
1561 s%@sbindir@%$sbindir%g
1562 s%@libexecdir@%$libexecdir%g
1563 s%@datadir@%$datadir%g
1564 s%@sysconfdir@%$sysconfdir%g
1565 s%@sharedstatedir@%$sharedstatedir%g
1566 s%@localstatedir@%$localstatedir%g
1567 s%@libdir@%$libdir%g
1568 s%@includedir@%$includedir%g
1569 s%@oldincludedir@%$oldincludedir%g
1570 s%@infodir@%$infodir%g
1571 s%@mandir@%$mandir%g
1572 s%@stepmake@%$stepmake%g
1573 s%@package@%$package%g
1574 s%@PACKAGE@%$PACKAGE%g
1575 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
1576 s%@package_depth@%$package_depth%g
1577 s%@AUTOGENERATE@%$AUTOGENERATE%g
1578 s%@absolute_builddir@%$absolute_builddir%g
1579 s%@STATE_VECTOR@%$STATE_VECTOR%g
1580 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
1582 s%@host_alias@%$host_alias%g
1583 s%@host_cpu@%$host_cpu%g
1584 s%@host_vendor@%$host_vendor%g
1585 s%@host_os@%$host_os%g
1590 s%@PYTHON@%$PYTHON%g
1591 s%@DOTEXE@%$DOTEXE%g
1595 s%@INSTALL@%$INSTALL%g
1596 s%@PATHSEP@%$PATHSEP%g
1597 s%@DIRSEP@%$DIRSEP%g
1598 s%@DIR_DATADIR@%$DIR_DATADIR%g
1599 s%@STRIPROFF@%$STRIPROFF%g
1601 s%@YODL2HTML@%$YODL2HTML%g
1602 s%@YODL2LATEX@%$YODL2LATEX%g
1603 s%@YODL2MAN@%$YODL2MAN%g
1604 s%@YODL2MSLESS@%$YODL2MSLESS%g
1605 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
1606 s%@YODL2TXT@%$YODL2TXT%g
1607 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
1608 s%@MAKEINFO@%$MAKEINFO%g
1613 cat >> $CONFIG_STATUS <<\EOF
1615 # Split the substitutions into bite-sized pieces for seds with
1616 # small command number limits, like on Digital OSF/1 and HP-UX.
1617 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1618 ac_file=1 # Number of current file.
1619 ac_beg=1 # First line for current file.
1620 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1623 while $ac_more_lines; do
1624 if test $ac_beg -gt 1; then
1625 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1627 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1629 if test ! -s conftest.s$ac_file; then
1631 rm -f conftest.s$ac_file
1633 if test -z "$ac_sed_cmds"; then
1634 ac_sed_cmds="sed -f conftest.s$ac_file"
1636 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1638 ac_file=`expr $ac_file + 1`
1640 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1643 if test -z "$ac_sed_cmds"; then
1648 cat >> $CONFIG_STATUS <<EOF
1650 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
1652 cat >> $CONFIG_STATUS <<\EOF
1653 for ac_file in .. $CONFIG_FILES; 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 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1663 # Remove last slash and all that follows it. Not all systems have dirname.
1664 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1665 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1666 # The file is in a subdirectory.
1667 test ! -d "$ac_dir" && mkdir "$ac_dir"
1668 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1669 # A "../" for each directory in $ac_dir_suffix.
1670 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1672 ac_dir_suffix= ac_dots=
1675 case "$ac_given_srcdir" in
1677 if test -z "$ac_dots"; then top_srcdir=.
1678 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1679 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1681 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1682 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1686 echo creating "$ac_file"
1688 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1690 *Makefile*) ac_comsub="1i\\
1691 # $configure_input" ;;
1695 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1697 s%@configure_input@%$configure_input%g
1698 s%@srcdir@%$srcdir%g
1699 s%@top_srcdir@%$top_srcdir%g
1700 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1704 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1705 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1707 # ac_d sets the value in "#define NAME VALUE" lines.
1708 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1709 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1712 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1713 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1714 ac_uB='\([ ]\)%\1#\2define\3'
1717 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1718 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1719 ac_eB='$%\1#\2define\3'
1723 if test "${CONFIG_HEADERS+set}" != set; then
1725 cat >> $CONFIG_STATUS <<EOF
1726 CONFIG_HEADERS="$CONFIGFILE.hh:config.hh.in"
1728 cat >> $CONFIG_STATUS <<\EOF
1730 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1731 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1733 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1734 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1735 *) ac_file_in="${ac_file}.in" ;;
1738 echo creating $ac_file
1740 rm -f conftest.frag conftest.in conftest.out
1741 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1742 cat $ac_file_inputs > conftest.in
1746 # Transform confdefs.h into a sed script conftest.vals that substitutes
1747 # the proper values into config.h.in to produce config.h. And first:
1748 # Protect against being on the right side of a sed subst in config.status.
1749 # Protect against being in an unquoted here document in config.status.
1751 cat > conftest.hdr <<\EOF
1754 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1758 sed -n -f conftest.hdr confdefs.h > conftest.vals
1761 # This sed command replaces #undef with comments. This is necessary, for
1762 # example, in the case of _POSIX_SOURCE, which is predefined and required
1763 # on some systems where configure will not decide to define it.
1764 cat >> conftest.vals <<\EOF
1765 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1768 # Break up conftest.vals because some shells have a limit on
1769 # the size of here documents, and old seds have small limits too.
1774 ac_lines=`grep -c . conftest.vals`
1775 # grep -c gives empty output for an empty file on some AIX systems.
1776 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1777 # Write a limited-size here document to conftest.frag.
1778 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1779 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1781 sed -f conftest.frag conftest.in > conftest.out
1783 mv conftest.out conftest.in
1785 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1787 mv conftest.tail conftest.vals
1791 cat >> $CONFIG_STATUS <<\EOF
1792 rm -f conftest.frag conftest.h
1793 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1794 cat conftest.in >> conftest.h
1796 if cmp -s $ac_file conftest.h 2>/dev/null; then
1797 echo "$ac_file is unchanged"
1800 # Remove last slash and all that follows it. Not all systems have dirname.
1801 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1802 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1803 # The file is in a subdirectory.
1804 test ! -d "$ac_dir" && mkdir "$ac_dir"
1807 mv conftest.h $ac_file
1812 cat >> $CONFIG_STATUS <<EOF
1815 cat >> $CONFIG_STATUS <<\EOF
1819 chmod +x $CONFIG_STATUS
1820 rm -fr confdefs* $ac_clean_files
1821 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1825 cp make/toplevel.make.in ./GNUmakefile
1826 chmod 444 GNUmakefile