4 --with-gtkmm-prefix=PREFIX
5 Prefix where GTK-- is installed (optional)"
6 # Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
7 if test "${with_gtkmm_prefix+set}" = set; then
8 withval
="$with_gtkmm_prefix"
9 gtkmm_config_prefix
="$withval"
11 gtkmm_config_prefix
=""
15 --with-gtkmm-exec-prefix=PREFIX
16 Exec prefix where GTK-- is installed (optional)"
17 # Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
18 if test "${with_gtkmm_exec_prefix+set}" = set; then
19 withval
="$with_gtkmm_exec_prefix"
20 gtkmm_config_exec_prefix
="$withval"
22 gtkmm_config_exec_prefix
=""
26 --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
27 # Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
28 if test "${enable_gtkmmtest+set}" = set; then
29 enableval
="$enable_gtkmmtest"
36 if test x
$gtkmm_config_exec_prefix != x
; then
37 gtkmm_config_args
="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
38 if test x
${GTKMM_CONFIG+set} != xset
; then
39 GTKMM_CONFIG
=$gtkmm_config_exec_prefix/bin
/gtkmm-config
42 if test x
$gtkmm_config_prefix != x
; then
43 gtkmm_config_args
="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
44 if test x
${GTKMM_CONFIG+set} != xset
; then
45 GTKMM_CONFIG
=$gtkmm_config_prefix/bin
/gtkmm-config
52 # Configure paths for GTK--DRAW
53 # Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.13
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix
=/usr
/local
67 # Any additions from configure.in:
69 enable-config=FILE put configure settings in config-FILE.make"
71 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
73 with-lang=LANG use LANG as language to emit messages"
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file
=.
/config.cache
88 program_transform_name
=s
,x
,x
,
96 bindir
='${exec_prefix}/bin'
97 sbindir
='${exec_prefix}/sbin'
98 libexecdir
='${exec_prefix}/libexec'
99 datadir
='${prefix}/share'
100 sysconfdir
='${prefix}/etc'
101 sharedstatedir
='${prefix}/com'
102 localstatedir
='${prefix}/var'
103 libdir
='${exec_prefix}/lib'
104 includedir
='${prefix}/include'
105 oldincludedir
='/usr/include'
106 infodir
='${prefix}/info'
107 mandir
='${prefix}/man'
109 # Initialize some other variables.
112 SHELL
=${CONFIG_SHELL-/bin/sh}
113 # Maximum number of lines to put in a shell here document.
120 # If the previous option needs an argument, assign it.
121 if test -n "$ac_prev"; then
122 eval "$ac_prev=\$ac_option"
128 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
132 # Accept the important Cygnus configure options, so we can diagnose typos.
136 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
138 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
139 bindir
="$ac_optarg" ;;
141 -build |
--build |
--buil |
--bui |
--bu)
143 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
144 build
="$ac_optarg" ;;
146 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
147 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
148 ac_prev
=cache_file
;;
149 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
150 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
151 cache_file
="$ac_optarg" ;;
153 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
155 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
157 datadir
="$ac_optarg" ;;
159 -disable-* |
--disable-*)
160 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}=no" ;;
168 -enable-* |
--enable-*)
169 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
170 # Reject names that are not valid shell variable names.
171 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
172 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
174 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}='$ac_optarg'" ;;
181 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
182 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
183 |
--exec |
--exe |
--ex)
184 ac_prev
=exec_prefix
;;
185 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
186 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
187 |
--exec=* |
--exe=* |
--ex=*)
188 exec_prefix
="$ac_optarg" ;;
190 -gas |
--gas |
--ga |
--g)
191 # Obsolete; use --with-gas.
194 -help |
--help |
--hel |
--he)
195 # Omit some internal or obsolete options to make the list less imposing.
196 # This message is too long to be a string in the A/UX 3.1 sh.
198 Usage: configure [options] [host]
199 Options: [defaults in brackets after descriptions]
201 --cache-file=FILE cache test results in FILE
202 --help print this message
203 --no-create do not create output files
204 --quiet, --silent do not print \`checking...' messages
205 --version print the version of autoconf that created configure
206 Directory and file names:
207 --prefix=PREFIX install architecture-independent files in PREFIX
209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
211 --bindir=DIR user executables in DIR [EPREFIX/bin]
212 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
213 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
214 --datadir=DIR read-only architecture-independent data in DIR
216 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
217 --sharedstatedir=DIR modifiable architecture-independent data in DIR
219 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
220 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
221 --includedir=DIR C header files in DIR [PREFIX/include]
222 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
223 --infodir=DIR info documentation in DIR [PREFIX/info]
224 --mandir=DIR man documentation in DIR [PREFIX/man]
225 --srcdir=DIR find the sources in DIR [configure dir or ..]
226 --program-prefix=PREFIX prepend PREFIX to installed program names
227 --program-suffix=SUFFIX append SUFFIX to installed program names
228 --program-transform-name=PROGRAM
229 run sed PROGRAM on installed program names
233 --build=BUILD configure for building on BUILD [BUILD=HOST]
234 --host=HOST configure for HOST [guessed]
235 --target=TARGET configure for TARGET [TARGET=HOST]
236 Features and packages:
237 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
238 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
241 --x-includes=DIR X include files are in DIR
242 --x-libraries=DIR X library files are in DIR
244 if test -n "$ac_help"; then
245 echo "--enable and --with options recognized:$ac_help"
249 -host |
--host |
--hos |
--ho)
251 -host=* |
--host=* |
--hos=* |
--ho=*)
254 -includedir |
--includedir |
--includedi |
--included |
--include \
255 |
--includ |
--inclu |
--incl |
--inc)
256 ac_prev
=includedir
;;
257 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
258 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
259 includedir
="$ac_optarg" ;;
261 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
263 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
264 infodir
="$ac_optarg" ;;
266 -libdir |
--libdir |
--libdi |
--libd)
268 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
269 libdir
="$ac_optarg" ;;
271 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
272 |
--libexe |
--libex |
--libe)
273 ac_prev
=libexecdir
;;
274 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
275 |
--libexe=* |
--libex=* |
--libe=*)
276 libexecdir
="$ac_optarg" ;;
278 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
279 |
--localstate |
--localstat |
--localsta |
--localst \
280 |
--locals |
--local |
--loca |
--loc |
--lo)
281 ac_prev
=localstatedir
;;
282 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
283 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
284 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
285 localstatedir
="$ac_optarg" ;;
287 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
289 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
290 mandir
="$ac_optarg" ;;
293 # Obsolete; use --without-fp.
296 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
300 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
301 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
304 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
305 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
306 |
--oldin |
--oldi |
--old |
--ol |
--o)
307 ac_prev
=oldincludedir
;;
308 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
309 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
310 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
311 oldincludedir
="$ac_optarg" ;;
313 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
315 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
316 prefix
="$ac_optarg" ;;
318 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
319 |
--program-pre |
--program-pr |
--program-p)
320 ac_prev
=program_prefix
;;
321 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
322 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
323 program_prefix
="$ac_optarg" ;;
325 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
326 |
--program-suf |
--program-su |
--program-s)
327 ac_prev
=program_suffix
;;
328 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
329 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
330 program_suffix
="$ac_optarg" ;;
332 -program-transform-name |
--program-transform-name \
333 |
--program-transform-nam |
--program-transform-na \
334 |
--program-transform-n |
--program-transform- \
335 |
--program-transform |
--program-transfor \
336 |
--program-transfo |
--program-transf \
337 |
--program-trans |
--program-tran \
338 |
--progr-tra |
--program-tr |
--program-t)
339 ac_prev
=program_transform_name
;;
340 -program-transform-name=* |
--program-transform-name=* \
341 |
--program-transform-nam=* |
--program-transform-na=* \
342 |
--program-transform-n=* |
--program-transform-=* \
343 |
--program-transform=* |
--program-transfor=* \
344 |
--program-transfo=* |
--program-transf=* \
345 |
--program-trans=* |
--program-tran=* \
346 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
347 program_transform_name
="$ac_optarg" ;;
349 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
350 |
-silent |
--silent |
--silen |
--sile |
--sil)
353 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
355 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
357 sbindir
="$ac_optarg" ;;
359 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
360 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
361 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
363 ac_prev
=sharedstatedir
;;
364 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
365 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
366 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
368 sharedstatedir
="$ac_optarg" ;;
370 -site |
--site |
--sit)
372 -site=* |
--site=* |
--sit=*)
375 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
377 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
378 srcdir
="$ac_optarg" ;;
380 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
381 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
382 ac_prev
=sysconfdir
;;
383 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
384 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
385 sysconfdir
="$ac_optarg" ;;
387 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
389 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
390 target
="$ac_optarg" ;;
392 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
395 -version |
--version |
--versio |
--versi |
--vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package
=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* |
--without-*)
413 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package
=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
426 |
--x-incl |
--x-inc |
--x-in |
--x-i)
427 ac_prev
=x_includes
;;
428 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
429 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
430 x_includes
="$ac_optarg" ;;
432 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
433 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
434 ac_prev
=x_libraries
;;
435 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
436 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
437 x_libraries
="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE
; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c) ;;
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
491 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest
* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file
=make
/stepmake.lsm.
in
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted
=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted
=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$CONFIG_SITE"; then
541 if test "x$prefix" != xNONE
; then
542 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
544 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 for ac_site_file
in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp
='$CPP $CPPFLAGS'
565 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 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 ${CONFIG_SHELL-/bin/sh} $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
=`${CONFIG_SHELL-/bin/sh} $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=`${CONFIG_SHELL-/bin/sh} $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
=":"
790 for ac_dir
in $ac_dummy; do
791 test -z "$ac_dir" && ac_dir
=.
792 if test -f $ac_dir/$ac_word; then
793 ac_cv_prog_MAKE
="$ac_prog"
800 MAKE
="$ac_cv_prog_MAKE"
801 if test -n "$MAKE"; then
802 echo "$ac_t""$MAKE" 1>&6
804 echo "$ac_t""no" 1>&6
807 test -n "$MAKE" && break
809 test -n "$MAKE" || MAKE
="error"
813 # Extract the first word of "$ac_prog", so it can be a program name with args.
814 set dummy
$ac_prog; ac_word
=$2
815 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
816 echo "configure:817: checking for $ac_word" >&5
817 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
818 echo $ac_n "(cached) $ac_c" 1>&6
820 if test -n "$FIND"; then
821 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
823 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
825 for ac_dir
in $ac_dummy; do
826 test -z "$ac_dir" && ac_dir
=.
827 if test -f $ac_dir/$ac_word; then
828 ac_cv_prog_FIND
="$ac_prog"
835 FIND
="$ac_cv_prog_FIND"
836 if test -n "$FIND"; then
837 echo "$ac_t""$FIND" 1>&6
839 echo "$ac_t""no" 1>&6
842 test -n "$FIND" && break
844 test -n "$FIND" || FIND
="error"
850 # Extract the first word of "$ac_prog", so it can be a program name with args.
851 set dummy
$ac_prog; ac_word
=$2
852 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
853 echo "configure:854: checking for $ac_word" >&5
854 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
855 echo $ac_n "(cached) $ac_c" 1>&6
857 if test -n "$TAR"; then
858 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
860 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
862 for ac_dir
in $ac_dummy; do
863 test -z "$ac_dir" && ac_dir
=.
864 if test -f $ac_dir/$ac_word; then
865 ac_cv_prog_TAR
="$ac_prog"
872 TAR
="$ac_cv_prog_TAR"
873 if test -n "$TAR"; then
874 echo "$ac_t""$TAR" 1>&6
876 echo "$ac_t""no" 1>&6
879 test -n "$TAR" && break
881 test -n "$TAR" || TAR
="error"
885 # Extract the first word of "$ac_prog", so it can be a program name with args.
886 set dummy
$ac_prog; ac_word
=$2
887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
888 echo "configure:889: checking for $ac_word" >&5
889 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
890 echo $ac_n "(cached) $ac_c" 1>&6
892 if test -n "$BASH"; then
893 ac_cv_prog_BASH
="$BASH" # Let the user override the test.
895 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
897 for ac_dir
in $ac_dummy; do
898 test -z "$ac_dir" && ac_dir
=.
899 if test -f $ac_dir/$ac_word; then
900 ac_cv_prog_BASH
="$ac_prog"
907 BASH
="$ac_cv_prog_BASH"
908 if test -n "$BASH"; then
909 echo "$ac_t""$BASH" 1>&6
911 echo "$ac_t""no" 1>&6
914 test -n "$BASH" && break
916 test -n "$BASH" || BASH
="/bin/sh"
919 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
920 set dummy
${PYTHON:-python}; ac_word
=$2
921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
922 echo "configure:923: checking for $ac_word" >&5
923 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
924 echo $ac_n "(cached) $ac_c" 1>&6
928 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
931 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a dos path.
934 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
936 for ac_dir
in $ac_dummy; do
937 test -z "$ac_dir" && ac_dir
=.
938 if test -f $ac_dir/$ac_word; then
939 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
944 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
948 PYTHON
="$ac_cv_path_PYTHON"
949 if test -n "$PYTHON"; then
950 echo "$ac_t""$PYTHON" 1>&6
952 echo "$ac_t""no" 1>&6
957 if test $MAKE != "error" ; then
958 $MAKE -v 2> /dev
/null |
grep GNU
> /dev
/null
962 echo "configure: warning: Please install *GNU* make" 1>&2
969 result
="`echo \"$PYTHON\" | grep echo`"
970 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
972 echo "configure: warning: can\'t find python. You should install Python" 1>&2
978 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
979 LN
=cp # hard link does not work under cygnus-nt
980 LN_S
='cp -r' # symbolic link does not work for native nt
987 # cygwin fixes all these things.
988 # it seems these were used because of dos-style TEXINPUTS and
989 # MFINPUTS needed for miktex.
990 # but this breaks parsing of all other cygwin/unix style paths.
992 # if your (mik)tex breaks, make a:
993 # /usr/local/bin/tex:
995 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1001 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1003 # this way, you may have buildscripts/out/lilypond-profile
1004 # 'automatically' sourced from /usr/etc/profile.d/ too.
1008 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1015 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1022 cat >> confdefs.h
<<EOF
1023 #define DIRSEP '${DIRSEP}'
1026 cat >> confdefs.h
<<EOF
1027 #define PATHSEP '${PATHSEP}'
1035 if test "$datadir" = "\${prefix}/share"; then
1036 datadir
='${prefix}/share/'$package
1038 DIR_DATADIR
=${datadir}
1040 if test "$prefix" = "NONE"; then
1041 presome
=${ac_default_prefix}
1043 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1046 cat >> confdefs.h
<<EOF
1047 #define DIR_DATADIR "${DIR_DATADIR}"
1053 # For all packages except the StepMake package itself
1054 # AC_CONFIG_SUBDIRS(stepmake)
1056 # Uncomment the configuration options your package needs.
1057 # AC_STEPMAKE_COMPILE
1058 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1061 # AC_STEPMAKE_CXXTEMPLATE
1062 # AC_STEPMAKE_LEXYACC
1064 # AC_STEPMAKE_LIBTOOL
1070 # Check whether --with-localedir or --without-localedir was given.
1071 if test "${with_localedir+set}" = set; then
1072 withval
="$with_localedir"
1073 localedir
=$with_localedir
1075 localedir
='${prefix}/share/locale'
1079 # Check whether --with-lang or --without-lang was given.
1080 if test "${with_lang+set}" = set; then
1081 withval
="$with_lang"
1088 echo $ac_n "checking language""... $ac_c" 1>&6
1089 echo "configure:1090: checking language" >&5
1091 En
* | en
* | Am
* | am
* | US
* | us
*)
1093 NL |
nl | Du
* | du
* | Ned
* | ned
*)
1100 echo "$ac_t""$lang" 1>&6
1102 if test "$lang" = "unknown" ; then
1104 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1110 # AC_STEPMAKE_GETTEXT
1112 # AC_STEPMAKE_MSGFMT
1114 # AC_STEPMAKE_TEXMF_DIRS
1116 if test "x$YODL" = "x"; then
1117 for ac_prog
in striproff
1119 # Extract the first word of "$ac_prog", so it can be a program name with args.
1120 set dummy
$ac_prog; ac_word
=$2
1121 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1122 echo "configure:1123: checking for $ac_word" >&5
1123 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
1124 echo $ac_n "(cached) $ac_c" 1>&6
1126 if test -n "$STRIPROFF"; then
1127 ac_cv_prog_STRIPROFF
="$STRIPROFF" # Let the user override the test.
1129 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1131 for ac_dir
in $ac_dummy; do
1132 test -z "$ac_dir" && ac_dir
=.
1133 if test -f $ac_dir/$ac_word; then
1134 ac_cv_prog_STRIPROFF
="$ac_prog"
1141 STRIPROFF
="$ac_cv_prog_STRIPROFF"
1142 if test -n "$STRIPROFF"; then
1143 echo "$ac_t""$STRIPROFF" 1>&6
1145 echo "$ac_t""no" 1>&6
1148 test -n "$STRIPROFF" && break
1150 test -n "$STRIPROFF" || STRIPROFF
="-echo no striproff"
1154 # Extract the first word of "$ac_prog", so it can be a program name with args.
1155 set dummy
$ac_prog; ac_word
=$2
1156 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1157 echo "configure:1158: checking for $ac_word" >&5
1158 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
1159 echo $ac_n "(cached) $ac_c" 1>&6
1161 if test -n "$YODL"; then
1162 ac_cv_prog_YODL
="$YODL" # Let the user override the test.
1164 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1166 for ac_dir
in $ac_dummy; do
1167 test -z "$ac_dir" && ac_dir
=.
1168 if test -f $ac_dir/$ac_word; then
1169 ac_cv_prog_YODL
="$ac_prog"
1176 YODL
="$ac_cv_prog_YODL"
1177 if test -n "$YODL"; then
1178 echo "$ac_t""$YODL" 1>&6
1180 echo "$ac_t""no" 1>&6
1183 test -n "$YODL" && break
1185 test -n "$YODL" || YODL
="-echo no yodl"
1187 for ac_prog
in yodl2html
1189 # Extract the first word of "$ac_prog", so it can be a program name with args.
1190 set dummy
$ac_prog; ac_word
=$2
1191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1192 echo "configure:1193: checking for $ac_word" >&5
1193 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
1194 echo $ac_n "(cached) $ac_c" 1>&6
1196 if test -n "$YODL2HTML"; then
1197 ac_cv_prog_YODL2HTML
="$YODL2HTML" # Let the user override the test.
1199 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1201 for ac_dir
in $ac_dummy; do
1202 test -z "$ac_dir" && ac_dir
=.
1203 if test -f $ac_dir/$ac_word; then
1204 ac_cv_prog_YODL2HTML
="$ac_prog"
1211 YODL2HTML
="$ac_cv_prog_YODL2HTML"
1212 if test -n "$YODL2HTML"; then
1213 echo "$ac_t""$YODL2HTML" 1>&6
1215 echo "$ac_t""no" 1>&6
1218 test -n "$YODL2HTML" && break
1220 test -n "$YODL2HTML" || YODL2HTML
="-echo no yodl"
1222 for ac_prog
in yodl2latex
1224 # Extract the first word of "$ac_prog", so it can be a program name with args.
1225 set dummy
$ac_prog; ac_word
=$2
1226 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1227 echo "configure:1228: checking for $ac_word" >&5
1228 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
1229 echo $ac_n "(cached) $ac_c" 1>&6
1231 if test -n "$YODL2LATEX"; then
1232 ac_cv_prog_YODL2LATEX
="$YODL2LATEX" # Let the user override the test.
1234 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1236 for ac_dir
in $ac_dummy; do
1237 test -z "$ac_dir" && ac_dir
=.
1238 if test -f $ac_dir/$ac_word; then
1239 ac_cv_prog_YODL2LATEX
="$ac_prog"
1246 YODL2LATEX
="$ac_cv_prog_YODL2LATEX"
1247 if test -n "$YODL2LATEX"; then
1248 echo "$ac_t""$YODL2LATEX" 1>&6
1250 echo "$ac_t""no" 1>&6
1253 test -n "$YODL2LATEX" && break
1256 for ac_prog
in yodl2man
1258 # Extract the first word of "$ac_prog", so it can be a program name with args.
1259 set dummy
$ac_prog; ac_word
=$2
1260 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1261 echo "configure:1262: checking for $ac_word" >&5
1262 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
1263 echo $ac_n "(cached) $ac_c" 1>&6
1265 if test -n "$YODL2MAN"; then
1266 ac_cv_prog_YODL2MAN
="$YODL2MAN" # Let the user override the test.
1268 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1270 for ac_dir
in $ac_dummy; do
1271 test -z "$ac_dir" && ac_dir
=.
1272 if test -f $ac_dir/$ac_word; then
1273 ac_cv_prog_YODL2MAN
="$ac_prog"
1280 YODL2MAN
="$ac_cv_prog_YODL2MAN"
1281 if test -n "$YODL2MAN"; then
1282 echo "$ac_t""$YODL2MAN" 1>&6
1284 echo "$ac_t""no" 1>&6
1287 test -n "$YODL2MAN" && break
1289 test -n "$YODL2MAN" || YODL2MAN
="-echo no yodl"
1291 for ac_prog
in yodl2msless
1293 # Extract the first word of "$ac_prog", so it can be a program name with args.
1294 set dummy
$ac_prog; ac_word
=$2
1295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1296 echo "configure:1297: checking for $ac_word" >&5
1297 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
1298 echo $ac_n "(cached) $ac_c" 1>&6
1300 if test -n "$YODL2MSLESS"; then
1301 ac_cv_prog_YODL2MSLESS
="$YODL2MSLESS" # Let the user override the test.
1303 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1305 for ac_dir
in $ac_dummy; do
1306 test -z "$ac_dir" && ac_dir
=.
1307 if test -f $ac_dir/$ac_word; then
1308 ac_cv_prog_YODL2MSLESS
="$ac_prog"
1315 YODL2MSLESS
="$ac_cv_prog_YODL2MSLESS"
1316 if test -n "$YODL2MSLESS"; then
1317 echo "$ac_t""$YODL2MSLESS" 1>&6
1319 echo "$ac_t""no" 1>&6
1322 test -n "$YODL2MSLESS" && break
1324 test -n "$YODL2MSLESS" || YODL2MSLESS
="-echo no yodl"
1326 for ac_prog
in yodl2texinfo
1328 # Extract the first word of "$ac_prog", so it can be a program name with args.
1329 set dummy
$ac_prog; ac_word
=$2
1330 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1331 echo "configure:1332: checking for $ac_word" >&5
1332 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
1333 echo $ac_n "(cached) $ac_c" 1>&6
1335 if test -n "$YODL2TEXINFO"; then
1336 ac_cv_prog_YODL2TEXINFO
="$YODL2TEXINFO" # Let the user override the test.
1338 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1340 for ac_dir
in $ac_dummy; do
1341 test -z "$ac_dir" && ac_dir
=.
1342 if test -f $ac_dir/$ac_word; then
1343 ac_cv_prog_YODL2TEXINFO
="$ac_prog"
1350 YODL2TEXINFO
="$ac_cv_prog_YODL2TEXINFO"
1351 if test -n "$YODL2TEXINFO"; then
1352 echo "$ac_t""$YODL2TEXINFO" 1>&6
1354 echo "$ac_t""no" 1>&6
1357 test -n "$YODL2TEXINFO" && break
1359 test -n "$YODL2TEXINFO" || YODL2TEXINFO
="-echo no yodl"
1361 for ac_prog
in yodl2txt
1363 # Extract the first word of "$ac_prog", so it can be a program name with args.
1364 set dummy
$ac_prog; ac_word
=$2
1365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1366 echo "configure:1367: checking for $ac_word" >&5
1367 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
1368 echo $ac_n "(cached) $ac_c" 1>&6
1370 if test -n "$YODL2TXT"; then
1371 ac_cv_prog_YODL2TXT
="$YODL2TXT" # Let the user override the test.
1373 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1375 for ac_dir
in $ac_dummy; do
1376 test -z "$ac_dir" && ac_dir
=.
1377 if test -f $ac_dir/$ac_word; then
1378 ac_cv_prog_YODL2TXT
="$ac_prog"
1385 YODL2TXT
="$ac_cv_prog_YODL2TXT"
1386 if test -n "$YODL2TXT"; then
1387 echo "$ac_t""$YODL2TXT" 1>&6
1389 echo "$ac_t""no" 1>&6
1392 test -n "$YODL2TXT" && break
1394 test -n "$YODL2TXT" || YODL2TXT
="-echo no yodl"
1396 YODL2LESS_DIR
='$(bindir)/'
1407 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
1409 if test "x$YODL" = "-echo no yodl"; then
1411 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
1417 # AM_PATH_GTK(1.0.0,,AC_MSG_ERROR([please install proper version of gtk]))
1418 # AM_PATH_GTK__(0.9.4,,AC_MSG_ERROR([please install proper version of gtk--]))
1420 for ac_prog
in makeinfo
1422 # Extract the first word of "$ac_prog", so it can be a program name with args.
1423 set dummy
$ac_prog; ac_word
=$2
1424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1425 echo "configure:1426: checking for $ac_word" >&5
1426 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1427 echo $ac_n "(cached) $ac_c" 1>&6
1429 if test -n "$MAKEINFO"; then
1430 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
1432 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1434 for ac_dir
in $ac_dummy; do
1435 test -z "$ac_dir" && ac_dir
=.
1436 if test -f $ac_dir/$ac_word; then
1437 ac_cv_prog_MAKEINFO
="$ac_prog"
1444 MAKEINFO
="$ac_cv_prog_MAKEINFO"
1445 if test -n "$MAKEINFO"; then
1446 echo "$ac_t""$MAKEINFO" 1>&6
1448 echo "$ac_t""no" 1>&6
1451 test -n "$MAKEINFO" && break
1453 test -n "$MAKEINFO" || MAKEINFO
="error"
1455 # AC_CHECK_SEARCH_RESULT($YODL2TEXINFO, yodl,
1456 # You should install Yodl 1.30.pre6 or better)
1460 cat > confcache
<<\EOF
1461 # This file is a shell script that caches the results of configure
1462 # tests run on this system so they can be shared between configure
1463 # scripts and configure runs. It is not useful on other systems.
1464 # If it contains results you don't want to keep, you may remove or edit it.
1466 # By default, configure uses ./config.cache as the cache file,
1467 # creating it if it does not exist already. You can give configure
1468 # the --cache-file=FILE option to use a different cache file; that is
1469 # what configure does when it calls configure scripts in
1470 # subdirectories, so they share the cache.
1471 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1472 # config.status only pays attention to the cache file if you give it the
1473 # --recheck option to rerun configure.
1476 # The following way of writing the cache mishandles newlines in values,
1477 # but we know of no workaround that is simple, portable, and efficient.
1478 # So, don't put newlines in cache variables' values.
1479 # Ultrix sh set writes to stderr and can't be redirected directly,
1480 # and sets the high bit in the cache file unless we assign to the vars.
1482 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1484 # `set' does not quote correctly, so add quotes (double-quote substitution
1485 # turns \\\\ into \\, and sed turns \\ into \).
1487 -e "s/'/'\\\\''/g" \
1488 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1491 # `set' quotes correctly as required by POSIX, so do not add quotes.
1492 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1495 if cmp -s $cache_file confcache
; then
1498 if test -w $cache_file; then
1499 echo "updating cache $cache_file"
1500 cat confcache
> $cache_file
1502 echo "not updating unwritable cache $cache_file"
1507 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1509 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1510 # Let make expand exec_prefix.
1511 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1513 # Any assignment to VPATH causes Sun make to only execute
1514 # the first set of double-colon rules, so remove it if not needed.
1515 # If there is a colon in the path, we need to keep it.
1516 if test "x$srcdir" = x.
; then
1517 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1520 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1522 DEFS
=-DHAVE_CONFIG_H
1524 # Without the "./", some shells look in PATH for config.status.
1525 : ${CONFIG_STATUS=./config.status}
1527 echo creating
$CONFIG_STATUS
1528 rm -f $CONFIG_STATUS
1529 cat > $CONFIG_STATUS <<EOF
1531 # Generated automatically by configure.
1532 # Run this file to recreate the current configuration.
1533 # This directory was configured as follows,
1534 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1536 # $0 $ac_configure_args
1538 # Compiler output produced by configure, useful for debugging
1539 # configure, is in ./config.log if it exists.
1541 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1544 case "\$ac_option" in
1545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1546 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1547 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1548 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1549 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1551 -help | --help | --hel | --he | --h)
1552 echo "\$ac_cs_usage"; exit 0 ;;
1553 *) echo "\$ac_cs_usage"; exit 1 ;;
1557 ac_given_srcdir=$srcdir
1559 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.hh:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1561 cat >> $CONFIG_STATUS <<EOF
1563 # Protect against being on the right side of a sed subst in config.status.
1564 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1565 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1569 s%@CFLAGS@%$CFLAGS%g
1570 s%@CPPFLAGS@%$CPPFLAGS%g
1571 s%@CXXFLAGS@%$CXXFLAGS%g
1572 s%@FFLAGS@%$FFLAGS%g
1574 s%@LDFLAGS@%$LDFLAGS%g
1576 s%@exec_prefix@%$exec_prefix%g
1577 s%@prefix@%$prefix%g
1578 s%@program_transform_name@%$program_transform_name%g
1579 s%@bindir@%$bindir%g
1580 s%@sbindir@%$sbindir%g
1581 s%@libexecdir@%$libexecdir%g
1582 s%@datadir@%$datadir%g
1583 s%@sysconfdir@%$sysconfdir%g
1584 s%@sharedstatedir@%$sharedstatedir%g
1585 s%@localstatedir@%$localstatedir%g
1586 s%@libdir@%$libdir%g
1587 s%@includedir@%$includedir%g
1588 s%@oldincludedir@%$oldincludedir%g
1589 s%@infodir@%$infodir%g
1590 s%@mandir@%$mandir%g
1591 s%@stepmake@%$stepmake%g
1592 s%@package@%$package%g
1593 s%@PACKAGE@%$PACKAGE%g
1594 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
1595 s%@package_depth@%$package_depth%g
1596 s%@AUTOGENERATE@%$AUTOGENERATE%g
1597 s%@absolute_builddir@%$absolute_builddir%g
1598 s%@STATE_VECTOR@%$STATE_VECTOR%g
1599 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
1601 s%@host_alias@%$host_alias%g
1602 s%@host_cpu@%$host_cpu%g
1603 s%@host_vendor@%$host_vendor%g
1604 s%@host_os@%$host_os%g
1609 s%@PYTHON@%$PYTHON%g
1610 s%@DOTEXE@%$DOTEXE%g
1614 s%@INSTALL@%$INSTALL%g
1615 s%@PATHSEP@%$PATHSEP%g
1616 s%@DIRSEP@%$DIRSEP%g
1617 s%@DIR_DATADIR@%$DIR_DATADIR%g
1618 s%@STRIPROFF@%$STRIPROFF%g
1620 s%@YODL2HTML@%$YODL2HTML%g
1621 s%@YODL2LATEX@%$YODL2LATEX%g
1622 s%@YODL2MAN@%$YODL2MAN%g
1623 s%@YODL2MSLESS@%$YODL2MSLESS%g
1624 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
1625 s%@YODL2TXT@%$YODL2TXT%g
1626 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
1627 s%@MAKEINFO@%$MAKEINFO%g
1632 cat >> $CONFIG_STATUS <<\EOF
1634 # Split the substitutions into bite-sized pieces for seds with
1635 # small command number limits, like on Digital OSF/1 and HP-UX.
1636 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
1637 ac_file
=1 # Number of current file.
1638 ac_beg
=1 # First line for current file.
1639 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
1642 while $ac_more_lines; do
1643 if test $ac_beg -gt 1; then
1644 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
1646 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
1648 if test ! -s conftest.s
$ac_file; then
1650 rm -f conftest.s
$ac_file
1652 if test -z "$ac_sed_cmds"; then
1653 ac_sed_cmds
="sed -f conftest.s$ac_file"
1655 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
1657 ac_file
=`expr $ac_file + 1`
1659 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
1662 if test -z "$ac_sed_cmds"; then
1667 cat >> $CONFIG_STATUS <<EOF
1669 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
1671 cat >> $CONFIG_STATUS <<\EOF
1672 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
1673 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1675 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
1676 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1677 *) ac_file_in
="${ac_file}.in" ;;
1680 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1682 # Remove last slash and all that follows it. Not all systems have dirname.
1683 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1684 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
1685 # The file is in a subdirectory.
1686 test ! -d "$ac_dir" && mkdir
"$ac_dir"
1687 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
1688 # A "../" for each directory in $ac_dir_suffix.
1689 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1691 ac_dir_suffix
= ac_dots
=
1694 case "$ac_given_srcdir" in
1696 if test -z "$ac_dots"; then top_srcdir
=.
1697 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1698 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
1700 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1701 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
1705 echo creating
"$ac_file"
1707 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1709 *Makefile
*) ac_comsub
="1i\\
1710 # $configure_input" ;;
1714 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1716 s%@configure_input@%$configure_input%g
1717 s%@srcdir@%$srcdir%g
1718 s%@top_srcdir@%$top_srcdir%g
1719 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
1723 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1724 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1726 # ac_d sets the value in "#define NAME VALUE" lines.
1727 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1728 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
1731 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1732 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1733 ac_uB
='\([ ]\)%\1#\2define\3'
1736 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1737 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1738 ac_eB
='$%\1#\2define\3'
1742 if test "${CONFIG_HEADERS+set}" != set; then
1744 cat >> $CONFIG_STATUS <<EOF
1745 CONFIG_HEADERS="$CONFIGFILE.hh:config.hh.in"
1747 cat >> $CONFIG_STATUS <<\EOF
1749 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
1750 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1752 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
1753 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1754 *) ac_file_in
="${ac_file}.in" ;;
1757 echo creating
$ac_file
1759 rm -f conftest.frag conftest.
in conftest.out
1760 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1761 cat $ac_file_inputs > conftest.
in
1765 # Transform confdefs.h into a sed script conftest.vals that substitutes
1766 # the proper values into config.h.in to produce config.h. And first:
1767 # Protect against being on the right side of a sed subst in config.status.
1768 # Protect against being in an unquoted here document in config.status.
1770 cat > conftest.hdr
<<\EOF
1773 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1777 sed -n -f conftest.hdr confdefs.h > conftest.vals
1780 # This sed command replaces #undef with comments. This is necessary, for
1781 # example, in the case of _POSIX_SOURCE, which is predefined and required
1782 # on some systems where configure will not decide to define it.
1783 cat >> conftest.vals <<\EOF
1784 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1787 # Break up conftest.vals because some shells have a limit on
1788 # the size of here documents, and old seds have small limits too.
1793 ac_lines=`grep -c . conftest.vals
`
1794 # grep -c gives empty output for an empty file on some AIX systems.
1795 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1796 # Write a limited-size here document to conftest.frag.
1797 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1798 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1800 sed -f conftest.frag conftest.in > conftest.out
1802 mv conftest.out conftest.in
1804 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1806 mv conftest.tail conftest.vals
1810 cat >> $CONFIG_STATUS <<\EOF
1811 rm -f conftest.frag conftest.h
1812 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1813 cat conftest.in >> conftest.h
1815 if cmp -s $ac_file conftest.h 2>/dev/null; then
1816 echo "$ac_file is unchanged"
1819 # Remove last slash and all that follows it. Not all systems have dirname.
1820 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1821 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1822 # The file is in a subdirectory.
1823 test ! -d "$ac_dir" && mkdir "$ac_dir"
1826 mv conftest.h $ac_file
1831 cat >> $CONFIG_STATUS <<EOF
1834 cat >> $CONFIG_STATUS <<\EOF
1838 chmod +x $CONFIG_STATUS
1839 rm -fr confdefs* $ac_clean_files
1840 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1844 cp make/toplevel.make.in ./GNUmakefile
1845 chmod 444 GNUmakefile