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)
56 # Guess values for system-dependent variables and create Makefiles.
57 # Generated automatically using autoconf version 2.13
58 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
60 # This configure script is free software; the Free Software Foundation
61 # gives unlimited permission to copy, distribute and modify it.
65 ac_default_prefix=/usr/local
66 # Any additions from configure.in:
68 enable-config=FILE put configure settings in config-FILE.make"
70 with-localedir=LOCALE use LOCALE as locale dir. Default: PREFIX/share/locale "
72 with-lang=LANG use LANG as language to emit messages"
74 # Initialize some variables set by options.
75 # The variables have the same names as the options, with
76 # dashes changed to underlines.
78 cache_file=./config.cache
87 program_transform_name=s,x,x,
95 bindir='${exec_prefix}/bin'
96 sbindir='${exec_prefix}/sbin'
97 libexecdir='${exec_prefix}/libexec'
98 datadir='${prefix}/share'
99 sysconfdir='${prefix}/etc'
100 sharedstatedir='${prefix}/com'
101 localstatedir='${prefix}/var'
102 libdir='${exec_prefix}/lib'
103 includedir='${prefix}/include'
104 oldincludedir='/usr/include'
105 infodir='${prefix}/info'
106 mandir='${prefix}/man'
108 # Initialize some other variables.
111 SHELL=${CONFIG_SHELL-/bin/sh}
112 # Maximum number of lines to put in a shell here document.
119 # If the previous option needs an argument, assign it.
120 if test -n "$ac_prev"; then
121 eval "$ac_prev=\$ac_option"
127 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
131 # Accept the important Cygnus configure options, so we can diagnose typos.
135 -bindir | --bindir | --bindi | --bind | --bin | --bi)
137 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
138 bindir="$ac_optarg" ;;
140 -build | --build | --buil | --bui | --bu)
142 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
143 build="$ac_optarg" ;;
145 -cache-file | --cache-file | --cache-fil | --cache-fi \
146 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
147 ac_prev=cache_file ;;
148 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
149 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
150 cache_file="$ac_optarg" ;;
152 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
154 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
156 datadir="$ac_optarg" ;;
158 -disable-* | --disable-*)
159 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
165 eval "enable_${ac_feature}=no" ;;
167 -enable-* | --enable-*)
168 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
169 # Reject names that are not valid shell variable names.
170 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
171 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
173 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
178 eval "enable_${ac_feature}='$ac_optarg'" ;;
180 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
181 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
182 | --exec | --exe | --ex)
183 ac_prev=exec_prefix ;;
184 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
185 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
186 | --exec=* | --exe=* | --ex=*)
187 exec_prefix="$ac_optarg" ;;
189 -gas | --gas | --ga | --g)
190 # Obsolete; use --with-gas.
193 -help | --help | --hel | --he)
194 # Omit some internal or obsolete options to make the list less imposing.
195 # This message is too long to be a string in the A/UX 3.1 sh.
197 Usage: configure [options] [host]
198 Options: [defaults in brackets after descriptions]
200 --cache-file=FILE cache test results in FILE
201 --help print this message
202 --no-create do not create output files
203 --quiet, --silent do not print \`checking...' messages
204 --version print the version of autoconf that created configure
205 Directory and file names:
206 --prefix=PREFIX install architecture-independent files in PREFIX
208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
210 --bindir=DIR user executables in DIR [EPREFIX/bin]
211 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
212 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
213 --datadir=DIR read-only architecture-independent data in DIR
215 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
216 --sharedstatedir=DIR modifiable architecture-independent data in DIR
218 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
219 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
220 --includedir=DIR C header files in DIR [PREFIX/include]
221 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
222 --infodir=DIR info documentation in DIR [PREFIX/info]
223 --mandir=DIR man documentation in DIR [PREFIX/man]
224 --srcdir=DIR find the sources in DIR [configure dir or ..]
225 --program-prefix=PREFIX prepend PREFIX to installed program names
226 --program-suffix=SUFFIX append SUFFIX to installed program names
227 --program-transform-name=PROGRAM
228 run sed PROGRAM on installed program names
232 --build=BUILD configure for building on BUILD [BUILD=HOST]
233 --host=HOST configure for HOST [guessed]
234 --target=TARGET configure for TARGET [TARGET=HOST]
235 Features and packages:
236 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
237 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
238 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
239 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
240 --x-includes=DIR X include files are in DIR
241 --x-libraries=DIR X library files are in DIR
243 if test -n "$ac_help"; then
244 echo "--enable and --with options recognized:$ac_help"
248 -host | --host | --hos | --ho)
250 -host=* | --host=* | --hos=* | --ho=*)
253 -includedir | --includedir | --includedi | --included | --include \
254 | --includ | --inclu | --incl | --inc)
255 ac_prev=includedir ;;
256 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
257 | --includ=* | --inclu=* | --incl=* | --inc=*)
258 includedir="$ac_optarg" ;;
260 -infodir | --infodir | --infodi | --infod | --info | --inf)
262 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
263 infodir="$ac_optarg" ;;
265 -libdir | --libdir | --libdi | --libd)
267 -libdir=* | --libdir=* | --libdi=* | --libd=*)
268 libdir="$ac_optarg" ;;
270 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
271 | --libexe | --libex | --libe)
272 ac_prev=libexecdir ;;
273 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
274 | --libexe=* | --libex=* | --libe=*)
275 libexecdir="$ac_optarg" ;;
277 -localstatedir | --localstatedir | --localstatedi | --localstated \
278 | --localstate | --localstat | --localsta | --localst \
279 | --locals | --local | --loca | --loc | --lo)
280 ac_prev=localstatedir ;;
281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
282 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
283 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
284 localstatedir="$ac_optarg" ;;
286 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
288 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
289 mandir="$ac_optarg" ;;
292 # Obsolete; use --without-fp.
295 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
299 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
300 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
303 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
304 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
305 | --oldin | --oldi | --old | --ol | --o)
306 ac_prev=oldincludedir ;;
307 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
308 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
309 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
310 oldincludedir="$ac_optarg" ;;
312 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
314 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
315 prefix="$ac_optarg" ;;
317 -program-prefix | --program-prefix | --program-prefi | --program-pref \
318 | --program-pre | --program-pr | --program-p)
319 ac_prev=program_prefix ;;
320 -program-prefix=* | --program-prefix=* | --program-prefi=* \
321 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
322 program_prefix="$ac_optarg" ;;
324 -program-suffix | --program-suffix | --program-suffi | --program-suff \
325 | --program-suf | --program-su | --program-s)
326 ac_prev=program_suffix ;;
327 -program-suffix=* | --program-suffix=* | --program-suffi=* \
328 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
329 program_suffix="$ac_optarg" ;;
331 -program-transform-name | --program-transform-name \
332 | --program-transform-nam | --program-transform-na \
333 | --program-transform-n | --program-transform- \
334 | --program-transform | --program-transfor \
335 | --program-transfo | --program-transf \
336 | --program-trans | --program-tran \
337 | --progr-tra | --program-tr | --program-t)
338 ac_prev=program_transform_name ;;
339 -program-transform-name=* | --program-transform-name=* \
340 | --program-transform-nam=* | --program-transform-na=* \
341 | --program-transform-n=* | --program-transform-=* \
342 | --program-transform=* | --program-transfor=* \
343 | --program-transfo=* | --program-transf=* \
344 | --program-trans=* | --program-tran=* \
345 | --progr-tra=* | --program-tr=* | --program-t=*)
346 program_transform_name="$ac_optarg" ;;
348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
349 | -silent | --silent | --silen | --sile | --sil)
352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
356 sbindir="$ac_optarg" ;;
358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
360 | --sharedst | --shareds | --shared | --share | --shar \
362 ac_prev=sharedstatedir ;;
363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
367 sharedstatedir="$ac_optarg" ;;
369 -site | --site | --sit)
371 -site=* | --site=* | --sit=*)
374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
377 srcdir="$ac_optarg" ;;
379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
380 | --syscon | --sysco | --sysc | --sys | --sy)
381 ac_prev=sysconfdir ;;
382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
384 sysconfdir="$ac_optarg" ;;
386 -target | --target | --targe | --targ | --tar | --ta | --t)
388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
389 target="$ac_optarg" ;;
391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
394 -version | --version | --versio | --versi | --vers)
395 echo "configure generated by autoconf version 2.13"
399 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
400 # Reject names that are not valid shell variable names.
401 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
402 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
404 ac_package=`echo $ac_package| sed 's/-/_/g'`
409 eval "with_${ac_package}='$ac_optarg'" ;;
411 -without-* | --without-*)
412 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
413 # Reject names that are not valid shell variable names.
414 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
415 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
417 ac_package=`echo $ac_package| sed 's/-/_/g'`
418 eval "with_${ac_package}=no" ;;
421 # Obsolete; use --with-x.
424 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
425 | --x-incl | --x-inc | --x-in | --x-i)
426 ac_prev=x_includes ;;
427 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
428 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
429 x_includes="$ac_optarg" ;;
431 -x-libraries | --x-libraries | --x-librarie | --x-librari \
432 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
433 ac_prev=x_libraries ;;
434 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
435 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
436 x_libraries="$ac_optarg" ;;
438 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
442 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
443 echo "configure: warning: $ac_option: invalid host type" 1>&2
445 if test "x$nonopt" != xNONE; then
446 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
454 if test -n "$ac_prev"; then
455 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
458 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
460 # File descriptor usage:
463 # 2 errors and warnings
464 # 3 some systems may open it to /dev/tty
465 # 4 used on the Kubota Titan
466 # 6 checking for... messages and results
467 # 5 compiler messages saved in config.log
468 if test "$silent" = yes; then
476 This file contains any messages produced by compilers while
477 running configure, to aid debugging if configure makes a mistake.
480 # Strip out --no-create and --no-recursion so they do not pile up.
481 # Also quote any args containing shell metacharacters.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c) ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
490 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
491 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
492 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
497 # Only set these to C if already set. These must not be set unconditionally
498 # because not all systems understand e.g. LANG=C (notably SCO).
499 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
500 # Non-C LC_CTYPE values break the ctype check.
501 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
502 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
503 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
504 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
506 # confdefs.h avoids OS command line length limits that DEFS can exceed.
507 rm -rf conftest* confdefs.h
508 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
511 # A filename unique to this package, relative to the directory that
512 # configure is in, which we can look for to find out if srcdir is correct.
513 ac_unique_file=make/stepmake.lsm.in
515 # Find the source files, if location was not specified.
516 if test -z "$srcdir"; then
517 ac_srcdir_defaulted=yes
518 # Try the directory containing this script, then its parent.
520 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
521 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
523 if test ! -r $srcdir/$ac_unique_file; then
527 ac_srcdir_defaulted=no
529 if test ! -r $srcdir/$ac_unique_file; then
530 if test "$ac_srcdir_defaulted" = yes; then
531 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
533 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
536 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
538 # Prefer explicitly selected file to automatically selected ones.
539 if test -z "$CONFIG_SITE"; then
540 if test "x$prefix" != xNONE; then
541 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
543 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
546 for ac_site_file in $CONFIG_SITE; do
547 if test -r "$ac_site_file"; then
548 echo "loading site script $ac_site_file"
553 if test -r "$cache_file"; then
554 echo "loading cache $cache_file"
557 echo "creating cache $cache_file"
562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
563 ac_cpp='$CPP $CPPFLAGS'
564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
566 cross_compiling=$ac_cv_prog_cc_cross
570 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
571 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
572 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
579 ac_n= ac_c='\c' ac_t=
585 # Bootstrap StepMake configure
589 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
590 if test x$MY_PATCH_LEVEL != x; then
591 FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
594 # urg: don't "fix" this: irix doesn't know about [:lower:] and [:upper:]
595 PACKAGE=`echo $PACKAGE_NAME | tr '[a-z]' '[A-Z]'`
596 package=`echo $PACKAGE_NAME | tr '[A-Z]' '[a-z]'`
598 # No versioning on directory names of sub-packages
600 stepmake=${datadir}/stepmake
602 if test "$prefix" = "NONE"; then
603 presome=${ac_default_prefix}
605 stepmake=`echo ${stepmake} | sed "s!\\\${prefix}!$presome!"`
607 # urg, how is this supposed to work?
608 if test "$program_prefix" = "NONE"; then
611 if test "$program_suffix" = "NONE"; then
615 echo $ac_n "checking Package""... $ac_c" 1>&6
616 echo "configure:617: checking Package" >&5
617 if test "x$PACKAGE" = "xSTEPMAKE"; then
618 echo "$ac_t""Stepmake package!" 1>&6
620 #if test "x$builddir" != "x"; then
621 # builddir="../$builddir"
625 if test "$srcdir" != "."; then
626 absolute_builddir="`pwd`"
627 package_absolute_builddir="`dirname $absolute_builddir`"
628 package_srcdir="`dirname $srcdir`"
629 builddir="`dirname $package_srcdir`/`basename $package_absolute_builddir`/`basename $absolute_builddir`"
634 (cd stepmake 2>/dev/null || mkdir stepmake)
635 (cd stepmake; rm -f stepmake; ln -s ../$srcdir/stepmake .)
636 (cd stepmake; rm -f bin; ln -s ../$srcdir/bin .)
638 for ac_dir in bin $srcdir/bin; do
639 if test -f $ac_dir/install-sh; then
641 ac_install_sh="$ac_aux_dir/install-sh -c"
643 elif test -f $ac_dir/install.sh; then
645 ac_install_sh="$ac_aux_dir/install.sh -c"
649 if test -z "$ac_aux_dir"; then
650 { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
652 ac_config_guess=$ac_aux_dir/config.guess
653 ac_config_sub=$ac_aux_dir/config.sub
654 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
658 echo "$ac_t""$PACKAGE" 1>&6
660 if test "$srcdir" != "."; then
661 absolute_builddir="`pwd`"
662 builddir="`dirname $srcdir`/`basename $absolute_builddir`"
667 echo $ac_n "checking for stepmake""... $ac_c" 1>&6
668 echo "configure:669: checking for stepmake" >&5
669 # Check for installed stepmake
670 if test -d $stepmake; then
671 echo "$ac_t""$stepmake" 1>&6
673 stepmake='$(depth)'/$srcdir/stepmake
674 echo "$ac_t""$srcdir/stepmake ($datadir/stepmake not found)" 1>&6
678 $HOME/usr/local/share/stepmake/bin\
679 $HOME/usr/local/lib/stepmake/bin\
680 $HOME/usr/share/stepmake/bin\
681 $HOME/usr/lib/stepmake/bin\
682 /usr/local/share/stepmake/bin\
683 /usr/local/lib/stepmake/bin\
684 /usr/share/stepmake/bin\
685 /usr/lib/stepmake/bin\
687 $srcdir/stepmake/bin\
689 $HOME/usr/local/share/stepmake/bin\
690 $HOME/usr/local/lib/stepmake/bin\
691 $HOME/usr/share/stepmake/bin\
692 $HOME/usr/lib/stepmake/bin\
693 /usr/local/share/stepmake/bin\
694 /usr/local/lib/stepmake/bin\
695 /usr/share/stepmake/bin\
696 /usr/lib/stepmake/bin\
698 $srcdir/stepmake/bin\
700 if test -f $ac_dir/install-sh; then
702 ac_install_sh="$ac_aux_dir/install-sh -c"
704 elif test -f $ac_dir/install.sh; then
706 ac_install_sh="$ac_aux_dir/install.sh -c"
710 if test -z "$ac_aux_dir"; then
711 { echo "configure: error: can not find install-sh or install.sh in \
712 $HOME/usr/local/share/stepmake/bin\
713 $HOME/usr/local/lib/stepmake/bin\
714 $HOME/usr/share/stepmake/bin\
715 $HOME/usr/lib/stepmake/bin\
716 /usr/local/share/stepmake/bin\
717 /usr/local/lib/stepmake/bin\
718 /usr/share/stepmake/bin\
719 /usr/lib/stepmake/bin\
721 $srcdir/stepmake/bin\
723 $HOME/usr/local/share/stepmake/bin\
724 $HOME/usr/local/lib/stepmake/bin\
725 $HOME/usr/share/stepmake/bin\
726 $HOME/usr/lib/stepmake/bin\
727 /usr/local/share/stepmake/bin\
728 /usr/local/lib/stepmake/bin\
729 /usr/share/stepmake/bin\
730 /usr/lib/stepmake/bin\
732 $srcdir/stepmake/bin\
735 ac_config_guess=$ac_aux_dir/config.guess
736 ac_config_sub=$ac_aux_dir/config.sub
737 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
746 cat >> confdefs.h <<EOF
747 #define PACKAGE "${PACKAGE_NAME}"
750 cat >> confdefs.h <<EOF
751 #define TOPLEVEL_VERSION "${FULL_VERSION}"
755 if test "$package_depth" = "" ; then
758 package_depth="../$package_depth"
763 AUTOGENERATE="This file was automatically generated by configure"
766 STATE_VECTOR=`ls make/STATE-VECTOR 2>/dev/null`
767 if test "x$STATE_VECTOR" != "x"; then
768 STATE_VECTOR="\$(depth)/$STATE_VECTOR"
773 # Check whether --enable-config or --disable-config was given.
774 if test "${enable_config+set}" = set; then
775 enableval="$enable_config"
776 CONFIGSUFFIX=-$enableval
780 CONFIGFILE=config$CONFIGSUFFIX
784 # Make sure we can run config.sub.
785 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
786 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
789 echo $ac_n "checking host system type""... $ac_c" 1>&6
790 echo "configure:791: checking host system type" >&5
793 case "$host_alias" in
797 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
798 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
800 *) host_alias=$nonopt ;;
804 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
805 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
806 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
807 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
808 echo "$ac_t""$host" 1>&6
810 for ac_prog in gmake make
812 # Extract the first word of "$ac_prog", so it can be a program name with args.
813 set dummy $ac_prog; ac_word=$2
814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
815 echo "configure:816: checking for $ac_word" >&5
816 if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then
817 echo $ac_n "(cached) $ac_c" 1>&6
819 if test -n "$MAKE"; then
820 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
822 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
824 for ac_dir in $ac_dummy; do
825 test -z "$ac_dir" && ac_dir=.
826 if test -f $ac_dir/$ac_word; then
827 ac_cv_prog_MAKE="$ac_prog"
834 MAKE="$ac_cv_prog_MAKE"
835 if test -n "$MAKE"; then
836 echo "$ac_t""$MAKE" 1>&6
838 echo "$ac_t""no" 1>&6
841 test -n "$MAKE" && break
843 test -n "$MAKE" || MAKE="error"
847 # Extract the first word of "$ac_prog", so it can be a program name with args.
848 set dummy $ac_prog; ac_word=$2
849 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
850 echo "configure:851: checking for $ac_word" >&5
851 if eval "test \"`echo '$''{'ac_cv_prog_FIND'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 if test -n "$FIND"; then
855 ac_cv_prog_FIND="$FIND" # Let the user override the test.
857 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
859 for ac_dir in $ac_dummy; do
860 test -z "$ac_dir" && ac_dir=.
861 if test -f $ac_dir/$ac_word; then
862 ac_cv_prog_FIND="$ac_prog"
869 FIND="$ac_cv_prog_FIND"
870 if test -n "$FIND"; then
871 echo "$ac_t""$FIND" 1>&6
873 echo "$ac_t""no" 1>&6
876 test -n "$FIND" && break
878 test -n "$FIND" || FIND="error"
884 # Extract the first word of "$ac_prog", so it can be a program name with args.
885 set dummy $ac_prog; ac_word=$2
886 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
887 echo "configure:888: checking for $ac_word" >&5
888 if eval "test \"`echo '$''{'ac_cv_prog_TAR'+set}'`\" = set"; then
889 echo $ac_n "(cached) $ac_c" 1>&6
891 if test -n "$TAR"; then
892 ac_cv_prog_TAR="$TAR" # Let the user override the test.
894 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
896 for ac_dir in $ac_dummy; do
897 test -z "$ac_dir" && ac_dir=.
898 if test -f $ac_dir/$ac_word; then
899 ac_cv_prog_TAR="$ac_prog"
906 TAR="$ac_cv_prog_TAR"
907 if test -n "$TAR"; then
908 echo "$ac_t""$TAR" 1>&6
910 echo "$ac_t""no" 1>&6
913 test -n "$TAR" && break
915 test -n "$TAR" || TAR="error"
918 if test "x`uname`" = "xHP-UX"; then
919 # Extract the first word of "bash", so it can be a program name with args.
920 set dummy bash; ac_word=$2
921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
922 echo "configure:923: checking for $ac_word" >&5
923 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
924 echo $ac_n "(cached) $ac_c" 1>&6
928 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
931 ac_cv_path_BASH="$BASH" # Let the user override the test with a dos path.
934 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
936 for ac_dir in $ac_dummy; do
937 test -z "$ac_dir" && ac_dir=.
938 if test -f $ac_dir/$ac_word; then
939 ac_cv_path_BASH="$ac_dir/$ac_word"
944 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="/bin/sh"
948 BASH="$ac_cv_path_BASH"
949 if test -n "$BASH"; then
950 echo "$ac_t""$BASH" 1>&6
952 echo "$ac_t""no" 1>&6
956 echo "configure: warning: avoiding buggy /bin/sh" 1>&2
959 # Extract the first word of "bash", so it can be a program name with args.
960 set dummy bash; ac_word=$2
961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
962 echo "configure:963: checking for $ac_word" >&5
963 if eval "test \"`echo '$''{'ac_cv_path_SHELL'+set}'`\" = set"; then
964 echo $ac_n "(cached) $ac_c" 1>&6
968 ac_cv_path_SHELL="$SHELL" # Let the user override the test with a path.
971 ac_cv_path_SHELL="$SHELL" # Let the user override the test with a dos path.
974 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
976 for ac_dir in $ac_dummy; do
977 test -z "$ac_dir" && ac_dir=.
978 if test -f $ac_dir/$ac_word; then
979 ac_cv_path_SHELL="$ac_dir/$ac_word"
984 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL="/bin/ksh"
988 SHELL="$ac_cv_path_SHELL"
989 if test -n "$SHELL"; then
990 echo "$ac_t""$SHELL" 1>&6
992 echo "$ac_t""no" 1>&6
996 # Extract the first word of "bash", so it can be a program name with args.
997 set dummy bash; ac_word=$2
998 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
999 echo "configure:1000: checking for $ac_word" >&5
1000 if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then
1001 echo $ac_n "(cached) $ac_c" 1>&6
1005 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
1008 ac_cv_path_BASH="$BASH" # Let the user override the test with a dos path.
1011 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1013 for ac_dir in $ac_dummy; do
1014 test -z "$ac_dir" && ac_dir=.
1015 if test -f $ac_dir/$ac_word; then
1016 ac_cv_path_BASH="$ac_dir/$ac_word"
1021 test -z "$ac_cv_path_BASH" && ac_cv_path_BASH="/bin/sh"
1025 BASH="$ac_cv_path_BASH"
1026 if test -n "$BASH"; then
1027 echo "$ac_t""$BASH" 1>&6
1029 echo "$ac_t""no" 1>&6
1037 # Extract the first word of "${PYTHON:-python}", so it can be a program name with args.
1038 set dummy ${PYTHON:-python}; ac_word=$2
1039 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1040 echo "configure:1041: checking for $ac_word" >&5
1041 if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
1042 echo $ac_n "(cached) $ac_c" 1>&6
1046 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1049 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a dos path.
1052 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1054 for ac_dir in $ac_dummy; do
1055 test -z "$ac_dir" && ac_dir=.
1056 if test -f $ac_dir/$ac_word; then
1057 ac_cv_path_PYTHON="$ac_dir/$ac_word"
1062 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="-echo no python"
1066 PYTHON="$ac_cv_path_PYTHON"
1067 if test -n "$PYTHON"; then
1068 echo "$ac_t""$PYTHON" 1>&6
1070 echo "$ac_t""no" 1>&6
1075 if test $MAKE != "error" ; then
1076 $MAKE -v 2> /dev/null | grep GNU > /dev/null
1080 echo "configure: warning: Please install *GNU* make" 1>&2
1087 result="`echo \"$PYTHON\" | grep echo`"
1088 if test "x$PYTHON" = "xerror" -o "x$result" != "x"; then
1090 echo "configure: warning: can\'t find python. You should install Python" 1>&2
1096 if test "x$OSTYPE" = "xcygwin32" || test "x$OSTYPE" = "xWindows_NT"; then
1097 LN=cp # hard link does not work under cygnus-nt
1098 LN_S='cp -r' # symbolic link does not work for native nt
1105 # cygwin fixes all these things.
1106 # it seems these were used because of dos-style TEXINPUTS and
1107 # MFINPUTS needed for miktex.
1108 # but this breaks parsing of all other cygwin/unix style paths.
1110 # if your (mik)tex breaks, make a:
1111 # /usr/local/bin/tex:
1113 # TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex
1117 # /usr/local/bin/mf:
1119 # MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf
1121 # this way, you may have buildscripts/out/lilypond-profile
1122 # 'automatically' sourced from /usr/etc/profile.d/ too.
1126 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
1133 INSTALL="\$(SHELL) \$(stepdir)/../bin/install-sh -c"
1141 cat >> confdefs.h <<EOF
1142 #define DIRSEP '${DIRSEP}'
1145 cat >> confdefs.h <<EOF
1146 #define PATHSEP '${PATHSEP}'
1153 if test "$datadir" = "\${prefix}/share"; then
1154 datadir='${prefix}/share/'$package
1156 DIR_DATADIR=${datadir}
1158 if test "$prefix" = "NONE"; then
1159 presome=${ac_default_prefix}
1161 DIR_DATADIR=`echo ${DIR_DATADIR} | sed "s!\\\${prefix}!$presome!"`
1164 cat >> confdefs.h <<EOF
1165 #define DIR_DATADIR "${DIR_DATADIR}"
1171 # For all packages except the StepMake package itself
1172 # AC_CONFIG_SUBDIRS(stepmake)
1174 # Uncomment the configuration options your package needs.
1175 # AC_STEPMAKE_COMPILE
1176 # AC_HAVE_HEADERS(limits.h malloc.h string.h unistd.h values.h)
1179 # AC_STEPMAKE_CXXTEMPLATE
1180 # AC_STEPMAKE_LEXYACC
1182 # AC_STEPMAKE_LIBTOOL
1188 # Check whether --with-localedir or --without-localedir was given.
1189 if test "${with_localedir+set}" = set; then
1190 withval="$with_localedir"
1191 localedir=$with_localedir
1193 localedir='${prefix}/share/locale'
1197 # Check whether --with-lang or --without-lang was given.
1198 if test "${with_lang+set}" = set; then
1199 withval="$with_lang"
1206 echo $ac_n "checking language""... $ac_c" 1>&6
1207 echo "configure:1208: checking language" >&5
1209 En* | en* | Am* | am* | US* | us*)
1211 NL | nl | Du* | du* | Ned* | ned*)
1218 echo "$ac_t""$lang" 1>&6
1220 if test "$lang" = "unknown" ; then
1222 echo "configure: warning: $language not supported; available are: $ALL_LINGUAS" 1>&2
1228 # AC_STEPMAKE_GETTEXT
1230 # AC_STEPMAKE_MSGFMT
1232 # AC_STEPMAKE_TEXMF_DIRS
1234 # AM_PATH_GTK(1.0.0,,AC_MSG_ERROR([please install proper version of gtk]))
1235 # AM_PATH_GTK__(0.9.4,,AC_MSG_ERROR([please install proper version of gtk--]))
1237 for ac_prog in makeinfo
1239 # Extract the first word of "$ac_prog", so it can be a program name with args.
1240 set dummy $ac_prog; ac_word=$2
1241 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1242 echo "configure:1243: checking for $ac_word" >&5
1243 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1244 echo $ac_n "(cached) $ac_c" 1>&6
1246 if test -n "$MAKEINFO"; then
1247 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1249 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1251 for ac_dir in $ac_dummy; do
1252 test -z "$ac_dir" && ac_dir=.
1253 if test -f $ac_dir/$ac_word; then
1254 ac_cv_prog_MAKEINFO="$ac_prog"
1261 MAKEINFO="$ac_cv_prog_MAKEINFO"
1262 if test -n "$MAKEINFO"; then
1263 echo "$ac_t""$MAKEINFO" 1>&6
1265 echo "$ac_t""no" 1>&6
1268 test -n "$MAKEINFO" && break
1270 test -n "$MAKEINFO" || MAKEINFO="error"
1275 cat > confcache <<\EOF
1276 # This file is a shell script that caches the results of configure
1277 # tests run on this system so they can be shared between configure
1278 # scripts and configure runs. It is not useful on other systems.
1279 # If it contains results you don't want to keep, you may remove or edit it.
1281 # By default, configure uses ./config.cache as the cache file,
1282 # creating it if it does not exist already. You can give configure
1283 # the --cache-file=FILE option to use a different cache file; that is
1284 # what configure does when it calls configure scripts in
1285 # subdirectories, so they share the cache.
1286 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1287 # config.status only pays attention to the cache file if you give it the
1288 # --recheck option to rerun configure.
1291 # The following way of writing the cache mishandles newlines in values,
1292 # but we know of no workaround that is simple, portable, and efficient.
1293 # So, don't put newlines in cache variables' values.
1294 # Ultrix sh set writes to stderr and can't be redirected directly,
1295 # and sets the high bit in the cache file unless we assign to the vars.
1297 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1299 # `set' does not quote correctly, so add quotes (double-quote substitution
1300 # turns \\\\ into \\, and sed turns \\ into \).
1302 -e "s/'/'\\\\''/g" \
1303 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1306 # `set' quotes correctly as required by POSIX, so do not add quotes.
1307 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1310 if cmp -s $cache_file confcache; then
1313 if test -w $cache_file; then
1314 echo "updating cache $cache_file"
1315 cat confcache > $cache_file
1317 echo "not updating unwritable cache $cache_file"
1322 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1324 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1325 # Let make expand exec_prefix.
1326 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1328 # Any assignment to VPATH causes Sun make to only execute
1329 # the first set of double-colon rules, so remove it if not needed.
1330 # If there is a colon in the path, we need to keep it.
1331 if test "x$srcdir" = x.; then
1332 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1335 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1337 DEFS=-DHAVE_CONFIG_H
1339 # Without the "./", some shells look in PATH for config.status.
1340 : ${CONFIG_STATUS=./config.status}
1342 echo creating $CONFIG_STATUS
1343 rm -f $CONFIG_STATUS
1344 cat > $CONFIG_STATUS <<EOF
1346 # Generated automatically by configure.
1347 # Run this file to recreate the current configuration.
1348 # This directory was configured as follows,
1349 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1351 # $0 $ac_configure_args
1353 # Compiler output produced by configure, useful for debugging
1354 # configure, is in ./config.log if it exists.
1356 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1359 case "\$ac_option" in
1360 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1361 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1362 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1363 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1364 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1366 -help | --help | --hel | --he | --h)
1367 echo "\$ac_cs_usage"; exit 0 ;;
1368 *) echo "\$ac_cs_usage"; exit 1 ;;
1372 ac_given_srcdir=$srcdir
1374 trap 'rm -fr `echo "$CONFIGFILE.make:config.make.in $CONFIGFILE.h:config.hh.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1376 cat >> $CONFIG_STATUS <<EOF
1378 # Protect against being on the right side of a sed subst in config.status.
1379 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1380 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1384 s%@CFLAGS@%$CFLAGS%g
1385 s%@CPPFLAGS@%$CPPFLAGS%g
1386 s%@CXXFLAGS@%$CXXFLAGS%g
1387 s%@FFLAGS@%$FFLAGS%g
1389 s%@LDFLAGS@%$LDFLAGS%g
1391 s%@exec_prefix@%$exec_prefix%g
1392 s%@prefix@%$prefix%g
1393 s%@program_transform_name@%$program_transform_name%g
1394 s%@bindir@%$bindir%g
1395 s%@sbindir@%$sbindir%g
1396 s%@libexecdir@%$libexecdir%g
1397 s%@datadir@%$datadir%g
1398 s%@sysconfdir@%$sysconfdir%g
1399 s%@sharedstatedir@%$sharedstatedir%g
1400 s%@localstatedir@%$localstatedir%g
1401 s%@libdir@%$libdir%g
1402 s%@includedir@%$includedir%g
1403 s%@oldincludedir@%$oldincludedir%g
1404 s%@infodir@%$infodir%g
1405 s%@mandir@%$mandir%g
1406 s%@builddir@%$builddir%g
1407 s%@stepmake@%$stepmake%g
1408 s%@package@%$package%g
1409 s%@PACKAGE@%$PACKAGE%g
1410 s%@PACKAGE_NAME@%$PACKAGE_NAME%g
1411 s%@package_depth@%$package_depth%g
1412 s%@AUTOGENERATE@%$AUTOGENERATE%g
1413 s%@STATE_VECTOR@%$STATE_VECTOR%g
1414 s%@CONFIGSUFFIX@%$CONFIGSUFFIX%g
1416 s%@host_alias@%$host_alias%g
1417 s%@host_cpu@%$host_cpu%g
1418 s%@host_vendor@%$host_vendor%g
1419 s%@host_os@%$host_os%g
1424 s%@PYTHON@%$PYTHON%g
1425 s%@program_prefix@%$program_prefix%g
1426 s%@program_suffix@%$program_suffix%g
1430 s%@INSTALL@%$INSTALL%g
1431 s%@PATHSEP@%$PATHSEP%g
1432 s%@DIRSEP@%$DIRSEP%g
1433 s%@DIR_DATADIR@%$DIR_DATADIR%g
1434 s%@MAKEINFO@%$MAKEINFO%g
1439 cat >> $CONFIG_STATUS <<\EOF
1441 # Split the substitutions into bite-sized pieces for seds with
1442 # small command number limits, like on Digital OSF/1 and HP-UX.
1443 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1444 ac_file=1 # Number of current file.
1445 ac_beg=1 # First line for current file.
1446 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1449 while $ac_more_lines; do
1450 if test $ac_beg -gt 1; then
1451 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1453 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1455 if test ! -s conftest.s$ac_file; then
1457 rm -f conftest.s$ac_file
1459 if test -z "$ac_sed_cmds"; then
1460 ac_sed_cmds="sed -f conftest.s$ac_file"
1462 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1464 ac_file=`expr $ac_file + 1`
1466 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1469 if test -z "$ac_sed_cmds"; then
1474 cat >> $CONFIG_STATUS <<EOF
1476 CONFIG_FILES=\${CONFIG_FILES-"$CONFIGFILE.make:config.make.in"}
1478 cat >> $CONFIG_STATUS <<\EOF
1479 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1480 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1482 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1483 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1484 *) ac_file_in="${ac_file}.in" ;;
1487 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1489 # Remove last slash and all that follows it. Not all systems have dirname.
1490 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1491 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1492 # The file is in a subdirectory.
1493 test ! -d "$ac_dir" && mkdir "$ac_dir"
1494 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1495 # A "../" for each directory in $ac_dir_suffix.
1496 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1498 ac_dir_suffix= ac_dots=
1501 case "$ac_given_srcdir" in
1503 if test -z "$ac_dots"; then top_srcdir=.
1504 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1505 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1507 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1508 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1512 echo creating "$ac_file"
1514 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1516 *Makefile*) ac_comsub="1i\\
1517 # $configure_input" ;;
1521 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1523 s%@configure_input@%$configure_input%g
1524 s%@srcdir@%$srcdir%g
1525 s%@top_srcdir@%$top_srcdir%g
1526 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1530 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1531 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1533 # ac_d sets the value in "#define NAME VALUE" lines.
1534 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1535 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1538 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1539 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1540 ac_uB='\([ ]\)%\1#\2define\3'
1543 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1544 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1545 ac_eB='$%\1#\2define\3'
1549 if test "${CONFIG_HEADERS+set}" != set; then
1551 cat >> $CONFIG_STATUS <<EOF
1552 CONFIG_HEADERS="$CONFIGFILE.h:config.hh.in"
1554 cat >> $CONFIG_STATUS <<\EOF
1556 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1557 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1559 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1560 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1561 *) ac_file_in="${ac_file}.in" ;;
1564 echo creating $ac_file
1566 rm -f conftest.frag conftest.in conftest.out
1567 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1568 cat $ac_file_inputs > conftest.in
1572 # Transform confdefs.h into a sed script conftest.vals that substitutes
1573 # the proper values into config.h.in to produce config.h. And first:
1574 # Protect against being on the right side of a sed subst in config.status.
1575 # Protect against being in an unquoted here document in config.status.
1577 cat > conftest.hdr <<\EOF
1580 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1584 sed -n -f conftest.hdr confdefs.h > conftest.vals
1587 # This sed command replaces #undef with comments. This is necessary, for
1588 # example, in the case of _POSIX_SOURCE, which is predefined and required
1589 # on some systems where configure will not decide to define it.
1590 cat >> conftest.vals <<\EOF
1591 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1594 # Break up conftest.vals because some shells have a limit on
1595 # the size of here documents, and old seds have small limits too.
1600 ac_lines=`grep -c . conftest.vals`
1601 # grep -c gives empty output for an empty file on some AIX systems.
1602 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1603 # Write a limited-size here document to conftest.frag.
1604 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1605 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1607 sed -f conftest.frag conftest.in > conftest.out
1609 mv conftest.out conftest.in
1611 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1613 mv conftest.tail conftest.vals
1617 cat >> $CONFIG_STATUS <<\EOF
1618 rm -f conftest.frag conftest.h
1619 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1620 cat conftest.in >> conftest.h
1622 if cmp -s $ac_file conftest.h 2>/dev/null; then
1623 echo "$ac_file is unchanged"
1626 # Remove last slash and all that follows it. Not all systems have dirname.
1627 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1628 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1629 # The file is in a subdirectory.
1630 test ! -d "$ac_dir" && mkdir "$ac_dir"
1633 mv conftest.h $ac_file
1638 cat >> $CONFIG_STATUS <<EOF
1641 cat >> $CONFIG_STATUS <<\EOF
1645 chmod +x $CONFIG_STATUS
1646 rm -fr confdefs* $ac_clean_files
1647 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1650 rm -f $srcdir/GNUmakefile
1651 cp $srcdir/make/toplevel.make.in $srcdir/GNUmakefile
1652 chmod 444 $srcdir/GNUmakefile
1653 if test "$builddir" != "."; then
1655 cp $srcdir/make/srcdir.make.in GNUmakefile
1656 chmod 444 GNUmakefile