4 --with-gtkmm-prefix=PREFIX
5 Prefix where GTK-- is installed (optional)"
6 # Check whether --with-gtkmm-prefix or --without-gtkmm-prefix was given.
7 if test "${with_gtkmm_prefix+set}" = set; then
8 withval
="$with_gtkmm_prefix"
9 gtkmm_config_prefix
="$withval"
11 gtkmm_config_prefix
=""
15 --with-gtkmm-exec-prefix=PREFIX
16 Exec prefix where GTK-- is installed (optional)"
17 # Check whether --with-gtkmm-exec-prefix or --without-gtkmm-exec-prefix was given.
18 if test "${with_gtkmm_exec_prefix+set}" = set; then
19 withval
="$with_gtkmm_exec_prefix"
20 gtkmm_config_exec_prefix
="$withval"
22 gtkmm_config_exec_prefix
=""
26 --disable-gtkmmtest Do not try to compile and run a test GTK-- program"
27 # Check whether --enable-gtkmmtest or --disable-gtkmmtest was given.
28 if test "${enable_gtkmmtest+set}" = set; then
29 enableval
="$enable_gtkmmtest"
36 if test x
$gtkmm_config_exec_prefix != x
; then
37 gtkmm_config_args
="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
38 if test x
${GTKMM_CONFIG+set} != xset
; then
39 GTKMM_CONFIG
=$gtkmm_config_exec_prefix/bin
/gtkmm-config
42 if test x
$gtkmm_config_prefix != x
; then
43 gtkmm_config_args
="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
44 if test x
${GTKMM_CONFIG+set} != xset
; then
45 GTKMM_CONFIG
=$gtkmm_config_prefix/bin
/gtkmm-config
52 # Configure paths for GTK--DRAW
53 # Derek Quinn Wyatt 98-08-21 (adapted from Jan Nieuwenhuizen's code)
60 # Guess values for system-dependent variables and create Makefiles.
61 # Generated automatically using autoconf version 2.13
62 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
64 # This configure script is free software; the Free Software Foundation
65 # gives unlimited permission to copy, distribute and modify it.
69 ac_default_prefix
=/usr
/local
70 # Any additions from configure.in:
72 enable-config=FILE put configure settings in config-FILE.make"
74 enable-checking set runtime checks (assert calls). Default: on"
76 enable-optimise use maximal speed optimisations. Default: off"
78 enable-profiling compile with gprof support. Default: off"
80 enable-debugging set debug info. Default: on"
82 enable-mingw-prefix=DIR set the mingw32 directory (standalone windows32 exes)"
84 enable-printing turn on debug printing. Default: off"
86 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
88 with-lang=LANG use LANG as language to emit messages"
90 enable-tex-tfmdir=DIR set the tex-directory where cmr10.tfm lives (default: use kpsewhich)"
92 # Initialize some variables set by options.
93 # The variables have the same names as the options, with
94 # dashes changed to underlines.
96 cache_file
=.
/config.cache
105 program_transform_name
=s
,x
,x
,
113 bindir
='${exec_prefix}/bin'
114 sbindir
='${exec_prefix}/sbin'
115 libexecdir
='${exec_prefix}/libexec'
116 datadir
='${prefix}/share'
117 sysconfdir
='${prefix}/etc'
118 sharedstatedir
='${prefix}/com'
119 localstatedir
='${prefix}/var'
120 libdir
='${exec_prefix}/lib'
121 includedir
='${prefix}/include'
122 oldincludedir
='/usr/include'
123 infodir
='${prefix}/info'
124 mandir
='${prefix}/man'
126 # Initialize some other variables.
129 SHELL
=${CONFIG_SHELL-/bin/sh}
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.13"
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${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
584 cross_compiling
=$ac_cv_prog_cc_cross
588 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
589 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
590 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
597 ac_n
= ac_c
='\c' ac_t
=
603 # Bootstrap StepMake configure
607 FULL_VERSION
=$MAJOR_VERSION.
$MINOR_VERSION.
$PATCH_LEVEL
608 if test x
$MY_PATCH_LEVEL != x
; then
609 FULL_VERSION
=$FULL_VERSION.
$MY_PATCH_LEVEL
612 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
613 PACKAGE
=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
614 package
=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
616 # No versioning on directory names of sub-packages
618 stepmake
=${datadir}/stepmake
620 if test "$prefix" = "NONE"; then
621 presome
=${ac_default_prefix}
623 stepmake
=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
625 echo $ac_n "checking Package""... $ac_c" 1>&6
626 echo "configure:627: checking Package" >&5
627 if test "x$PACKAGE" = "xSTEPMAKE"; then
628 echo "$ac_t""Stepmake package!" 1>&6
629 (cd stepmake
; rm -f stepmake
; ln -s ..
/stepmake .
)
630 (cd stepmake
; rm -f bin
; ln -s ..
/bin .
)
632 for ac_dir
in bin
$srcdir/bin
; do
633 if test -f $ac_dir/install-sh
; then
635 ac_install_sh
="$ac_aux_dir/install-sh -c"
637 elif test -f $ac_dir/install.sh
; then
639 ac_install_sh
="$ac_aux_dir/install.sh -c"
643 if test -z "$ac_aux_dir"; then
644 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
646 ac_config_guess
=$ac_aux_dir/config.guess
647 ac_config_sub
=$ac_aux_dir/config.sub
648 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
652 echo "$ac_t""$PACKAGE" 1>&6
653 echo $ac_n "checking for stepmake""... $ac_c" 1>&6
654 echo "configure:655: checking for stepmake" >&5
655 # Check for installed stepmake
656 if test -d $stepmake; then
657 echo "$ac_t""$stepmake" 1>&6
659 stepmake
='$(depth)'/stepmake
660 echo "$ac_t""./stepmake ($datadir/stepmake not found)" 1>&6
664 $HOME/usr
/local
/share
/stepmake
/bin\
665 $HOME/usr
/local
/lib
/stepmake
/bin\
666 $HOME/usr
/share
/stepmake
/bin\
667 $HOME/usr
/lib
/stepmake
/bin\
668 /usr
/local
/share
/stepmake
/bin\
669 /usr
/local
/lib
/stepmake
/bin\
670 /usr
/share
/stepmake
/bin\
671 /usr
/lib
/stepmake
/bin\
674 $HOME/usr
/local
/share
/stepmake
/bin\
675 $HOME/usr
/local
/lib
/stepmake
/bin\
676 $HOME/usr
/share
/stepmake
/bin\
677 $HOME/usr
/lib
/stepmake
/bin\
678 /usr
/local
/share
/stepmake
/bin\
679 /usr
/local
/lib
/stepmake
/bin\
680 /usr
/share
/stepmake
/bin\
681 /usr
/lib
/stepmake
/bin\
684 if test -f $ac_dir/install-sh
; then
686 ac_install_sh
="$ac_aux_dir/install-sh -c"
688 elif test -f $ac_dir/install.sh
; then
690 ac_install_sh
="$ac_aux_dir/install.sh -c"
694 if test -z "$ac_aux_dir"; then
695 { echo "configure: error: can not find install-sh or install.sh in \
696 $HOME/usr/local/share/stepmake/bin\
697 $HOME/usr/local/lib/stepmake/bin\
698 $HOME/usr/share/stepmake/bin\
699 $HOME/usr/lib/stepmake/bin\
700 /usr/local/share/stepmake/bin\
701 /usr/local/lib/stepmake/bin\
702 /usr/share/stepmake/bin\
703 /usr/lib/stepmake/bin\
706 $HOME/usr/local/share/stepmake/bin\
707 $HOME/usr/local/lib/stepmake/bin\
708 $HOME/usr/share/stepmake/bin\
709 $HOME/usr/lib/stepmake/bin\
710 /usr/local/share/stepmake/bin\
711 /usr/local/lib/stepmake/bin\
712 /usr/share/stepmake/bin\
713 /usr/lib/stepmake/bin\
717 ac_config_guess
=$ac_aux_dir/config.guess
718 ac_config_sub
=$ac_aux_dir/config.sub
719 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
727 cat >> confdefs.h
<<EOF
728 #define PACKAGE "${PACKAGE_NAME}"
731 cat >> confdefs.h
<<EOF
732 #define TOPLEVEL_VERSION "${FULL_VERSION}"
736 if test "$package_depth" = "" ; then
739 package_depth
="../$package_depth"
744 AUTOGENERATE
="This file was automatically generated by configure"
746 absolute_builddir
="`pwd`"
749 STATE_VECTOR
=`ls make/STATE-VECTOR 2>/dev/null`
750 if test "x$STATE_VECTOR" != "x"; then
751 STATE_VECTOR
="\$(depth)/$STATE_VECTOR"
756 # Check whether --enable-config or --disable-config was given.
757 if test "${enable_config+set}" = set; then
758 enableval
="$enable_config"
759 CONFIGSUFFIX
=$enableval
763 if test "$CONFIGSUFFIX" != "" ; then
764 CONFIGFILE
=config-
$CONFIGSUFFIX
771 # Make sure we can run config.sub.
772 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
773 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
776 echo $ac_n "checking host system type""... $ac_c" 1>&6
777 echo "configure:778: checking host system type" >&5
780 case "$host_alias" in
784 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
785 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
787 *) host_alias
=$nonopt ;;
791 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
792 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
793 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
794 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
795 echo "$ac_t""$host" 1>&6
797 for ac_prog
in gmake
make
799 # Extract the first word of "$ac_prog", so it can be a program name with args.
800 set dummy
$ac_prog; ac_word
=$2
801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
802 echo "configure:803: checking for $ac_word" >&5
803 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
804 echo $ac_n "(cached) $ac_c" 1>&6
806 if test -n "$MAKE"; then
807 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
809 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
811 for ac_dir
in $ac_dummy; do
812 test -z "$ac_dir" && ac_dir
=.
813 if test -f $ac_dir/$ac_word; then
814 ac_cv_prog_MAKE
="$ac_prog"
821 MAKE
="$ac_cv_prog_MAKE"
822 if test -n "$MAKE"; then
823 echo "$ac_t""$MAKE" 1>&6
825 echo "$ac_t""no" 1>&6
828 test -n "$MAKE" && break
830 test -n "$MAKE" || MAKE
="error"
834 # Extract the first word of "$ac_prog", so it can be a program name with args.
835 set dummy
$ac_prog; ac_word
=$2
836 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
837 echo "configure:838: checking for $ac_word" >&5
838 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
839 echo $ac_n "(cached) $ac_c" 1>&6
841 if test -n "$FIND"; then
842 ac_cv_prog_FIND
="$FIND" # Let the user override the test.
844 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
846 for ac_dir
in $ac_dummy; do
847 test -z "$ac_dir" && ac_dir
=.
848 if test -f $ac_dir/$ac_word; then
849 ac_cv_prog_FIND
="$ac_prog"
856 FIND
="$ac_cv_prog_FIND"
857 if test -n "$FIND"; then
858 echo "$ac_t""$FIND" 1>&6
860 echo "$ac_t""no" 1>&6
863 test -n "$FIND" && break
865 test -n "$FIND" || FIND
="error"
871 # Extract the first word of "$ac_prog", so it can be a program name with args.
872 set dummy
$ac_prog; ac_word
=$2
873 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
874 echo "configure:875: checking for $ac_word" >&5
875 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
876 echo $ac_n "(cached) $ac_c" 1>&6
878 if test -n "$TAR"; then
879 ac_cv_prog_TAR
="$TAR" # Let the user override the test.
881 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
883 for ac_dir
in $ac_dummy; do
884 test -z "$ac_dir" && ac_dir
=.
885 if test -f $ac_dir/$ac_word; then
886 ac_cv_prog_TAR
="$ac_prog"
893 TAR
="$ac_cv_prog_TAR"
894 if test -n "$TAR"; then
895 echo "$ac_t""$TAR" 1>&6
897 echo "$ac_t""no" 1>&6
900 test -n "$TAR" && break
902 test -n "$TAR" || TAR
="error"
905 if test "x`uname`" = "xHP-UX"; then
906 # Extract the first word of "bash", so it can be a program name with args.
907 set dummy bash
; ac_word
=$2
908 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
909 echo "configure:910: checking for $ac_word" >&5
910 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
911 echo $ac_n "(cached) $ac_c" 1>&6
915 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
918 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
921 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
923 for ac_dir
in $ac_dummy; do
924 test -z "$ac_dir" && ac_dir
=.
925 if test -f $ac_dir/$ac_word; then
926 ac_cv_path_BASH
="$ac_dir/$ac_word"
931 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
935 BASH
="$ac_cv_path_BASH"
936 if test -n "$BASH"; then
937 echo "$ac_t""$BASH" 1>&6
939 echo "$ac_t""no" 1>&6
943 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
946 # Extract the first word of "bash", so it can be a program name with args.
947 set dummy bash
; ac_word
=$2
948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
949 echo "configure:950: checking for $ac_word" >&5
950 if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
951 echo $ac_n "(cached) $ac_c" 1>&6
955 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
958 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a dos path.
961 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
963 for ac_dir
in $ac_dummy; do
964 test -z "$ac_dir" && ac_dir
=.
965 if test -f $ac_dir/$ac_word; then
966 ac_cv_path_SHELL
="$ac_dir/$ac_word"
971 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
="/bin/ksh"
975 SHELL
="$ac_cv_path_SHELL"
976 if test -n "$SHELL"; then
977 echo "$ac_t""$SHELL" 1>&6
979 echo "$ac_t""no" 1>&6
983 # Extract the first word of "bash", so it can be a program name with args.
984 set dummy bash
; ac_word
=$2
985 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
986 echo "configure:987: checking for $ac_word" >&5
987 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
988 echo $ac_n "(cached) $ac_c" 1>&6
992 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
995 ac_cv_path_BASH
="$BASH" # Let the user override the test with a dos path.
998 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1000 for ac_dir
in $ac_dummy; do
1001 test -z "$ac_dir" && ac_dir
=.
1002 if test -f $ac_dir/$ac_word; then
1003 ac_cv_path_BASH
="$ac_dir/$ac_word"
1008 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH
="/bin/sh"
1012 BASH
="$ac_cv_path_BASH"
1013 if test -n "$BASH"; then
1014 echo "$ac_t""$BASH" 1>&6
1016 echo "$ac_t""no" 1>&6
1024 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
1025 set dummy
${PYTHON:-python}; ac_word
=$2
1026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1027 echo "configure:1028: checking for $ac_word" >&5
1028 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1029 echo $ac_n "(cached) $ac_c" 1>&6
1033 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
1036 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a dos path.
1039 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1041 for ac_dir
in $ac_dummy; do
1042 test -z "$ac_dir" && ac_dir
=.
1043 if test -f $ac_dir/$ac_word; then
1044 ac_cv_path_PYTHON
="$ac_dir/$ac_word"
1049 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON
="-echo no python"
1053 PYTHON
="$ac_cv_path_PYTHON"
1054 if test -n "$PYTHON"; then
1055 echo "$ac_t""$PYTHON" 1>&6
1057 echo "$ac_t""no" 1>&6
1062 if test $MAKE != "error" ; then
1063 $MAKE -v 2> /dev
/null |
grep GNU
> /dev
/null
1067 echo "configure: warning: Please install *GNU* make" 1>&2
1074 result
="`echo \"$PYTHON\" | grep echo`"
1075 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1077 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1083 if test "x$OSTYPE" = "xcygwin32" ||
test "x$OSTYPE" = "xWindows_NT"; then
1084 LN
=cp # hard link does not work under cygnus-nt
1085 LN_S
='cp -r' # symbolic link does not work for native nt
1092 # cygwin fixes all these things.
1093 # it seems these were used because of dos-style TEXINPUTS and
1094 # MFINPUTS needed for miktex.
1095 # but this breaks parsing of all other cygwin/unix style paths.
1097 # if your (mik)tex breaks, make a:
1098 # /usr/local/bin/tex:
1100 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1104 # /usr/local/bin/mf:
1106 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1108 # this way, you may have buildscripts/out/lilypond-profile
1109 # 'automatically' sourced from /usr/etc/profile.d/ too.
1113 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1120 INSTALL
="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1127 cat >> confdefs.h
<<EOF
1128 #define DIRSEP '${DIRSEP}'
1131 cat >> confdefs.h
<<EOF
1132 #define PATHSEP '${PATHSEP}'
1140 if test "$datadir" = "\${prefix}/share"; then
1141 datadir
='${prefix}/share/'$package
1143 DIR_DATADIR
=${datadir}
1145 if test "$prefix" = "NONE"; then
1146 presome
=${ac_default_prefix}
1148 DIR_DATADIR
=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1151 cat >> confdefs.h
<<EOF
1152 #define DIR_DATADIR "${DIR_DATADIR}"
1158 # For all packages except the StepMake package itself
1162 # Uncomment the configuration options your package needs.
1164 # -O is necessary to get inlining
1166 CXXFLAGS
=${CXXFLAGS:-""}
1167 CFLAGS
=${CFLAGS:-""}
1173 # Check whether --enable-checking or --disable-checking was given.
1174 if test "${enable_checking+set}" = set; then
1175 enableval
="$enable_checking"
1176 checking_b
=$enableval
1180 # actually, the default is: tja='-O' to get inlining...
1183 #actually, that sucks.
1184 # tja looks like a typo. Default is optimisation off. --hwn
1186 # Check whether --enable-optimise or --disable-optimise was given.
1187 if test "${enable_optimise+set}" = set; then
1188 enableval
="$enable_optimise"
1189 optimise_b
=$enableval
1193 # Check whether --enable-profiling or --disable-profiling was given.
1194 if test "${enable_profiling+set}" = set; then
1195 enableval
="$enable_profiling"
1196 profile_b
=$enableval
1200 # Check whether --enable-debugging or --disable-debugging was given.
1201 if test "${enable_debugging+set}" = set; then
1202 enableval
="$enable_debugging"
1207 # Check whether --enable-mingw-prefix or --disable-mingw-prefix was given.
1208 if test "${enable_mingw_prefix+set}" = set; then
1209 enableval
="$enable_mingw_prefix"
1210 MINGWPREFIX
=$enableval
1216 if test "$printing_b" = no
; then
1218 cat >> confdefs.h
<<\EOF
1222 DEFINES
="$DEFINES -DNPRINT"
1225 if test "$checking_b" = no
; then
1227 cat >> confdefs.h
<<\EOF
1231 DEFINES
="$DEFINES -DNDEBUG"
1234 if test "$optimise_b" = yes; then
1235 OPTIMIZE
="-O2 -finline-functions"
1238 if test "$optimise_b" = no
; then
1242 if test $profile_b = yes; then
1244 OPTIMIZE
="$OPTIMIZE -pg"
1247 if test $debug_b = yes; then
1248 OPTIMIZE
="$OPTIMIZE -g"
1251 # however, C++ support in mingw32 v 0.1.4 is still flaky
1252 if test x
$MINGWPREFIX != xno
; then
1253 ICFLAGS
="-I$MINGWPREFIX/include"
1254 ILDFLAGS
="-$MINGWPREFIX/lib"
1257 # Extract the first word of "gcc", so it can be a program name with args.
1258 set dummy gcc
; ac_word
=$2
1259 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1260 echo "configure:1261: checking for $ac_word" >&5
1261 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1262 echo $ac_n "(cached) $ac_c" 1>&6
1264 if test -n "$CC"; then
1265 ac_cv_prog_CC
="$CC" # Let the user override the test.
1267 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1269 for ac_dir
in $ac_dummy; do
1270 test -z "$ac_dir" && ac_dir
=.
1271 if test -f $ac_dir/$ac_word; then
1280 if test -n "$CC"; then
1281 echo "$ac_t""$CC" 1>&6
1283 echo "$ac_t""no" 1>&6
1286 if test -z "$CC"; then
1287 # Extract the first word of "cc", so it can be a program name with args.
1288 set dummy cc
; ac_word
=$2
1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1290 echo "configure:1291: checking for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 if test -n "$CC"; then
1295 ac_cv_prog_CC
="$CC" # Let the user override the test.
1297 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1300 for ac_dir
in $ac_dummy; do
1301 test -z "$ac_dir" && ac_dir
=.
1302 if test -f $ac_dir/$ac_word; then
1303 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1304 ac_prog_rejected
=yes
1312 if test $ac_prog_rejected = yes; then
1313 # We found a bogon in the path, so make sure we never use it.
1314 set dummy
$ac_cv_prog_CC
1316 if test $# -gt 0; then
1317 # We chose a different compiler from the bogus one.
1318 # However, it has the same basename, so the bogon will be chosen
1319 # first if we set CC to just the basename; use the full file name.
1321 set dummy
"$ac_dir/$ac_word" "$@"
1329 if test -n "$CC"; then
1330 echo "$ac_t""$CC" 1>&6
1332 echo "$ac_t""no" 1>&6
1335 if test -z "$CC"; then
1336 case "`uname -s`" in
1338 # Extract the first word of "cl", so it can be a program name with args.
1339 set dummy cl
; ac_word
=$2
1340 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1341 echo "configure:1342: checking for $ac_word" >&5
1342 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1343 echo $ac_n "(cached) $ac_c" 1>&6
1345 if test -n "$CC"; then
1346 ac_cv_prog_CC
="$CC" # Let the user override the test.
1348 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1350 for ac_dir
in $ac_dummy; do
1351 test -z "$ac_dir" && ac_dir
=.
1352 if test -f $ac_dir/$ac_word; then
1361 if test -n "$CC"; then
1362 echo "$ac_t""$CC" 1>&6
1364 echo "$ac_t""no" 1>&6
1369 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1372 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1373 echo "configure:1374: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1377 ac_cpp
='$CPP $CPPFLAGS'
1378 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1379 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1380 cross_compiling
=$ac_cv_prog_cc_cross
1382 cat > conftest.
$ac_ext << EOF
1384 #line 1385 "configure"
1385 #include "confdefs.h"
1389 if { (eval echo configure
:1390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1390 ac_cv_prog_cc_works
=yes
1391 # If we can't run a trivial program, we are probably using a cross compiler.
1392 if (.
/conftest
; exit) 2>/dev
/null
; then
1393 ac_cv_prog_cc_cross
=no
1395 ac_cv_prog_cc_cross
=yes
1398 echo "configure: failed program was:" >&5
1399 cat conftest.
$ac_ext >&5
1400 ac_cv_prog_cc_works
=no
1404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1405 ac_cpp
='$CPP $CPPFLAGS'
1406 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1407 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1408 cross_compiling
=$ac_cv_prog_cc_cross
1410 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1411 if test $ac_cv_prog_cc_works = no
; then
1412 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1414 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1415 echo "configure:1416: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1416 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1417 cross_compiling
=$ac_cv_prog_cc_cross
1419 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1420 echo "configure:1421: checking whether we are using GNU C" >&5
1421 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1422 echo $ac_n "(cached) $ac_c" 1>&6
1424 cat > conftest.c
<<EOF
1429 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1436 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1438 if test $ac_cv_prog_gcc = yes; then
1444 ac_test_CFLAGS
="${CFLAGS+set}"
1445 ac_save_CFLAGS
="$CFLAGS"
1447 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1448 echo "configure:1449: checking whether ${CC-cc} accepts -g" >&5
1449 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1450 echo $ac_n "(cached) $ac_c" 1>&6
1452 echo 'void f(){}' > conftest.c
1453 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1462 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1463 if test "$ac_test_CFLAGS" = set; then
1464 CFLAGS
="$ac_save_CFLAGS"
1465 elif test $ac_cv_prog_cc_g = yes; then
1466 if test "$GCC" = yes; then
1472 if test "$GCC" = yes; then
1482 CFLAGS
="$CFLAGS $OPTIMIZE"
1483 CPPFLAGS
=${CPPFLAGS:-""}
1492 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1495 # Check whether --enable-printing or --disable-printing was given.
1496 if test "${enable_printing+set}" = set; then
1497 enableval
="$enable_printing"
1498 printing_b
=$enableval
1502 if test "$optimise_b" = yes; then
1503 DEFINES
="$DEFINES -DSTRING_UTILS_INLINED"
1504 cat >> confdefs.h
<<\EOF
1505 #define STRINGS_UTILS_INLINED 1
1510 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1511 echo "configure:1512: checking how to run the C++ preprocessor" >&5
1512 if test -z "$CXXCPP"; then
1513 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1514 echo $ac_n "(cached) $ac_c" 1>&6
1517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1518 ac_cpp
='$CXXCPP $CPPFLAGS'
1519 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1520 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1521 cross_compiling
=$ac_cv_prog_cxx_cross
1522 CXXCPP
="${CXX-g++} -E"
1523 cat > conftest.
$ac_ext <<EOF
1524 #line 1525 "configure"
1525 #include "confdefs.h"
1528 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1529 { (eval echo configure
:1530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1530 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1531 if test -z "$ac_err"; then
1535 echo "configure: failed program was:" >&5
1536 cat conftest.
$ac_ext >&5
1541 ac_cv_prog_CXXCPP
="$CXXCPP"
1543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1544 ac_cpp
='$CXXCPP $CPPFLAGS'
1545 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1546 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1547 cross_compiling
=$ac_cv_prog_cxx_cross
1550 CXXCPP
="$ac_cv_prog_CXXCPP"
1551 echo "$ac_t""$CXXCPP" 1>&6
1555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1556 ac_cpp
='$CXXCPP $CPPFLAGS'
1557 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1558 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1559 cross_compiling
=$ac_cv_prog_cxx_cross
1561 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
1563 # Extract the first word of "$ac_prog", so it can be a program name with args.
1564 set dummy
$ac_prog; ac_word
=$2
1565 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1566 echo "configure:1567: checking for $ac_word" >&5
1567 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1568 echo $ac_n "(cached) $ac_c" 1>&6
1570 if test -n "$CXX"; then
1571 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1573 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1575 for ac_dir
in $ac_dummy; do
1576 test -z "$ac_dir" && ac_dir
=.
1577 if test -f $ac_dir/$ac_word; then
1578 ac_cv_prog_CXX
="$ac_prog"
1585 CXX
="$ac_cv_prog_CXX"
1586 if test -n "$CXX"; then
1587 echo "$ac_t""$CXX" 1>&6
1589 echo "$ac_t""no" 1>&6
1592 test -n "$CXX" && break
1594 test -n "$CXX" || CXX
="gcc"
1597 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1598 echo "configure:1599: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1602 ac_cpp
='$CXXCPP $CPPFLAGS'
1603 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1604 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1605 cross_compiling
=$ac_cv_prog_cxx_cross
1607 cat > conftest.
$ac_ext << EOF
1609 #line 1610 "configure"
1610 #include "confdefs.h"
1612 int main(){return(0);}
1614 if { (eval echo configure
:1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1615 ac_cv_prog_cxx_works
=yes
1616 # If we can't run a trivial program, we are probably using a cross compiler.
1617 if (.
/conftest
; exit) 2>/dev
/null
; then
1618 ac_cv_prog_cxx_cross
=no
1620 ac_cv_prog_cxx_cross
=yes
1623 echo "configure: failed program was:" >&5
1624 cat conftest.
$ac_ext >&5
1625 ac_cv_prog_cxx_works
=no
1629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1630 ac_cpp
='$CXXCPP $CPPFLAGS'
1631 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1632 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1633 cross_compiling
=$ac_cv_prog_cxx_cross
1635 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1636 if test $ac_cv_prog_cxx_works = no
; then
1637 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1639 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1640 echo "configure:1641: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1641 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1642 cross_compiling
=$ac_cv_prog_cxx_cross
1644 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1645 echo "configure:1646: checking whether we are using GNU C++" >&5
1646 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1647 echo $ac_n "(cached) $ac_c" 1>&6
1649 cat > conftest.C
<<EOF
1654 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1661 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1663 if test $ac_cv_prog_gxx = yes; then
1669 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1670 ac_save_CXXFLAGS
="$CXXFLAGS"
1672 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1673 echo "configure:1674: checking whether ${CXX-g++} accepts -g" >&5
1674 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1675 echo $ac_n "(cached) $ac_c" 1>&6
1677 echo 'void f(){}' > conftest.cc
1678 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1679 ac_cv_prog_cxx_g
=yes
1687 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1688 if test "$ac_test_CXXFLAGS" = set; then
1689 CXXFLAGS
="$ac_save_CXXFLAGS"
1690 elif test $ac_cv_prog_cxx_g = yes; then
1691 if test "$GXX" = yes; then
1697 if test "$GXX" = yes; then
1705 ac_safe
=`echo "FlexLexer.h" | sed 'y%./+-%__p_%'`
1706 echo $ac_n "checking for FlexLexer.h""... $ac_c" 1>&6
1707 echo "configure:1708: checking for FlexLexer.h" >&5
1708 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1709 echo $ac_n "(cached) $ac_c" 1>&6
1711 cat > conftest.
$ac_ext <<EOF
1712 #line 1713 "configure"
1713 #include "confdefs.h"
1714 #include <FlexLexer.h>
1716 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1717 { (eval echo configure
:1718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1718 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1719 if test -z "$ac_err"; then
1721 eval "ac_cv_header_$ac_safe=yes"
1724 echo "configure: failed program was:" >&5
1725 cat conftest.
$ac_ext >&5
1727 eval "ac_cv_header_$ac_safe=no"
1731 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1732 echo "$ac_t""yes" 1>&6
1735 echo "$ac_t""no" 1>&6
1737 echo "configure: warning: can"\'"t find flex header. Please install Flex headers correctly" 1>&2
1743 CPPFLAGS
="$CPPFLAGS $DEFINES"
1744 CXXFLAGS
="$CXXFLAGS $OPTIMIZE"
1745 LDFLAGS
=$EXTRA_LIBES
1754 # urg, egcs: how to check for egcs >= 1.1?
1755 if $CXX --version |
grep '2\.8' > /dev
/null ||
1756 $CXX --version |
grep 'egcs' > /dev
/null
1761 echo "configure: warning: can\'t find g++ 2.8 or egcs 1.1" 1>&2
1767 echo $ac_n "checking whether explicit instantiation is needed""... $ac_c" 1>&6
1768 echo "configure:1769: checking whether explicit instantiation is needed" >&5
1769 if eval "test \"`echo '$''{'lily_cv_need_explicit_instantiation'+set}'`\" = set"; then
1770 echo $ac_n "(cached) $ac_c" 1>&6
1772 cat > conftest.
$ac_ext <<EOF
1773 #line 1774 "configure"
1774 #include "confdefs.h"
1776 template <class T> struct foo { static int baz; };
1777 template <class T> int foo<T>::baz = 1;
1780 return foo<int>::baz;
1783 if { (eval echo configure
:1784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1785 lily_cv_need_explicit_instantiation
=no
1787 echo "configure: failed program was:" >&5
1788 cat conftest.
$ac_ext >&5
1790 lily_cv_need_explicit_instantiation
=yes
1795 echo "$ac_t""$lily_cv_need_explicit_instantiation" 1>&6
1796 if test x
"$lily_cv_need_explicit_instantiation"x
= x
"yes"x
; then
1797 cat >> confdefs.h
<<\EOF
1798 #define NEED_EXPLICIT_INSTANTIATION 1
1804 # ugh, automake: we want (and check for) bison
1805 for ac_prog
in 'bison -y' byacc
1807 # Extract the first word of "$ac_prog", so it can be a program name with args.
1808 set dummy
$ac_prog; ac_word
=$2
1809 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1810 echo "configure:1811: checking for $ac_word" >&5
1811 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1812 echo $ac_n "(cached) $ac_c" 1>&6
1814 if test -n "$YACC"; then
1815 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1817 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1819 for ac_dir
in $ac_dummy; do
1820 test -z "$ac_dir" && ac_dir
=.
1821 if test -f $ac_dir/$ac_word; then
1822 ac_cv_prog_YACC
="$ac_prog"
1829 YACC
="$ac_cv_prog_YACC"
1830 if test -n "$YACC"; then
1831 echo "$ac_t""$YACC" 1>&6
1833 echo "$ac_t""no" 1>&6
1836 test -n "$YACC" && break
1838 test -n "$YACC" || YACC
="yacc"
1840 # ugh, automake: we want (and check for) flex
1842 # urg: automake 1.3: hope this doesn't break 1.2 ac_cv_pro_lex_root hack...
1846 ac_cv_prog_lex_root
=lex.yy
1848 for ac_prog
in bison
1850 # Extract the first word of "$ac_prog", so it can be a program name with args.
1851 set dummy
$ac_prog; ac_word
=$2
1852 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1853 echo "configure:1854: checking for $ac_word" >&5
1854 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1855 echo $ac_n "(cached) $ac_c" 1>&6
1857 if test -n "$BISON"; then
1858 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
1860 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1862 for ac_dir
in $ac_dummy; do
1863 test -z "$ac_dir" && ac_dir
=.
1864 if test -f $ac_dir/$ac_word; then
1865 ac_cv_prog_BISON
="$ac_prog"
1872 BISON
="$ac_cv_prog_BISON"
1873 if test -n "$BISON"; then
1874 echo "$ac_t""$BISON" 1>&6
1876 echo "$ac_t""no" 1>&6
1879 test -n "$BISON" && break
1881 test -n "$BISON" || BISON
="error"
1885 # Extract the first word of "$ac_prog", so it can be a program name with args.
1886 set dummy
$ac_prog; ac_word
=$2
1887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1888 echo "configure:1889: checking for $ac_word" >&5
1889 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
1890 echo $ac_n "(cached) $ac_c" 1>&6
1892 if test -n "$FLEX"; then
1893 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
1895 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1897 for ac_dir
in $ac_dummy; do
1898 test -z "$ac_dir" && ac_dir
=.
1899 if test -f $ac_dir/$ac_word; then
1900 ac_cv_prog_FLEX
="$ac_prog"
1907 FLEX
="$ac_cv_prog_FLEX"
1908 if test -n "$FLEX"; then
1909 echo "$ac_t""$FLEX" 1>&6
1911 echo "$ac_t""no" 1>&6
1914 test -n "$FLEX" && break
1916 test -n "$FLEX" || FLEX
="error"
1919 result
="`echo \"$BISON\" | grep echo`"
1920 if test "x$BISON" = "xerror" -o "x$result" != "x"; then
1922 echo "configure: warning: can\'t find bison. Please install Bison" 1>&2
1928 result
="`echo \"$FLEX\" | grep echo`"
1929 if test "x$FLEX" = "xerror" -o "x$result" != "x"; then
1931 echo "configure: warning: can\'t find flex. Please install Flex" 1>&2
1937 if test $BISON != "error"; then
1938 bison_version
=`$BISON --version | sed 's/^.*version 1.//g'`
1939 if test `echo $bison_version | sed 's/\..*$//g'` -lt 25; then
1941 echo "configure: warning: Your bison is a bit old (1.$bison_version). You might have to install 1.25" 1>&2
1953 # Extract the first word of "$ac_prog", so it can be a program name with args.
1954 set dummy
$ac_prog; ac_word
=$2
1955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1956 echo "configure:1957: checking for $ac_word" >&5
1957 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1958 echo $ac_n "(cached) $ac_c" 1>&6
1960 if test -n "$AR"; then
1961 ac_cv_prog_AR
="$AR" # Let the user override the test.
1963 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1965 for ac_dir
in $ac_dummy; do
1966 test -z "$ac_dir" && ac_dir
=.
1967 if test -f $ac_dir/$ac_word; then
1968 ac_cv_prog_AR
="$ac_prog"
1976 if test -n "$AR"; then
1977 echo "$ac_t""$AR" 1>&6
1979 echo "$ac_t""no" 1>&6
1982 test -n "$AR" && break
1984 test -n "$AR" || AR
="error"
1986 # Extract the first word of "ranlib", so it can be a program name with args.
1987 set dummy ranlib
; ac_word
=$2
1988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1989 echo "configure:1990: checking for $ac_word" >&5
1990 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1991 echo $ac_n "(cached) $ac_c" 1>&6
1993 if test -n "$RANLIB"; then
1994 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1996 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1998 for ac_dir
in $ac_dummy; do
1999 test -z "$ac_dir" && ac_dir
=.
2000 if test -f $ac_dir/$ac_word; then
2001 ac_cv_prog_RANLIB
="ranlib"
2006 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
2009 RANLIB
="$ac_cv_prog_RANLIB"
2010 if test -n "$RANLIB"; then
2011 echo "$ac_t""$RANLIB" 1>&6
2013 echo "$ac_t""no" 1>&6
2020 # AC_STEPMAKE_LIBTOOL
2026 # Check whether --with-localedir or --without-localedir was given.
2027 if test "${with_localedir+set}" = set; then
2028 withval
="$with_localedir"
2029 localedir
=$with_localedir
2031 localedir
='${prefix}/share/locale'
2035 # Check whether --with-lang or --without-lang was given.
2036 if test "${with_lang+set}" = set; then
2037 withval
="$with_lang"
2044 echo $ac_n "checking language""... $ac_c" 1>&6
2045 echo "configure:2046: checking language" >&5
2047 En
* | en
* | Am
* | am
* | US
* | us
*)
2049 NL |
nl | Du
* | du
* | Ned
* | ned
*)
2056 echo "$ac_t""$lang" 1>&6
2058 if test "$lang" = "unknown" ; then
2060 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
2067 DIR_LOCALEDIR
=${localedir}
2069 if test "$prefix" = "NONE"; then
2070 presome
=${ac_default_prefix}
2072 DIR_LOCALEDIR
=`echo ${DIR_LOCALEDIR} | sed "s!\\\${prefix}!$presome!"`
2075 cat >> confdefs.h
<<EOF
2076 #define DIR_LOCALEDIR "${DIR_LOCALEDIR}"
2080 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
2081 echo "configure:2082: checking for gettext in -lintl" >&5
2082 ac_lib_var
=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
2083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2084 echo $ac_n "(cached) $ac_c" 1>&6
2086 ac_save_LIBS
="$LIBS"
2088 cat > conftest.
$ac_ext <<EOF
2089 #line 2090 "configure"
2090 #include "confdefs.h"
2091 /* Override any gcc2 internal prototype to avoid an error. */
2095 /* We use char because int might match the return type of a gcc2
2096 builtin and then its argument prototype would still apply. */
2103 if { (eval echo configure
:2104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2105 eval "ac_cv_lib_$ac_lib_var=yes"
2107 echo "configure: failed program was:" >&5
2108 cat conftest.
$ac_ext >&5
2110 eval "ac_cv_lib_$ac_lib_var=no"
2113 LIBS
="$ac_save_LIBS"
2116 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2117 echo "$ac_t""yes" 1>&6
2118 ac_tr_lib
=HAVE_LIB
`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2119 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2120 cat >> confdefs.h
<<EOF
2121 #define $ac_tr_lib 1
2127 echo "$ac_t""no" 1>&6
2130 for ac_func
in gettext
2132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2133 echo "configure:2134: checking for $ac_func" >&5
2134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2135 echo $ac_n "(cached) $ac_c" 1>&6
2137 cat > conftest.
$ac_ext <<EOF
2138 #line 2139 "configure"
2139 #include "confdefs.h"
2140 /* System header to define __stub macros and hopefully few prototypes,
2141 which can conflict with char $ac_func(); below. */
2143 /* Override any gcc2 internal prototype to avoid an error. */
2147 /* We use char because int might match the return type of a gcc2
2148 builtin and then its argument prototype would still apply. */
2153 /* The GNU C library defines this for functions which it implements
2154 to always fail with ENOSYS. Some functions are actually named
2155 something starting with __ and the normal name is an alias. */
2156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2164 if { (eval echo configure
:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2166 eval "ac_cv_func_$ac_func=yes"
2168 echo "configure: failed program was:" >&5
2169 cat conftest.
$ac_ext >&5
2171 eval "ac_cv_func_$ac_func=no"
2176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2177 echo "$ac_t""yes" 1>&6
2178 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2179 cat >> confdefs.h
<<EOF
2180 #define $ac_tr_func 1
2184 echo "$ac_t""no" 1>&6
2190 # AC_CHECK_PROGS(MSGFMT, msgfmt, -echo no msgfmt)
2191 for ac_prog
in msgfmt
2193 # Extract the first word of "$ac_prog", so it can be a program name with args.
2194 set dummy
$ac_prog; ac_word
=$2
2195 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2196 echo "configure:2197: checking for $ac_word" >&5
2197 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
2198 echo $ac_n "(cached) $ac_c" 1>&6
2200 if test -n "$MSGFMT"; then
2201 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
2203 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2205 for ac_dir
in $ac_dummy; do
2206 test -z "$ac_dir" && ac_dir
=.
2207 if test -f $ac_dir/$ac_word; then
2208 ac_cv_prog_MSGFMT
="$ac_prog"
2215 MSGFMT
="$ac_cv_prog_MSGFMT"
2216 if test -n "$MSGFMT"; then
2217 echo "$ac_t""$MSGFMT" 1>&6
2219 echo "$ac_t""no" 1>&6
2222 test -n "$MSGFMT" && break
2224 test -n "$MSGFMT" || MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh "
2226 echo $ac_n "checking whether msgfmt accepts -o""... $ac_c" 1>&6
2227 echo "configure:2228: checking whether msgfmt accepts -o" >&5
2228 msgfmt_output
="`msgfmt -o bla 2>&1 | grep usage`"
2229 if test "$msgfmt_output" = ""; then
2230 echo "$ac_t""yes" 1>&6
2233 MSGFMT
="\$(SHELL) \$(step-bindir)/fake-msgfmt.sh"
2234 echo "$ac_t""no" 1>&6
2236 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2240 if test ! -n "$MSGFMT"; then
2242 echo "configure: warning: please install msgfmt from GNU gettext" 1>&2
2248 # urg, never know what names these teTeX guys will think up
2252 # Extract the first word of "$ac_prog", so it can be a program name with args.
2253 set dummy
$ac_prog; ac_word
=$2
2254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2255 echo "configure:2256: checking for $ac_word" >&5
2256 if eval "test \"`echo '$''{'ac_cv_prog_METAFONT'+set}'`\" = set"; then
2257 echo $ac_n "(cached) $ac_c" 1>&6
2259 if test -n "$METAFONT"; then
2260 ac_cv_prog_METAFONT
="$METAFONT" # Let the user override the test.
2262 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2264 for ac_dir
in $ac_dummy; do
2265 test -z "$ac_dir" && ac_dir
=.
2266 if test -f $ac_dir/$ac_word; then
2267 ac_cv_prog_METAFONT
="$ac_prog"
2274 METAFONT
="$ac_cv_prog_METAFONT"
2275 if test -n "$METAFONT"; then
2276 echo "$ac_t""$METAFONT" 1>&6
2278 echo "$ac_t""no" 1>&6
2281 test -n "$METAFONT" && break
2283 test -n "$METAFONT" || METAFONT
="no"
2285 if test "x$METAFONT" = "xno"; then
2286 for ac_prog
in mfont
2288 # Extract the first word of "$ac_prog", so it can be a program name with args.
2289 set dummy
$ac_prog; ac_word
=$2
2290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2291 echo "configure:2292: checking for $ac_word" >&5
2292 if eval "test \"`echo '$''{'ac_cv_prog_MFONT'+set}'`\" = set"; then
2293 echo $ac_n "(cached) $ac_c" 1>&6
2295 if test -n "$MFONT"; then
2296 ac_cv_prog_MFONT
="$MFONT" # Let the user override the test.
2298 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2300 for ac_dir
in $ac_dummy; do
2301 test -z "$ac_dir" && ac_dir
=.
2302 if test -f $ac_dir/$ac_word; then
2303 ac_cv_prog_MFONT
="$ac_prog"
2310 MFONT
="$ac_cv_prog_MFONT"
2311 if test -n "$MFONT"; then
2312 echo "$ac_t""$MFONT" 1>&6
2314 echo "$ac_t""no" 1>&6
2317 test -n "$MFONT" && break
2319 test -n "$MFONT" || MFONT
="-echo no mf or mfont"
2326 # Extract the first word of "$ac_prog", so it can be a program name with args.
2327 set dummy
$ac_prog; ac_word
=$2
2328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2329 echo "configure:2330: checking for $ac_word" >&5
2330 if eval "test \"`echo '$''{'ac_cv_prog_METAPOST'+set}'`\" = set"; then
2331 echo $ac_n "(cached) $ac_c" 1>&6
2333 if test -n "$METAPOST"; then
2334 ac_cv_prog_METAPOST
="$METAPOST" # Let the user override the test.
2336 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2338 for ac_dir
in $ac_dummy; do
2339 test -z "$ac_dir" && ac_dir
=.
2340 if test -f $ac_dir/$ac_word; then
2341 ac_cv_prog_METAPOST
="$ac_prog"
2348 METAPOST
="$ac_cv_prog_METAPOST"
2349 if test -n "$METAPOST"; then
2350 echo "$ac_t""$METAPOST" 1>&6
2352 echo "$ac_t""no" 1>&6
2355 test -n "$METAPOST" && break
2357 test -n "$METAPOST" || METAPOST
="no"
2359 if test "x$METAPOST" = "xno"; then
2360 for ac_prog
in mpost
2362 # Extract the first word of "$ac_prog", so it can be a program name with args.
2363 set dummy
$ac_prog; ac_word
=$2
2364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2365 echo "configure:2366: checking for $ac_word" >&5
2366 if eval "test \"`echo '$''{'ac_cv_prog_MPOST'+set}'`\" = set"; then
2367 echo $ac_n "(cached) $ac_c" 1>&6
2369 if test -n "$MPOST"; then
2370 ac_cv_prog_MPOST
="$MPOST" # Let the user override the test.
2372 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2374 for ac_dir
in $ac_dummy; do
2375 test -z "$ac_dir" && ac_dir
=.
2376 if test -f $ac_dir/$ac_word; then
2377 ac_cv_prog_MPOST
="$ac_prog"
2384 MPOST
="$ac_cv_prog_MPOST"
2385 if test -n "$MPOST"; then
2386 echo "$ac_t""$MPOST" 1>&6
2388 echo "$ac_t""no" 1>&6
2391 test -n "$MPOST" && break
2393 test -n "$MPOST" || MPOST
="-echo no mp or mpost"
2399 for ac_prog
in inimf
2401 # Extract the first word of "$ac_prog", so it can be a program name with args.
2402 set dummy
$ac_prog; ac_word
=$2
2403 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2404 echo "configure:2405: checking for $ac_word" >&5
2405 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAFONT'+set}'`\" = set"; then
2406 echo $ac_n "(cached) $ac_c" 1>&6
2408 if test -n "$INIMETAFONT"; then
2409 ac_cv_prog_INIMETAFONT
="$INIMETAFONT" # Let the user override the test.
2411 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2413 for ac_dir
in $ac_dummy; do
2414 test -z "$ac_dir" && ac_dir
=.
2415 if test -f $ac_dir/$ac_word; then
2416 ac_cv_prog_INIMETAFONT
="$ac_prog"
2423 INIMETAFONT
="$ac_cv_prog_INIMETAFONT"
2424 if test -n "$INIMETAFONT"; then
2425 echo "$ac_t""$INIMETAFONT" 1>&6
2427 echo "$ac_t""no" 1>&6
2430 test -n "$INIMETAFONT" && break
2432 test -n "$INIMETAFONT" || INIMETAFONT
="no"
2434 if test "x$INIMETAFONT" = "xno"; then
2435 for ac_prog
in inimfont
2437 # Extract the first word of "$ac_prog", so it can be a program name with args.
2438 set dummy
$ac_prog; ac_word
=$2
2439 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2440 echo "configure:2441: checking for $ac_word" >&5
2441 if eval "test \"`echo '$''{'ac_cv_prog_INIMFONT'+set}'`\" = set"; then
2442 echo $ac_n "(cached) $ac_c" 1>&6
2444 if test -n "$INIMFONT"; then
2445 ac_cv_prog_INIMFONT
="$INIMFONT" # Let the user override the test.
2447 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2449 for ac_dir
in $ac_dummy; do
2450 test -z "$ac_dir" && ac_dir
=.
2451 if test -f $ac_dir/$ac_word; then
2452 ac_cv_prog_INIMFONT
="$ac_prog"
2459 INIMFONT
="$ac_cv_prog_INIMFONT"
2460 if test -n "$INIMFONT"; then
2461 echo "$ac_t""$INIMFONT" 1>&6
2463 echo "$ac_t""no" 1>&6
2466 test -n "$INIMFONT" && break
2468 test -n "$INIMFONT" || INIMFONT
="-echo no inimf or inimfont"
2470 INIMETAFONT
=$INIMFONT
2473 for ac_prog
in inimp
2475 # Extract the first word of "$ac_prog", so it can be a program name with args.
2476 set dummy
$ac_prog; ac_word
=$2
2477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2478 echo "configure:2479: checking for $ac_word" >&5
2479 if eval "test \"`echo '$''{'ac_cv_prog_INIMETAPOST'+set}'`\" = set"; then
2480 echo $ac_n "(cached) $ac_c" 1>&6
2482 if test -n "$INIMETAPOST"; then
2483 ac_cv_prog_INIMETAPOST
="$INIMETAPOST" # Let the user override the test.
2485 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2487 for ac_dir
in $ac_dummy; do
2488 test -z "$ac_dir" && ac_dir
=.
2489 if test -f $ac_dir/$ac_word; then
2490 ac_cv_prog_INIMETAPOST
="$ac_prog"
2497 INIMETAPOST
="$ac_cv_prog_INIMETAPOST"
2498 if test -n "$INIMETAPOST"; then
2499 echo "$ac_t""$INIMETAPOST" 1>&6
2501 echo "$ac_t""no" 1>&6
2504 test -n "$INIMETAPOST" && break
2506 test -n "$INIMETAPOST" || INIMETAPOST
="no"
2508 if test "x$INIMETAPOST" = "xno"; then
2509 for ac_prog
in inimpost
2511 # Extract the first word of "$ac_prog", so it can be a program name with args.
2512 set dummy
$ac_prog; ac_word
=$2
2513 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2514 echo "configure:2515: checking for $ac_word" >&5
2515 if eval "test \"`echo '$''{'ac_cv_prog_INIMPOST'+set}'`\" = set"; then
2516 echo $ac_n "(cached) $ac_c" 1>&6
2518 if test -n "$INIMPOST"; then
2519 ac_cv_prog_INIMPOST
="$INIMPOST" # Let the user override the test.
2521 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2523 for ac_dir
in $ac_dummy; do
2524 test -z "$ac_dir" && ac_dir
=.
2525 if test -f $ac_dir/$ac_word; then
2526 ac_cv_prog_INIMPOST
="$ac_prog"
2533 INIMPOST
="$ac_cv_prog_INIMPOST"
2534 if test -n "$INIMPOST"; then
2535 echo "$ac_t""$INIMPOST" 1>&6
2537 echo "$ac_t""no" 1>&6
2540 test -n "$INIMPOST" && break
2542 test -n "$INIMPOST" || INIMPOST
="-echo no inimp or inimpost"
2544 INIMETAPOST
=$INIMPOST
2547 echo $ac_n "checking for working metafont mode""... $ac_c" 1>&6
2548 echo "configure:2549: checking for working metafont mode" >&5
2549 modelist
='ljfour lj4 lj3 lj2 ljet laserjet'
2550 for MFMODE
in $modelist; do
2551 $METAFONT "\mode:=$MFMODE; mode_setup; end." > /dev
/null
2>&1
2552 if test -f mfput.tfm
; then
2557 echo "$ac_t""$MFMODE" 1>&6
2566 # Check whether --enable-tex-tfmdir or --disable-tex-tfmdir was given.
2567 if test "${enable_tex_tfmdir+set}" = set; then
2568 enableval
="$enable_tex_tfmdir"
2575 for ac_prog
in kpsewhich
2577 # Extract the first word of "$ac_prog", so it can be a program name with args.
2578 set dummy
$ac_prog; ac_word
=$2
2579 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2580 echo "configure:2581: checking for $ac_word" >&5
2581 if eval "test \"`echo '$''{'ac_cv_prog_KPSEWHICH'+set}'`\" = set"; then
2582 echo $ac_n "(cached) $ac_c" 1>&6
2584 if test -n "$KPSEWHICH"; then
2585 ac_cv_prog_KPSEWHICH
="$KPSEWHICH" # Let the user override the test.
2587 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2589 for ac_dir
in $ac_dummy; do
2590 test -z "$ac_dir" && ac_dir
=.
2591 if test -f $ac_dir/$ac_word; then
2592 ac_cv_prog_KPSEWHICH
="$ac_prog"
2599 KPSEWHICH
="$ac_cv_prog_KPSEWHICH"
2600 if test -n "$KPSEWHICH"; then
2601 echo "$ac_t""$KPSEWHICH" 1>&6
2603 echo "$ac_t""no" 1>&6
2606 test -n "$KPSEWHICH" && break
2608 test -n "$KPSEWHICH" || KPSEWHICH
="no"
2610 echo $ac_n "checking for TeX TFM directory""... $ac_c" 1>&6
2611 echo "configure:2612: checking for TeX TFM directory" >&5
2612 if test "x$TFMDIR" = xauto
; then
2613 if test "x$TEX_TFMDIR" = "x" ; then
2614 if test "x$KPSEWHICH" != "xno" ; then
2615 CMR10
=`kpsewhich tfm cmr10.tfm`
2616 TEX_TFMDIR
=`dirname $CMR10`
2619 echo "configure: warning: Please set TEX_TFMDIR (to where cmr10.tfm lives):
2620 TEX_TFMDIR=/usr/local/TeX/lib/tex/fonts ./configure" 1>&2
2626 echo "$ac_t""$TEX_TFMDIR" 1>&6
2630 if test "x$YODL" = "x"; then
2631 for ac_prog
in striproff
2633 # Extract the first word of "$ac_prog", so it can be a program name with args.
2634 set dummy
$ac_prog; ac_word
=$2
2635 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2636 echo "configure:2637: checking for $ac_word" >&5
2637 if eval "test \"`echo '$''{'ac_cv_prog_STRIPROFF'+set}'`\" = set"; then
2638 echo $ac_n "(cached) $ac_c" 1>&6
2640 if test -n "$STRIPROFF"; then
2641 ac_cv_prog_STRIPROFF
="$STRIPROFF" # Let the user override the test.
2643 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2645 for ac_dir
in $ac_dummy; do
2646 test -z "$ac_dir" && ac_dir
=.
2647 if test -f $ac_dir/$ac_word; then
2648 ac_cv_prog_STRIPROFF
="$ac_prog"
2655 STRIPROFF
="$ac_cv_prog_STRIPROFF"
2656 if test -n "$STRIPROFF"; then
2657 echo "$ac_t""$STRIPROFF" 1>&6
2659 echo "$ac_t""no" 1>&6
2662 test -n "$STRIPROFF" && break
2664 test -n "$STRIPROFF" || STRIPROFF
="-echo no striproff"
2668 # Extract the first word of "$ac_prog", so it can be a program name with args.
2669 set dummy
$ac_prog; ac_word
=$2
2670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2671 echo "configure:2672: checking for $ac_word" >&5
2672 if eval "test \"`echo '$''{'ac_cv_prog_YODL'+set}'`\" = set"; then
2673 echo $ac_n "(cached) $ac_c" 1>&6
2675 if test -n "$YODL"; then
2676 ac_cv_prog_YODL
="$YODL" # Let the user override the test.
2678 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2680 for ac_dir
in $ac_dummy; do
2681 test -z "$ac_dir" && ac_dir
=.
2682 if test -f $ac_dir/$ac_word; then
2683 ac_cv_prog_YODL
="$ac_prog"
2690 YODL
="$ac_cv_prog_YODL"
2691 if test -n "$YODL"; then
2692 echo "$ac_t""$YODL" 1>&6
2694 echo "$ac_t""no" 1>&6
2697 test -n "$YODL" && break
2699 test -n "$YODL" || YODL
="-echo no yodl"
2701 for ac_prog
in yodl2html
2703 # Extract the first word of "$ac_prog", so it can be a program name with args.
2704 set dummy
$ac_prog; ac_word
=$2
2705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2706 echo "configure:2707: checking for $ac_word" >&5
2707 if eval "test \"`echo '$''{'ac_cv_prog_YODL2HTML'+set}'`\" = set"; then
2708 echo $ac_n "(cached) $ac_c" 1>&6
2710 if test -n "$YODL2HTML"; then
2711 ac_cv_prog_YODL2HTML
="$YODL2HTML" # Let the user override the test.
2713 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2715 for ac_dir
in $ac_dummy; do
2716 test -z "$ac_dir" && ac_dir
=.
2717 if test -f $ac_dir/$ac_word; then
2718 ac_cv_prog_YODL2HTML
="$ac_prog"
2725 YODL2HTML
="$ac_cv_prog_YODL2HTML"
2726 if test -n "$YODL2HTML"; then
2727 echo "$ac_t""$YODL2HTML" 1>&6
2729 echo "$ac_t""no" 1>&6
2732 test -n "$YODL2HTML" && break
2734 test -n "$YODL2HTML" || YODL2HTML
="-echo no yodl"
2736 for ac_prog
in yodl2latex
2738 # Extract the first word of "$ac_prog", so it can be a program name with args.
2739 set dummy
$ac_prog; ac_word
=$2
2740 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2741 echo "configure:2742: checking for $ac_word" >&5
2742 if eval "test \"`echo '$''{'ac_cv_prog_YODL2LATEX'+set}'`\" = set"; then
2743 echo $ac_n "(cached) $ac_c" 1>&6
2745 if test -n "$YODL2LATEX"; then
2746 ac_cv_prog_YODL2LATEX
="$YODL2LATEX" # Let the user override the test.
2748 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2750 for ac_dir
in $ac_dummy; do
2751 test -z "$ac_dir" && ac_dir
=.
2752 if test -f $ac_dir/$ac_word; then
2753 ac_cv_prog_YODL2LATEX
="$ac_prog"
2760 YODL2LATEX
="$ac_cv_prog_YODL2LATEX"
2761 if test -n "$YODL2LATEX"; then
2762 echo "$ac_t""$YODL2LATEX" 1>&6
2764 echo "$ac_t""no" 1>&6
2767 test -n "$YODL2LATEX" && break
2770 for ac_prog
in yodl2man
2772 # Extract the first word of "$ac_prog", so it can be a program name with args.
2773 set dummy
$ac_prog; ac_word
=$2
2774 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2775 echo "configure:2776: checking for $ac_word" >&5
2776 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MAN'+set}'`\" = set"; then
2777 echo $ac_n "(cached) $ac_c" 1>&6
2779 if test -n "$YODL2MAN"; then
2780 ac_cv_prog_YODL2MAN
="$YODL2MAN" # Let the user override the test.
2782 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2784 for ac_dir
in $ac_dummy; do
2785 test -z "$ac_dir" && ac_dir
=.
2786 if test -f $ac_dir/$ac_word; then
2787 ac_cv_prog_YODL2MAN
="$ac_prog"
2794 YODL2MAN
="$ac_cv_prog_YODL2MAN"
2795 if test -n "$YODL2MAN"; then
2796 echo "$ac_t""$YODL2MAN" 1>&6
2798 echo "$ac_t""no" 1>&6
2801 test -n "$YODL2MAN" && break
2803 test -n "$YODL2MAN" || YODL2MAN
="-echo no yodl"
2805 for ac_prog
in yodl2msless
2807 # Extract the first word of "$ac_prog", so it can be a program name with args.
2808 set dummy
$ac_prog; ac_word
=$2
2809 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2810 echo "configure:2811: checking for $ac_word" >&5
2811 if eval "test \"`echo '$''{'ac_cv_prog_YODL2MSLESS'+set}'`\" = set"; then
2812 echo $ac_n "(cached) $ac_c" 1>&6
2814 if test -n "$YODL2MSLESS"; then
2815 ac_cv_prog_YODL2MSLESS
="$YODL2MSLESS" # Let the user override the test.
2817 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2819 for ac_dir
in $ac_dummy; do
2820 test -z "$ac_dir" && ac_dir
=.
2821 if test -f $ac_dir/$ac_word; then
2822 ac_cv_prog_YODL2MSLESS
="$ac_prog"
2829 YODL2MSLESS
="$ac_cv_prog_YODL2MSLESS"
2830 if test -n "$YODL2MSLESS"; then
2831 echo "$ac_t""$YODL2MSLESS" 1>&6
2833 echo "$ac_t""no" 1>&6
2836 test -n "$YODL2MSLESS" && break
2838 test -n "$YODL2MSLESS" || YODL2MSLESS
="-echo no yodl"
2840 for ac_prog
in yodl2texinfo
2842 # Extract the first word of "$ac_prog", so it can be a program name with args.
2843 set dummy
$ac_prog; ac_word
=$2
2844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2845 echo "configure:2846: checking for $ac_word" >&5
2846 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TEXINFO'+set}'`\" = set"; then
2847 echo $ac_n "(cached) $ac_c" 1>&6
2849 if test -n "$YODL2TEXINFO"; then
2850 ac_cv_prog_YODL2TEXINFO
="$YODL2TEXINFO" # Let the user override the test.
2852 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2854 for ac_dir
in $ac_dummy; do
2855 test -z "$ac_dir" && ac_dir
=.
2856 if test -f $ac_dir/$ac_word; then
2857 ac_cv_prog_YODL2TEXINFO
="$ac_prog"
2864 YODL2TEXINFO
="$ac_cv_prog_YODL2TEXINFO"
2865 if test -n "$YODL2TEXINFO"; then
2866 echo "$ac_t""$YODL2TEXINFO" 1>&6
2868 echo "$ac_t""no" 1>&6
2871 test -n "$YODL2TEXINFO" && break
2873 test -n "$YODL2TEXINFO" || YODL2TEXINFO
="-echo no yodl"
2875 for ac_prog
in yodl2txt
2877 # Extract the first word of "$ac_prog", so it can be a program name with args.
2878 set dummy
$ac_prog; ac_word
=$2
2879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2880 echo "configure:2881: checking for $ac_word" >&5
2881 if eval "test \"`echo '$''{'ac_cv_prog_YODL2TXT'+set}'`\" = set"; then
2882 echo $ac_n "(cached) $ac_c" 1>&6
2884 if test -n "$YODL2TXT"; then
2885 ac_cv_prog_YODL2TXT
="$YODL2TXT" # Let the user override the test.
2887 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2889 for ac_dir
in $ac_dummy; do
2890 test -z "$ac_dir" && ac_dir
=.
2891 if test -f $ac_dir/$ac_word; then
2892 ac_cv_prog_YODL2TXT
="$ac_prog"
2899 YODL2TXT
="$ac_cv_prog_YODL2TXT"
2900 if test -n "$YODL2TXT"; then
2901 echo "$ac_t""$YODL2TXT" 1>&6
2903 echo "$ac_t""no" 1>&6
2906 test -n "$YODL2TXT" && break
2908 test -n "$YODL2TXT" || YODL2TXT
="-echo no yodl"
2910 YODL2LESS_DIR
='$(bindir)/'
2921 export STRIPROFF YODL YODL2HTML YODL2LATEX YODL2MAN YODL2MSLESS YODL2TEXINFO YODL2TXT
2923 if test "x$YODL" = "-echo no yodl"; then
2925 echo "configure: warning: Did not find YODL (Yodl is Yet Oneother Document Language, see http://www.cs.uu.nl/~hanwen/yodl)" 1>&2
2931 # on some systems, -lguile succeeds for guile-1.3
2932 # others need readline, dl (or even more)
2933 # urg, must check for different functions in libguile
2934 # to force new check iso reading from cache
2936 # gh_scm2doubles,gh_doubles2scm are new in 1.3
2938 ## The GUILE_FLAGS macro.
2939 ## First, let's just see if we can find Guile at all.
2940 echo $ac_n "checking for Guile""... $ac_c" 1>&6
2941 echo "configure:2942: checking for Guile" >&5
2942 guile-config link
> /dev
/null ||
{
2943 echo "configure: cannot find guile-config; is Guile installed?" 1>&2
2946 GUILE_CFLAGS
="`guile-config compile`"
2947 GUILE_LDFLAGS
="`guile-config link`"
2950 echo "$ac_t""yes" 1>&6
2952 echo $ac_n "checking for gh_scm2doubles in -lguile""... $ac_c" 1>&6
2953 echo "configure:2954: checking for gh_scm2doubles in -lguile" >&5
2954 ac_lib_var
=`echo guile'_'gh_scm2doubles | sed 'y%./+-%__p_%'`
2955 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2956 echo $ac_n "(cached) $ac_c" 1>&6
2958 ac_save_LIBS
="$LIBS"
2959 LIBS
="-lguile $GUILE_LDFLAGS $LIBS"
2960 cat > conftest.
$ac_ext <<EOF
2961 #line 2962 "configure"
2962 #include "confdefs.h"
2963 /* Override any gcc2 internal prototype to avoid an error. */
2967 /* We use char because int might match the return type of a gcc2
2968 builtin and then its argument prototype would still apply. */
2969 char gh_scm2doubles();
2975 if { (eval echo configure
:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2977 eval "ac_cv_lib_$ac_lib_var=yes"
2979 echo "configure: failed program was:" >&5
2980 cat conftest.
$ac_ext >&5
2982 eval "ac_cv_lib_$ac_lib_var=no"
2985 LIBS
="$ac_save_LIBS"
2988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2989 echo "$ac_t""yes" 1>&6
2990 LIBS
="`echo $GUILE_LDFLAGS | sed -e 's/-L[/-_a-zA-Z0-9]\+ //g'` $LIBS"
2991 cat >> confdefs.h
<<\EOF
2992 #define HAVE_LIBGUILE 1
2996 echo "$ac_t""no" 1>&6
2999 if test "$ac_cv_lib_guile_gh_scm2doubles" != yes ; then
3001 echo "configure: warning: You should install guile 1.3 or newer" 1>&2
3008 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
3009 echo "configure:3010: checking for 8-bit clean memcmp" >&5
3010 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
3011 echo $ac_n "(cached) $ac_c" 1>&6
3013 if test "$cross_compiling" = yes; then
3014 ac_cv_func_memcmp_clean
=no
3016 cat > conftest.
$ac_ext <<EOF
3017 #line 3018 "configure"
3018 #include "confdefs.h"
3020 extern "C" void exit(int);
3025 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
3026 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
3030 if { (eval echo configure
:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3032 ac_cv_func_memcmp_clean
=yes
3034 echo "configure: failed program was:" >&5
3035 cat conftest.
$ac_ext >&5
3037 ac_cv_func_memcmp_clean
=no
3044 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
3045 test $ac_cv_func_memcmp_clean = no
&& LIBOBJS
="$LIBOBJS memcmp.${ac_objext}"
3047 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
3048 echo "configure:3049: checking for vprintf" >&5
3049 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
3050 echo $ac_n "(cached) $ac_c" 1>&6
3052 cat > conftest.
$ac_ext <<EOF
3053 #line 3054 "configure"
3054 #include "confdefs.h"
3055 /* System header to define __stub macros and hopefully few prototypes,
3056 which can conflict with char vprintf(); below. */
3058 /* Override any gcc2 internal prototype to avoid an error. */
3062 /* We use char because int might match the return type of a gcc2
3063 builtin and then its argument prototype would still apply. */
3068 /* The GNU C library defines this for functions which it implements
3069 to always fail with ENOSYS. Some functions are actually named
3070 something starting with __ and the normal name is an alias. */
3071 #if defined (__stub_vprintf) || defined (__stub___vprintf)
3079 if { (eval echo configure
:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3081 eval "ac_cv_func_vprintf=yes"
3083 echo "configure: failed program was:" >&5
3084 cat conftest.
$ac_ext >&5
3086 eval "ac_cv_func_vprintf=no"
3091 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
3092 echo "$ac_t""yes" 1>&6
3093 cat >> confdefs.h
<<\EOF
3094 #define HAVE_VPRINTF 1
3098 echo "$ac_t""no" 1>&6
3101 if test "$ac_cv_func_vprintf" != yes; then
3102 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
3103 echo "configure:3104: checking for _doprnt" >&5
3104 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
3105 echo $ac_n "(cached) $ac_c" 1>&6
3107 cat > conftest.
$ac_ext <<EOF
3108 #line 3109 "configure"
3109 #include "confdefs.h"
3110 /* System header to define __stub macros and hopefully few prototypes,
3111 which can conflict with char _doprnt(); below. */
3113 /* Override any gcc2 internal prototype to avoid an error. */
3117 /* We use char because int might match the return type of a gcc2
3118 builtin and then its argument prototype would still apply. */
3123 /* The GNU C library defines this for functions which it implements
3124 to always fail with ENOSYS. Some functions are actually named
3125 something starting with __ and the normal name is an alias. */
3126 #if defined (__stub__doprnt) || defined (__stub____doprnt)
3134 if { (eval echo configure
:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3136 eval "ac_cv_func__doprnt=yes"
3138 echo "configure: failed program was:" >&5
3139 cat conftest.
$ac_ext >&5
3141 eval "ac_cv_func__doprnt=no"
3146 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
3147 echo "$ac_t""yes" 1>&6
3148 cat >> confdefs.h
<<\EOF
3149 #define HAVE_DOPRNT 1
3153 echo "$ac_t""no" 1>&6
3158 for ac_func
in memmem snprintf vsnprintf
gettext
3160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3161 echo "configure:3162: checking for $ac_func" >&5
3162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3163 echo $ac_n "(cached) $ac_c" 1>&6
3165 cat > conftest.
$ac_ext <<EOF
3166 #line 3167 "configure"
3167 #include "confdefs.h"
3168 /* System header to define __stub macros and hopefully few prototypes,
3169 which can conflict with char $ac_func(); below. */
3171 /* Override any gcc2 internal prototype to avoid an error. */
3175 /* We use char because int might match the return type of a gcc2
3176 builtin and then its argument prototype would still apply. */
3181 /* The GNU C library defines this for functions which it implements
3182 to always fail with ENOSYS. Some functions are actually named
3183 something starting with __ and the normal name is an alias. */
3184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3192 if { (eval echo configure
:3193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3194 eval "ac_cv_func_$ac_func=yes"
3196 echo "configure: failed program was:" >&5
3197 cat conftest.
$ac_ext >&5
3199 eval "ac_cv_func_$ac_func=no"
3204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3205 echo "$ac_t""yes" 1>&6
3206 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3207 cat >> confdefs.h
<<EOF
3208 #define $ac_tr_func 1
3212 echo "$ac_t""no" 1>&6
3217 cat >> confdefs.h
<<EOF
3218 #define TOPLEVEL_VERSION "${FULL_VERSION}"
3221 cat >> confdefs.h
<<EOF
3222 #define FLOWER_VERSION "${FULL_FLOWER_VERSION}"
3226 for ac_prog
in makeinfo
3228 # Extract the first word of "$ac_prog", so it can be a program name with args.
3229 set dummy
$ac_prog; ac_word
=$2
3230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3231 echo "configure:3232: checking for $ac_word" >&5
3232 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
3233 echo $ac_n "(cached) $ac_c" 1>&6
3235 if test -n "$MAKEINFO"; then
3236 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
3238 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3240 for ac_dir
in $ac_dummy; do
3241 test -z "$ac_dir" && ac_dir
=.
3242 if test -f $ac_dir/$ac_word; then
3243 ac_cv_prog_MAKEINFO
="$ac_prog"
3250 MAKEINFO
="$ac_cv_prog_MAKEINFO"
3251 if test -n "$MAKEINFO"; then
3252 echo "$ac_t""$MAKEINFO" 1>&6
3254 echo "$ac_t""no" 1>&6
3257 test -n "$MAKEINFO" && break
3259 test -n "$MAKEINFO" || MAKEINFO
="error"
3262 result
="`echo \"$YODL2TEXINFO\" | grep echo`"
3263 if test "x$YODL2TEXINFO" = "xerror" -o "x$result" != "x"; then
3265 echo "configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or newer" 1>&2
3273 cat > confcache
<<\EOF
3274 # This file is a shell script that caches the results of configure
3275 # tests run on this system so they can be shared between configure
3276 # scripts and configure runs. It is not useful on other systems.
3277 # If it contains results you don't want to keep, you may remove or edit it.
3279 # By default, configure uses ./config.cache as the cache file,
3280 # creating it if it does not exist already. You can give configure
3281 # the --cache-file=FILE option to use a different cache file; that is
3282 # what configure does when it calls configure scripts in
3283 # subdirectories, so they share the cache.
3284 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3285 # config.status only pays attention to the cache file if you give it the
3286 # --recheck option to rerun configure.
3289 # The following way of writing the cache mishandles newlines in values,
3290 # but we know of no workaround that is simple, portable, and efficient.
3291 # So, don't put newlines in cache variables' values.
3292 # Ultrix sh set writes to stderr and can't be redirected directly,
3293 # and sets the high bit in the cache file unless we assign to the vars.
3295 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3297 # `set' does not quote correctly, so add quotes (double-quote substitution
3298 # turns \\\\ into \\, and sed turns \\ into \).
3300 -e "s/'/'\\\\''/g" \
3301 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3304 # `set' quotes correctly as required by POSIX, so do not add quotes.
3305 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3308 if cmp -s $cache_file confcache
; then
3311 if test -w $cache_file; then
3312 echo "updating cache $cache_file"
3313 cat confcache
> $cache_file
3315 echo "not updating unwritable cache $cache_file"
3320 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3322 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3323 # Let make expand exec_prefix.
3324 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3326 # Any assignment to VPATH causes Sun make to only execute
3327 # the first set of double-colon rules, so remove it if not needed.
3328 # If there is a colon in the path, we need to keep it.
3329 if test "x$srcdir" = x.
; then
3330 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
3333 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3335 DEFS
=-DHAVE_CONFIG_H
3337 # Without the "./", some shells look in PATH for config.status.
3338 : ${CONFIG_STATUS=./config.status}
3340 echo creating
$CONFIG_STATUS
3341 rm -f $CONFIG_STATUS
3342 cat > $CONFIG_STATUS <<EOF
3344 # Generated automatically by configure.
3345 # Run this file to recreate the current configuration.
3346 # This directory was configured as follows,
3347 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3349 # $0 $ac_configure_args
3351 # Compiler output produced by configure, useful for debugging
3352 # configure, is in ./config.log if it exists.
3354 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3357 case "\$ac_option" in
3358 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3359 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3360 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3361 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3362 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3364 -help | --help | --hel | --he | --h)
3365 echo "\$ac_cs_usage"; exit 0 ;;
3366 *) echo "\$ac_cs_usage"; exit 1 ;;
3370 ac_given_srcdir=$srcdir
3372 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3374 cat >> $CONFIG_STATUS <<EOF
3376 # Protect against being on the right side of a sed subst in config.status.
3377 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3378 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3382 s%@CFLAGS@%$CFLAGS%g
3383 s%@CPPFLAGS@%$CPPFLAGS%g
3384 s%@CXXFLAGS@%$CXXFLAGS%g
3385 s%@FFLAGS@%$FFLAGS%g
3387 s%@LDFLAGS@%$LDFLAGS%g
3389 s%@exec_prefix@%$exec_prefix%g
3390 s%@prefix@%$prefix%g
3391 s%@program_transform_name@%$program_transform_name%g
3392 s%@bindir@%$bindir%g
3393 s%@sbindir@%$sbindir%g
3394 s%@libexecdir@%$libexecdir%g
3395 s%@datadir@%$datadir%g
3396 s%@sysconfdir@%$sysconfdir%g
3397 s%@sharedstatedir@%$sharedstatedir%g
3398 s%@localstatedir@%$localstatedir%g
3399 s%@libdir@%$libdir%g
3400 s%@includedir@%$includedir%g
3401 s%@oldincludedir@%$oldincludedir%g
3402 s%@infodir@%$infodir%g
3403 s%@mandir@%$mandir%g
3404 s%@stepmake@%$stepmake%g
3405 s%@package@%$package%g
3406 s%@PACKAGE@%$PACKAGE%g
3407 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
3408 s%@package_depth@%$package_depth%g
3409 s%@AUTOGENERATE@%$AUTOGENERATE%g
3410 s%@absolute_builddir@%$absolute_builddir%g
3411 s%@STATE_VECTOR@%$STATE_VECTOR%g
3412 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
3414 s%@host_alias@%$host_alias%g
3415 s%@host_cpu@%$host_cpu%g
3416 s%@host_vendor@%$host_vendor%g
3417 s%@host_os@%$host_os%g
3422 s%@PYTHON@%$PYTHON%g
3423 s%@DOTEXE@%$DOTEXE%g
3427 s%@INSTALL@%$INSTALL%g
3428 s%@PATHSEP@%$PATHSEP%g
3429 s%@DIRSEP@%$DIRSEP%g
3430 s%@DIR_DATADIR@%$DIR_DATADIR%g
3431 s%@subdirs@%$subdirs%g
3434 s%@ICFLAGS@%$ICFLAGS%g
3435 s%@ILDFLAGS@%$ILDFLAGS%g
3436 s%@DEFINES@%$DEFINES%g
3437 s%@EXTRA_LIBES@%$EXTRA_LIBES%g
3439 s%@CXXCPP@%$CXXCPP%g
3444 s%@RANLIB@%$RANLIB%g
3445 s%@localedir@%$localedir%g
3446 s%@DIR_LOCALEDIR@%$DIR_LOCALEDIR%g
3447 s%@MSGFMT@%$MSGFMT%g
3448 s%@METAFONT@%$METAFONT%g
3450 s%@METAPOST@%$METAPOST%g
3452 s%@INIMETAFONT@%$INIMETAFONT%g
3453 s%@INIMFONT@%$INIMFONT%g
3454 s%@INIMETAPOST@%$INIMETAPOST%g
3455 s%@INIMPOST@%$INIMPOST%g
3456 s%@MFMODE@%$MFMODE%g
3457 s%@KPSEWHICH@%$KPSEWHICH%g
3458 s%@TEX_TFMDIR@%$TEX_TFMDIR%g
3459 s%@STRIPROFF@%$STRIPROFF%g
3461 s%@YODL2HTML@%$YODL2HTML%g
3462 s%@YODL2LATEX@%$YODL2LATEX%g
3463 s%@YODL2MAN@%$YODL2MAN%g
3464 s%@YODL2MSLESS@%$YODL2MSLESS%g
3465 s%@YODL2TEXINFO@%$YODL2TEXINFO%g
3466 s%@YODL2TXT@%$YODL2TXT%g
3467 s%@YODL2LESS_DIR@%$YODL2LESS_DIR%g
3468 s%@LIBOBJS@%$LIBOBJS%g
3469 s%@MAKEINFO@%$MAKEINFO%g
3474 cat >> $CONFIG_STATUS <<\EOF
3476 # Split the substitutions into bite-sized pieces for seds with
3477 # small command number limits, like on Digital OSF/1 and HP-UX.
3478 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3479 ac_file
=1 # Number of current file.
3480 ac_beg
=1 # First line for current file.
3481 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3484 while $ac_more_lines; do
3485 if test $ac_beg -gt 1; then
3486 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3488 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3490 if test ! -s conftest.s
$ac_file; then
3492 rm -f conftest.s
$ac_file
3494 if test -z "$ac_sed_cmds"; then
3495 ac_sed_cmds
="sed -f conftest.s$ac_file"
3497 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3499 ac_file
=`expr $ac_file + 1`
3501 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3504 if test -z "$ac_sed_cmds"; then
3509 cat >> $CONFIG_STATUS <<EOF
3511 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
3513 cat >> $CONFIG_STATUS <<\EOF
3514 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3515 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3517 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3518 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3519 *) ac_file_in
="${ac_file}.in" ;;
3522 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3524 # Remove last slash and all that follows it. Not all systems have dirname.
3525 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3526 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3527 # The file is in a subdirectory.
3528 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3529 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3530 # A "../" for each directory in $ac_dir_suffix.
3531 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3533 ac_dir_suffix
= ac_dots
=
3536 case "$ac_given_srcdir" in
3538 if test -z "$ac_dots"; then top_srcdir
=.
3539 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3540 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3542 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3543 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3547 echo creating
"$ac_file"
3549 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3551 *Makefile
*) ac_comsub
="1i\\
3552 # $configure_input" ;;
3556 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3558 s%@configure_input@%$configure_input%g
3559 s%@srcdir@%$srcdir%g
3560 s%@top_srcdir@%$top_srcdir%g
3561 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3565 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3566 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3568 # ac_d sets the value in "#define NAME VALUE" lines.
3569 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3570 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3573 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3574 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3575 ac_uB
='\([ ]\)%\1#\2define\3'
3578 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3579 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3580 ac_eB
='$%\1#\2define\3'
3584 if test "${CONFIG_HEADERS+set}" != set; then
3586 cat >> $CONFIG_STATUS <<EOF
3587 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
3589 cat >> $CONFIG_STATUS <<\EOF
3591 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
3592 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3594 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3595 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3596 *) ac_file_in
="${ac_file}.in" ;;
3599 echo creating
$ac_file
3601 rm -f conftest.frag conftest.
in conftest.out
3602 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3603 cat $ac_file_inputs > conftest.
in
3607 # Transform confdefs.h into a sed script conftest.vals that substitutes
3608 # the proper values into config.h.in to produce config.h. And first:
3609 # Protect against being on the right side of a sed subst in config.status.
3610 # Protect against being in an unquoted here document in config.status.
3612 cat > conftest.hdr
<<\EOF
3615 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3619 sed -n -f conftest.hdr confdefs.h > conftest.vals
3622 # This sed command replaces #undef with comments. This is necessary, for
3623 # example, in the case of _POSIX_SOURCE, which is predefined and required
3624 # on some systems where configure will not decide to define it.
3625 cat >> conftest.vals <<\EOF
3626 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3629 # Break up conftest.vals because some shells have a limit on
3630 # the size of here documents, and old seds have small limits too.
3635 ac_lines=`grep -c . conftest.vals
`
3636 # grep -c gives empty output for an empty file on some AIX systems.
3637 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3638 # Write a limited-size here document to conftest.frag.
3639 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3640 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3642 sed -f conftest.frag conftest.in > conftest.out
3644 mv conftest.out conftest.in
3646 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3648 mv conftest.tail conftest.vals
3652 cat >> $CONFIG_STATUS <<\EOF
3653 rm -f conftest.frag conftest.h
3654 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3655 cat conftest.in >> conftest.h
3657 if cmp -s $ac_file conftest.h 2>/dev/null; then
3658 echo "$ac_file is unchanged"
3661 # Remove last slash and all that follows it. Not all systems have dirname.
3662 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3663 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3664 # The file is in a subdirectory.
3665 test ! -d "$ac_dir" && mkdir "$ac_dir"
3668 mv conftest.h $ac_file
3673 cat >> $CONFIG_STATUS <<EOF
3676 cat >> $CONFIG_STATUS <<\EOF
3680 chmod +x $CONFIG_STATUS
3681 rm -fr confdefs* $ac_clean_files
3682 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3684 if test "$no_recursion" != yes; then
3686 # Remove --cache-file and --srcdir arguments so they do not pile up.
3687 ac_sub_configure_args=
3689 for ac_arg in $ac_configure_args; do
3690 if test -n "$ac_prev"; then
3695 -cache-file | --cache-file | --cache-fil | --cache-fi \
3696 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3697 ac_prev=cache_file ;;
3698 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3699 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3701 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3703 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3705 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3709 for ac_config_dir in stepmake; do
3711 # Do not complain, so a configure script can configure whichever
3712 # parts of a large source tree are present.
3713 if test ! -d $srcdir/$ac_config_dir; then
3717 echo configuring in $ac_config_dir
3722 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
3724 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
3732 # A "../" for each directory in /$ac_config_dir.
3733 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
3736 .) # No --srcdir option. We are building in place.
3737 ac_sub_srcdir=$srcdir ;;
3738 /*) # Absolute path.
3739 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
3741 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
3744 # Check for guested configure; otherwise get Cygnus style configure.
3745 if test -f $ac_sub_srcdir/configure; then
3746 ac_sub_configure=$ac_sub_srcdir/configure
3747 elif test -f $ac_sub_srcdir/configure.in; then
3748 ac_sub_configure=$ac_configure
3750 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
3754 # The recursion is here.
3755 if test -n "$ac_sub_configure"; then
3757 # Make the cache file name correct relative to the subdirectory.
3758 case "$cache_file" in
3759 /*) ac_sub_cache_file=$cache_file ;;
3761 ac_sub_cache_file="$ac_dots$cache_file" ;;
3764 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
3765 # The eval makes quoting arguments work.
3766 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
3769 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
3779 cp make/toplevel.make.in ./GNUmakefile
3780 chmod 444 GNUmakefile