4 --with-gtkmm-prefix=PREFIX
5 Prefix where GTK-- is installed (optional)"
6 # Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
7 if test "${with_gtkmm_prefix+set}" = set; then
8 withval
="$with_gtkmm_prefix"
9 gtkmm_config_prefix
="$withval"
11 gtkmm_config_prefix
=""
15 --with-gtkmm-exec-prefix=PREFIX
16 Exec prefix where GTK-- is installed (optional)"
17 # Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
18 if test "${with_gtkmm_exec_prefix+set}" = set; then
19 withval
="$with_gtkmm_exec_prefix"
20 gtkmm_config_exec_prefix
="$withval"
22 gtkmm_config_exec_prefix
=""
26 --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
27 # Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
28 if test "${enable_gtkmmtest+set}" = set; then
29 enableval
="$enable_gtkmmtest"
36 if test x
$gtkmm_config_exec_prefix != x
; then
37 gtkmm_config_args
="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
38 if test x
${GTKMM_CONFIG+set} != xset
; then
39 GTKMM_CONFIG
=$gtkmm_config_exec_prefix/bin
/gtkmm-config
42 if test x
$gtkmm_config_prefix != x
; then
43 gtkmm_config_args
="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
44 if test x
${GTKMM_CONFIG+set} != xset
; then
45 GTKMM_CONFIG
=$gtkmm_config_prefix/bin
/gtkmm-config
52 # Configure paths for GTK--DRAW
53 # Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.12
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix
=/usr
/local
67 # Any additions from configure.in:
69 enable-config=FILE put configure settings in config-FILE.make"
71 enable-checking set runtime checks (assert calls). Default: on"
73 enable-optimise use maximal speed optimisations. Default: off"
75 enable-profiling compile with gprof support. Default: off"
77 enable-debugging set debug info. Default: on"
79 enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
81 enable-printing turn on debug printing. Default: off"
83 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
85 with-lang=LANG use LANG as language to emit messages"
87 enable-tex-prefix=DIR set the tex-directory to find TeX subdirectories. (default: PREFIX)"
89 enable-tex-dir=DIR set the directory to put $PACKAGE_NAME TeX files in. "
91 enable-mf-dir=DIR set the directory to put $PACKAGE_NAME MetaFont files in. "
93 # Initialize some variables set by options.
94 # The variables have the same names as the options, with
95 # dashes changed to underlines.
97 cache_file
=.
/config.cache
106 program_transform_name
=s
,x
,x
,
114 bindir
='${exec_prefix}/bin'
115 sbindir
='${exec_prefix}/sbin'
116 libexecdir
='${exec_prefix}/libexec'
117 datadir
='${prefix}/share'
118 sysconfdir
='${prefix}/etc'
119 sharedstatedir
='${prefix}/com'
120 localstatedir
='${prefix}/var'
121 libdir
='${exec_prefix}/lib'
122 includedir
='${prefix}/include'
123 oldincludedir
='/usr/include'
124 infodir
='${prefix}/info'
125 mandir
='${prefix}/man'
127 # Initialize some other variables.
130 # Maximum number of lines to put in a shell here document.
137 # If the previous option needs an argument, assign it.
138 if test -n "$ac_prev"; then
139 eval "$ac_prev=\$ac_option"
145 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
149 # Accept the important Cygnus configure options, so we can diagnose typos.
153 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
155 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
156 bindir
="$ac_optarg" ;;
158 -build |
--build |
--buil |
--bui |
--bu)
160 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
161 build
="$ac_optarg" ;;
163 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
164 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
165 ac_prev
=cache_file
;;
166 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
167 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
168 cache_file
="$ac_optarg" ;;
170 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
172 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
174 datadir
="$ac_optarg" ;;
176 -disable-* |
--disable-*)
177 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
178 # Reject names that are not valid shell variable names.
179 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
180 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
182 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
183 eval "enable_${ac_feature}=no" ;;
185 -enable-* |
--enable-*)
186 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
187 # Reject names that are not valid shell variable names.
188 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
189 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
191 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
196 eval "enable_${ac_feature}='$ac_optarg'" ;;
198 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
199 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
200 |
--exec |
--exe |
--ex)
201 ac_prev
=exec_prefix
;;
202 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
203 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
204 |
--exec=* |
--exe=* |
--ex=*)
205 exec_prefix
="$ac_optarg" ;;
207 -gas |
--gas |
--ga |
--g)
208 # Obsolete; use --with-gas.
211 -help |
--help |
--hel |
--he)
212 # Omit some internal or obsolete options to make the list less imposing.
213 # This message is too long to be a string in the A/UX 3.1 sh.
215 Usage: configure [options] [host]
216 Options: [defaults in brackets after descriptions]
218 --cache-file=FILE cache test results in FILE
219 --help print this message
220 --no-create do not create output files
221 --quiet, --silent do not print \`checking...' messages
222 --version print the version of autoconf that created configure
223 Directory and file names:
224 --prefix=PREFIX install architecture-independent files in PREFIX
226 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
228 --bindir=DIR user executables in DIR [EPREFIX/bin]
229 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
230 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
231 --datadir=DIR read-only architecture-independent data in DIR
233 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
234 --sharedstatedir=DIR modifiable architecture-independent data in DIR
236 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
237 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
238 --includedir=DIR C header files in DIR [PREFIX/include]
239 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
240 --infodir=DIR info documentation in DIR [PREFIX/info]
241 --mandir=DIR man documentation in DIR [PREFIX/man]
242 --srcdir=DIR find the sources in DIR [configure dir or ..]
243 --program-prefix=PREFIX prepend PREFIX to installed program names
244 --program-suffix=SUFFIX append SUFFIX to installed program names
245 --program-transform-name=PROGRAM
246 run sed PROGRAM on installed program names
250 --build=BUILD configure for building on BUILD [BUILD=HOST]
251 --host=HOST configure for HOST [guessed]
252 --target=TARGET configure for TARGET [TARGET=HOST]
253 Features and packages:
254 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
255 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
256 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
257 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
258 --x-includes=DIR X include files are in DIR
259 --x-libraries=DIR X library files are in DIR
261 if test -n "$ac_help"; then
262 echo "--enable and --with options recognized:$ac_help"
266 -host |
--host |
--hos |
--ho)
268 -host=* |
--host=* |
--hos=* |
--ho=*)
271 -includedir |
--includedir |
--includedi |
--included |
--include \
272 |
--includ |
--inclu |
--incl |
--inc)
273 ac_prev
=includedir
;;
274 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
275 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
276 includedir
="$ac_optarg" ;;
278 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
280 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
281 infodir
="$ac_optarg" ;;
283 -libdir |
--libdir |
--libdi |
--libd)
285 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
286 libdir
="$ac_optarg" ;;
288 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
289 |
--libexe |
--libex |
--libe)
290 ac_prev
=libexecdir
;;
291 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
292 |
--libexe=* |
--libex=* |
--libe=*)
293 libexecdir
="$ac_optarg" ;;
295 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
296 |
--localstate |
--localstat |
--localsta |
--localst \
297 |
--locals |
--local |
--loca |
--loc |
--lo)
298 ac_prev
=localstatedir
;;
299 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
300 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
301 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
302 localstatedir
="$ac_optarg" ;;
304 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
306 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
307 mandir
="$ac_optarg" ;;
310 # Obsolete; use --without-fp.
313 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
317 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
318 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
321 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
322 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
323 |
--oldin |
--oldi |
--old |
--ol |
--o)
324 ac_prev
=oldincludedir
;;
325 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
326 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
327 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
328 oldincludedir
="$ac_optarg" ;;
330 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
332 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
333 prefix
="$ac_optarg" ;;
335 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
336 |
--program-pre |
--program-pr |
--program-p)
337 ac_prev
=program_prefix
;;
338 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
339 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
340 program_prefix
="$ac_optarg" ;;
342 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
343 |
--program-suf |
--program-su |
--program-s)
344 ac_prev
=program_suffix
;;
345 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
346 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
347 program_suffix
="$ac_optarg" ;;
349 -program-transform-name |
--program-transform-name \
350 |
--program-transform-nam |
--program-transform-na \
351 |
--program-transform-n |
--program-transform- \
352 |
--program-transform |
--program-transfor \
353 |
--program-transfo |
--program-transf \
354 |
--program-trans |
--program-tran \
355 |
--progr-tra |
--program-tr |
--program-t)
356 ac_prev
=program_transform_name
;;
357 -program-transform-name=* |
--program-transform-name=* \
358 |
--program-transform-nam=* |
--program-transform-na=* \
359 |
--program-transform-n=* |
--program-transform-=* \
360 |
--program-transform=* |
--program-transfor=* \
361 |
--program-transfo=* |
--program-transf=* \
362 |
--program-trans=* |
--program-tran=* \
363 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
364 program_transform_name
="$ac_optarg" ;;
366 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
367 |
-silent |
--silent |
--silen |
--sile |
--sil)
370 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
372 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
374 sbindir
="$ac_optarg" ;;
376 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
377 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
378 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
380 ac_prev
=sharedstatedir
;;
381 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
382 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
383 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
385 sharedstatedir
="$ac_optarg" ;;
387 -site |
--site |
--sit)
389 -site=* |
--site=* |
--sit=*)
392 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
394 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
395 srcdir
="$ac_optarg" ;;
397 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
398 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
399 ac_prev
=sysconfdir
;;
400 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
401 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
402 sysconfdir
="$ac_optarg" ;;
404 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
406 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
407 target
="$ac_optarg" ;;
409 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
412 -version |
--version |
--versio |
--versi |
--vers)
413 echo "configure generated by autoconf version 2.12"
417 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
418 # Reject names that are not valid shell variable names.
419 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
420 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
422 ac_package
=`echo $ac_package| sed 's/-/_/g'`
427 eval "with_${ac_package}='$ac_optarg'" ;;
429 -without-* |
--without-*)
430 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
431 # Reject names that are not valid shell variable names.
432 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
433 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
435 ac_package
=`echo $ac_package| sed 's/-/_/g'`
436 eval "with_${ac_package}=no" ;;
439 # Obsolete; use --with-x.
442 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
443 |
--x-incl |
--x-inc |
--x-in |
--x-i)
444 ac_prev
=x_includes
;;
445 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
446 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
447 x_includes
="$ac_optarg" ;;
449 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
450 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
451 ac_prev
=x_libraries
;;
452 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
453 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
454 x_libraries
="$ac_optarg" ;;
456 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
460 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
461 echo "configure: warning: $ac_option: invalid host type" 1>&2
463 if test "x$nonopt" != xNONE
; then
464 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
472 if test -n "$ac_prev"; then
473 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
476 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
478 # File descriptor usage:
481 # 2 errors and warnings
482 # 3 some systems may open it to /dev/tty
483 # 4 used on the Kubota Titan
484 # 6 checking for... messages and results
485 # 5 compiler messages saved in config.log
486 if test "$silent" = yes; then
494 This file contains any messages produced by compilers while
495 running configure, to aid debugging if configure makes a mistake.
498 # Strip out --no-create and --no-recursion so they do not pile up.
499 # Also quote any args containing shell metacharacters.
504 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
505 |
--no-cr |
--no-c) ;;
506 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
507 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
508 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
509 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
510 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
515 # Only set these to C if already set. These must not be set unconditionally
516 # because not all systems understand e.g. LANG=C (notably SCO).
517 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
518 # Non-C LC_CTYPE values break the ctype check.
519 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
520 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
521 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
522 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
524 # confdefs.h avoids OS command line length limits that DEFS can exceed.
525 rm -rf conftest
* confdefs.h
526 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
529 # A filename unique to this package, relative to the directory that
530 # configure is in, which we can look for to find out if srcdir is correct.
531 ac_unique_file
=make
/lilypond.lsm.
in
533 # Find the source files, if location was not specified.
534 if test -z "$srcdir"; then
535 ac_srcdir_defaulted
=yes
536 # Try the directory containing this script, then its parent.
538 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
539 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
541 if test ! -r $srcdir/$ac_unique_file; then
545 ac_srcdir_defaulted
=no
547 if test ! -r $srcdir/$ac_unique_file; then
548 if test "$ac_srcdir_defaulted" = yes; then
549 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
551 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
554 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
556 # Prefer explicitly selected file to automatically selected ones.
557 if test -z "$CONFIG_SITE"; then
558 if test "x$prefix" != xNONE
; then
559 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
561 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
564 for ac_site_file
in $CONFIG_SITE; do
565 if test -r "$ac_site_file"; then
566 echo "loading site script $ac_site_file"
571 if test -r "$cache_file"; then
572 echo "loading cache $cache_file"
575 echo "creating cache $cache_file"
580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
581 ac_cpp
='$CPP $CPPFLAGS'
582 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
583 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
584 cross_compiling
=$ac_cv_prog_cc_cross
586 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
587 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
588 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
595 ac_n
= ac_c
='\c' ac_t
=
601 # Bootstrap StepMake configure
605 FULL_VERSION
=$MAJOR_VERSION.
$MINOR_VERSION.
$PATCH_LEVEL
606 if test x
$MY_PATCH_LEVEL != x
; then
607 FULL_VERSION
=$FULL_VERSION.
$MY_PATCH_LEVEL
610 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
611 PACKAGE
=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
612 package
=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
614 if test "x$PACKAGE" = "xSTEPMAKE"; then
615 echo Stepmake package
!
616 (cd stepmake
; rm -f stepmake
; ln -s ..
/stepmake .
)
617 (cd stepmake
; rm -f bin
; ln -s ..
/bin .
)
619 for ac_dir
in bin
$srcdir/bin
; do
620 if test -f $ac_dir/install-sh
; then
622 ac_install_sh
="$ac_aux_dir/install-sh -c"
624 elif test -f $ac_dir/install.sh
; then
626 ac_install_sh
="$ac_aux_dir/install.sh -c"
630 if test -z "$ac_aux_dir"; then
631 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
633 ac_config_guess
=$ac_aux_dir/config.guess
634 ac_config_sub
=$ac_aux_dir/config.sub
635 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
638 echo Package
: $PACKAGE
640 for ac_dir
in stepmake
/bin
$srcdir/stepmake
/bin
; do
641 if test -f $ac_dir/install-sh
; then
643 ac_install_sh
="$ac_aux_dir/install-sh -c"
645 elif test -f $ac_dir/install.sh
; then
647 ac_install_sh
="$ac_aux_dir/install.sh -c"
651 if test -z "$ac_aux_dir"; then
652 { echo "configure: error: can not find install-sh or install.sh in stepmake/bin $srcdir/stepmake/bin" 1>&2; exit 1; }
654 ac_config_guess
=$ac_aux_dir/config.guess
655 ac_config_sub
=$ac_aux_dir/config.sub
656 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
663 cat >> confdefs.h
<<EOF
664 #define PACKAGE "${PACKAGE_NAME}"
667 cat >> confdefs.h
<<EOF
668 #define TOPLEVEL_VERSION "${FULL_VERSION}"
672 package_depth
=`dirname $cache_file`
675 AUTOGENERATE
="This file was automatically generated by configure"
677 absolute_builddir
="`pwd`"
680 # No versioning on directory names of sub-packages
684 STATE_VECTOR
=`ls make/STATE-VECTOR 2>/dev/null`
685 if test "x$STATE_VECTOR" != "x"; then
686 STATE_VECTOR
="\$(depth)/$STATE_VECTOR"
691 # Check whether --enable-config or --disable-config was given.
692 if test "${enable_config+set}" = set; then
693 enableval
="$enable_config"
694 CONFIGSUFFIX
=$enableval
698 if test "$CONFIGSUFFIX" != "" ; then
699 CONFIGFILE
=config-
$CONFIGSUFFIX
706 # Make sure we can run config.sub.
707 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
708 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
711 echo $ac_n "checking host system type""... $ac_c" 1>&6
712 echo "configure:713: checking host system type" >&5
715 case "$host_alias" in
719 if host_alias
=`$ac_config_guess`; then :
720 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
722 *) host_alias
=$nonopt ;;
726 host=`$ac_config_sub $host_alias`
727 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$host" 1>&6
734 # Extract the first word of "$ac_prog", so it can be a program name with args.
735 set dummy
$ac_prog; ac_word
=$2
736 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
737 echo "configure:738: checking for $ac_word" >&5
738 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
739 echo $ac_n "(cached) $ac_c" 1>&6
741 if test -n "$MAKE"; then
742 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
744 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
745 for ac_dir
in $PATH; do
746 test -z "$ac_dir" && ac_dir
=.
747 if test -f $ac_dir/$ac_word; then
748 ac_cv_prog_MAKE
="$ac_prog"
755 MAKE
="$ac_cv_prog_MAKE"
756 if test -n "$MAKE"; then
757 echo "$ac_t""$MAKE" 1>&6
759 echo "$ac_t""no" 1>&6
762 test -n "$MAKE" && break
764 test -n "$MAKE" || MAKE
="error"
768 # Extract the first word of "$ac_prog", so it can be a program name with args.
769 set dummy
$ac_prog; ac_word
=$2
770 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
771 echo "configure:772: checking for $ac_word" >&5
772 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
773 echo $ac_n "(cached) $ac_c" 1>&6
775 if test -n "$FIND"; then
776 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
778 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
779 for ac_dir
in $PATH; do
780 test -z "$ac_dir" && ac_dir
=.
781 if test -f $ac_dir/$ac_word; then
782 ac_cv_prog_FIND
="$ac_prog"
789 FIND
="$ac_cv_prog_FIND"
790 if test -n "$FIND"; then
791 echo "$ac_t""$FIND" 1>&6
793 echo "$ac_t""no" 1>&6
796 test -n "$FIND" && break
798 test -n "$FIND" || FIND
="error"
805 # Extract the first word of "$ac_prog", so it can be a program name with args.
806 set dummy
$ac_prog; ac_word
=$2
807 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
808 echo "configure:809: checking for $ac_word" >&5
809 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
810 echo $ac_n "(cached) $ac_c" 1>&6
812 if test -n "$TAR"; then
813 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
815 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
816 for ac_dir
in $PATH; do
817 test -z "$ac_dir" && ac_dir
=.
818 if test -f $ac_dir/$ac_word; then
819 ac_cv_prog_TAR
="$ac_prog"
826 TAR
="$ac_cv_prog_TAR"
827 if test -n "$TAR"; then
828 echo "$ac_t""$TAR" 1>&6
830 echo "$ac_t""no" 1>&6
833 test -n "$TAR" && break
835 test -n "$TAR" || TAR
="error"
839 # Extract the first word of "$ac_prog", so it can be a program name with args.
840 set dummy
$ac_prog; ac_word
=$2
841 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
842 echo "configure:843: checking for $ac_word" >&5
843 if eval "test \"`echo '$''{'ac_cv_prog_BASH'+set}'`\" = set"; then
844 echo $ac_n "(cached) $ac_c" 1>&6
846 if test -n "$BASH"; then
847 ac_cv_prog_BASH
="$BASH" # Let the user override the test.
849 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
850 for ac_dir
in $PATH; do
851 test -z "$ac_dir" && ac_dir
=.
852 if test -f $ac_dir/$ac_word; then
853 ac_cv_prog_BASH
="$ac_prog"
860 BASH
="$ac_cv_prog_BASH"
861 if test -n "$BASH"; then
862 echo "$ac_t""$BASH" 1>&6
864 echo "$ac_t""no" 1>&6
867 test -n "$BASH" && break
869 test -n "$BASH" || BASH
="/bin/sh"
872 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
873 set dummy
${PYTHON:-python}; ac_word
=$2
874 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
875 echo "configure:876: checking for $ac_word" >&5
876 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
877 echo $ac_n "(cached) $ac_c" 1>&6
881 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
884 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
885 for ac_dir
in $PATH; do
886 test -z "$ac_dir" && ac_dir
=.
887 if test -f $ac_dir/$ac_word; then
888 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
893 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
897 PYTHON
="$ac_cv_path_PYTHON"
898 if test -n "$PYTHON"; then
899 echo "$ac_t""$PYTHON" 1>&6
901 echo "$ac_t""no" 1>&6
908 result
="`echo \"$MAKE\" | grep echo`"
909 if test "x$MAKE" = "xerror" -o "x$result" != "x"; then
911 echo "configure: warning: can\'t find GNU make. You should install GNU make" 1>&2
916 if test $MAKE != "error" ; then
917 $MAKE -v|
grep GNU
> /dev
/null
921 echo "configure: warning: Please install *GNU* make" 1>&2
928 result
="`echo \"$PYTHON\" | grep echo`"
929 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
931 echo "configure: warning: can\'t find python. You should install Python" 1>&2
937 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
938 LN
=cp # hard link does not work under cygnus-nt
939 LN_S
=cp # symbolic link does not work for native nt
944 INSTALL
="\$(stepdir)/../bin/install-dot-exe.sh -c"
951 INSTALL
="\$(stepdir)/../bin/install-sh -c"
958 cat >> confdefs.h
<<EOF
959 #define DIRSEP '${DIRSEP}'
962 cat >> confdefs.h
<<EOF
963 #define PATHSEP '${PATHSEP}'
971 if test "$datadir" = "\${prefix}/share"; then
972 datadir
='${prefix}/share/'$package
974 DIR_DATADIR
=${datadir}
976 if test "$prefix" = "NONE"; then
977 presome
=${ac_default_prefix}
979 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
982 cat >> confdefs.h
<<EOF
983 #define DIR_DATADIR "${DIR_DATADIR}"
989 # For all packages except the StepMake package itself
993 # Uncomment the configuration options your package needs.
995 # -O is necessary to get inlining
997 CXXFLAGS
=${CXXFLAGS:-""}
1004 # Check whether --enable-checking or --disable-checking was given.
1005 if test "${enable_checking+set}" = set; then
1006 enableval
="$enable_checking"
1007 checking_b
=$enableval
1011 # actually, the default is: tja='-O' to get inlining...
1014 #actually, that sucks.
1015 # tja looks like a typo. Default is optimisation off. --hwn
1017 # Check whether --enable-optimise or --disable-optimise was given.
1018 if test "${enable_optimise+set}" = set; then
1019 enableval
="$enable_optimise"
1020 optimise_b
=$enableval
1024 # Check whether --enable-profiling or --disable-profiling was given.
1025 if test "${enable_profiling+set}" = set; then
1026 enableval
="$enable_profiling"
1027 profile_b
=$enableval
1031 # Check whether --enable-debugging or --disable-debugging was given.
1032 if test "${enable_debugging+set}" = set; then
1033 enableval
="$enable_debugging"
1038 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1039 if test "${enable_mingw_prefix+set}" = set; then
1040 enableval
="$enable_mingw_prefix"
1041 MINGWPREFIX
=$enableval
1047 if test "$printing_b" = no
; then
1049 cat >> confdefs.h
<<\EOF
1053 DEFINES
="$DEFINES -DNPRINT"
1056 if test "$checking_b" = no
; then
1058 cat >> confdefs.h
<<\EOF
1062 DEFINES
="$DEFINES -DNDEBUG"
1065 if test "$optimise_b" = yes; then
1066 OPTIMIZE
="-O2 -finline-functions"
1069 if test "$optimise_b" = no
; then
1073 if test $profile_b = yes; then
1075 OPTIMIZE
="$OPTIMIZE -pg"
1078 if test $debug_b = yes; then
1079 OPTIMIZE
="$OPTIMIZE -g"
1082 # however, C++ support in mingw32 v 0.1.4 is still flaky
1083 if test x
$MINGWPREFIX != xno
; then
1084 ICFLAGS
="-I$MINGWPREFIX/include"
1085 ILDFLAGS
="-$MINGWPREFIX/lib"
1088 # Extract the first word of "gcc", so it can be a program name with args.
1089 set dummy gcc
; ac_word
=$2
1090 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1091 echo "configure:1092: checking for $ac_word" >&5
1092 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1093 echo $ac_n "(cached) $ac_c" 1>&6
1095 if test -n "$CC"; then
1096 ac_cv_prog_CC
="$CC" # Let the user override the test.
1098 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1099 for ac_dir
in $PATH; do
1100 test -z "$ac_dir" && ac_dir
=.
1101 if test -f $ac_dir/$ac_word; then
1110 if test -n "$CC"; then
1111 echo "$ac_t""$CC" 1>&6
1113 echo "$ac_t""no" 1>&6
1116 if test -z "$CC"; then
1117 # Extract the first word of "cc", so it can be a program name with args.
1118 set dummy cc
; ac_word
=$2
1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1120 echo "configure:1121: checking for $ac_word" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 if test -n "$CC"; then
1125 ac_cv_prog_CC
="$CC" # Let the user override the test.
1127 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1129 for ac_dir
in $PATH; do
1130 test -z "$ac_dir" && ac_dir
=.
1131 if test -f $ac_dir/$ac_word; then
1132 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1133 ac_prog_rejected
=yes
1141 if test $ac_prog_rejected = yes; then
1142 # We found a bogon in the path, so make sure we never use it.
1143 set dummy
$ac_cv_prog_CC
1145 if test $# -gt 0; then
1146 # We chose a different compiler from the bogus one.
1147 # However, it has the same basename, so the bogon will be chosen
1148 # first if we set CC to just the basename; use the full file name.
1150 set dummy
"$ac_dir/$ac_word" "$@"
1158 if test -n "$CC"; then
1159 echo "$ac_t""$CC" 1>&6
1161 echo "$ac_t""no" 1>&6
1164 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1167 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1168 echo "configure:1169: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1172 ac_cpp
='$CPP $CPPFLAGS'
1173 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1174 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1175 cross_compiling
=$ac_cv_prog_cc_cross
1177 cat > conftest.
$ac_ext <<EOF
1178 #line 1179 "configure"
1179 #include "confdefs.h"
1182 if { (eval echo configure
:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1183 ac_cv_prog_cc_works
=yes
1184 # If we can't run a trivial program, we are probably using a cross compiler.
1185 if (.
/conftest
; exit) 2>/dev
/null
; then
1186 ac_cv_prog_cc_cross
=no
1188 ac_cv_prog_cc_cross
=yes
1191 echo "configure: failed program was:" >&5
1192 cat conftest.
$ac_ext >&5
1193 ac_cv_prog_cc_works
=no
1197 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1198 if test $ac_cv_prog_cc_works = no
; then
1199 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1201 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1202 echo "configure:1203: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1203 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1204 cross_compiling
=$ac_cv_prog_cc_cross
1206 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1207 echo "configure:1208: checking whether we are using GNU C" >&5
1208 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1209 echo $ac_n "(cached) $ac_c" 1>&6
1211 cat > conftest.c
<<EOF
1216 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1223 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1225 if test $ac_cv_prog_gcc = yes; then
1227 ac_test_CFLAGS
="${CFLAGS+set}"
1228 ac_save_CFLAGS
="$CFLAGS"
1230 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1231 echo "configure:1232: checking whether ${CC-cc} accepts -g" >&5
1232 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1233 echo $ac_n "(cached) $ac_c" 1>&6
1235 echo 'void f(){}' > conftest.c
1236 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1245 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1246 if test "$ac_test_CFLAGS" = set; then
1247 CFLAGS
="$ac_save_CFLAGS"
1248 elif test $ac_cv_prog_cc_g = yes; then
1255 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1261 CPPFLAGS
=${CPPFLAGS:-""}
1269 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1272 # Check whether --enable-printing or --disable-printing was given.
1273 if test "${enable_printing+set}" = set; then
1274 enableval
="$enable_printing"
1275 printing_b
=$enableval
1279 if test "$optimise_b" = yes; then
1280 DEFINES
="$DEFINES -DSTRING_UTILS_INLINED"
1281 cat >> confdefs.h
<<\EOF
1282 #define STRINGS_UTILS_INLINED 1
1287 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1288 echo "configure:1289: checking how to run the C++ preprocessor" >&5
1289 if test -z "$CXXCPP"; then
1290 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1291 echo $ac_n "(cached) $ac_c" 1>&6
1294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1295 ac_cpp
='$CXXCPP $CPPFLAGS'
1296 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1297 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1298 cross_compiling
=$ac_cv_prog_cxx_cross
1299 CXXCPP
="${CXX-g++} -E"
1300 cat > conftest.
$ac_ext <<EOF
1301 #line 1302 "configure"
1302 #include "confdefs.h"
1305 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1306 { (eval echo configure
:1307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1307 ac_err
=`grep -v '^ *+' conftest.out`
1308 if test -z "$ac_err"; then
1312 echo "configure: failed program was:" >&5
1313 cat conftest.
$ac_ext >&5
1318 ac_cv_prog_CXXCPP
="$CXXCPP"
1321 CXXCPP
="$ac_cv_prog_CXXCPP"
1322 echo "$ac_t""$CXXCPP" 1>&6
1326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1327 ac_cpp
='$CXXCPP $CPPFLAGS'
1328 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1329 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1330 cross_compiling
=$ac_cv_prog_cxx_cross
1332 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1334 # Extract the first word of "$ac_prog", so it can be a program name with args.
1335 set dummy
$ac_prog; ac_word
=$2
1336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1337 echo "configure:1338: checking for $ac_word" >&5
1338 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1339 echo $ac_n "(cached) $ac_c" 1>&6
1341 if test -n "$CXX"; then
1342 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1344 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1345 for ac_dir
in $PATH; do
1346 test -z "$ac_dir" && ac_dir
=.
1347 if test -f $ac_dir/$ac_word; then
1348 ac_cv_prog_CXX
="$ac_prog"
1355 CXX
="$ac_cv_prog_CXX"
1356 if test -n "$CXX"; then
1357 echo "$ac_t""$CXX" 1>&6
1359 echo "$ac_t""no" 1>&6
1362 test -n "$CXX" && break
1364 test -n "$CXX" || CXX
="gcc"
1367 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1368 echo "configure:1369: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1372 ac_cpp
='$CXXCPP $CPPFLAGS'
1373 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1374 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1375 cross_compiling
=$ac_cv_prog_cxx_cross
1377 cat > conftest.
$ac_ext <<EOF
1378 #line 1379 "configure"
1379 #include "confdefs.h"
1382 if { (eval echo configure
:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1383 ac_cv_prog_cxx_works
=yes
1384 # If we can't run a trivial program, we are probably using a cross compiler.
1385 if (.
/conftest
; exit) 2>/dev
/null
; then
1386 ac_cv_prog_cxx_cross
=no
1388 ac_cv_prog_cxx_cross
=yes
1391 echo "configure: failed program was:" >&5
1392 cat conftest.
$ac_ext >&5
1393 ac_cv_prog_cxx_works
=no
1397 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1398 if test $ac_cv_prog_cxx_works = no
; then
1399 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1401 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1402 echo "configure:1403: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1403 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1404 cross_compiling
=$ac_cv_prog_cxx_cross
1406 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1407 echo "configure:1408: checking whether we are using GNU C++" >&5
1408 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1409 echo $ac_n "(cached) $ac_c" 1>&6
1411 cat > conftest.C
<<EOF
1416 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1423 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1425 if test $ac_cv_prog_gxx = yes; then
1427 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1428 ac_save_CXXFLAGS
="$CXXFLAGS"
1430 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1431 echo "configure:1432: checking whether ${CXX-g++} accepts -g" >&5
1432 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1433 echo $ac_n "(cached) $ac_c" 1>&6
1435 echo 'void f(){}' > conftest.cc
1436 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1437 ac_cv_prog_cxx_g
=yes
1445 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1446 if test "$ac_test_CXXFLAGS" = set; then
1447 CXXFLAGS
="$ac_save_CXXFLAGS"
1448 elif test $ac_cv_prog_cxx_g = yes; then
1455 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1459 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1460 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1461 echo "configure:1462: checking for FlexLexer.h" >&5
1462 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1463 echo $ac_n "(cached) $ac_c" 1>&6
1465 cat > conftest.
$ac_ext <<EOF
1466 #line 1467 "configure"
1467 #include "confdefs.h"
1468 #include <FlexLexer.h>
1470 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1471 { (eval echo configure
:1472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1472 ac_err
=`grep -v '^ *+' conftest.out`
1473 if test -z "$ac_err"; then
1475 eval "ac_cv_header_$ac_safe=yes"
1478 echo "configure: failed program was:" >&5
1479 cat conftest.
$ac_ext >&5
1481 eval "ac_cv_header_$ac_safe=no"
1485 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1486 echo "$ac_t""yes" 1>&6
1489 echo "$ac_t""no" 1>&6
1491 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1497 CPPFLAGS
="$CPPFLAGS $DEFINES"
1498 CXXFLAGS
="$CXXFLAGS $OPTIMIZE"
1499 LDFLAGS
=$EXTRA_LIBES
1508 if $CXX --version |
grep '2\.[78]' > /dev
/null ||
1509 $CXX --version |
grep 'egcs' > /dev
/null
1514 echo "configure: warning: can\'t find g++ 2.7" 1>&2
1520 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1521 echo "configure:1522: checking whether explicit instantiation is needed" >&5
1522 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1523 echo $ac_n "(cached) $ac_c" 1>&6
1525 cat > conftest.
$ac_ext <<EOF
1526 #line 1527 "configure"
1527 #include "confdefs.h"
1529 template <class T> struct foo { static int baz; };
1530 template <class T> int foo<T>::baz = 1;
1533 return foo<int>::baz;
1536 if { (eval echo configure
:1537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1538 lily_cv_need_explicit_instantiation
=no
1540 echo "configure: failed program was:" >&5
1541 cat conftest.
$ac_ext >&5
1543 lily_cv_need_explicit_instantiation
=yes
1548 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1549 if test x
"$lily_cv_need_explicit_instantiation"x
= x
"yes"x
; then
1550 cat >> confdefs.h
<<\EOF
1551 #define NEED_EXPLICIT_INSTANTIATION 1
1557 # ugh, automake: we want (and check for) bison
1558 for ac_prog
in 'bison -y' byacc
1560 # Extract the first word of "$ac_prog", so it can be a program name with args.
1561 set dummy
$ac_prog; ac_word
=$2
1562 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1563 echo "configure:1564: checking for $ac_word" >&5
1564 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1565 echo $ac_n "(cached) $ac_c" 1>&6
1567 if test -n "$YACC"; then
1568 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1570 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1571 for ac_dir
in $PATH; do
1572 test -z "$ac_dir" && ac_dir
=.
1573 if test -f $ac_dir/$ac_word; then
1574 ac_cv_prog_YACC
="$ac_prog"
1581 YACC
="$ac_cv_prog_YACC"
1582 if test -n "$YACC"; then
1583 echo "$ac_t""$YACC" 1>&6
1585 echo "$ac_t""no" 1>&6
1588 test -n "$YACC" && break
1590 test -n "$YACC" || YACC
="yacc"
1592 # ugh, automake: we want (and check for) flex
1594 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1598 ac_cv_prog_lex_root
=lex.yy
1600 for ac_prog
in bison
1602 # Extract the first word of "$ac_prog", so it can be a program name with args.
1603 set dummy
$ac_prog; ac_word
=$2
1604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1605 echo "configure:1606: checking for $ac_word" >&5
1606 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1607 echo $ac_n "(cached) $ac_c" 1>&6
1609 if test -n "$BISON"; then
1610 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1612 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1613 for ac_dir
in $PATH; do
1614 test -z "$ac_dir" && ac_dir
=.
1615 if test -f $ac_dir/$ac_word; then
1616 ac_cv_prog_BISON
="$ac_prog"
1623 BISON
="$ac_cv_prog_BISON"
1624 if test -n "$BISON"; then
1625 echo "$ac_t""$BISON" 1>&6
1627 echo "$ac_t""no" 1>&6
1630 test -n "$BISON" && break
1632 test -n "$BISON" || BISON
="error"
1636 # Extract the first word of "$ac_prog", so it can be a program name with args.
1637 set dummy
$ac_prog; ac_word
=$2
1638 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1639 echo "configure:1640: checking for $ac_word" >&5
1640 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1641 echo $ac_n "(cached) $ac_c" 1>&6
1643 if test -n "$FLEX"; then
1644 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
1646 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1647 for ac_dir
in $PATH; do
1648 test -z "$ac_dir" && ac_dir
=.
1649 if test -f $ac_dir/$ac_word; then
1650 ac_cv_prog_FLEX
="$ac_prog"
1657 FLEX
="$ac_cv_prog_FLEX"
1658 if test -n "$FLEX"; then
1659 echo "$ac_t""$FLEX" 1>&6
1661 echo "$ac_t""no" 1>&6
1664 test -n "$FLEX" && break
1666 test -n "$FLEX" || FLEX
="error"
1669 result
="`echo \"$BISON\" | grep echo`"
1670 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1672 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1678 result
="`echo \"$FLEX\" | grep echo`"
1679 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1681 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1687 if test $BISON != "error"; then
1688 bison_version
=`$BISON --version| sed 's/^.*version 1.//g' `
1689 if test $bison_version -lt 25; then
1691 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1703 # Extract the first word of "$ac_prog", so it can be a program name with args.
1704 set dummy
$ac_prog; ac_word
=$2
1705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1706 echo "configure:1707: checking for $ac_word" >&5
1707 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1708 echo $ac_n "(cached) $ac_c" 1>&6
1710 if test -n "$AR"; then
1711 ac_cv_prog_AR
="$AR" # Let the user override the test.
1713 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1714 for ac_dir
in $PATH; do
1715 test -z "$ac_dir" && ac_dir
=.
1716 if test -f $ac_dir/$ac_word; then
1717 ac_cv_prog_AR
="$ac_prog"
1725 if test -n "$AR"; then
1726 echo "$ac_t""$AR" 1>&6
1728 echo "$ac_t""no" 1>&6
1731 test -n "$AR" && break
1733 test -n "$AR" || AR
="error"
1735 # Extract the first word of "ranlib", so it can be a program name with args.
1736 set dummy ranlib
; ac_word
=$2
1737 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1738 echo "configure:1739: checking for $ac_word" >&5
1739 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1740 echo $ac_n "(cached) $ac_c" 1>&6
1742 if test -n "$RANLIB"; then
1743 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1745 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1746 for ac_dir
in $PATH; do
1747 test -z "$ac_dir" && ac_dir
=.
1748 if test -f $ac_dir/$ac_word; then
1749 ac_cv_prog_RANLIB
="ranlib"
1754 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1757 RANLIB
="$ac_cv_prog_RANLIB"
1758 if test -n "$RANLIB"; then
1759 echo "$ac_t""$RANLIB" 1>&6
1761 echo "$ac_t""no" 1>&6
1768 # AC_STEPMAKE_LIBTOOL
1774 # Check whether --with-localedir or --without-localedir was given.
1775 if test "${with_localedir+set}" = set; then
1776 withval
="$with_localedir"
1777 localedir
=$with_localedir
1779 localedir
='${prefix}/share/locale'
1783 # Check whether --with-lang or --without-lang was given.
1784 if test "${with_lang+set}" = set; then
1785 withval
="$with_lang"
1792 echo $ac_n "checking language""... $ac_c" 1>&6
1793 echo "configure:1794: checking language" >&5
1795 En
* | en
* | Am
* | am
* | US
* | us
*)
1797 NL |
nl | Du
* | du
* | Ned
* | ned
*)
1804 echo "$ac_t""$lang" 1>&6
1806 if test "$lang" = "unknown" ; then
1808 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1815 DIR_LOCALEDIR
=${localedir}
1817 if test "$prefix" = "NONE"; then
1818 presome
=${ac_default_prefix}
1820 DIR_LOCALEDIR
=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
1823 cat >> confdefs.h
<<EOF
1824 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
1828 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
1829 echo "configure:1830: checking for gettext in -lintl" >&5
1830 ac_lib_var
=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
1831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1832 echo $ac_n "(cached) $ac_c" 1>&6
1834 ac_save_LIBS
="$LIBS"
1836 cat > conftest.
$ac_ext <<EOF
1837 #line 1838 "configure"
1838 #include "confdefs.h"
1839 /* Override any gcc2 internal prototype to avoid an error. */
1843 /* We use char because int might match the return type of a gcc2
1844 builtin and then its argument prototype would still apply. */
1851 if { (eval echo configure
:1852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1853 eval "ac_cv_lib_$ac_lib_var=yes"
1855 echo "configure: failed program was:" >&5
1856 cat conftest.
$ac_ext >&5
1858 eval "ac_cv_lib_$ac_lib_var=no"
1861 LIBS
="$ac_save_LIBS"
1864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1865 echo "$ac_t""yes" 1>&6
1866 ac_tr_lib
=HAVE_LIB
`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1867 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1868 cat >> confdefs.h
<<EOF
1869 #define $ac_tr_lib 1
1875 echo "$ac_t""no" 1>&6
1878 for ac_func
in gettext
1880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1881 echo "configure:1882: checking for $ac_func" >&5
1882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1883 echo $ac_n "(cached) $ac_c" 1>&6
1885 cat > conftest.
$ac_ext <<EOF
1886 #line 1887 "configure"
1887 #include "confdefs.h"
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $ac_func(); below. */
1891 /* Override any gcc2 internal prototype to avoid an error. */
1895 /* We use char because int might match the return type of a gcc2
1896 builtin and then its argument prototype would still apply. */
1901 /* The GNU C library defines this for functions which it implements
1902 to always fail with ENOSYS. Some functions are actually named
1903 something starting with __ and the normal name is an alias. */
1904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1912 if { (eval echo configure
:1913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1914 eval "ac_cv_func_$ac_func=yes"
1916 echo "configure: failed program was:" >&5
1917 cat conftest.
$ac_ext >&5
1919 eval "ac_cv_func_$ac_func=no"
1924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1925 echo "$ac_t""yes" 1>&6
1926 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1927 cat >> confdefs.h
<<EOF
1928 #define $ac_tr_func 1
1932 echo "$ac_t""no" 1>&6
1938 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
1939 for ac_prog
in msgfmt
1941 # Extract the first word of "$ac_prog", so it can be a program name with args.
1942 set dummy
$ac_prog; ac_word
=$2
1943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1944 echo "configure:1945: checking for $ac_word" >&5
1945 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
1946 echo $ac_n "(cached) $ac_c" 1>&6
1948 if test -n "$MSGFMT"; then
1949 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
1951 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1952 for ac_dir
in $PATH; do
1953 test -z "$ac_dir" && ac_dir
=.
1954 if test -f $ac_dir/$ac_word; then
1955 ac_cv_prog_MSGFMT
="$ac_prog"
1962 MSGFMT
="$ac_cv_prog_MSGFMT"
1963 if test -n "$MSGFMT"; then
1964 echo "$ac_t""$MSGFMT" 1>&6
1966 echo "$ac_t""no" 1>&6
1969 test -n "$MSGFMT" && break
1971 test -n "$MSGFMT" || MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
1973 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
1974 echo "configure:1975: checking whether msgfmt accepts -o" >&5
1975 msgfmt_output
="`msgfmt -o bla 2>&1 | grep usage`"
1976 if test "$msgfmt_output" = ""; then
1977 echo "$ac_t""yes" 1>&6
1980 MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
1981 echo "$ac_t""no" 1>&6
1983 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
1987 if test ! -n "$MSGFMT"; then
1989 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
1995 # Check whether --enable-tex-prefix or --disable-tex-prefix was given.
1996 if test "${enable_tex_prefix+set}" = set; then
1997 enableval
="$enable_tex_prefix"
1998 TEXPREFIX
=$enableval
2004 # Check whether --enable-tex-dir or --disable-tex-dir was given.
2005 if test "${enable_tex_dir+set}" = set; then
2006 enableval
="$enable_tex_dir"
2013 # Check whether --enable-mf-dir or --disable-mf-dir was given.
2014 if test "${enable_mf_dir+set}" = set; then
2015 enableval
="$enable_mf_dir"
2022 if test "x$TEXPREFIX" = xauto
; then
2026 echo $ac_n "checking TeX/MF root dir directory""... $ac_c" 1>&6
2027 echo "configure:2028: checking TeX/MF root dir directory" >&5
2029 find_root_prefix
="$prefix"
2032 test "x$find_root_prefix" = xNONE
&& find_root_prefix
="$ac_default_prefix"
2034 for postfix
in "/lib/tex/" "/lib/texmf" "/lib" "/tex" "/texmf"; do
2035 find_texprefix
="$find_root_prefix$postfix"
2036 if test -d $find_texprefix; then
2037 find_texpostfix
=$postfix
2042 if test "x$find_texpostfix" = x
; then
2043 find_texpostfix
='/lib/texmf/tex'
2045 echo "configure: warning: Cannot determine the TeX-directory. Please use --enable-tex-prefix" 1>&2
2050 find_texprefix
="$find_root_prefix/$find_texpostfix"
2052 # only assign if variablename not empty
2053 if test x
!= "x$TEXPREFIX"; then
2054 TEXPREFIX
='${prefix}'/"$find_texpostfix"
2056 echo "$ac_t""$find_texprefix" 1>&6
2060 find_texprefix
=$TEXPREFIX
2063 if test "x$MFDIR" = xauto
; then
2067 echo $ac_n "checking MF input directory""... $ac_c" 1>&6
2068 echo "configure:2069: checking MF input directory" >&5
2069 find_dirdir
=`(cd $find_texprefix;
2070 $FIND ./ -type d -a -name source -print |sort|head -1|sed 's#^\./##')`
2073 if test "x$find_dirdir" = x
; then
2074 find_dirdir
="/source";
2076 echo "configure: warning: Cannot determine MF input subdirectory. Please set from command-line" 1>&2
2082 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
2084 MFDIR
="$TEXPREFIX/$MFDIR"
2088 if test "x$TEXDIR" = xauto
; then
2092 echo $ac_n "checking TeX input directory""... $ac_c" 1>&6
2093 echo "configure:2094: checking TeX input directory" >&5
2094 find_dirdir
=`(cd $find_texprefix;
2095 $FIND ./ -type d -a -name tex -print |sort|head -1|sed 's#^\./##')`
2098 if test "x$find_dirdir" = x
; then
2101 echo "configure: warning: Cannot determine TeX input subdirectory. Please set from command-line" 1>&2
2107 echo "$ac_t""$find_texprefix/$find_dirdir" 1>&6
2109 TEXDIR
="$TEXPREFIX/$TEXDIR"
2118 if test "x$YODL" = "x"; then
2119 for ac_prog
in striproff
2121 # Extract the first word of "$ac_prog", so it can be a program name with args.
2122 set dummy
$ac_prog; ac_word
=$2
2123 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2124 echo "configure:2125: checking for $ac_word" >&5
2125 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
2126 echo $ac_n "(cached) $ac_c" 1>&6
2128 if test -n "$STRIPROFF"; then
2129 ac_cv_prog_STRIPROFF
="$STRIPROFF" # Let the user override the test.
2131 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2132 for ac_dir
in $PATH; do
2133 test -z "$ac_dir" && ac_dir
=.
2134 if test -f $ac_dir/$ac_word; then
2135 ac_cv_prog_STRIPROFF
="$ac_prog"
2142 STRIPROFF
="$ac_cv_prog_STRIPROFF"
2143 if test -n "$STRIPROFF"; then
2144 echo "$ac_t""$STRIPROFF" 1>&6
2146 echo "$ac_t""no" 1>&6
2149 test -n "$STRIPROFF" && break
2151 test -n "$STRIPROFF" || STRIPROFF
="-echo no striproff"
2155 # Extract the first word of "$ac_prog", so it can be a program name with args.
2156 set dummy
$ac_prog; ac_word
=$2
2157 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2158 echo "configure:2159: checking for $ac_word" >&5
2159 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
2160 echo $ac_n "(cached) $ac_c" 1>&6
2162 if test -n "$YODL"; then
2163 ac_cv_prog_YODL
="$YODL" # Let the user override the test.
2165 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2166 for ac_dir
in $PATH; do
2167 test -z "$ac_dir" && ac_dir
=.
2168 if test -f $ac_dir/$ac_word; then
2169 ac_cv_prog_YODL
="$ac_prog"
2176 YODL
="$ac_cv_prog_YODL"
2177 if test -n "$YODL"; then
2178 echo "$ac_t""$YODL" 1>&6
2180 echo "$ac_t""no" 1>&6
2183 test -n "$YODL" && break
2185 test -n "$YODL" || YODL
="-echo no yodl"
2187 for ac_prog
in yodl2html
2189 # Extract the first word of "$ac_prog", so it can be a program name with args.
2190 set dummy
$ac_prog; ac_word
=$2
2191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2192 echo "configure:2193: checking for $ac_word" >&5
2193 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
2194 echo $ac_n "(cached) $ac_c" 1>&6
2196 if test -n "$YODL2HTML"; then
2197 ac_cv_prog_YODL2HTML
="$YODL2HTML" # Let the user override the test.
2199 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2200 for ac_dir
in $PATH; do
2201 test -z "$ac_dir" && ac_dir
=.
2202 if test -f $ac_dir/$ac_word; then
2203 ac_cv_prog_YODL2HTML
="$ac_prog"
2210 YODL2HTML
="$ac_cv_prog_YODL2HTML"
2211 if test -n "$YODL2HTML"; then
2212 echo "$ac_t""$YODL2HTML" 1>&6
2214 echo "$ac_t""no" 1>&6
2217 test -n "$YODL2HTML" && break
2219 test -n "$YODL2HTML" || YODL2HTML
="-echo no yodl"
2221 for ac_prog
in yodl2latex
2223 # Extract the first word of "$ac_prog", so it can be a program name with args.
2224 set dummy
$ac_prog; ac_word
=$2
2225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2226 echo "configure:2227: checking for $ac_word" >&5
2227 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
2228 echo $ac_n "(cached) $ac_c" 1>&6
2230 if test -n "$YODL2LATEX"; then
2231 ac_cv_prog_YODL2LATEX
="$YODL2LATEX" # Let the user override the test.
2233 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2234 for ac_dir
in $PATH; do
2235 test -z "$ac_dir" && ac_dir
=.
2236 if test -f $ac_dir/$ac_word; then
2237 ac_cv_prog_YODL2LATEX
="$ac_prog"
2244 YODL2LATEX
="$ac_cv_prog_YODL2LATEX"
2245 if test -n "$YODL2LATEX"; then
2246 echo "$ac_t""$YODL2LATEX" 1>&6
2248 echo "$ac_t""no" 1>&6
2251 test -n "$YODL2LATEX" && break
2254 for ac_prog
in yodl2man
2256 # Extract the first word of "$ac_prog", so it can be a program name with args.
2257 set dummy
$ac_prog; ac_word
=$2
2258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2259 echo "configure:2260: checking for $ac_word" >&5
2260 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
2261 echo $ac_n "(cached) $ac_c" 1>&6
2263 if test -n "$YODL2MAN"; then
2264 ac_cv_prog_YODL2MAN
="$YODL2MAN" # Let the user override the test.
2266 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2267 for ac_dir
in $PATH; do
2268 test -z "$ac_dir" && ac_dir
=.
2269 if test -f $ac_dir/$ac_word; then
2270 ac_cv_prog_YODL2MAN
="$ac_prog"
2277 YODL2MAN
="$ac_cv_prog_YODL2MAN"
2278 if test -n "$YODL2MAN"; then
2279 echo "$ac_t""$YODL2MAN" 1>&6
2281 echo "$ac_t""no" 1>&6
2284 test -n "$YODL2MAN" && break
2286 test -n "$YODL2MAN" || YODL2MAN
="-echo no yodl"
2288 for ac_prog
in yodl2msless
2290 # Extract the first word of "$ac_prog", so it can be a program name with args.
2291 set dummy
$ac_prog; ac_word
=$2
2292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2293 echo "configure:2294: checking for $ac_word" >&5
2294 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
2295 echo $ac_n "(cached) $ac_c" 1>&6
2297 if test -n "$YODL2MSLESS"; then
2298 ac_cv_prog_YODL2MSLESS
="$YODL2MSLESS" # Let the user override the test.
2300 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2301 for ac_dir
in $PATH; do
2302 test -z "$ac_dir" && ac_dir
=.
2303 if test -f $ac_dir/$ac_word; then
2304 ac_cv_prog_YODL2MSLESS
="$ac_prog"
2311 YODL2MSLESS
="$ac_cv_prog_YODL2MSLESS"
2312 if test -n "$YODL2MSLESS"; then
2313 echo "$ac_t""$YODL2MSLESS" 1>&6
2315 echo "$ac_t""no" 1>&6
2318 test -n "$YODL2MSLESS" && break
2320 test -n "$YODL2MSLESS" || YODL2MSLESS
="-echo no yodl"
2322 for ac_prog
in yodl2texinfo
2324 # Extract the first word of "$ac_prog", so it can be a program name with args.
2325 set dummy
$ac_prog; ac_word
=$2
2326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2327 echo "configure:2328: checking for $ac_word" >&5
2328 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
2329 echo $ac_n "(cached) $ac_c" 1>&6
2331 if test -n "$YODL2TEXINFO"; then
2332 ac_cv_prog_YODL2TEXINFO
="$YODL2TEXINFO" # Let the user override the test.
2334 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2335 for ac_dir
in $PATH; do
2336 test -z "$ac_dir" && ac_dir
=.
2337 if test -f $ac_dir/$ac_word; then
2338 ac_cv_prog_YODL2TEXINFO
="$ac_prog"
2345 YODL2TEXINFO
="$ac_cv_prog_YODL2TEXINFO"
2346 if test -n "$YODL2TEXINFO"; then
2347 echo "$ac_t""$YODL2TEXINFO" 1>&6
2349 echo "$ac_t""no" 1>&6
2352 test -n "$YODL2TEXINFO" && break
2354 test -n "$YODL2TEXINFO" || YODL2TEXINFO
="-echo no yodl"
2356 for ac_prog
in yodl2txt
2358 # Extract the first word of "$ac_prog", so it can be a program name with args.
2359 set dummy
$ac_prog; ac_word
=$2
2360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2361 echo "configure:2362: checking for $ac_word" >&5
2362 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
2363 echo $ac_n "(cached) $ac_c" 1>&6
2365 if test -n "$YODL2TXT"; then
2366 ac_cv_prog_YODL2TXT
="$YODL2TXT" # Let the user override the test.
2368 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2369 for ac_dir
in $PATH; do
2370 test -z "$ac_dir" && ac_dir
=.
2371 if test -f $ac_dir/$ac_word; then
2372 ac_cv_prog_YODL2TXT
="$ac_prog"
2379 YODL2TXT
="$ac_cv_prog_YODL2TXT"
2380 if test -n "$YODL2TXT"; then
2381 echo "$ac_t""$YODL2TXT" 1>&6
2383 echo "$ac_t""no" 1>&6
2386 test -n "$YODL2TXT" && break
2388 test -n "$YODL2TXT" || YODL2TXT
="-echo no yodl"
2399 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
2401 if test "x$YODL" = "-echo no yodl"; then
2403 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
2411 result
="`echo \"$FIND\" | grep echo`"
2412 if test "x$FIND" = "xerror" -o "x$result" != "x"; then
2414 echo "configure: warning: can\'t find find. Please use --enable-tex-dir" 1>&2
2420 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2421 echo "configure:2422: checking for 8-bit clean memcmp" >&5
2422 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2423 echo $ac_n "(cached) $ac_c" 1>&6
2425 if test "$cross_compiling" = yes; then
2426 ac_cv_func_memcmp_clean
=no
2428 cat > conftest.
$ac_ext <<EOF
2429 #line 2430 "configure"
2430 #include "confdefs.h"
2432 extern "C" void exit(int);
2437 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2438 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2442 if { (eval echo configure
:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2444 ac_cv_func_memcmp_clean
=yes
2446 echo "configure: failed program was:" >&5
2447 cat conftest.
$ac_ext >&5
2449 ac_cv_func_memcmp_clean
=no
2456 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2457 test $ac_cv_func_memcmp_clean = no
&& LIBOBJS
="$LIBOBJS memcmp.o"
2459 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2460 echo "configure:2461: checking for vprintf" >&5
2461 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2462 echo $ac_n "(cached) $ac_c" 1>&6
2464 cat > conftest.
$ac_ext <<EOF
2465 #line 2466 "configure"
2466 #include "confdefs.h"
2467 /* System header to define __stub macros and hopefully few prototypes,
2468 which can conflict with char vprintf(); below. */
2470 /* Override any gcc2 internal prototype to avoid an error. */
2474 /* We use char because int might match the return type of a gcc2
2475 builtin and then its argument prototype would still apply. */
2480 /* The GNU C library defines this for functions which it implements
2481 to always fail with ENOSYS. Some functions are actually named
2482 something starting with __ and the normal name is an alias. */
2483 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2491 if { (eval echo configure
:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2493 eval "ac_cv_func_vprintf=yes"
2495 echo "configure: failed program was:" >&5
2496 cat conftest.
$ac_ext >&5
2498 eval "ac_cv_func_vprintf=no"
2503 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2504 echo "$ac_t""yes" 1>&6
2505 cat >> confdefs.h
<<\EOF
2506 #define HAVE_VPRINTF 1
2510 echo "$ac_t""no" 1>&6
2513 if test "$ac_cv_func_vprintf" != yes; then
2514 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2515 echo "configure:2516: checking for _doprnt" >&5
2516 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2517 echo $ac_n "(cached) $ac_c" 1>&6
2519 cat > conftest.
$ac_ext <<EOF
2520 #line 2521 "configure"
2521 #include "confdefs.h"
2522 /* System header to define __stub macros and hopefully few prototypes,
2523 which can conflict with char _doprnt(); below. */
2525 /* Override any gcc2 internal prototype to avoid an error. */
2529 /* We use char because int might match the return type of a gcc2
2530 builtin and then its argument prototype would still apply. */
2535 /* The GNU C library defines this for functions which it implements
2536 to always fail with ENOSYS. Some functions are actually named
2537 something starting with __ and the normal name is an alias. */
2538 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2546 if { (eval echo configure
:2547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2548 eval "ac_cv_func__doprnt=yes"
2550 echo "configure: failed program was:" >&5
2551 cat conftest.
$ac_ext >&5
2553 eval "ac_cv_func__doprnt=no"
2558 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2559 echo "$ac_t""yes" 1>&6
2560 cat >> confdefs.h
<<\EOF
2561 #define HAVE_DOPRNT 1
2565 echo "$ac_t""no" 1>&6
2570 for ac_func
in memmem snprintf vsnprintf
gettext
2572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2573 echo "configure:2574: checking for $ac_func" >&5
2574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2575 echo $ac_n "(cached) $ac_c" 1>&6
2577 cat > conftest.
$ac_ext <<EOF
2578 #line 2579 "configure"
2579 #include "confdefs.h"
2580 /* System header to define __stub macros and hopefully few prototypes,
2581 which can conflict with char $ac_func(); below. */
2583 /* Override any gcc2 internal prototype to avoid an error. */
2587 /* We use char because int might match the return type of a gcc2
2588 builtin and then its argument prototype would still apply. */
2593 /* The GNU C library defines this for functions which it implements
2594 to always fail with ENOSYS. Some functions are actually named
2595 something starting with __ and the normal name is an alias. */
2596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2604 if { (eval echo configure
:2605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2606 eval "ac_cv_func_$ac_func=yes"
2608 echo "configure: failed program was:" >&5
2609 cat conftest.
$ac_ext >&5
2611 eval "ac_cv_func_$ac_func=no"
2616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2617 echo "$ac_t""yes" 1>&6
2618 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2619 cat >> confdefs.h
<<EOF
2620 #define $ac_tr_func 1
2624 echo "$ac_t""no" 1>&6
2629 cat >> confdefs.h
<<EOF
2630 #define TOPLEVEL_VERSION "${FULL_VERSION}"
2633 cat >> confdefs.h
<<EOF
2634 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
2638 for ac_prog
in makeinfo
2640 # Extract the first word of "$ac_prog", so it can be a program name with args.
2641 set dummy
$ac_prog; ac_word
=$2
2642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2643 echo "configure:2644: checking for $ac_word" >&5
2644 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
2645 echo $ac_n "(cached) $ac_c" 1>&6
2647 if test -n "$MAKEINFO"; then
2648 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2650 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
2651 for ac_dir
in $PATH; do
2652 test -z "$ac_dir" && ac_dir
=.
2653 if test -f $ac_dir/$ac_word; then
2654 ac_cv_prog_MAKEINFO
="$ac_prog"
2661 MAKEINFO
="$ac_cv_prog_MAKEINFO"
2662 if test -n "$MAKEINFO"; then
2663 echo "$ac_t""$MAKEINFO" 1>&6
2665 echo "$ac_t""no" 1>&6
2668 test -n "$MAKEINFO" && break
2670 test -n "$MAKEINFO" || MAKEINFO
="error"
2673 result
="`echo \"$YODL2TEXINFO\" | grep echo`"
2674 if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
2676 echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or better" 1>&2
2684 cat > confcache
<<\EOF
2685 # This file is a shell script that caches the results of configure
2686 # tests run on this system so they can be shared between configure
2687 # scripts and configure runs. It is not useful on other systems.
2688 # If it contains results you don't want to keep, you may remove or edit it.
2690 # By default, configure uses ./config.cache as the cache file,
2691 # creating it if it does not exist already. You can give configure
2692 # the --cache-file=FILE option to use a different cache file; that is
2693 # what configure does when it calls configure scripts in
2694 # subdirectories, so they share the cache.
2695 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2696 # config.status only pays attention to the cache file if you give it the
2697 # --recheck option to rerun configure.
2700 # The following way of writing the cache mishandles newlines in values,
2701 # but we know of no workaround that is simple, portable, and efficient.
2702 # So, don't put newlines in cache variables' values.
2703 # Ultrix sh set writes to stderr and can't be redirected directly,
2704 # and sets the high bit in the cache file unless we assign to the vars.
2706 case `(ac_space=' '; set) 2>&1` in
2708 # `set' does not quote correctly, so add quotes (double-quote substitution
2709 # turns \\\\ into \\, and sed turns \\ into \).
2711 -e "s/'/'\\\\''/g" \
2712 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2715 # `set' quotes correctly as required by POSIX, so do not add quotes.
2716 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2719 if cmp -s $cache_file confcache
; then
2722 if test -w $cache_file; then
2723 echo "updating cache $cache_file"
2724 cat confcache
> $cache_file
2726 echo "not updating unwritable cache $cache_file"
2731 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2733 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2734 # Let make expand exec_prefix.
2735 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2737 # Any assignment to VPATH causes Sun make to only execute
2738 # the first set of double-colon rules, so remove it if not needed.
2739 # If there is a colon in the path, we need to keep it.
2740 if test "x$srcdir" = x.
; then
2741 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2744 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2746 DEFS
=-DHAVE_CONFIG_H
2748 # Without the "./", some shells look in PATH for config.status.
2749 : ${CONFIG_STATUS=./config.status}
2751 echo creating
$CONFIG_STATUS
2752 rm -f $CONFIG_STATUS
2753 cat > $CONFIG_STATUS <<EOF
2755 # Generated automatically by configure.
2756 # Run this file to recreate the current configuration.
2757 # This directory was configured as follows,
2758 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2760 # $0 $ac_configure_args
2762 # Compiler output produced by configure, useful for debugging
2763 # configure, is in ./config.log if it exists.
2765 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2768 case "\$ac_option" in
2769 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2770 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2771 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2772 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2773 echo "$CONFIG_STATUS generated by autoconf version 2.12"
2775 -help | --help | --hel | --he | --h)
2776 echo "\$ac_cs_usage"; exit 0 ;;
2777 *) echo "\$ac_cs_usage"; exit 1 ;;
2781 ac_given_srcdir=$srcdir
2783 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2785 cat >> $CONFIG_STATUS <<EOF
2787 # Protect against being on the right side of a sed subst in config.status.
2788 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2789 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2792 s%@CFLAGS@%$CFLAGS%g
2793 s%@CPPFLAGS@%$CPPFLAGS%g
2794 s%@CXXFLAGS@%$CXXFLAGS%g
2796 s%@LDFLAGS@%$LDFLAGS%g
2798 s%@exec_prefix@%$exec_prefix%g
2799 s%@prefix@%$prefix%g
2800 s%@program_transform_name@%$program_transform_name%g
2801 s%@bindir@%$bindir%g
2802 s%@sbindir@%$sbindir%g
2803 s%@libexecdir@%$libexecdir%g
2804 s%@datadir@%$datadir%g
2805 s%@sysconfdir@%$sysconfdir%g
2806 s%@sharedstatedir@%$sharedstatedir%g
2807 s%@localstatedir@%$localstatedir%g
2808 s%@libdir@%$libdir%g
2809 s%@includedir@%$includedir%g
2810 s%@oldincludedir@%$oldincludedir%g
2811 s%@infodir@%$infodir%g
2812 s%@mandir@%$mandir%g
2813 s%@package@%$package%g
2814 s%@PACKAGE@%$PACKAGE%g
2815 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
2816 s%@package_depth@%$package_depth%g
2817 s%@AUTOGENERATE@%$AUTOGENERATE%g
2818 s%@absolute_builddir@%$absolute_builddir%g
2819 s%@stepmake@%$stepmake%g
2820 s%@STATE_VECTOR@%$STATE_VECTOR%g
2821 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
2823 s%@host_alias@%$host_alias%g
2824 s%@host_cpu@%$host_cpu%g
2825 s%@host_vendor@%$host_vendor%g
2826 s%@host_os@%$host_os%g
2831 s%@PYTHON@%$PYTHON%g
2832 s%@DOTEXE@%$DOTEXE%g
2836 s%@INSTALL@%$INSTALL%g
2837 s%@PATHSEP@%$PATHSEP%g
2838 s%@DIRSEP@%$DIRSEP%g
2839 s%@DIR_DATADIR@%$DIR_DATADIR%g
2840 s%@subdirs@%$subdirs%g
2843 s%@ICFLAGS@%$ICFLAGS%g
2844 s%@ILDFLAGS@%$ILDFLAGS%g
2845 s%@DEFINES@%$DEFINES%g
2846 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
2848 s%@CXXCPP@%$CXXCPP%g
2853 s%@RANLIB@%$RANLIB%g
2854 s%@localedir@%$localedir%g
2855 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
2856 s%@MSGFMT@%$MSGFMT%g
2857 s%@TEXPREFIX@%$TEXPREFIX%g
2858 s%@TEXDIR@%$TEXDIR%g
2860 s%@STRIPROFF@%$STRIPROFF%g
2862 s%@YODL2HTML@%$YODL2HTML%g
2863 s%@YODL2LATEX@%$YODL2LATEX%g
2864 s%@YODL2MAN@%$YODL2MAN%g
2865 s%@YODL2MSLESS@%$YODL2MSLESS%g
2866 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
2867 s%@YODL2TXT@%$YODL2TXT%g
2868 s%@LIBOBJS@%$LIBOBJS%g
2869 s%@MAKEINFO@%$MAKEINFO%g
2874 cat >> $CONFIG_STATUS <<\EOF
2876 # Split the substitutions into bite-sized pieces for seds with
2877 # small command number limits, like on Digital OSF/1 and HP-UX.
2878 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2879 ac_file
=1 # Number of current file.
2880 ac_beg
=1 # First line for current file.
2881 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2884 while $ac_more_lines; do
2885 if test $ac_beg -gt 1; then
2886 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2888 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2890 if test ! -s conftest.s
$ac_file; then
2892 rm -f conftest.s
$ac_file
2894 if test -z "$ac_sed_cmds"; then
2895 ac_sed_cmds
="sed -f conftest.s$ac_file"
2897 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2899 ac_file
=`expr $ac_file + 1`
2901 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2904 if test -z "$ac_sed_cmds"; then
2909 cat >> $CONFIG_STATUS <<EOF
2911 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
2913 cat >> $CONFIG_STATUS <<\EOF
2914 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2917 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2918 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2919 *) ac_file_in
="${ac_file}.in" ;;
2922 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2924 # Remove last slash and all that follows it. Not all systems have dirname.
2925 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2926 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2927 # The file is in a subdirectory.
2928 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2929 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2930 # A "../" for each directory in $ac_dir_suffix.
2931 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2933 ac_dir_suffix
= ac_dots
=
2936 case "$ac_given_srcdir" in
2938 if test -z "$ac_dots"; then top_srcdir
=.
2939 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2940 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2942 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2943 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2947 echo creating
"$ac_file"
2949 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2951 *Makefile
*) ac_comsub
="1i\\
2952 # $configure_input" ;;
2956 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2958 s%@configure_input@%$configure_input%g
2959 s%@srcdir@%$srcdir%g
2960 s%@top_srcdir@%$top_srcdir%g
2961 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2965 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2966 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2968 # ac_d sets the value in "#define NAME VALUE" lines.
2969 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2970 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2973 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2974 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2975 ac_uB
='\([ ]\)%\1#\2define\3'
2978 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2979 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2980 ac_eB
='$%\1#\2define\3'
2984 if test "${CONFIG_HEADERS+set}" != set; then
2986 cat >> $CONFIG_STATUS <<EOF
2987 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
2989 cat >> $CONFIG_STATUS <<\EOF
2991 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2992 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2994 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2995 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2996 *) ac_file_in
="${ac_file}.in" ;;
2999 echo creating
$ac_file
3001 rm -f conftest.frag conftest.
in conftest.out
3002 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3003 cat $ac_file_inputs > conftest.
in
3007 # Transform confdefs.h into a sed script conftest.vals that substitutes
3008 # the proper values into config.h.in to produce config.h. And first:
3009 # Protect against being on the right side of a sed subst in config.status.
3010 # Protect against being in an unquoted here document in config.status.
3012 cat > conftest.hdr
<<\EOF
3015 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3019 sed -n -f conftest.hdr confdefs.h > conftest.vals
3022 # This sed command replaces #undef with comments. This is necessary, for
3023 # example, in the case of _POSIX_SOURCE, which is predefined and required
3024 # on some systems where configure will not decide to define it.
3025 cat >> conftest.vals <<\EOF
3026 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3029 # Break up conftest.vals because some shells have a limit on
3030 # the size of here documents, and old seds have small limits too.
3035 ac_lines=`grep -c . conftest.vals
`
3036 # grep -c gives empty output for an empty file on some AIX systems.
3037 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3038 # Write a limited-size here document to conftest.frag.
3039 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3040 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3042 sed -f conftest.frag conftest.in > conftest.out
3044 mv conftest.out conftest.in
3046 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3048 mv conftest.tail conftest.vals
3052 cat >> $CONFIG_STATUS <<\EOF
3053 rm -f conftest.frag conftest.h
3054 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3055 cat conftest.in >> conftest.h
3057 if cmp -s $ac_file conftest.h 2>/dev/null; then
3058 echo "$ac_file is unchanged"
3061 # Remove last slash and all that follows it. Not all systems have dirname.
3062 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3063 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3064 # The file is in a subdirectory.
3065 test ! -d "$ac_dir" && mkdir "$ac_dir"
3068 mv conftest.h $ac_file
3073 cat >> $CONFIG_STATUS <<EOF
3076 cat >> $CONFIG_STATUS <<\EOF
3080 chmod +x $CONFIG_STATUS
3081 rm -fr confdefs* $ac_clean_files
3082 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3084 if test "$no_recursion" != yes; then
3086 # Remove --cache-file and --srcdir arguments so they do not pile up.
3087 ac_sub_configure_args=
3089 for ac_arg in $ac_configure_args; do
3090 if test -n "$ac_prev"; then
3095 -cache-file | --cache-file | --cache-fil | --cache-fi \
3096 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3097 ac_prev=cache_file ;;
3098 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3099 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3105 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3109 for ac_config_dir in stepmake; do
3111 # Do not complain, so a configure script can configure whichever
3112 # parts of a large source tree are present.
3113 if test ! -d $srcdir/$ac_config_dir; then
3117 echo configuring in $ac_config_dir
3122 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3124 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3132 # A "../" for each directory in /$ac_config_dir.
3133 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3136 .) # No --srcdir option. We are building in place.
3137 ac_sub_srcdir=$srcdir ;;
3138 /*) # Absolute path.
3139 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3141 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3144 # Check for guested configure; otherwise get Cygnus style configure.
3145 if test -f $ac_sub_srcdir/configure; then
3146 ac_sub_configure=$ac_sub_srcdir/configure
3147 elif test -f $ac_sub_srcdir/configure.in; then
3148 ac_sub_configure=$ac_configure
3150 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3154 # The recursion is here.
3155 if test -n "$ac_sub_configure"; then
3157 # Make the cache file name correct relative to the subdirectory.
3158 case "$cache_file" in
3159 /*) ac_sub_cache_file=$cache_file ;;
3161 ac_sub_cache_file="$ac_dots$cache_file" ;;
3164 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3165 # The eval makes quoting arguments work.
3166 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3169 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3179 cp make/toplevel.make.in ./GNUmakefile
3180 chmod 444 GNUmakefile