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.13
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 SHELL=${CONFIG_SHELL-/bin/sh}
116 # Maximum number of lines to put in a shell here document.
123 # If the previous option needs an argument, assign it.
124 if test -n "$ac_prev"; then
125 eval "$ac_prev=\$ac_option"
131 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
135 # Accept the important Cygnus configure options, so we can diagnose typos.
139 -bindir | --bindir | --bindi | --bind | --bin | --bi)
141 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
142 bindir="$ac_optarg" ;;
144 -build | --build | --buil | --bui | --bu)
146 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
147 build="$ac_optarg" ;;
149 -cache-file | --cache-file | --cache-fil | --cache-fi \
150 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
151 ac_prev=cache_file ;;
152 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
153 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
154 cache_file="$ac_optarg" ;;
156 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
158 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
160 datadir="$ac_optarg" ;;
162 -disable-* | --disable-*)
163 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
164 # Reject names that are not valid shell variable names.
165 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
166 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
168 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
169 eval "enable_${ac_feature}=no" ;;
171 -enable-* | --enable-*)
172 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
173 # Reject names that are not valid shell variable names.
174 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
175 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
177 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
182 eval "enable_${ac_feature}='$ac_optarg'" ;;
184 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
185 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
186 | --exec | --exe | --ex)
187 ac_prev=exec_prefix ;;
188 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
189 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
190 | --exec=* | --exe=* | --ex=*)
191 exec_prefix="$ac_optarg" ;;
193 -gas | --gas | --ga | --g)
194 # Obsolete; use --with-gas.
197 -help | --help | --hel | --he)
198 # Omit some internal or obsolete options to make the list less imposing.
199 # This message is too long to be a string in the A/UX 3.1 sh.
201 Usage: configure [options] [host]
202 Options: [defaults in brackets after descriptions]
204 --cache-file=FILE cache test results in FILE
205 --help print this message
206 --no-create do not create output files
207 --quiet, --silent do not print \`checking...' messages
208 --version print the version of autoconf that created configure
209 Directory and file names:
210 --prefix=PREFIX install architecture-independent files in PREFIX
212 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
214 --bindir=DIR user executables in DIR [EPREFIX/bin]
215 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
216 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
217 --datadir=DIR read-only architecture-independent data in DIR
219 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
220 --sharedstatedir=DIR modifiable architecture-independent data in DIR
222 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
223 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
224 --includedir=DIR C header files in DIR [PREFIX/include]
225 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
226 --infodir=DIR info documentation in DIR [PREFIX/info]
227 --mandir=DIR man documentation in DIR [PREFIX/man]
228 --srcdir=DIR find the sources in DIR [configure dir or ..]
229 --program-prefix=PREFIX prepend PREFIX to installed program names
230 --program-suffix=SUFFIX append SUFFIX to installed program names
231 --program-transform-name=PROGRAM
232 run sed PROGRAM on installed program names
236 --build=BUILD configure for building on BUILD [BUILD=HOST]
237 --host=HOST configure for HOST [guessed]
238 --target=TARGET configure for TARGET [TARGET=HOST]
239 Features and packages:
240 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
241 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
242 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
243 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
244 --x-includes=DIR X include files are in DIR
245 --x-libraries=DIR X library files are in DIR
247 if test -n "$ac_help"; then
248 echo "--enable and --with options recognized:$ac_help"
252 -host | --host | --hos | --ho)
254 -host=* | --host=* | --hos=* | --ho=*)
257 -includedir | --includedir | --includedi | --included | --include \
258 | --includ | --inclu | --incl | --inc)
259 ac_prev=includedir ;;
260 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
261 | --includ=* | --inclu=* | --incl=* | --inc=*)
262 includedir="$ac_optarg" ;;
264 -infodir | --infodir | --infodi | --infod | --info | --inf)
266 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
267 infodir="$ac_optarg" ;;
269 -libdir | --libdir | --libdi | --libd)
271 -libdir=* | --libdir=* | --libdi=* | --libd=*)
272 libdir="$ac_optarg" ;;
274 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
275 | --libexe | --libex | --libe)
276 ac_prev=libexecdir ;;
277 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
278 | --libexe=* | --libex=* | --libe=*)
279 libexecdir="$ac_optarg" ;;
281 -localstatedir | --localstatedir | --localstatedi | --localstated \
282 | --localstate | --localstat | --localsta | --localst \
283 | --locals | --local | --loca | --loc | --lo)
284 ac_prev=localstatedir ;;
285 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
286 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
287 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
288 localstatedir="$ac_optarg" ;;
290 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
292 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
293 mandir="$ac_optarg" ;;
296 # Obsolete; use --without-fp.
299 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
303 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
304 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
307 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
308 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
309 | --oldin | --oldi | --old | --ol | --o)
310 ac_prev=oldincludedir ;;
311 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
312 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
313 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
314 oldincludedir="$ac_optarg" ;;
316 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
318 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
319 prefix="$ac_optarg" ;;
321 -program-prefix | --program-prefix | --program-prefi | --program-pref \
322 | --program-pre | --program-pr | --program-p)
323 ac_prev=program_prefix ;;
324 -program-prefix=* | --program-prefix=* | --program-prefi=* \
325 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
326 program_prefix="$ac_optarg" ;;
328 -program-suffix | --program-suffix | --program-suffi | --program-suff \
329 | --program-suf | --program-su | --program-s)
330 ac_prev=program_suffix ;;
331 -program-suffix=* | --program-suffix=* | --program-suffi=* \
332 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
333 program_suffix="$ac_optarg" ;;
335 -program-transform-name | --program-transform-name \
336 | --program-transform-nam | --program-transform-na \
337 | --program-transform-n | --program-transform- \
338 | --program-transform | --program-transfor \
339 | --program-transfo | --program-transf \
340 | --program-trans | --program-tran \
341 | --progr-tra | --program-tr | --program-t)
342 ac_prev=program_transform_name ;;
343 -program-transform-name=* | --program-transform-name=* \
344 | --program-transform-nam=* | --program-transform-na=* \
345 | --program-transform-n=* | --program-transform-=* \
346 | --program-transform=* | --program-transfor=* \
347 | --program-transfo=* | --program-transf=* \
348 | --program-trans=* | --program-tran=* \
349 | --progr-tra=* | --program-tr=* | --program-t=*)
350 program_transform_name="$ac_optarg" ;;
352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
353 | -silent | --silent | --silen | --sile | --sil)
356 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
358 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
360 sbindir="$ac_optarg" ;;
362 -sharedstatedir | --sharedstatedir | --sharedstatedi \
363 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
364 | --sharedst | --shareds | --shared | --share | --shar \
366 ac_prev=sharedstatedir ;;
367 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
368 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
369 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
371 sharedstatedir="$ac_optarg" ;;
373 -site | --site | --sit)
375 -site=* | --site=* | --sit=*)
378 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
380 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
381 srcdir="$ac_optarg" ;;
383 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
384 | --syscon | --sysco | --sysc | --sys | --sy)
385 ac_prev=sysconfdir ;;
386 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
387 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
388 sysconfdir="$ac_optarg" ;;
390 -target | --target | --targe | --targ | --tar | --ta | --t)
392 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
393 target="$ac_optarg" ;;
395 -v | -verbose | --verbose | --verbos | --verbo | --verb)
398 -version | --version | --versio | --versi | --vers)
399 echo "configure generated by autoconf version 2.13"
403 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
404 # Reject names that are not valid shell variable names.
405 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
406 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
408 ac_package=`echo $ac_package| sed 's/-/_/g'`
413 eval "with_${ac_package}='$ac_optarg'" ;;
415 -without-* | --without-*)
416 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
417 # Reject names that are not valid shell variable names.
418 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
419 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
421 ac_package=`echo $ac_package| sed 's/-/_/g'`
422 eval "with_${ac_package}=no" ;;
425 # Obsolete; use --with-x.
428 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
429 | --x-incl | --x-inc | --x-in | --x-i)
430 ac_prev=x_includes ;;
431 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
432 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
433 x_includes="$ac_optarg" ;;
435 -x-libraries | --x-libraries | --x-librarie | --x-librari \
436 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
437 ac_prev=x_libraries ;;
438 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
439 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
440 x_libraries="$ac_optarg" ;;
442 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
446 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
447 echo "configure: warning: $ac_option: invalid host type" 1>&2
449 if test "x$nonopt" != xNONE; then
450 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
458 if test -n "$ac_prev"; then
459 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
462 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
464 # File descriptor usage:
467 # 2 errors and warnings
468 # 3 some systems may open it to /dev/tty
469 # 4 used on the Kubota Titan
470 # 6 checking for... messages and results
471 # 5 compiler messages saved in config.log
472 if test "$silent" = yes; then
480 This file contains any messages produced by compilers while
481 running configure, to aid debugging if configure makes a mistake.
484 # Strip out --no-create and --no-recursion so they do not pile up.
485 # Also quote any args containing shell metacharacters.
490 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
491 | --no-cr | --no-c) ;;
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
495 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
496 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
501 # Only set these to C if already set. These must not be set unconditionally
502 # because not all systems understand e.g. LANG=C (notably SCO).
503 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
504 # Non-C LC_CTYPE values break the ctype check.
505 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
506 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
507 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
508 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
510 # confdefs.h avoids OS command line length limits that DEFS can exceed.
511 rm -rf conftest* confdefs.h
512 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
515 # A filename unique to this package, relative to the directory that
516 # configure is in, which we can look for to find out if srcdir is correct.
517 ac_unique_file=make/stepmake.lsm.in
519 # Find the source files, if location was not specified.
520 if test -z "$srcdir"; then
521 ac_srcdir_defaulted=yes
522 # Try the directory containing this script, then its parent.
524 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
525 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
527 if test ! -r $srcdir/$ac_unique_file; then
531 ac_srcdir_defaulted=no
533 if test ! -r $srcdir/$ac_unique_file; then
534 if test "$ac_srcdir_defaulted" = yes; then
535 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
537 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
540 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
542 # Prefer explicitly selected file to automatically selected ones.
543 if test -z "$CONFIG_SITE"; then
544 if test "x$prefix" != xNONE; then
545 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
547 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
550 for ac_site_file in $CONFIG_SITE; do
551 if test -r "$ac_site_file"; then
552 echo "loading site script $ac_site_file"
557 if test -r "$cache_file"; then
558 echo "loading cache $cache_file"
561 echo "creating cache $cache_file"
566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
567 ac_cpp='$CPP $CPPFLAGS'
568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
570 cross_compiling=$ac_cv_prog_cc_cross
574 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
575 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
576 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
583 ac_n= ac_c='\c' ac_t=
589 # Bootstrap StepMake configure
593 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
594 if test x$MY_PATCH_LEVEL != x; then
595 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
598 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
599 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
600 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
602 # No versioning on directory names of sub-packages
604 stepmake=${datadir}/stepmake
606 if test "$prefix" = "NONE"; then
607 presome=${ac_default_prefix}
609 stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
611 if test "x$PACKAGE" = "xSTEPMAKE"; then
612 echo Stepmake package!
613 (cd stepmake; rm -f stepmake; ln -s ../stepmake .)
614 (cd stepmake; rm -f bin; ln -s ../bin .)
616 for ac_dir in bin $srcdir/bin; do
617 if test -f $ac_dir/install-sh; then
619 ac_install_sh="$ac_aux_dir/install-sh -c"
621 elif test -f $ac_dir/install.sh; then
623 ac_install_sh="$ac_aux_dir/install.sh -c"
627 if test -z "$ac_aux_dir"; then
628 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
630 ac_config_guess=$ac_aux_dir/config.guess
631 ac_config_sub=$ac_aux_dir/config.sub
632 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
636 echo Package: $PACKAGE
637 # Check for installed stepmake
638 if test -d $stepmake; then
639 echo Using installed stepmake: $stepmake
641 stepmake='$(depth)'/stepmake
642 echo Using local stepmake: $datadir/stepmake not found
646 $HOME/usr/local/share/stepmake/bin\
647 $HOME/usr/local/lib/stepmake/bin\
648 $HOME/usr/share/stepmake/bin\
649 $HOME/usr/lib/stepmake/bin\
650 /usr/local/share/stepmake/bin\
651 /usr/local/lib/stepmake/bin\
652 /usr/share/stepmake/bin\
653 /usr/lib/stepmake/bin\
656 $HOME/usr/local/share/stepmake/bin\
657 $HOME/usr/local/lib/stepmake/bin\
658 $HOME/usr/share/stepmake/bin\
659 $HOME/usr/lib/stepmake/bin\
660 /usr/local/share/stepmake/bin\
661 /usr/local/lib/stepmake/bin\
662 /usr/share/stepmake/bin\
663 /usr/lib/stepmake/bin\
666 if test -f $ac_dir/install-sh; then
668 ac_install_sh="$ac_aux_dir/install-sh -c"
670 elif test -f $ac_dir/install.sh; then
672 ac_install_sh="$ac_aux_dir/install.sh -c"
676 if test -z "$ac_aux_dir"; then
677 { echo "configure: error: can not find install-sh or install.sh in \
678 $HOME/usr/local/share/stepmake/bin\
679 $HOME/usr/local/lib/stepmake/bin\
680 $HOME/usr/share/stepmake/bin\
681 $HOME/usr/lib/stepmake/bin\
682 /usr/local/share/stepmake/bin\
683 /usr/local/lib/stepmake/bin\
684 /usr/share/stepmake/bin\
685 /usr/lib/stepmake/bin\
688 $HOME/usr/local/share/stepmake/bin\
689 $HOME/usr/local/lib/stepmake/bin\
690 $HOME/usr/share/stepmake/bin\
691 $HOME/usr/lib/stepmake/bin\
692 /usr/local/share/stepmake/bin\
693 /usr/local/lib/stepmake/bin\
694 /usr/share/stepmake/bin\
695 /usr/lib/stepmake/bin\
699 ac_config_guess=$ac_aux_dir/config.guess
700 ac_config_sub=$ac_aux_dir/config.sub
701 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
709 cat >> confdefs.h <<EOF
710 #define PACKAGE "${PACKAGE_NAME}"
713 cat >> confdefs.h <<EOF
714 #define TOPLEVEL_VERSION "${FULL_VERSION}"
718 if test "$package_depth" = "" ; then
721 package_depth="../$package_depth"
726 AUTOGENERATE="This file was automatically generated by configure"
728 absolute_builddir="`pwd`"
731 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
732 if test "x$STATE_VECTOR" != "x"; then
733 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
738 # Check whether --enable-config or --disable-config was given.
739 if test "${enable_config+set}" = set; then
740 enableval="$enable_config"
741 CONFIGSUFFIX=$enableval
745 if test "$CONFIGSUFFIX" != "" ; then
746 CONFIGFILE=config-$CONFIGSUFFIX
753 # Make sure we can run config.sub.
754 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
755 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
758 echo $ac_n "checking host system type""... $ac_c" 1>&6
759 echo "configure:760: checking host system type" >&5
762 case "$host_alias" in
766 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
767 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
769 *) host_alias=$nonopt ;;
773 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
774 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
775 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
776 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
777 echo "$ac_t""$host" 1>&6
779 for ac_prog in gmake make
781 # Extract the first word of "$ac_prog", so it can be a program name with args.
782 set dummy $ac_prog; ac_word=$2
783 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
784 echo "configure:785: checking for $ac_word" >&5
785 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
786 echo $ac_n "(cached) $ac_c" 1>&6
788 if test -n "$MAKE"; then
789 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
793 for ac_dir in $ac_dummy; do
794 test -z "$ac_dir" && ac_dir=.
795 if test -f $ac_dir/$ac_word; then
796 ac_cv_prog_MAKE="$ac_prog"
803 MAKE="$ac_cv_prog_MAKE"
804 if test -n "$MAKE"; then
805 echo "$ac_t""$MAKE" 1>&6
807 echo "$ac_t""no" 1>&6
810 test -n "$MAKE" && break
812 test -n "$MAKE" || MAKE="error"
816 # Extract the first word of "$ac_prog", so it can be a program name with args.
817 set dummy $ac_prog; ac_word=$2
818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
819 echo "configure:820: checking for $ac_word" >&5
820 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
821 echo $ac_n "(cached) $ac_c" 1>&6
823 if test -n "$FIND"; then
824 ac_cv_prog_FIND="$FIND" # Let the user override the test.
826 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
828 for ac_dir in $ac_dummy; do
829 test -z "$ac_dir" && ac_dir=.
830 if test -f $ac_dir/$ac_word; then
831 ac_cv_prog_FIND="$ac_prog"
838 FIND="$ac_cv_prog_FIND"
839 if test -n "$FIND"; then
840 echo "$ac_t""$FIND" 1>&6
842 echo "$ac_t""no" 1>&6
845 test -n "$FIND" && break
847 test -n "$FIND" || FIND="error"
853 # Extract the first word of "$ac_prog", so it can be a program name with args.
854 set dummy $ac_prog; ac_word=$2
855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
856 echo "configure:857: checking for $ac_word" >&5
857 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
858 echo $ac_n "(cached) $ac_c" 1>&6
860 if test -n "$TAR"; then
861 ac_cv_prog_TAR="$TAR" # Let the user override the test.
863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
865 for ac_dir in $ac_dummy; do
866 test -z "$ac_dir" && ac_dir=.
867 if test -f $ac_dir/$ac_word; then
868 ac_cv_prog_TAR="$ac_prog"
875 TAR="$ac_cv_prog_TAR"
876 if test -n "$TAR"; then
877 echo "$ac_t""$TAR" 1>&6
879 echo "$ac_t""no" 1>&6
882 test -n "$TAR" && break
884 test -n "$TAR" || TAR="error"
887 if test "x`uname`" = "xHP-UX"; then
889 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
894 # Extract the first word of "$ac_prog", so it can be a program name with args.
895 set dummy $ac_prog; ac_word=$2
896 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
897 echo "configure:898: checking for $ac_word" >&5
898 if eval "test \"`echo '$''{'ac_cv_prog_SHELL'+set}'`\" = set"; then
899 echo $ac_n "(cached) $ac_c" 1>&6
901 if test -n "$SHELL"; then
902 ac_cv_prog_SHELL="$SHELL" # Let the user override the test.
904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
906 for ac_dir in $ac_dummy; do
907 test -z "$ac_dir" && ac_dir=.
908 if test -f $ac_dir/$ac_word; then
909 ac_cv_prog_SHELL="$ac_prog"
916 SHELL="$ac_cv_prog_SHELL"
917 if test -n "$SHELL"; then
918 echo "$ac_t""$SHELL" 1>&6
920 echo "$ac_t""no" 1>&6
923 test -n "$SHELL" && break
925 test -n "$SHELL" || SHELL="/bin/ksh"
934 # Extract the first word of "$ac_prog", so it can be a program name with args.
935 set dummy $ac_prog; ac_word=$2
936 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
937 echo "configure:938: checking for $ac_word" >&5
938 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
939 echo $ac_n "(cached) $ac_c" 1>&6
941 if test -n "$BASH"; then
942 ac_cv_prog_BASH="$BASH" # Let the user override the test.
944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
946 for ac_dir in $ac_dummy; do
947 test -z "$ac_dir" && ac_dir=.
948 if test -f $ac_dir/$ac_word; then
949 ac_cv_prog_BASH="$ac_prog"
956 BASH="$ac_cv_prog_BASH"
957 if test -n "$BASH"; then
958 echo "$ac_t""$BASH" 1>&6
960 echo "$ac_t""no" 1>&6
963 test -n "$BASH" && break
965 test -n "$BASH" || BASH="/bin/sh"
968 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
969 set dummy ${PYTHON:-python}; ac_word=$2
970 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
971 echo "configure:972: checking for $ac_word" >&5
972 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
973 echo $ac_n "(cached) $ac_c" 1>&6
977 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
980 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a dos path.
983 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
985 for ac_dir in $ac_dummy; do
986 test -z "$ac_dir" && ac_dir=.
987 if test -f $ac_dir/$ac_word; then
988 ac_cv_path_PYTHON="$ac_dir/$ac_word"
993 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
997 PYTHON="$ac_cv_path_PYTHON"
998 if test -n "$PYTHON"; then
999 echo "$ac_t""$PYTHON" 1>&6
1001 echo "$ac_t""no" 1>&6
1006 if test $MAKE != "error" ; then
1007 $MAKE -v 2> /dev/null | grep GNU > /dev/null
1011 echo "configure: warning: Please install *GNU* make" 1>&2
1018 result="`echo \"$PYTHON\" | grep echo`"
1019 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1021 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1027 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
1028 LN=cp # hard link does not work under cygnus-nt
1029 LN_S='cp -r' # symbolic link does not work for native nt
1036 # cygwin fixes all these things.
1037 # it seems these were used because of dos-style TEXINPUTS and
1038 # MFINPUTS needed for miktex.
1039 # but this breaks parsing of all other cygwin/unix style paths.
1041 # if your (mik)tex breaks, make a:
1042 # /usr/local/bin/tex:
1044 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1048 # /usr/local/bin/mf:
1050 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1052 # this way, you may have buildscripts/out/lilypond-profile
1053 # 'automatically' sourced from /usr/etc/profile.d/ too.
1057 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1064 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1071 cat >> confdefs.h <<EOF
1072 #define DIRSEP '${DIRSEP}'
1075 cat >> confdefs.h <<EOF
1076 #define PATHSEP '${PATHSEP}'
1084 if test "$datadir" = "\${prefix}/share"; then
1085 datadir='${prefix}/share/'$package
1087 DIR_DATADIR=${datadir}
1089 if test "$prefix" = "NONE"; then
1090 presome=${ac_default_prefix}
1092 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1095 cat >> confdefs.h <<EOF
1096 #define DIR_DATADIR "${DIR_DATADIR}"
1102 # For all packages except the StepMake package itself
1103 # AC_CONFIG_SUBDIRS(stepmake)
1105 # Uncomment the configuration options your package needs.
1106 # AC_STEPMAKE_COMPILE
1107 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1110 # AC_STEPMAKE_CXXTEMPLATE
1111 # AC_STEPMAKE_LEXYACC
1113 # AC_STEPMAKE_LIBTOOL
1119 # Check whether --with-localedir or --without-localedir was given.
1120 if test "${with_localedir+set}" = set; then
1121 withval="$with_localedir"
1122 localedir=$with_localedir
1124 localedir='${prefix}/share/locale'
1128 # Check whether --with-lang or --without-lang was given.
1129 if test "${with_lang+set}" = set; then
1130 withval="$with_lang"
1137 echo $ac_n "checking language""... $ac_c" 1>&6
1138 echo "configure:1139: checking language" >&5
1140 En* | en* | Am* | am* | US* | us*)
1142 NL | nl | Du* | du* | Ned* | ned*)
1149 echo "$ac_t""$lang" 1>&6
1151 if test "$lang" = "unknown" ; then
1153 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1159 # AC_STEPMAKE_GETTEXT
1161 # AC_STEPMAKE_MSGFMT
1163 # AC_STEPMAKE_TEXMF_DIRS
1165 if test "x$YODL" = "x"; then
1166 for ac_prog in striproff
1168 # Extract the first word of "$ac_prog", so it can be a program name with args.
1169 set dummy $ac_prog; ac_word=$2
1170 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1171 echo "configure:1172: checking for $ac_word" >&5
1172 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
1173 echo $ac_n "(cached) $ac_c" 1>&6
1175 if test -n "$STRIPROFF"; then
1176 ac_cv_prog_STRIPROFF="$STRIPROFF" # Let the user override the test.
1178 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1180 for ac_dir in $ac_dummy; do
1181 test -z "$ac_dir" && ac_dir=.
1182 if test -f $ac_dir/$ac_word; then
1183 ac_cv_prog_STRIPROFF="$ac_prog"
1190 STRIPROFF="$ac_cv_prog_STRIPROFF"
1191 if test -n "$STRIPROFF"; then
1192 echo "$ac_t""$STRIPROFF" 1>&6
1194 echo "$ac_t""no" 1>&6
1197 test -n "$STRIPROFF" && break
1199 test -n "$STRIPROFF" || STRIPROFF="-echo no striproff"
1203 # Extract the first word of "$ac_prog", so it can be a program name with args.
1204 set dummy $ac_prog; ac_word=$2
1205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1206 echo "configure:1207: checking for $ac_word" >&5
1207 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
1208 echo $ac_n "(cached) $ac_c" 1>&6
1210 if test -n "$YODL"; then
1211 ac_cv_prog_YODL="$YODL" # Let the user override the test.
1213 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1215 for ac_dir in $ac_dummy; do
1216 test -z "$ac_dir" && ac_dir=.
1217 if test -f $ac_dir/$ac_word; then
1218 ac_cv_prog_YODL="$ac_prog"
1225 YODL="$ac_cv_prog_YODL"
1226 if test -n "$YODL"; then
1227 echo "$ac_t""$YODL" 1>&6
1229 echo "$ac_t""no" 1>&6
1232 test -n "$YODL" && break
1234 test -n "$YODL" || YODL="-echo no yodl"
1236 for ac_prog in yodl2html
1238 # Extract the first word of "$ac_prog", so it can be a program name with args.
1239 set dummy $ac_prog; ac_word=$2
1240 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1241 echo "configure:1242: checking for $ac_word" >&5
1242 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
1243 echo $ac_n "(cached) $ac_c" 1>&6
1245 if test -n "$YODL2HTML"; then
1246 ac_cv_prog_YODL2HTML="$YODL2HTML" # Let the user override the test.
1248 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1250 for ac_dir in $ac_dummy; do
1251 test -z "$ac_dir" && ac_dir=.
1252 if test -f $ac_dir/$ac_word; then
1253 ac_cv_prog_YODL2HTML="$ac_prog"
1260 YODL2HTML="$ac_cv_prog_YODL2HTML"
1261 if test -n "$YODL2HTML"; then
1262 echo "$ac_t""$YODL2HTML" 1>&6
1264 echo "$ac_t""no" 1>&6
1267 test -n "$YODL2HTML" && break
1269 test -n "$YODL2HTML" || YODL2HTML="-echo no yodl"
1271 for ac_prog in yodl2latex
1273 # Extract the first word of "$ac_prog", so it can be a program name with args.
1274 set dummy $ac_prog; ac_word=$2
1275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1276 echo "configure:1277: checking for $ac_word" >&5
1277 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1280 if test -n "$YODL2LATEX"; then
1281 ac_cv_prog_YODL2LATEX="$YODL2LATEX" # Let the user override the test.
1283 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1285 for ac_dir in $ac_dummy; do
1286 test -z "$ac_dir" && ac_dir=.
1287 if test -f $ac_dir/$ac_word; then
1288 ac_cv_prog_YODL2LATEX="$ac_prog"
1295 YODL2LATEX="$ac_cv_prog_YODL2LATEX"
1296 if test -n "$YODL2LATEX"; then
1297 echo "$ac_t""$YODL2LATEX" 1>&6
1299 echo "$ac_t""no" 1>&6
1302 test -n "$YODL2LATEX" && break
1305 for ac_prog in yodl2man
1307 # Extract the first word of "$ac_prog", so it can be a program name with args.
1308 set dummy $ac_prog; ac_word=$2
1309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1310 echo "configure:1311: checking for $ac_word" >&5
1311 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
1312 echo $ac_n "(cached) $ac_c" 1>&6
1314 if test -n "$YODL2MAN"; then
1315 ac_cv_prog_YODL2MAN="$YODL2MAN" # Let the user override the test.
1317 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1319 for ac_dir in $ac_dummy; do
1320 test -z "$ac_dir" && ac_dir=.
1321 if test -f $ac_dir/$ac_word; then
1322 ac_cv_prog_YODL2MAN="$ac_prog"
1329 YODL2MAN="$ac_cv_prog_YODL2MAN"
1330 if test -n "$YODL2MAN"; then
1331 echo "$ac_t""$YODL2MAN" 1>&6
1333 echo "$ac_t""no" 1>&6
1336 test -n "$YODL2MAN" && break
1338 test -n "$YODL2MAN" || YODL2MAN="-echo no yodl"
1340 for ac_prog in yodl2msless
1342 # Extract the first word of "$ac_prog", so it can be a program name with args.
1343 set dummy $ac_prog; ac_word=$2
1344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1345 echo "configure:1346: checking for $ac_word" >&5
1346 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
1347 echo $ac_n "(cached) $ac_c" 1>&6
1349 if test -n "$YODL2MSLESS"; then
1350 ac_cv_prog_YODL2MSLESS="$YODL2MSLESS" # Let the user override the test.
1352 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1354 for ac_dir in $ac_dummy; do
1355 test -z "$ac_dir" && ac_dir=.
1356 if test -f $ac_dir/$ac_word; then
1357 ac_cv_prog_YODL2MSLESS="$ac_prog"
1364 YODL2MSLESS="$ac_cv_prog_YODL2MSLESS"
1365 if test -n "$YODL2MSLESS"; then
1366 echo "$ac_t""$YODL2MSLESS" 1>&6
1368 echo "$ac_t""no" 1>&6
1371 test -n "$YODL2MSLESS" && break
1373 test -n "$YODL2MSLESS" || YODL2MSLESS="-echo no yodl"
1375 for ac_prog in yodl2texinfo
1377 # Extract the first word of "$ac_prog", so it can be a program name with args.
1378 set dummy $ac_prog; ac_word=$2
1379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1380 echo "configure:1381: checking for $ac_word" >&5
1381 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
1382 echo $ac_n "(cached) $ac_c" 1>&6
1384 if test -n "$YODL2TEXINFO"; then
1385 ac_cv_prog_YODL2TEXINFO="$YODL2TEXINFO" # Let the user override the test.
1387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1389 for ac_dir in $ac_dummy; do
1390 test -z "$ac_dir" && ac_dir=.
1391 if test -f $ac_dir/$ac_word; then
1392 ac_cv_prog_YODL2TEXINFO="$ac_prog"
1399 YODL2TEXINFO="$ac_cv_prog_YODL2TEXINFO"
1400 if test -n "$YODL2TEXINFO"; then
1401 echo "$ac_t""$YODL2TEXINFO" 1>&6
1403 echo "$ac_t""no" 1>&6
1406 test -n "$YODL2TEXINFO" && break
1408 test -n "$YODL2TEXINFO" || YODL2TEXINFO="-echo no yodl"
1410 for ac_prog in yodl2txt
1412 # Extract the first word of "$ac_prog", so it can be a program name with args.
1413 set dummy $ac_prog; ac_word=$2
1414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1415 echo "configure:1416: checking for $ac_word" >&5
1416 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
1417 echo $ac_n "(cached) $ac_c" 1>&6
1419 if test -n "$YODL2TXT"; then
1420 ac_cv_prog_YODL2TXT="$YODL2TXT" # Let the user override the test.
1422 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1424 for ac_dir in $ac_dummy; do
1425 test -z "$ac_dir" && ac_dir=.
1426 if test -f $ac_dir/$ac_word; then
1427 ac_cv_prog_YODL2TXT="$ac_prog"
1434 YODL2TXT="$ac_cv_prog_YODL2TXT"
1435 if test -n "$YODL2TXT"; then
1436 echo "$ac_t""$YODL2TXT" 1>&6
1438 echo "$ac_t""no" 1>&6
1441 test -n "$YODL2TXT" && break
1443 test -n "$YODL2TXT" || YODL2TXT="-echo no yodl"
1445 YODL2LESS_DIR='$(bindir)/'
1456 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
1458 if test "x$YODL" = "-echo no yodl"; then
1460 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
1466 # AM_PATH_GTK(1.0.0,,AC_MSG_ERROR([please install proper version of gtk]))
1467 # AM_PATH_GTK__(0.9.4,,AC_MSG_ERROR([please install proper version of gtk--]))
1469 for ac_prog in makeinfo
1471 # Extract the first word of "$ac_prog", so it can be a program name with args.
1472 set dummy $ac_prog; ac_word=$2
1473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1474 echo "configure:1475: checking for $ac_word" >&5
1475 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1476 echo $ac_n "(cached) $ac_c" 1>&6
1478 if test -n "$MAKEINFO"; then
1479 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1481 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1483 for ac_dir in $ac_dummy; do
1484 test -z "$ac_dir" && ac_dir=.
1485 if test -f $ac_dir/$ac_word; then
1486 ac_cv_prog_MAKEINFO="$ac_prog"
1493 MAKEINFO="$ac_cv_prog_MAKEINFO"
1494 if test -n "$MAKEINFO"; then
1495 echo "$ac_t""$MAKEINFO" 1>&6
1497 echo "$ac_t""no" 1>&6
1500 test -n "$MAKEINFO" && break
1502 test -n "$MAKEINFO" || MAKEINFO="error"
1504 # AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl,
1505 # You should install Yodl 1.30.pre6 or better)
1509 cat > confcache <<\EOF
1510 # This file is a shell script that caches the results of configure
1511 # tests run on this system so they can be shared between configure
1512 # scripts and configure runs. It is not useful on other systems.
1513 # If it contains results you don't want to keep, you may remove or edit it.
1515 # By default, configure uses ./config.cache as the cache file,
1516 # creating it if it does not exist already. You can give configure
1517 # the --cache-file=FILE option to use a different cache file; that is
1518 # what configure does when it calls configure scripts in
1519 # subdirectories, so they share the cache.
1520 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1521 # config.status only pays attention to the cache file if you give it the
1522 # --recheck option to rerun configure.
1525 # The following way of writing the cache mishandles newlines in values,
1526 # but we know of no workaround that is simple, portable, and efficient.
1527 # So, don't put newlines in cache variables' values.
1528 # Ultrix sh set writes to stderr and can't be redirected directly,
1529 # and sets the high bit in the cache file unless we assign to the vars.
1531 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1533 # `set' does not quote correctly, so add quotes (double-quote substitution
1534 # turns \\\\ into \\, and sed turns \\ into \).
1536 -e "s/'/'\\\\''/g" \
1537 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1540 # `set' quotes correctly as required by POSIX, so do not add quotes.
1541 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1544 if cmp -s $cache_file confcache; then
1547 if test -w $cache_file; then
1548 echo "updating cache $cache_file"
1549 cat confcache > $cache_file
1551 echo "not updating unwritable cache $cache_file"
1556 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1558 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1559 # Let make expand exec_prefix.
1560 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1562 # Any assignment to VPATH causes Sun make to only execute
1563 # the first set of double-colon rules, so remove it if not needed.
1564 # If there is a colon in the path, we need to keep it.
1565 if test "x$srcdir" = x.; then
1566 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1569 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1571 DEFS=-DHAVE_CONFIG_H
1573 # Without the "./", some shells look in PATH for config.status.
1574 : ${CONFIG_STATUS=./config.status}
1576 echo creating $CONFIG_STATUS
1577 rm -f $CONFIG_STATUS
1578 cat > $CONFIG_STATUS <<EOF
1580 # Generated automatically by configure.
1581 # Run this file to recreate the current configuration.
1582 # This directory was configured as follows,
1583 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1585 # $0 $ac_configure_args
1587 # Compiler output produced by configure, useful for debugging
1588 # configure, is in ./config.log if it exists.
1590 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1593 case "\$ac_option" in
1594 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1595 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1596 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1597 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1598 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1600 -help | --help | --hel | --he | --h)
1601 echo "\$ac_cs_usage"; exit 0 ;;
1602 *) echo "\$ac_cs_usage"; exit 1 ;;
1606 ac_given_srcdir=$srcdir
1608 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.hh:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1610 cat >> $CONFIG_STATUS <<EOF
1612 # Protect against being on the right side of a sed subst in config.status.
1613 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1614 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1618 s%@CFLAGS@%$CFLAGS%g
1619 s%@CPPFLAGS@%$CPPFLAGS%g
1620 s%@CXXFLAGS@%$CXXFLAGS%g
1621 s%@FFLAGS@%$FFLAGS%g
1623 s%@LDFLAGS@%$LDFLAGS%g
1625 s%@exec_prefix@%$exec_prefix%g
1626 s%@prefix@%$prefix%g
1627 s%@program_transform_name@%$program_transform_name%g
1628 s%@bindir@%$bindir%g
1629 s%@sbindir@%$sbindir%g
1630 s%@libexecdir@%$libexecdir%g
1631 s%@datadir@%$datadir%g
1632 s%@sysconfdir@%$sysconfdir%g
1633 s%@sharedstatedir@%$sharedstatedir%g
1634 s%@localstatedir@%$localstatedir%g
1635 s%@libdir@%$libdir%g
1636 s%@includedir@%$includedir%g
1637 s%@oldincludedir@%$oldincludedir%g
1638 s%@infodir@%$infodir%g
1639 s%@mandir@%$mandir%g
1640 s%@stepmake@%$stepmake%g
1641 s%@package@%$package%g
1642 s%@PACKAGE@%$PACKAGE%g
1643 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
1644 s%@package_depth@%$package_depth%g
1645 s%@AUTOGENERATE@%$AUTOGENERATE%g
1646 s%@absolute_builddir@%$absolute_builddir%g
1647 s%@STATE_VECTOR@%$STATE_VECTOR%g
1648 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
1650 s%@host_alias@%$host_alias%g
1651 s%@host_cpu@%$host_cpu%g
1652 s%@host_vendor@%$host_vendor%g
1653 s%@host_os@%$host_os%g
1658 s%@PYTHON@%$PYTHON%g
1659 s%@DOTEXE@%$DOTEXE%g
1663 s%@INSTALL@%$INSTALL%g
1664 s%@PATHSEP@%$PATHSEP%g
1665 s%@DIRSEP@%$DIRSEP%g
1666 s%@DIR_DATADIR@%$DIR_DATADIR%g
1667 s%@STRIPROFF@%$STRIPROFF%g
1669 s%@YODL2HTML@%$YODL2HTML%g
1670 s%@YODL2LATEX@%$YODL2LATEX%g
1671 s%@YODL2MAN@%$YODL2MAN%g
1672 s%@YODL2MSLESS@%$YODL2MSLESS%g
1673 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
1674 s%@YODL2TXT@%$YODL2TXT%g
1675 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
1676 s%@MAKEINFO@%$MAKEINFO%g
1681 cat >> $CONFIG_STATUS <<\EOF
1683 # Split the substitutions into bite-sized pieces for seds with
1684 # small command number limits, like on Digital OSF/1 and HP-UX.
1685 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1686 ac_file=1 # Number of current file.
1687 ac_beg=1 # First line for current file.
1688 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1691 while $ac_more_lines; do
1692 if test $ac_beg -gt 1; then
1693 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1695 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1697 if test ! -s conftest.s$ac_file; then
1699 rm -f conftest.s$ac_file
1701 if test -z "$ac_sed_cmds"; then
1702 ac_sed_cmds="sed -f conftest.s$ac_file"
1704 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1706 ac_file=`expr $ac_file + 1`
1708 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1711 if test -z "$ac_sed_cmds"; then
1716 cat >> $CONFIG_STATUS <<EOF
1718 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
1720 cat >> $CONFIG_STATUS <<\EOF
1721 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1722 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1724 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1725 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1726 *) ac_file_in="${ac_file}.in" ;;
1729 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1731 # Remove last slash and all that follows it. Not all systems have dirname.
1732 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1733 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1734 # The file is in a subdirectory.
1735 test ! -d "$ac_dir" && mkdir "$ac_dir"
1736 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1737 # A "../" for each directory in $ac_dir_suffix.
1738 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1740 ac_dir_suffix= ac_dots=
1743 case "$ac_given_srcdir" in
1745 if test -z "$ac_dots"; then top_srcdir=.
1746 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1747 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1749 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1750 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1754 echo creating "$ac_file"
1756 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1758 *Makefile*) ac_comsub="1i\\
1759 # $configure_input" ;;
1763 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1765 s%@configure_input@%$configure_input%g
1766 s%@srcdir@%$srcdir%g
1767 s%@top_srcdir@%$top_srcdir%g
1768 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1772 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1773 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1775 # ac_d sets the value in "#define NAME VALUE" lines.
1776 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1777 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1780 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1781 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1782 ac_uB='\([ ]\)%\1#\2define\3'
1785 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1786 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1787 ac_eB='$%\1#\2define\3'
1791 if test "${CONFIG_HEADERS+set}" != set; then
1793 cat >> $CONFIG_STATUS <<EOF
1794 CONFIG_HEADERS="$CONFIGFILE.hh:config.hh.in"
1796 cat >> $CONFIG_STATUS <<\EOF
1798 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1799 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1801 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1802 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1803 *) ac_file_in="${ac_file}.in" ;;
1806 echo creating $ac_file
1808 rm -f conftest.frag conftest.in conftest.out
1809 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1810 cat $ac_file_inputs > conftest.in
1814 # Transform confdefs.h into a sed script conftest.vals that substitutes
1815 # the proper values into config.h.in to produce config.h. And first:
1816 # Protect against being on the right side of a sed subst in config.status.
1817 # Protect against being in an unquoted here document in config.status.
1819 cat > conftest.hdr <<\EOF
1822 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1826 sed -n -f conftest.hdr confdefs.h > conftest.vals
1829 # This sed command replaces #undef with comments. This is necessary, for
1830 # example, in the case of _POSIX_SOURCE, which is predefined and required
1831 # on some systems where configure will not decide to define it.
1832 cat >> conftest.vals <<\EOF
1833 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1836 # Break up conftest.vals because some shells have a limit on
1837 # the size of here documents, and old seds have small limits too.
1842 ac_lines=`grep -c . conftest.vals`
1843 # grep -c gives empty output for an empty file on some AIX systems.
1844 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1845 # Write a limited-size here document to conftest.frag.
1846 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1847 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1849 sed -f conftest.frag conftest.in > conftest.out
1851 mv conftest.out conftest.in
1853 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1855 mv conftest.tail conftest.vals
1859 cat >> $CONFIG_STATUS <<\EOF
1860 rm -f conftest.frag conftest.h
1861 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1862 cat conftest.in >> conftest.h
1864 if cmp -s $ac_file conftest.h 2>/dev/null; then
1865 echo "$ac_file is unchanged"
1868 # Remove last slash and all that follows it. Not all systems have dirname.
1869 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1870 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1871 # The file is in a subdirectory.
1872 test ! -d "$ac_dir" && mkdir "$ac_dir"
1875 mv conftest.h $ac_file
1880 cat >> $CONFIG_STATUS <<EOF
1883 cat >> $CONFIG_STATUS <<\EOF
1887 chmod +x $CONFIG_STATUS
1888 rm -fr confdefs* $ac_clean_files
1889 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1893 cp make/toplevel.make.in ./GNUmakefile
1894 chmod 444 GNUmakefile