1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. 4# Generated automatically using autoconf version 2.13 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Defaults: 11ac_help= 12ac_default_prefix=/usr/local 13# Any additions from configure.in: 14 15# Initialize some variables set by options. 16# The variables have the same names as the options, with 17# dashes changed to underlines. 18build=NONE 19cache_file=./config.cache 20exec_prefix=NONE 21host=NONE 22no_create= 23nonopt=NONE 24no_recursion= 25prefix=NONE 26program_prefix=NONE 27program_suffix=NONE 28program_transform_name=s,x,x, 29silent= 30site= 31srcdir= 32target=NONE 33verbose= 34x_includes=NONE 35x_libraries=NONE 36bindir='${exec_prefix}/bin' 37sbindir='${exec_prefix}/sbin' 38libexecdir='${exec_prefix}/libexec' 39datadir='${prefix}/share' 40sysconfdir='${prefix}/etc' 41sharedstatedir='${prefix}/com' 42localstatedir='${prefix}/var' 43libdir='${exec_prefix}/lib' 44includedir='${prefix}/include' 45oldincludedir='/usr/include' 46infodir='${prefix}/info' 47mandir='${prefix}/man' 48 49# Initialize some other variables. 50subdirs= 51MFLAGS= MAKEFLAGS= 52SHELL=${CONFIG_SHELL-/bin/sh} 53# Maximum number of lines to put in a shell here document. 54ac_max_here_lines=12 55 56ac_prev= 57for ac_option 58do 59 60 # If the previous option needs an argument, assign it. 61 if test -n "$ac_prev"; then 62 eval "$ac_prev=\$ac_option" 63 ac_prev= 64 continue 65 fi 66 67 case "$ac_option" in 68 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 69 *) ac_optarg= ;; 70 esac 71 72 # Accept the important Cygnus configure options, so we can diagnose typos. 73 74 case "$ac_option" in 75 76 -lispdir | --lispdir | --lispdi | --lispd | --lisp) 77 ac_prev=lispdir ;; 78 -lispdir=* | --lispdir=* | --lispdi=* | --lispd=* | --lisp=*) 79 lispdir="$ac_optarg" ;; 80 81 -bindir | --bindir | --bindi | --bind | --bin | --bi) 82 ac_prev=bindir ;; 83 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 84 bindir="$ac_optarg" ;; 85 86 -build | --build | --buil | --bui | --bu) 87 ac_prev=build ;; 88 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 89 build="$ac_optarg" ;; 90 91 -cache-file | --cache-file | --cache-fil | --cache-fi \ 92 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 93 ac_prev=cache_file ;; 94 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 95 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 96 cache_file="$ac_optarg" ;; 97 98 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 99 ac_prev=datadir ;; 100 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 101 | --da=*) 102 datadir="$ac_optarg" ;; 103 104 -disable-* | --disable-*) 105 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 106 # Reject names that are not valid shell variable names. 107 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 108 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 109 fi 110 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 111 eval "enable_${ac_feature}=no" ;; 112 113 -enable-* | --enable-*) 114 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 115 # Reject names that are not valid shell variable names. 116 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 117 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 118 fi 119 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 120 case "$ac_option" in 121 *=*) ;; 122 *) ac_optarg=yes ;; 123 esac 124 eval "enable_${ac_feature}='$ac_optarg'" ;; 125 126 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 127 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 128 | --exec | --exe | --ex) 129 ac_prev=exec_prefix ;; 130 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 131 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 132 | --exec=* | --exe=* | --ex=*) 133 exec_prefix="$ac_optarg" ;; 134 135 -gas | --gas | --ga | --g) 136 # Obsolete; use --with-gas. 137 with_gas=yes ;; 138 139 -help | --help | --hel | --he) 140 # Omit some internal or obsolete options to make the list less imposing. 141 # This message is too long to be a string in the A/UX 3.1 sh. 142 cat << EOF 143Usage: configure [options] [host] 144Options: [defaults in brackets after descriptions] 145Configuration: 146 --cache-file=FILE cache test results in FILE 147 --help print this message 148 --no-create do not create output files 149 --quiet, --silent do not print \`checking...' messages 150 --version print the version of autoconf that created configure 151Directory and file names: 152 --prefix=PREFIX install architecture-independent files in PREFIX 153 [$ac_default_prefix] 154 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 155 [same as prefix] 156 --bindir=DIR user executables in DIR [EPREFIX/bin] 157 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 158 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 159 --datadir=DIR read-only architecture-independent data in DIR 160 [PREFIX/share] 161 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 162 --sharedstatedir=DIR modifiable architecture-independent data in DIR 163 [PREFIX/com] 164 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 165 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 166 --includedir=DIR C header files in DIR [PREFIX/include] 167 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 168 --infodir=DIR info documentation in DIR [PREFIX/info] 169 --mandir=DIR man documentation in DIR [PREFIX/man] 170 --srcdir=DIR find the sources in DIR [configure dir or ..] 171 --program-prefix=PREFIX prepend PREFIX to installed program names 172 --program-suffix=SUFFIX append SUFFIX to installed program names 173 --program-transform-name=PROGRAM 174 run sed PROGRAM on installed program names 175EOF 176 cat << EOF 177Host type: 178 --build=BUILD configure for building on BUILD [BUILD=HOST] 179 --host=HOST configure for HOST [guessed] 180 --target=TARGET configure for TARGET [TARGET=HOST] 181Features and packages: 182 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 183 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 184 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 185 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 186 --x-includes=DIR X include files are in DIR 187 --x-libraries=DIR X library files are in DIR 188EOF 189 if test -n "$ac_help"; then 190 echo "--enable and --with options recognized:$ac_help" 191 fi 192 exit 0 ;; 193 194 -host | --host | --hos | --ho) 195 ac_prev=host ;; 196 -host=* | --host=* | --hos=* | --ho=*) 197 host="$ac_optarg" ;; 198 199 -includedir | --includedir | --includedi | --included | --include \ 200 | --includ | --inclu | --incl | --inc) 201 ac_prev=includedir ;; 202 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 203 | --includ=* | --inclu=* | --incl=* | --inc=*) 204 includedir="$ac_optarg" ;; 205 206 -infodir | --infodir | --infodi | --infod | --info | --inf) 207 ac_prev=infodir ;; 208 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 209 infodir="$ac_optarg" ;; 210 211 -libdir | --libdir | --libdi | --libd) 212 ac_prev=libdir ;; 213 -libdir=* | --libdir=* | --libdi=* | --libd=*) 214 libdir="$ac_optarg" ;; 215 216 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 217 | --libexe | --libex | --libe) 218 ac_prev=libexecdir ;; 219 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 220 | --libexe=* | --libex=* | --libe=*) 221 libexecdir="$ac_optarg" ;; 222 223 -localstatedir | --localstatedir | --localstatedi | --localstated \ 224 | --localstate | --localstat | --localsta | --localst \ 225 | --locals | --local | --loca | --loc | --lo) 226 ac_prev=localstatedir ;; 227 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 228 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 229 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 230 localstatedir="$ac_optarg" ;; 231 232 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 233 ac_prev=mandir ;; 234 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 235 mandir="$ac_optarg" ;; 236 237 -nfp | --nfp | --nf) 238 # Obsolete; use --without-fp. 239 with_fp=no ;; 240 241 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 242 | --no-cr | --no-c) 243 no_create=yes ;; 244 245 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 246 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 247 no_recursion=yes ;; 248 249 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 250 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 251 | --oldin | --oldi | --old | --ol | --o) 252 ac_prev=oldincludedir ;; 253 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 254 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 255 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 256 oldincludedir="$ac_optarg" ;; 257 258 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 259 ac_prev=prefix ;; 260 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 261 prefix="$ac_optarg" ;; 262 263 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 264 | --program-pre | --program-pr | --program-p) 265 ac_prev=program_prefix ;; 266 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 267 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 268 program_prefix="$ac_optarg" ;; 269 270 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 271 | --program-suf | --program-su | --program-s) 272 ac_prev=program_suffix ;; 273 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 274 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 275 program_suffix="$ac_optarg" ;; 276 277 -program-transform-name | --program-transform-name \ 278 | --program-transform-nam | --program-transform-na \ 279 | --program-transform-n | --program-transform- \ 280 | --program-transform | --program-transfor \ 281 | --program-transfo | --program-transf \ 282 | --program-trans | --program-tran \ 283 | --progr-tra | --program-tr | --program-t) 284 ac_prev=program_transform_name ;; 285 -program-transform-name=* | --program-transform-name=* \ 286 | --program-transform-nam=* | --program-transform-na=* \ 287 | --program-transform-n=* | --program-transform-=* \ 288 | --program-transform=* | --program-transfor=* \ 289 | --program-transfo=* | --program-transf=* \ 290 | --program-trans=* | --program-tran=* \ 291 | --progr-tra=* | --program-tr=* | --program-t=*) 292 program_transform_name="$ac_optarg" ;; 293 294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 295 | -silent | --silent | --silen | --sile | --sil) 296 silent=yes ;; 297 298 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 299 ac_prev=sbindir ;; 300 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 301 | --sbi=* | --sb=*) 302 sbindir="$ac_optarg" ;; 303 304 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 305 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 306 | --sharedst | --shareds | --shared | --share | --shar \ 307 | --sha | --sh) 308 ac_prev=sharedstatedir ;; 309 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 310 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 311 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 312 | --sha=* | --sh=*) 313 sharedstatedir="$ac_optarg" ;; 314 315 -site | --site | --sit) 316 ac_prev=site ;; 317 -site=* | --site=* | --sit=*) 318 site="$ac_optarg" ;; 319 320 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 321 ac_prev=srcdir ;; 322 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 323 srcdir="$ac_optarg" ;; 324 325 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 326 | --syscon | --sysco | --sysc | --sys | --sy) 327 ac_prev=sysconfdir ;; 328 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 329 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 330 sysconfdir="$ac_optarg" ;; 331 332 -target | --target | --targe | --targ | --tar | --ta | --t) 333 ac_prev=target ;; 334 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 335 target="$ac_optarg" ;; 336 337 -v | -verbose | --verbose | --verbos | --verbo | --verb) 338 verbose=yes ;; 339 340 -version | --version | --versio | --versi | --vers) 341 echo "configure generated by autoconf version 2.13" 342 exit 0 ;; 343 344 -with-* | --with-*) 345 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 346 # Reject names that are not valid shell variable names. 347 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 348 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 349 fi 350 ac_package=`echo $ac_package| sed 's/-/_/g'` 351 case "$ac_option" in 352 *=*) ;; 353 *) ac_optarg=yes ;; 354 esac 355 eval "with_${ac_package}='$ac_optarg'" ;; 356 357 -without-* | --without-*) 358 ac_package=`echo $ac_option|sed -e 's/-*without-//'` 359 # Reject names that are not valid shell variable names. 360 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 361 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 362 fi 363 ac_package=`echo $ac_package| sed 's/-/_/g'` 364 eval "with_${ac_package}=no" ;; 365 366 --x) 367 # Obsolete; use --with-x. 368 with_x=yes ;; 369 370 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 371 | --x-incl | --x-inc | --x-in | --x-i) 372 ac_prev=x_includes ;; 373 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 374 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 375 x_includes="$ac_optarg" ;; 376 377 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 378 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 379 ac_prev=x_libraries ;; 380 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 381 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 382 x_libraries="$ac_optarg" ;; 383 384 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 385 ;; 386 387 *) 388 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 389 echo "configure: warning: $ac_option: invalid host type" 1>&2 390 fi 391 if test "x$nonopt" != xNONE; then 392 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 393 fi 394 nonopt="$ac_option" 395 ;; 396 397 esac 398done 399 400if test -n "$ac_prev"; then 401 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 402fi 403 404trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 405 406# File descriptor usage: 407# 0 standard input 408# 1 file creation 409# 2 errors and warnings 410# 3 some systems may open it to /dev/tty 411# 4 used on the Kubota Titan 412# 6 checking for... messages and results 413# 5 compiler messages saved in config.log 414if test "$silent" = yes; then 415 exec 6>/dev/null 416else 417 exec 6>&1 418fi 419exec 5>./config.log 420 421echo "\ 422This file contains any messages produced by compilers while 423running configure, to aid debugging if configure makes a mistake. 424" 1>&5 425 426# Strip out --no-create and --no-recursion so they do not pile up. 427# Also quote any args containing shell metacharacters. 428ac_configure_args= 429for ac_arg 430do 431 case "$ac_arg" in 432 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 433 | --no-cr | --no-c) ;; 434 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 435 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 437 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 438 *) ac_configure_args="$ac_configure_args $ac_arg" ;; 439 esac 440done 441 442# NLS nuisances. 443# Only set these to C if already set. These must not be set unconditionally 444# because not all systems understand e.g. LANG=C (notably SCO). 445# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 446# Non-C LC_CTYPE values break the ctype check. 447if test "${LANG+set}" = set; then LANG=C; export LANG; fi 448if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 449if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 450if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 451 452# confdefs.h avoids OS command line length limits that DEFS can exceed. 453rm -rf conftest* confdefs.h 454# AIX cpp loses on an empty file, so make sure it contains at least a newline. 455echo > confdefs.h 456 457# A filename unique to this package, relative to the directory that 458# configure is in, which we can look for to find out if srcdir is correct. 459ac_unique_file=psgml.el 460 461# Find the source files, if location was not specified. 462if test -z "$srcdir"; then 463 ac_srcdir_defaulted=yes 464 # Try the directory containing this script, then its parent. 465 ac_prog=$0 466 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 467 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 468 srcdir=$ac_confdir 469 if test ! -r $srcdir/$ac_unique_file; then 470 srcdir=.. 471 fi 472else 473 ac_srcdir_defaulted=no 474fi 475if test ! -r $srcdir/$ac_unique_file; then 476 if test "$ac_srcdir_defaulted" = yes; then 477 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 478 else 479 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 480 fi 481fi 482srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 483 484# Prefer explicitly selected file to automatically selected ones. 485if test -z "$CONFIG_SITE"; then 486 if test "x$prefix" != xNONE; then 487 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 488 else 489 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 490 fi 491fi 492for ac_site_file in $CONFIG_SITE; do 493 if test -r "$ac_site_file"; then 494 echo "loading site script $ac_site_file" 495 . "$ac_site_file" 496 fi 497done 498 499if test -r "$cache_file"; then 500 echo "loading cache $cache_file" 501 . $cache_file 502else 503 echo "creating cache $cache_file" 504 > $cache_file 505fi 506 507ac_ext=c 508# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 509ac_cpp='$CPP $CPPFLAGS' 510ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 511ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 512cross_compiling=$ac_cv_prog_cc_cross 513 514ac_exeext= 515ac_objext=o 516if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 517 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 518 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 519 ac_n= ac_c=' 520' ac_t=' ' 521 else 522 ac_n=-n ac_c= ac_t= 523 fi 524else 525 ac_n= ac_c='\c' ac_t= 526fi 527 528 529 530PACKAGE=psgml 531VERSION=1.2.3 532cat >> confdefs.h <<EOF 533#define PACKAGE "$PACKAGE" 534EOF 535 536cat >> confdefs.h <<EOF 537#define VERSION "$VERSION" 538EOF 539 540 541echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 542echo "configure:538: checking whether ${MAKE-make} sets \${MAKE}" >&5 543set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 544if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 545 echo $ac_n "(cached) $ac_c" 1>&6 546else 547 cat > conftestmake <<\EOF 548all: 549 @echo 'ac_maketemp="${MAKE}"' 550EOF 551# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 552eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 553if test -n "$ac_maketemp"; then 554 eval ac_cv_prog_make_${ac_make}_set=yes 555else 556 eval ac_cv_prog_make_${ac_make}_set=no 557fi 558rm -f conftestmake 559fi 560if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 561 echo "$ac_t""yes" 1>&6 562 SET_MAKE= 563else 564 echo "$ac_t""no" 1>&6 565 SET_MAKE="MAKE=${MAKE-make}" 566fi 567 568ac_aux_dir= 569for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 570 if test -f $ac_dir/install-sh; then 571 ac_aux_dir=$ac_dir 572 ac_install_sh="$ac_aux_dir/install-sh -c" 573 break 574 elif test -f $ac_dir/install.sh; then 575 ac_aux_dir=$ac_dir 576 ac_install_sh="$ac_aux_dir/install.sh -c" 577 break 578 fi 579done 580if test -z "$ac_aux_dir"; then 581 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 582fi 583ac_config_guess=$ac_aux_dir/config.guess 584ac_config_sub=$ac_aux_dir/config.sub 585ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 586 587# Find a good install program. We prefer a C program (faster), 588# so one script is as good as another. But avoid the broken or 589# incompatible versions: 590# SysV /etc/install, /usr/sbin/install 591# SunOS /usr/etc/install 592# IRIX /sbin/install 593# AIX /bin/install 594# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 595# AFS /usr/afsws/bin/install, which mishandles nonexistent args 596# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 597# ./install, which can be erroneously created by make from ./install.sh. 598echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 599echo "configure:595: checking for a BSD compatible install" >&5 600if test -z "$INSTALL"; then 601if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 602 echo $ac_n "(cached) $ac_c" 1>&6 603else 604 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 605 for ac_dir in $PATH; do 606 # Account for people who put trailing slashes in PATH elements. 607 case "$ac_dir/" in 608 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 609 *) 610 # OSF1 and SCO ODT 3.0 have their own names for install. 611 # Don't use installbsd from OSF since it installs stuff as root 612 # by default. 613 for ac_prog in ginstall scoinst install; do 614 if test -f $ac_dir/$ac_prog; then 615 if test $ac_prog = install && 616 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 617 # AIX install. It has an incompatible calling convention. 618 : 619 else 620 ac_cv_path_install="$ac_dir/$ac_prog -c" 621 break 2 622 fi 623 fi 624 done 625 ;; 626 esac 627 done 628 IFS="$ac_save_IFS" 629 630fi 631 if test "${ac_cv_path_install+set}" = set; then 632 INSTALL="$ac_cv_path_install" 633 else 634 # As a last resort, use the slow shell script. We don't cache a 635 # path for INSTALL within a source directory, because that will 636 # break other packages using the cache if that directory is 637 # removed, or if the path is relative. 638 INSTALL="$ac_install_sh" 639 fi 640fi 641echo "$ac_t""$INSTALL" 1>&6 642 643# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 644# It thinks the first close brace ends the variable substitution. 645test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 646 647test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 648 649test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 650 651# If set to t, that means we are running in a shell under Emacs. 652 # If you have an Emacs named "t", then use the full path. 653 test "$EMACS" = t && EMACS= 654 for ac_prog in emacs xemacs 655do 656# Extract the first word of "$ac_prog", so it can be a program name with args. 657set dummy $ac_prog; ac_word=$2 658echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 659echo "configure:655: checking for $ac_word" >&5 660if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then 661 echo $ac_n "(cached) $ac_c" 1>&6 662else 663 case "$EMACS" in 664 /*) 665 ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path. 666 ;; 667 ?:/*) 668 ac_cv_path_EMACS="$EMACS" # Let the user override the test with a dos path. 669 ;; 670 *) 671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 672 ac_dummy="$PATH" 673 for ac_dir in $ac_dummy; do 674 test -z "$ac_dir" && ac_dir=. 675 if test -f $ac_dir/$ac_word; then 676 ac_cv_path_EMACS="$ac_dir/$ac_word" 677 break 678 fi 679 done 680 IFS="$ac_save_ifs" 681 ;; 682esac 683fi 684EMACS="$ac_cv_path_EMACS" 685if test -n "$EMACS"; then 686 echo "$ac_t""$EMACS" 1>&6 687else 688 echo "$ac_t""no" 1>&6 689fi 690 691test -n "$EMACS" && break 692done 693test -n "$EMACS" || EMACS="no" 694 695if test -z "$lispdir" ; then 696 if test $EMACS != "no"; then 697 echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6 698echo "configure:693: checking where .elc files should go" >&5 699 lispdir="\$(datadir)/emacs/site-lisp" 700 if test "x$prefix" = "xNONE"; then 701 if test -d $ac_default_prefix/share/emacs/site-lisp; then 702 lispdir="\$(prefix)/share/emacs/site-lisp" 703 else 704 if test -d $ac_default_prefix/lib/emacs/site-lisp; then 705 lispdir="\$(prefix)/lib/emacs/site-lisp" 706 fi 707 fi 708 else 709 if test -d $prefix/share/emacs/site-lisp; then 710 lispdir="\$(prefix)/share/emacs/site-lisp" 711 else 712 if test -d $prefix/lib/emacs/site-lisp; then 713 lispdir="\$(prefix)/lib/emacs/site-lisp" 714 fi 715 fi 716 fi 717 echo "$ac_t""$lispdir" 1>&6 718 fi 719fi 720 721# Extract the first word of "makeinfo", so it can be a program name with args. 722set dummy makeinfo; ac_word=$2 723echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 724echo "configure:718: checking for $ac_word" >&5 725if eval "test \"`echo '$''{'ac_cv_path_MAKEINFO'+set}'`\" = set"; then 726 echo $ac_n "(cached) $ac_c" 1>&6 727else 728 case "$MAKEINFO" in 729 /*) 730 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. 731 ;; 732 ?:/*) 733 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a dos path. 734 ;; 735 *) 736 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 737 ac_dummy="$PATH" 738 for ac_dir in $ac_dummy; do 739 test -z "$ac_dir" && ac_dir=. 740 if test -f $ac_dir/$ac_word; then 741 ac_cv_path_MAKEINFO="$ac_dir/$ac_word" 742 break 743 fi 744 done 745 IFS="$ac_save_ifs" 746 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" 747 ;; 748esac 749fi 750MAKEINFO="$ac_cv_path_MAKEINFO" 751if test -n "$MAKEINFO"; then 752 echo "$ac_t""$MAKEINFO" 1>&6 753else 754 echo "$ac_t""no" 1>&6 755fi 756 757 758 759trap '' 1 2 15 760cat > confcache <<\EOF 761# This file is a shell script that caches the results of configure 762# tests run on this system so they can be shared between configure 763# scripts and configure runs. It is not useful on other systems. 764# If it contains results you don't want to keep, you may remove or edit it. 765# 766# By default, configure uses ./config.cache as the cache file, 767# creating it if it does not exist already. You can give configure 768# the --cache-file=FILE option to use a different cache file; that is 769# what configure does when it calls configure scripts in 770# subdirectories, so they share the cache. 771# Giving --cache-file=/dev/null disables caching, for debugging configure. 772# config.status only pays attention to the cache file if you give it the 773# --recheck option to rerun configure. 774# 775EOF 776# The following way of writing the cache mishandles newlines in values, 777# but we know of no workaround that is simple, portable, and efficient. 778# So, don't put newlines in cache variables' values. 779# Ultrix sh set writes to stderr and can't be redirected directly, 780# and sets the high bit in the cache file unless we assign to the vars. 781(set) 2>&1 | 782 case `(ac_space=' '; set | grep ac_space) 2>&1` in 783 *ac_space=\ *) 784 # `set' does not quote correctly, so add quotes (double-quote substitution 785 # turns \\\\ into \\, and sed turns \\ into \). 786 sed -n \ 787 -e "s/'/'\\\\''/g" \ 788 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 789 ;; 790 *) 791 # `set' quotes correctly as required by POSIX, so do not add quotes. 792 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 793 ;; 794 esac >> confcache 795if cmp -s $cache_file confcache; then 796 : 797else 798 if test -w $cache_file; then 799 echo "updating cache $cache_file" 800 cat confcache > $cache_file 801 else 802 echo "not updating unwritable cache $cache_file" 803 fi 804fi 805rm -f confcache 806 807trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 808 809test "x$prefix" = xNONE && prefix=$ac_default_prefix 810# Let make expand exec_prefix. 811test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 812 813# Any assignment to VPATH causes Sun make to only execute 814# the first set of double-colon rules, so remove it if not needed. 815# If there is a colon in the path, we need to keep it. 816if test "x$srcdir" = x.; then 817 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 818fi 819 820trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 821 822# Transform confdefs.h into DEFS. 823# Protect against shell expansion while executing Makefile rules. 824# Protect against Makefile macro expansion. 825cat > conftest.defs <<\EOF 826s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 827s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 828s%\[%\\&%g 829s%\]%\\&%g 830s%\$%$$%g 831EOF 832DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 833rm -f conftest.defs 834 835 836# Without the "./", some shells look in PATH for config.status. 837: ${CONFIG_STATUS=./config.status} 838 839echo creating $CONFIG_STATUS 840rm -f $CONFIG_STATUS 841cat > $CONFIG_STATUS <<EOF 842#! /bin/sh 843# Generated automatically by configure. 844# Run this file to recreate the current configuration. 845# This directory was configured as follows, 846# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 847# 848# $0 $ac_configure_args 849# 850# Compiler output produced by configure, useful for debugging 851# configure, is in ./config.log if it exists. 852 853ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 854for ac_option 855do 856 case "\$ac_option" in 857 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 858 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 859 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 860 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 861 echo "$CONFIG_STATUS generated by autoconf version 2.13" 862 exit 0 ;; 863 -help | --help | --hel | --he | --h) 864 echo "\$ac_cs_usage"; exit 0 ;; 865 *) echo "\$ac_cs_usage"; exit 1 ;; 866 esac 867done 868 869ac_given_srcdir=$srcdir 870ac_given_INSTALL="$INSTALL" 871 872trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 873EOF 874cat >> $CONFIG_STATUS <<EOF 875 876# Protect against being on the right side of a sed subst in config.status. 877sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 878 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 879$ac_vpsub 880$extrasub 881s%@SHELL@%$SHELL%g 882s%@CFLAGS@%$CFLAGS%g 883s%@CPPFLAGS@%$CPPFLAGS%g 884s%@CXXFLAGS@%$CXXFLAGS%g 885s%@FFLAGS@%$FFLAGS%g 886s%@DEFS@%$DEFS%g 887s%@LDFLAGS@%$LDFLAGS%g 888s%@LIBS@%$LIBS%g 889s%@exec_prefix@%$exec_prefix%g 890s%@prefix@%$prefix%g 891s%@program_transform_name@%$program_transform_name%g 892s%@bindir@%$bindir%g 893s%@sbindir@%$sbindir%g 894s%@libexecdir@%$libexecdir%g 895s%@datadir@%$datadir%g 896s%@sysconfdir@%$sysconfdir%g 897s%@sharedstatedir@%$sharedstatedir%g 898s%@localstatedir@%$localstatedir%g 899s%@libdir@%$libdir%g 900s%@includedir@%$includedir%g 901s%@oldincludedir@%$oldincludedir%g 902s%@infodir@%$infodir%g 903s%@mandir@%$mandir%g 904s%@SET_MAKE@%$SET_MAKE%g 905s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 906s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 907s%@INSTALL_DATA@%$INSTALL_DATA%g 908s%@EMACS@%$EMACS%g 909s%@lispdir@%$lispdir%g 910s%@MAKEINFO@%$MAKEINFO%g 911s%@PACKAGE@%$PACKAGE%g 912s%@VERSION@%$VERSION%g 913 914CEOF 915EOF 916 917cat >> $CONFIG_STATUS <<\EOF 918 919# Split the substitutions into bite-sized pieces for seds with 920# small command number limits, like on Digital OSF/1 and HP-UX. 921ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 922ac_file=1 # Number of current file. 923ac_beg=1 # First line for current file. 924ac_end=$ac_max_sed_cmds # Line after last line for current file. 925ac_more_lines=: 926ac_sed_cmds="" 927while $ac_more_lines; do 928 if test $ac_beg -gt 1; then 929 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 930 else 931 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 932 fi 933 if test ! -s conftest.s$ac_file; then 934 ac_more_lines=false 935 rm -f conftest.s$ac_file 936 else 937 if test -z "$ac_sed_cmds"; then 938 ac_sed_cmds="sed -f conftest.s$ac_file" 939 else 940 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 941 fi 942 ac_file=`expr $ac_file + 1` 943 ac_beg=$ac_end 944 ac_end=`expr $ac_end + $ac_max_sed_cmds` 945 fi 946done 947if test -z "$ac_sed_cmds"; then 948 ac_sed_cmds=cat 949fi 950EOF 951 952cat >> $CONFIG_STATUS <<EOF 953 954CONFIG_FILES=\${CONFIG_FILES-"Makefile"} 955EOF 956cat >> $CONFIG_STATUS <<\EOF 957for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 959 case "$ac_file" in 960 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 961 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 962 *) ac_file_in="${ac_file}.in" ;; 963 esac 964 965 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 966 967 # Remove last slash and all that follows it. Not all systems have dirname. 968 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 969 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 970 # The file is in a subdirectory. 971 test ! -d "$ac_dir" && mkdir "$ac_dir" 972 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 973 # A "../" for each directory in $ac_dir_suffix. 974 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 975 else 976 ac_dir_suffix= ac_dots= 977 fi 978 979 case "$ac_given_srcdir" in 980 .) srcdir=. 981 if test -z "$ac_dots"; then top_srcdir=. 982 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 983 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 984 *) # Relative path. 985 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 986 top_srcdir="$ac_dots$ac_given_srcdir" ;; 987 esac 988 989 case "$ac_given_INSTALL" in 990 [/$]*) INSTALL="$ac_given_INSTALL" ;; 991 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 992 esac 993 994 echo creating "$ac_file" 995 rm -f "$ac_file" 996 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 997 case "$ac_file" in 998 *Makefile*) ac_comsub="1i\\ 999# $configure_input" ;; 1000 *) ac_comsub= ;; 1001 esac 1002 1003 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 1004 sed -e "$ac_comsub 1005s%@configure_input@%$configure_input%g 1006s%@srcdir@%$srcdir%g 1007s%@top_srcdir@%$top_srcdir%g 1008s%@INSTALL@%$INSTALL%g 1009" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 1010fi; done 1011rm -f conftest.s* 1012 1013EOF 1014cat >> $CONFIG_STATUS <<EOF 1015 1016EOF 1017cat >> $CONFIG_STATUS <<\EOF 1018 1019exit 0 1020EOF 1021chmod +x $CONFIG_STATUS 1022rm -fr confdefs* $ac_clean_files 1023test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 1024 1025 1026