1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. 4# Generated automatically using autoconf version 2.13 1.24-Schily 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# Copyright (C) 1998-2021 J. Schilling 7# 8# This configure script is free software; the Free Software Foundation 9# gives unlimited permission to copy, distribute and modify it. 10 11# Defaults: 12ac_help= 13ac_default_prefix=/usr/local 14# Any additions from configure.in: 15 16# Initialize some variables et by options. 17# The variables have the same names as the options, with 18# dashes changed to underlines. 19build=NONE 20cache_file=./config.cache 21exec_prefix=NONE 22host=NONE 23no_create= 24nonopt=NONE 25no_recursion= 26prefix=NONE 27program_prefix=NONE 28program_suffix=NONE 29program_transform_name=s,x,x, 30silent= 31site= 32srcdir= 33target=NONE 34verbose= 35rmttest=test 36rmtcall= 37CONFIG_RMTCALL=${CONFIG_RMTCALL-NONE} 38x_includes=NONE 39x_libraries=NONE 40bindir='${exec_prefix}/bin' 41sbindir='${exec_prefix}/sbin' 42libexecdir='${exec_prefix}/libexec' 43datadir='${prefix}/share' 44sysconfdir='${prefix}/etc' 45sharedstatedir='${prefix}/com' 46localstatedir='${prefix}/var' 47libdir='${exec_prefix}/lib' 48includedir='${prefix}/include' 49oldincludedir='/usr/include' 50infodir='${prefix}/info' 51mandir='${prefix}/man' 52ac_os_name=`(uname -s) 2> /dev/null` 53 54# Initialize some other variables. 55subdirs= 56MFLAGS= MAKEFLAGS= 57SHELL=${CONFIG_SHELL-/bin/sh} 58# Maximum number of lines to put in a shell here document. 59ac_max_here_lines=12 60 61ac_prev= 62for ac_option 63do 64 65 # If the previous option needs an argument, assign it. 66 if test -n "$ac_prev"; then 67 eval "$ac_prev=\$ac_option" 68 ac_prev= 69 continue 70 fi 71 72 case "$ac_option" in 73 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 74 *) ac_optarg= ;; 75 esac 76 77 # Accept the important Cygnus configure options, so we can diagnose typos. 78 79 case "$ac_option" in 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 -cc=* | --cc=* ) 99 CC="$ac_optarg" ; echo using $CC as compiler ;; 100 101 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 102 ac_prev=datadir ;; 103 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 104 | --da=*) 105 datadir="$ac_optarg" ;; 106 107 -disable-* | --disable-*) 108 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 109 # Reject names that are not valid shell variable names. 110 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 111 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 112 fi 113 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 114 eval "enable_${ac_feature}=no" ;; 115 116 -enable-* | --enable-*) 117 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 118 # Reject names that are not valid shell variable names. 119 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 120 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 121 fi 122 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 123 case "$ac_option" in 124 *=*) ;; 125 *) ac_optarg=yes ;; 126 esac 127 eval "enable_${ac_feature}='$ac_optarg'" ;; 128 129 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 130 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 131 | --exec | --exe | --ex) 132 ac_prev=exec_prefix ;; 133 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 134 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 135 | --exec=* | --exe=* | --ex=*) 136 exec_prefix="$ac_optarg" ;; 137 138 -gas | --gas | --ga | --g) 139 # Obsolete; use --with-gas. 140 with_gas=yes ;; 141 142 -help | --help | --hel | --he) 143 # Omit some internal or obsolete options to make the list less imposing. 144 # This message is too long to be a string in the A/UX 3.1 sh. 145 cat << EOF 146Usage: configure [options] [host] 147Options: [defaults in brackets after descriptions] 148Configuration: 149 --cache-file=FILE cache test results in FILE 150 --help print this message 151 --no-create do not create output files 152 --quiet, --silent do not print \`checking...' messages 153 --version print the version of autoconf that created configure 154Directory and file names: 155 --prefix=PREFIX install architecture-independent files in PREFIX 156 [$ac_default_prefix] 157 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 158 [same as prefix] 159 --bindir=DIR user executables in DIR [EPREFIX/bin] 160 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 161 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 162 --datadir=DIR read-only architecture-independent data in DIR 163 [PREFIX/share] 164 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 165 --sharedstatedir=DIR modifiable architecture-independent data in DIR 166 [PREFIX/com] 167 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 168 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 169 --includedir=DIR C header files in DIR [PREFIX/include] 170 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 171 --infodir=DIR info documentation in DIR [PREFIX/info] 172 --mandir=DIR man documentation in DIR [PREFIX/man] 173 --srcdir=DIR find the sources in DIR [configure dir or ..] 174 --program-prefix=PREFIX prepend PREFIX to installed program names 175 --program-suffix=SUFFIX append SUFFIX to installed program names 176 --program-transform-name=PROGRAM 177 run sed PROGRAM on installed program names 178EOF 179 cat << EOF 180Host type: 181 --build=BUILD configure for building on BUILD [BUILD=HOST] 182 --host=HOST configure for HOST [guessed] 183 --target=TARGET configure for TARGET [TARGET=HOST] 184Features and packages: 185 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 186 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 187 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 188 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 189 --x-includes=DIR X include files are in DIR 190 --x-libraries=DIR X library files are in DIR 191EOF 192 if test -n "$ac_help"; then 193 echo "--enable and --with options recognized:$ac_help" 194 fi 195 exit 0 ;; 196 197 -host | --host | --hos | --ho) 198 ac_prev=host ;; 199 -host=* | --host=* | --hos=* | --ho=*) 200 host="$ac_optarg" ;; 201 202 -includedir | --includedir | --includedi | --included | --include \ 203 | --includ | --inclu | --incl | --inc) 204 ac_prev=includedir ;; 205 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 206 | --includ=* | --inclu=* | --incl=* | --inc=*) 207 includedir="$ac_optarg" ;; 208 209 -infodir | --infodir | --infodi | --infod | --info | --inf) 210 ac_prev=infodir ;; 211 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 212 infodir="$ac_optarg" ;; 213 214 -libdir | --libdir | --libdi | --libd) 215 ac_prev=libdir ;; 216 -libdir=* | --libdir=* | --libdi=* | --libd=*) 217 libdir="$ac_optarg" ;; 218 219 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 220 | --libexe | --libex | --libe) 221 ac_prev=libexecdir ;; 222 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 223 | --libexe=* | --libex=* | --libe=*) 224 libexecdir="$ac_optarg" ;; 225 226 -localstatedir | --localstatedir | --localstatedi | --localstated \ 227 | --localstate | --localstat | --localsta | --localst \ 228 | --locals | --local | --loca | --loc | --lo) 229 ac_prev=localstatedir ;; 230 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 231 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 232 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 233 localstatedir="$ac_optarg" ;; 234 235 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 236 ac_prev=mandir ;; 237 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 238 mandir="$ac_optarg" ;; 239 240 -nfp | --nfp | --nf) 241 # Obsolete; use --without-fp. 242 with_fp=no ;; 243 244 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 245 | --no-cr | --no-c) 246 no_create=yes ;; 247 248 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 249 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 250 no_recursion=yes ;; 251 252 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 253 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 254 | --oldin | --oldi | --old | --ol | --o) 255 ac_prev=oldincludedir ;; 256 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 257 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 258 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 259 oldincludedir="$ac_optarg" ;; 260 261 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 262 ac_prev=prefix ;; 263 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 264 prefix="$ac_optarg" ;; 265 266 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 267 | --program-pre | --program-pr | --program-p) 268 ac_prev=program_prefix ;; 269 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 270 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 271 program_prefix="$ac_optarg" ;; 272 273 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 274 | --program-suf | --program-su | --program-s) 275 ac_prev=program_suffix ;; 276 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 277 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 278 program_suffix="$ac_optarg" ;; 279 280 -program-transform-name | --program-transform-name \ 281 | --program-transform-nam | --program-transform-na \ 282 | --program-transform-n | --program-transform- \ 283 | --program-transform | --program-transfor \ 284 | --program-transfo | --program-transf \ 285 | --program-trans | --program-tran \ 286 | --progr-tra | --program-tr | --program-t) 287 ac_prev=program_transform_name ;; 288 -program-transform-name=* | --program-transform-name=* \ 289 | --program-transform-nam=* | --program-transform-na=* \ 290 | --program-transform-n=* | --program-transform-=* \ 291 | --program-transform=* | --program-transfor=* \ 292 | --program-transfo=* | --program-transf=* \ 293 | --program-trans=* | --program-tran=* \ 294 | --progr-tra=* | --program-tr=* | --program-t=*) 295 program_transform_name="$ac_optarg" ;; 296 297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 298 | -silent | --silent | --silen | --sile | --sil) 299 silent=yes ;; 300 301 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 302 ac_prev=sbindir ;; 303 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 304 | --sbi=* | --sb=*) 305 sbindir="$ac_optarg" ;; 306 307 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 308 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 309 | --sharedst | --shareds | --shared | --share | --shar \ 310 | --sha | --sh) 311 ac_prev=sharedstatedir ;; 312 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 313 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 314 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 315 | --sha=* | --sh=*) 316 sharedstatedir="$ac_optarg" ;; 317 318 -site | --site | --sit) 319 ac_prev=site ;; 320 -site=* | --site=* | --sit=*) 321 site="$ac_optarg" ;; 322 323 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 324 ac_prev=srcdir ;; 325 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 326 srcdir="$ac_optarg" ;; 327 328 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 329 | --syscon | --sysco | --sysc | --sys | --sy) 330 ac_prev=sysconfdir ;; 331 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 332 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 333 sysconfdir="$ac_optarg" ;; 334 335 -target | --target | --targe | --targ | --tar | --ta | --t) 336 ac_prev=target ;; 337 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 338 target="$ac_optarg" ;; 339 340 -v | -verbose | --verbose | --verbos | --verbo | --verb) 341 verbose=yes ;; 342 343 -version | --version | --versio | --versi | --vers) 344 echo "configure generated by autoconf version 2.13 1.24-Schily" 345 exit 0 ;; 346 347 -with-* | --with-*) 348 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 349 # Reject names that are not valid shell variable names. 350 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 351 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 352 fi 353 ac_package=`echo $ac_package| sed 's/-/_/g'` 354 case "$ac_option" in 355 *=*) ;; 356 *) ac_optarg=yes ;; 357 esac 358 eval "with_${ac_package}='$ac_optarg'" ;; 359 360 -without-* | --without-*) 361 ac_package=`echo $ac_option|sed -e 's/-*without-//'` 362 # Reject names that are not valid shell variable names. 363 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 364 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 365 fi 366 ac_package=`echo $ac_package| sed 's/-/_/g'` 367 eval "with_${ac_package}=no" ;; 368 369 --x) 370 # Obsolete; use --with-x. 371 with_x=yes ;; 372 373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 374 | --x-incl | --x-inc | --x-in | --x-i) 375 ac_prev=x_includes ;; 376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 378 x_includes="$ac_optarg" ;; 379 380 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 382 ac_prev=x_libraries ;; 383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 385 x_libraries="$ac_optarg" ;; 386 387 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 388 ;; 389 390 *) 391 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 392 echo "configure: warning: $ac_option: invalid host type" 1>&2 393 fi 394 if test "x$nonopt" != xNONE; then 395 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 396 fi 397 nonopt="$ac_option" 398 ;; 399 400 esac 401done 402 403if test -n "$ac_prev"; then 404 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 405fi 406 407trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 408 409# File descriptor usage: 410# 0 standard input 411# 1 file creation 412# 2 errors and warnings 413# 3 some systems may open it to /dev/tty 414# 4 used on the Kubota Titan 415# 6 checking for... messages and results 416# 5 compiler messages saved in config.log 417if test "$silent" = yes; then 418 exec 6>/dev/null 419else 420 exec 6>&1 421fi 422exec 5>./config.log 423 424echo "\ 425This file contains any messages produced by compilers while 426running configure, to aid debugging if configure makes a mistake. 427" 1>&5 428 429# Strip out --no-create and --no-recursion so they do not pile up. 430# Also quote any args containing shell metacharacters. 431ac_configure_args= 432for ac_arg 433do 434 case "$ac_arg" in 435 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 436 | --no-cr | --no-c) ;; 437 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 438 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 440 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 441 *) ac_configure_args="$ac_configure_args $ac_arg" ;; 442 esac 443done 444 445# NLS nuisances. 446# Only set these to C if already set. These must not be set unconditionally 447# because not all systems understand e.g. LANG=C (notably SCO). 448# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 449# Non-C LC_CTYPE values break the ctype check. 450if test "${LANG+set}" = set; then LANG=C; export LANG; fi 451if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 452if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 453if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 454 455# confdefs.h avoids OS command line length limits that DEFS can exceed. 456rm -rf conftest* confdefs.h 457# AIX cpp loses on an empty file, so make sure it contains at least a newline. 458echo > confdefs.h 459 460# A filename unique to this package, relative to the directory that 461# configure is in, which we can look for to find out if srcdir is correct. 462ac_unique_file=cdda2wav.c 463 464# Find the source files, if location was not specified. 465if test -z "$srcdir"; then 466 ac_srcdir_defaulted=yes 467 # Try the directory containing this script, then its parent. 468 ac_prog=$0 469 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 470 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 471 srcdir=$ac_confdir 472 if test ! -r $srcdir/$ac_unique_file; then 473 srcdir=.. 474 fi 475else 476 ac_srcdir_defaulted=no 477fi 478if test ! -r $srcdir/$ac_unique_file; then 479 if test "$ac_srcdir_defaulted" = yes; then 480 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 481 else 482 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 483 fi 484fi 485srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 486 487# Prefer explicitly selected file to automatically selected ones. 488if test -z "$CONFIG_SITE"; then 489 if test "x$prefix" != xNONE; then 490 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 491 else 492 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 493 fi 494fi 495for ac_site_file in $CONFIG_SITE; do 496 if test -r "$ac_site_file"; then 497 echo "loading site script $ac_site_file" 498 . "$ac_site_file" 499 fi 500done 501 502if test -r "$cache_file"; then 503 echo "loading cache $cache_file" 504 . $cache_file 505else 506 echo "creating cache $cache_file" 507 > $cache_file 508fi 509 510ac_ext=c 511# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 512ac_cpp='$CPP $CPPFLAGS' 513ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 514ac_compile2='${CC-cc} -c $CFLAGS $CPPFLAGS conftest2.$ac_ext 1>&5' 515if test ."$ac_os_name" = ".OS/390" ; then 516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 517else 518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&5' 519fi 520cross_compiling=$ac_cv_prog_cc_cross 521if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then 522 cross_compiling=remote 523 rmtcall="$CONFIG_RMTCALL" 524 rmttest="$CONFIG_RMTCALL" 525fi 526 527ac_exeext= 528ac_xexeext= 529ac_objext=o 530if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 531 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 532 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 533 ac_n= ac_c=' 534' ac_t=' ' 535 else 536 ac_n=-n ac_c= ac_t= 537 fi 538else 539 ac_n= ac_c='\c' ac_t= 540fi 541 542 543 544 545ac_aux_dir= 546for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 547 if test -f $ac_dir/install-sh; then 548 ac_aux_dir=$ac_dir 549 ac_install_sh="$ac_aux_dir/install-sh -c" 550 break 551 elif test -f $ac_dir/install.sh; then 552 ac_aux_dir=$ac_dir 553 ac_install_sh="$ac_aux_dir/install.sh -c" 554 break 555 fi 556done 557if test -z "$ac_aux_dir"; then 558 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 559fi 560ac_config_guess=$ac_aux_dir/config.guess 561ac_config_sub=$ac_aux_dir/config.sub 562ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 563 564 565# Make sure we can run config.sub. 566if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 567else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 568fi 569 570echo $ac_n "checking host system type""... $ac_c" 1>&6 571echo "configure:572: checking host system type" >&5 572 573host_alias=$host 574case "$host_alias" in 575NONE) 576 case $nonopt in 577 NONE) 578 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 579 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 580 fi ;; 581 *) host_alias=$nonopt ;; 582 esac ;; 583esac 584 585host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 586host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 587host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 588host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 589echo "$ac_t""$host" 1>&6 590 591 592 593 594case "$host_os" in 595 solaris*|sunos*) 596echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6 597echo "configure:598: checking for sched_get_priority_max in -lposix4" >&5 598ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'` 599if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 600 echo $ac_n "(cached) $ac_c" 1>&6 601else 602 ac_save_LIBS="$LIBS" 603LIBS=`echo "-lposix4 $LIBS" | sed -e 's/-lc //'` 604cat > conftest.$ac_ext <<EOF 605#line 606 "configure" 606#include "confdefs.h" 607/* Override any gcc2 internal prototype to avoid an error. */ 608/* We use char because int might match the return type of a gcc2 609 builtin and then its argument prototype would still apply. */ 610char sched_get_priority_max(); 611 612int main() { 613sched_get_priority_max() 614; return 0; } 615EOF 616if { { eval echo configure:617: \"$ac_link\" ;} 1>&5; { eval $ac_link ;} 2>&5; } && test -s conftest${ac_exeext}; then 617 rm -rf conftest* 618 eval "ac_cv_lib_$ac_lib_var=yes" 619else 620 echo "configure: failed program was:" >&5 621 cat conftest.$ac_ext >&5 622 rm -rf conftest* 623 eval "ac_cv_lib_$ac_lib_var=no" 624fi 625rm -f conftest* 626LIBS="$ac_save_LIBS" 627 628fi 629if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 630 echo "$ac_t""yes" 1>&6 631 ac_tr_lib=HAVE_LIB`echo posix4 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 632 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 633 cat >> confdefs.h <<EOF 634#define $ac_tr_lib 1 635EOF 636 637 LIBS="-lposix4 $LIBS" 638 639else 640 echo "$ac_t""no" 1>&6 641fi 642 643;; 644esac 645echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 646echo "configure:647: checking for _oss_ioctl in -lossaudio" >&5 647ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` 648if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 649 echo $ac_n "(cached) $ac_c" 1>&6 650else 651 ac_save_LIBS="$LIBS" 652LIBS=`echo "-lossaudio $LIBS" | sed -e 's/-lc //'` 653cat > conftest.$ac_ext <<EOF 654#line 655 "configure" 655#include "confdefs.h" 656/* Override any gcc2 internal prototype to avoid an error. */ 657/* We use char because int might match the return type of a gcc2 658 builtin and then its argument prototype would still apply. */ 659char _oss_ioctl(); 660 661int main() { 662_oss_ioctl() 663; return 0; } 664EOF 665if { { eval echo configure:666: \"$ac_link\" ;} 1>&5; { eval $ac_link ;} 2>&5; } && test -s conftest${ac_exeext}; then 666 rm -rf conftest* 667 eval "ac_cv_lib_$ac_lib_var=yes" 668else 669 echo "configure: failed program was:" >&5 670 cat conftest.$ac_ext >&5 671 rm -rf conftest* 672 eval "ac_cv_lib_$ac_lib_var=no" 673fi 674rm -f conftest* 675LIBS="$ac_save_LIBS" 676 677fi 678if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 679 echo "$ac_t""yes" 1>&6 680 ac_tr_lib=HAVE_LIB`echo ossaudio | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 681 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 682 cat >> confdefs.h <<EOF 683#define $ac_tr_lib 1 684EOF 685 686 LIBS="-lossaudio $LIBS" 687 688else 689 echo "$ac_t""no" 1>&6 690fi 691 692echo $ac_n "checking for snd_pcm_open in -lasound""... $ac_c" 1>&6 693echo "configure:694: checking for snd_pcm_open in -lasound" >&5 694ac_lib_var=`echo asound'_'snd_pcm_open | sed 'y%./+-%__p_%'` 695if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 696 echo $ac_n "(cached) $ac_c" 1>&6 697else 698 ac_save_LIBS="$LIBS" 699LIBS=`echo "-lasound $LIBS" | sed -e 's/-lc //'` 700cat > conftest.$ac_ext <<EOF 701#line 702 "configure" 702#include "confdefs.h" 703/* Override any gcc2 internal prototype to avoid an error. */ 704/* We use char because int might match the return type of a gcc2 705 builtin and then its argument prototype would still apply. */ 706char snd_pcm_open(); 707 708int main() { 709snd_pcm_open() 710; return 0; } 711EOF 712if { { eval echo configure:713: \"$ac_link\" ;} 1>&5; { eval $ac_link ;} 2>&5; } && test -s conftest${ac_exeext}; then 713 rm -rf conftest* 714 eval "ac_cv_lib_$ac_lib_var=yes" 715else 716 echo "configure: failed program was:" >&5 717 cat conftest.$ac_ext >&5 718 rm -rf conftest* 719 eval "ac_cv_lib_$ac_lib_var=no" 720fi 721rm -f conftest* 722LIBS="$ac_save_LIBS" 723 724fi 725if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 726 echo "$ac_t""yes" 1>&6 727 ac_tr_lib=HAVE_LIB`echo asound | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 728 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 729 cat >> confdefs.h <<EOF 730#define $ac_tr_lib 1 731EOF 732 733 LIBS="-lasound $LIBS" 734 735else 736 echo "$ac_t""no" 1>&6 737fi 738 739echo $ac_n "checking for sio_open in -lsndio""... $ac_c" 1>&6 740echo "configure:741: checking for sio_open in -lsndio" >&5 741ac_lib_var=`echo sndio'_'sio_open | sed 'y%./+-%__p_%'` 742if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 743 echo $ac_n "(cached) $ac_c" 1>&6 744else 745 ac_save_LIBS="$LIBS" 746LIBS=`echo "-lsndio $LIBS" | sed -e 's/-lc //'` 747cat > conftest.$ac_ext <<EOF 748#line 749 "configure" 749#include "confdefs.h" 750/* Override any gcc2 internal prototype to avoid an error. */ 751/* We use char because int might match the return type of a gcc2 752 builtin and then its argument prototype would still apply. */ 753char sio_open(); 754 755int main() { 756sio_open() 757; return 0; } 758EOF 759if { { eval echo configure:760: \"$ac_link\" ;} 1>&5; { eval $ac_link ;} 2>&5; } && test -s conftest${ac_exeext}; then 760 rm -rf conftest* 761 eval "ac_cv_lib_$ac_lib_var=yes" 762else 763 echo "configure: failed program was:" >&5 764 cat conftest.$ac_ext >&5 765 rm -rf conftest* 766 eval "ac_cv_lib_$ac_lib_var=no" 767fi 768rm -f conftest* 769LIBS="$ac_save_LIBS" 770 771fi 772if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 773 echo "$ac_t""yes" 1>&6 774 ac_tr_lib=HAVE_LIB`echo sndio | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 775 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 776 cat >> confdefs.h <<EOF 777#define $ac_tr_lib 1 778EOF 779 780 LIBS="-lsndio $LIBS" 781 782else 783 echo "$ac_t""no" 1>&6 784fi 785 786echo $ac_n "checking for pa_strerror in -lpulse""... $ac_c" 1>&6 787echo "configure:788: checking for pa_strerror in -lpulse" >&5 788ac_lib_var=`echo pulse'_'pa_strerror | sed 'y%./+-%__p_%'` 789if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 790 echo $ac_n "(cached) $ac_c" 1>&6 791else 792 ac_save_LIBS="$LIBS" 793LIBS=`echo "-lpulse $LIBS" | sed -e 's/-lc //'` 794cat > conftest.$ac_ext <<EOF 795#line 796 "configure" 796#include "confdefs.h" 797/* Override any gcc2 internal prototype to avoid an error. */ 798/* We use char because int might match the return type of a gcc2 799 builtin and then its argument prototype would still apply. */ 800char pa_strerror(); 801 802int main() { 803pa_strerror() 804; return 0; } 805EOF 806if { { eval echo configure:807: \"$ac_link\" ;} 1>&5; { eval $ac_link ;} 2>&5; } && test -s conftest${ac_exeext}; then 807 rm -rf conftest* 808 eval "ac_cv_lib_$ac_lib_var=yes" 809else 810 echo "configure: failed program was:" >&5 811 cat conftest.$ac_ext >&5 812 rm -rf conftest* 813 eval "ac_cv_lib_$ac_lib_var=no" 814fi 815rm -f conftest* 816LIBS="$ac_save_LIBS" 817 818fi 819if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 820 echo "$ac_t""yes" 1>&6 821 ac_tr_lib=HAVE_LIB`echo pulse | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 822 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 823 cat >> confdefs.h <<EOF 824#define $ac_tr_lib 1 825EOF 826 827 LIBS="-lpulse $LIBS" 828 829else 830 echo "$ac_t""no" 1>&6 831fi 832 833echo $ac_n "checking for pa_simple_new in -lpulse-simple""... $ac_c" 1>&6 834echo "configure:835: checking for pa_simple_new in -lpulse-simple" >&5 835ac_lib_var=`echo pulse-simple'_'pa_simple_new | sed 'y%./+-%__p_%'` 836if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 837 echo $ac_n "(cached) $ac_c" 1>&6 838else 839 ac_save_LIBS="$LIBS" 840LIBS=`echo "-lpulse-simple $LIBS" | sed -e 's/-lc //'` 841cat > conftest.$ac_ext <<EOF 842#line 843 "configure" 843#include "confdefs.h" 844/* Override any gcc2 internal prototype to avoid an error. */ 845/* We use char because int might match the return type of a gcc2 846 builtin and then its argument prototype would still apply. */ 847char pa_simple_new(); 848 849int main() { 850pa_simple_new() 851; return 0; } 852EOF 853if { { eval echo configure:854: \"$ac_link\" ;} 1>&5; { eval $ac_link ;} 2>&5; } && test -s conftest${ac_exeext}; then 854 rm -rf conftest* 855 eval "ac_cv_lib_$ac_lib_var=yes" 856else 857 echo "configure: failed program was:" >&5 858 cat conftest.$ac_ext >&5 859 rm -rf conftest* 860 eval "ac_cv_lib_$ac_lib_var=no" 861fi 862rm -f conftest* 863LIBS="$ac_save_LIBS" 864 865fi 866if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 867 echo "$ac_t""yes" 1>&6 868 ac_tr_lib=HAVE_LIB`echo pulse-simple | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 869 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 870 cat >> confdefs.h <<EOF 871#define $ac_tr_lib 1 872EOF 873 874 LIBS="-lpulse-simple $LIBS" 875 876else 877 echo "$ac_t""no" 1>&6 878fi 879 880 881 882EXTRALIBS="$LIBS" 883 884 885 886echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 887echo "configure:888: checking how to run the C preprocessor" >&5 888# On Suns, sometimes $CPP names a directory. 889if test -n "$CPP" && test -d "$CPP"; then 890 CPP= 891fi 892if test -z "$CPP"; then 893if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 894 echo $ac_n "(cached) $ac_c" 1>&6 895else 896 # This must be in double quotes, not single quotes, because CPP may get 897 # substituted into the Makefile and "${CC-cc}" will confuse make. 898 CPP="${CC-cc} -E" 899 # On the NeXT, cc -E runs the code through the compiler's parser, 900 # not just through cpp. 901 cat > conftest.$ac_ext <<EOF 902#line 903 "configure" 903#include "confdefs.h" 904#include <assert.h> 905Syntax Error 906EOF 907ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 908{ { eval echo configure:909: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 909ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 910if test -z "$ac_err"; then 911 : 912else 913 echo "$ac_err" >&5 914 echo "configure: failed program was:" >&5 915 cat conftest.$ac_ext >&5 916 rm -rf conftest* 917 CPP="${CC-cc} -E -traditional-cpp" 918 cat > conftest.$ac_ext <<EOF 919#line 920 "configure" 920#include "confdefs.h" 921#include <assert.h> 922Syntax Error 923EOF 924ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 925{ { eval echo configure:926: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 926ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 927if test -z "$ac_err"; then 928 : 929else 930 echo "$ac_err" >&5 931 echo "configure: failed program was:" >&5 932 cat conftest.$ac_ext >&5 933 rm -rf conftest* 934 CPP="${CC-cc} -nologo -E" 935 cat > conftest.$ac_ext <<EOF 936#line 937 "configure" 937#include "confdefs.h" 938#include <assert.h> 939Syntax Error 940EOF 941ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 942{ { eval echo configure:943: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 943ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 944if test -z "$ac_err"; then 945 : 946else 947 echo "$ac_err" >&5 948 echo "configure: failed program was:" >&5 949 cat conftest.$ac_ext >&5 950 rm -rf conftest* 951 CPP=/lib/cpp 952fi 953rm -f conftest* 954fi 955rm -f conftest* 956fi 957rm -f conftest* 958 ac_cv_prog_CPP="$CPP" 959fi 960 CPP="$ac_cv_prog_CPP" 961else 962 ac_cv_prog_CPP="$CPP" 963fi 964echo "$ac_t""$CPP" 1>&6 965 966for ac_hdr in sys/cdio.h sys/cdrio.h sundev/srreg.h sys/audioio.h sun/audioio.h 967do 968ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 969echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 970echo "configure:971: checking for $ac_hdr" >&5 971if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 972 echo $ac_n "(cached) $ac_c" 1>&6 973else 974 cat > conftest.$ac_ext <<EOF 975#line 976 "configure" 976#include "confdefs.h" 977#include <$ac_hdr> 978EOF 979ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 980{ { eval echo configure:981: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 981ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 982if test -z "$ac_err"; then 983 rm -rf conftest* 984 eval "ac_cv_header_$ac_safe=yes" 985else 986 echo "$ac_err" >&5 987 echo "configure: failed program was:" >&5 988 cat conftest.$ac_ext >&5 989 rm -rf conftest* 990 eval "ac_cv_header_$ac_safe=no" 991fi 992rm -f conftest* 993fi 994if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 995 echo "$ac_t""yes" 1>&6 996 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 997 cat >> confdefs.h <<EOF 998#define $ac_tr_hdr 1 999EOF 1000 1001else 1002 echo "$ac_t""no" 1>&6 1003fi 1004done 1005 1006for ac_hdr in soundcard.h sys/soundcard.h linux/soundcard.h machine/soundcard.h 1007do 1008ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1009echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1010echo "configure:1011: checking for $ac_hdr" >&5 1011if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1012 echo $ac_n "(cached) $ac_c" 1>&6 1013else 1014 cat > conftest.$ac_ext <<EOF 1015#line 1016 "configure" 1016#include "confdefs.h" 1017#include <$ac_hdr> 1018EOF 1019ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1020{ { eval echo configure:1021: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 1021ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 1022if test -z "$ac_err"; then 1023 rm -rf conftest* 1024 eval "ac_cv_header_$ac_safe=yes" 1025else 1026 echo "$ac_err" >&5 1027 echo "configure: failed program was:" >&5 1028 cat conftest.$ac_ext >&5 1029 rm -rf conftest* 1030 eval "ac_cv_header_$ac_safe=no" 1031fi 1032rm -f conftest* 1033fi 1034if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1035 echo "$ac_t""yes" 1>&6 1036 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1037 cat >> confdefs.h <<EOF 1038#define $ac_tr_hdr 1 1039EOF 1040 1041else 1042 echo "$ac_t""no" 1>&6 1043fi 1044done 1045 1046case "${ac_cv_lib_asound_snd_pcm_open}" in 1047 *yes*) 1048 for ac_hdr in alsa/asoundlib.h sys/asoundlib.h 1049do 1050ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1051echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1052echo "configure:1053: checking for $ac_hdr" >&5 1053if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1054 echo $ac_n "(cached) $ac_c" 1>&6 1055else 1056 cat > conftest.$ac_ext <<EOF 1057#line 1058 "configure" 1058#include "confdefs.h" 1059#include <$ac_hdr> 1060EOF 1061ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1062{ { eval echo configure:1063: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 1063ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 1064if test -z "$ac_err"; then 1065 rm -rf conftest* 1066 eval "ac_cv_header_$ac_safe=yes" 1067else 1068 echo "$ac_err" >&5 1069 echo "configure: failed program was:" >&5 1070 cat conftest.$ac_ext >&5 1071 rm -rf conftest* 1072 eval "ac_cv_header_$ac_safe=no" 1073fi 1074rm -f conftest* 1075fi 1076if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1077 echo "$ac_t""yes" 1>&6 1078 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1079 cat >> confdefs.h <<EOF 1080#define $ac_tr_hdr 1 1081EOF 1082 1083else 1084 echo "$ac_t""no" 1>&6 1085fi 1086done 1087 1088;; 1089esac 1090case "${ac_cv_lib_sndio_sio_open}" in 1091 *yes*) 1092 for ac_hdr in sndio.h 1093do 1094ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1095echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1096echo "configure:1097: checking for $ac_hdr" >&5 1097if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1098 echo $ac_n "(cached) $ac_c" 1>&6 1099else 1100 cat > conftest.$ac_ext <<EOF 1101#line 1102 "configure" 1102#include "confdefs.h" 1103#include <$ac_hdr> 1104EOF 1105ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1106{ { eval echo configure:1107: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 1107ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 1108if test -z "$ac_err"; then 1109 rm -rf conftest* 1110 eval "ac_cv_header_$ac_safe=yes" 1111else 1112 echo "$ac_err" >&5 1113 echo "configure: failed program was:" >&5 1114 cat conftest.$ac_ext >&5 1115 rm -rf conftest* 1116 eval "ac_cv_header_$ac_safe=no" 1117fi 1118rm -f conftest* 1119fi 1120if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1121 echo "$ac_t""yes" 1>&6 1122 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1123 cat >> confdefs.h <<EOF 1124#define $ac_tr_hdr 1 1125EOF 1126 1127else 1128 echo "$ac_t""no" 1>&6 1129fi 1130done 1131 1132;; 1133esac 1134case "${ac_cv_lib_pulse_simple_pa_simple_new}""${ac_cv_lib_pulse_pa_strerror}" in 1135 *yesyes*) 1136 for ac_hdr in pulse/pulseaudio.h pulse/simple.h 1137do 1138ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1139echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1140echo "configure:1141: checking for $ac_hdr" >&5 1141if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1142 echo $ac_n "(cached) $ac_c" 1>&6 1143else 1144 cat > conftest.$ac_ext <<EOF 1145#line 1146 "configure" 1146#include "confdefs.h" 1147#include <$ac_hdr> 1148EOF 1149ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1150{ { eval echo configure:1151: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 1151ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 1152if test -z "$ac_err"; then 1153 rm -rf conftest* 1154 eval "ac_cv_header_$ac_safe=yes" 1155else 1156 echo "$ac_err" >&5 1157 echo "configure: failed program was:" >&5 1158 cat conftest.$ac_ext >&5 1159 rm -rf conftest* 1160 eval "ac_cv_header_$ac_safe=no" 1161fi 1162rm -f conftest* 1163fi 1164if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1165 echo "$ac_t""yes" 1>&6 1166 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1167 cat >> confdefs.h <<EOF 1168#define $ac_tr_hdr 1 1169EOF 1170 1171else 1172 echo "$ac_t""no" 1>&6 1173fi 1174done 1175 1176;; 1177esac 1178for ac_hdr in windows.h mmsystem.h 1179do 1180ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1181echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1182echo "configure:1183: checking for $ac_hdr" >&5 1183if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1184 echo $ac_n "(cached) $ac_c" 1>&6 1185else 1186 cat > conftest.$ac_ext <<EOF 1187#line 1188 "configure" 1188#include "confdefs.h" 1189#include <$ac_hdr> 1190EOF 1191ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1192{ { eval echo configure:1193: \"$ac_try\" ;} 1>&5; { eval $ac_try ;} 2>&5; } 1193ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` 1194if test -z "$ac_err"; then 1195 rm -rf conftest* 1196 eval "ac_cv_header_$ac_safe=yes" 1197else 1198 echo "$ac_err" >&5 1199 echo "configure: failed program was:" >&5 1200 cat conftest.$ac_ext >&5 1201 rm -rf conftest* 1202 eval "ac_cv_header_$ac_safe=no" 1203fi 1204rm -f conftest* 1205fi 1206if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1207 echo "$ac_t""yes" 1>&6 1208 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1209 cat >> confdefs.h <<EOF 1210#define $ac_tr_hdr 1 1211EOF 1212 1213else 1214 echo "$ac_t""no" 1>&6 1215fi 1216done 1217 1218 1219case "${ac_cv_header_sndio_h}""${ac_cv_lib_sndio_sio_open}" in 1220 *yes*) 1221HAVE_SNDIO=1 1222;; 1223 *) 1224HAVE_SNDIO= 1225;; 1226esac 1227 1228 1229case "${ac_cv_header_sys_cdio_h}""${ac_cv_header_sundev_srreg_h}" in 1230 *yes*) 1231HAVE_SUN_IOCTL=1 1232;; 1233 *) 1234HAVE_SUN_IOCTL= 1235;; 1236esac 1237 1238 1239case "${ac_cv_header_sys_audioio_h}""${ac_cv_header_sun_audioio_h}" in 1240 *yes*) 1241HAVE_SUNSOUND=1 1242;; 1243 *) 1244HAVE_SUNSOUND= 1245;; 1246esac 1247 1248 1249case "${ac_cv_header_machine_soundcard_h}""${ac_cv_header_sys_soundcard_h}""${ac_cv_header_linux_soundcard_h}" in 1250 *yes*) 1251HAVE_OSS=1 1252;; 1253 *) 1254HAVE_OSS= 1255;; 1256esac 1257 1258 1259case "${ac_cv_header_alsa_asoundlib_h}""${ac_cv_header_sys_asoundlib_h}" in 1260 *yes*) 1261HAVE_ALSA=1 1262;; 1263 *) 1264HAVE_ALSA= 1265;; 1266esac 1267case "${HAVE_ALSA}""${ac_cv_lib_asound_snd_pcm_open}" in 1268 1*yes*) 1269HAVE_ALSA=1 1270;; 1271 *) 1272HAVE_ALSA= 1273HAVE_SYS_ASOUNDLIB_H= 1274HAVE_ALSA_ASOUNDLIB_H= 1275;; 1276esac 1277 1278 1279 1280 1281 1282case "${ac_cv_header_windows_h}""${ac_cv_header_mmsystem_h}" in 1283 *yesyes*) 1284HAVE_WINSOUND=1 1285;; 1286 *) 1287HAVE_WINSOUND= 1288;; 1289esac 1290 1291 1292case "${ac_cv_header_os2_h}""${ac_cv_header_os2me_h}" in 1293 *yesyes*) 1294HAVE_OS2SOUND=1 1295;; 1296 *) 1297HAVE_OS2SOUND= 1298;; 1299esac 1300 1301 1302case "${ac_cv_header_pulse_pulseaudio_h}""${ac_cv_lib_pulse_simple_pa_simple_new}""${ac_cv_lib_pulse_pa_strerror}" in 1303 *yesyesyes*) 1304HAVE_PULSE_SIMPLE_H=1 1305;; 1306 *) 1307HAVE_PULSE_SIMPLE_H= 1308HAVE_PULSE_PULSEAUDIO_H= 1309;; 1310esac 1311 1312 1313 1314trap '' 1 2 15 1315cat > confcache <<\EOF 1316# This file is a shell script that caches the results of configure 1317# tests run on this system so they can be shared between configure 1318# scripts and configure runs. It is not useful on other systems. 1319# If it contains results you don't want to keep, you may remove or edit it. 1320# 1321# By default, configure uses ./config.cache as the cache file, 1322# creating it if it does not exist already. You can give configure 1323# the --cache-file=FILE option to use a different cache file; that is 1324# what configure does when it calls configure scripts in 1325# subdirectories, so they share the cache. 1326# Giving --cache-file=/dev/null disables caching, for debugging configure. 1327# config.status only pays attention to the cache file if you give it the 1328# --recheck option to rerun configure. 1329# 1330EOF 1331# The following way of writing the cache mishandles newlines in values, 1332# but we know of no workaround that is simple, portable, and efficient. 1333# So, don't put newlines in cache variables' values. 1334# Ultrix sh set writes to stderr and can't be redirected directly, 1335# and sets the high bit in the cache file unless we assign to the vars. 1336(set) 2>&1 | 1337 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1338 *ac_space=\ *) 1339 # `set' does not quote correctly, so add quotes (double-quote substitution 1340 # turns \\\\ into \\, and sed turns \\ into \). 1341 sed -n \ 1342 -e "s/'/'\\\\''/g" \ 1343 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 1344 ;; 1345 *) 1346 # `set' quotes correctly as required by POSIX, so do not add quotes. 1347 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 1348 ;; 1349 esac >> confcache 1350if cmp -s $cache_file confcache; then 1351 : 1352else 1353 if test -w $cache_file; then 1354 echo "updating cache $cache_file" 1355 cat confcache > $cache_file 1356 else 1357 echo "not updating unwritable cache $cache_file" 1358 fi 1359fi 1360rm -f confcache 1361 1362trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 1363 1364test "x$prefix" = xNONE && prefix=$ac_default_prefix 1365# Let make expand exec_prefix. 1366test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1367 1368# Any assignment to VPATH causes Sun make to only execute 1369# the first set of double-colon rules, so remove it if not needed. 1370# If there is a colon in the path, we need to keep it. 1371if test "x$srcdir" = x.; then 1372 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 1373fi 1374 1375trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 1376 1377DEFS=-DHAVE_CONFIG_H 1378 1379# Without the "./", some shells look in PATH for config.status. 1380: ${CONFIG_STATUS=./config.status} 1381 1382echo creating $CONFIG_STATUS 1383rm -f $CONFIG_STATUS 1384cat > $CONFIG_STATUS <<EOF 1385#! /bin/sh 1386# Generated automatically by configure. 1387# Run this file to recreate the current configuration. 1388# This directory was configured as follows, 1389# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1390# 1391# $0 $ac_configure_args 1392# 1393# Compiler output produced by configure, useful for debugging 1394# configure, is in ./config.log if it exists. 1395 1396ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 1397for ac_option 1398do 1399 case "\$ac_option" in 1400 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1401 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 1402 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1403 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1404 echo "$CONFIG_STATUS generated by autoconf version 2.13 1.24-Schily" 1405 exit 0 ;; 1406 -help | --help | --hel | --he | --h) 1407 echo "\$ac_cs_usage"; exit 0 ;; 1408 *) echo "\$ac_cs_usage"; exit 1 ;; 1409 esac 1410done 1411 1412ac_given_srcdir=$srcdir 1413 1414trap 'rm -fr `echo "local.cnf lconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 1415EOF 1416cat >> $CONFIG_STATUS <<EOF 1417 1418# Protect against being on the right side of a sed subst in config.status. 1419sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 1420 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 1421$ac_vpsub 1422$extrasub 1423s%@SHELL@%$SHELL%g 1424s%@CFLAGS@%$CFLAGS%g 1425s%@CPPFLAGS@%$CPPFLAGS%g 1426s%@CXXFLAGS@%$CXXFLAGS%g 1427s%@FFLAGS@%$FFLAGS%g 1428s%@DEFS@%$DEFS%g 1429s%@LDFLAGS@%$LDFLAGS%g 1430s%@LIBS@%$LIBS%g 1431s%@exec_prefix@%$exec_prefix%g 1432s%@prefix@%$prefix%g 1433s%@program_transform_name@%$program_transform_name%g 1434s%@bindir@%$bindir%g 1435s%@sbindir@%$sbindir%g 1436s%@libexecdir@%$libexecdir%g 1437s%@datadir@%$datadir%g 1438s%@sysconfdir@%$sysconfdir%g 1439s%@sharedstatedir@%$sharedstatedir%g 1440s%@localstatedir@%$localstatedir%g 1441s%@libdir@%$libdir%g 1442s%@includedir@%$includedir%g 1443s%@oldincludedir@%$oldincludedir%g 1444s%@infodir@%$infodir%g 1445s%@mandir@%$mandir%g 1446s%@host@%$host%g 1447s%@host_alias@%$host_alias%g 1448s%@host_cpu@%$host_cpu%g 1449s%@host_vendor@%$host_vendor%g 1450s%@host_os@%$host_os%g 1451s%@EXTRALIBS@%$EXTRALIBS%g 1452s%@CPP@%$CPP%g 1453s%@HAVE_SNDIO@%$HAVE_SNDIO%g 1454s%@HAVE_SUN_IOCTL@%$HAVE_SUN_IOCTL%g 1455s%@HAVE_SUNSOUND@%$HAVE_SUNSOUND%g 1456s%@HAVE_OSS@%$HAVE_OSS%g 1457s%@HAVE_ALSA@%$HAVE_ALSA%g 1458s%@HAVE_SYS_ASOUNDLIB_H@%$HAVE_SYS_ASOUNDLIB_H%g 1459s%@HAVE_ALSA_ASOUNDLIB_H@%$HAVE_ALSA_ASOUNDLIB_H%g 1460s%@HAVE_WINSOUND@%$HAVE_WINSOUND%g 1461s%@HAVE_OS2SOUND@%$HAVE_OS2SOUND%g 1462s%@HAVE_PULSE_SIMPLE_H@%$HAVE_PULSE_SIMPLE_H%g 1463 1464CEOF 1465EOF 1466 1467cat >> $CONFIG_STATUS <<\EOF 1468 1469# Split the substitutions into bite-sized pieces for seds with 1470# small command number limits, like on Digital OSF/1 and HP-UX. 1471ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 1472ac_file=1 # Number of current file. 1473ac_beg=1 # First line for current file. 1474ac_end=$ac_max_sed_cmds # Line after last line for current file. 1475ac_more_lines=: 1476ac_sed_cmds="" 1477while $ac_more_lines; do 1478 if test $ac_beg -gt 1; then 1479 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 1480 else 1481 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 1482 fi 1483 if test ! -s conftest.s$ac_file; then 1484 ac_more_lines=false 1485 rm -f conftest.s$ac_file 1486 else 1487 if test -z "$ac_sed_cmds"; then 1488 ac_sed_cmds="sed -f conftest.s$ac_file" 1489 else 1490 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 1491 fi 1492 ac_file=`expr $ac_file + 1` 1493 ac_beg=$ac_end 1494 ac_end=`expr $ac_end + $ac_max_sed_cmds` 1495 fi 1496done 1497if test -z "$ac_sed_cmds"; then 1498 ac_sed_cmds=cat 1499fi 1500EOF 1501 1502cat >> $CONFIG_STATUS <<EOF 1503 1504CONFIG_FILES=\${CONFIG_FILES-"local.cnf"} 1505EOF 1506cat >> $CONFIG_STATUS <<\EOF 1507for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 1508 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1509 case "$ac_file" in 1510 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 1511 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1512 *) ac_file_in="${ac_file}.in" ;; 1513 esac 1514 1515 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 1516 1517 # Remove last slash and all that follows it. Not all systems have dirname. 1518 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 1519 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 1520 # The file is in a subdirectory. 1521 test ! -d "$ac_dir" && mkdir "$ac_dir" 1522 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 1523 # A "../" for each directory in $ac_dir_suffix. 1524 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 1525 else 1526 ac_dir_suffix= ac_dots= 1527 fi 1528 1529 case "$ac_given_srcdir" in 1530 .) srcdir=. 1531 if test -z "$ac_dots"; then top_srcdir=. 1532 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 1533 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 1534 *) # Relative path. 1535 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 1536 top_srcdir="$ac_dots$ac_given_srcdir" ;; 1537 esac 1538 1539 1540 echo creating "$ac_file" 1541 rm -f "$ac_file" 1542 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 1543 case "$ac_file" in 1544 *Makefile*) ac_comsub="1i\\ 1545# $configure_input" ;; 1546 *) ac_comsub= ;; 1547 esac 1548 1549 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 1550 sed -e "$ac_comsub 1551s%@configure_input@%$configure_input%g 1552s%@srcdir@%$srcdir%g 1553s%@top_srcdir@%$top_srcdir%g 1554" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 1555fi; done 1556rm -f conftest.s* 1557 1558# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 1559# NAME is the cpp macro being defined and VALUE is the value it is being given. 1560# 1561# ac_d sets the value in "#define NAME VALUE" lines. 1562ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' 1563ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' 1564ac_dC='\3' 1565ac_dD='%g' 1566# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". 1567ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 1568ac_uB='\([ ]\)%\1#\2define\3' 1569ac_uC=' ' 1570ac_uD='\4%g' 1571# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 1572ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 1573ac_eB='$%\1#\2define\3' 1574ac_eC=' ' 1575ac_eD='%g' 1576 1577if test "${CONFIG_HEADERS+set}" != set; then 1578EOF 1579cat >> $CONFIG_STATUS <<EOF 1580 CONFIG_HEADERS="lconfig.h" 1581EOF 1582cat >> $CONFIG_STATUS <<\EOF 1583fi 1584for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 1585 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1586 case "$ac_file" in 1587 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 1588 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1589 *) ac_file_in="${ac_file}.in" ;; 1590 esac 1591 1592 echo creating $ac_file 1593 1594 rm -f conftest.frag conftest.in conftest.out 1595 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 1596 cat $ac_file_inputs > conftest.in 1597 1598EOF 1599 1600# Transform confdefs.h into a sed script conftest.vals that substitutes 1601# the proper values into config.h.in to produce config.h. And first: 1602# Protect against being on the right side of a sed subst in config.status. 1603# Protect against being in an unquoted here document in config.status. 1604rm -f conftest.vals 1605cat > conftest.hdr <<\EOF 1606s/[\\&%]/\\&/g 1607s%[\\$`]%\\&%g 1608s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 1609s%ac_d%ac_u%gp 1610s%ac_u%ac_e%gp 1611EOF 1612sed -n -f conftest.hdr confdefs.h > conftest.vals 1613rm -f conftest.hdr 1614 1615# This sed command replaces #undef with comments. This is necessary, for 1616# example, in the case of _POSIX_SOURCE, which is predefined and required 1617# on some systems where configure will not decide to define it. 1618cat >> conftest.vals <<\EOF 1619s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 1620EOF 1621 1622# Break up conftest.vals because some shells have a limit on 1623# the size of here documents, and old seds have small limits too. 1624 1625rm -f conftest.tail 1626while : 1627do 1628 ac_lines=`grep -c . conftest.vals` 1629 # grep -c gives empty output for an empty file on some AIX systems. 1630 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi 1631 # Write a limited-size here document to conftest.frag. 1632 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS 1633 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS 1634 echo 'CEOF 1635 sed -f conftest.frag conftest.in > conftest.out 1636 rm -f conftest.in 1637 mv conftest.out conftest.in 1638' >> $CONFIG_STATUS 1639 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail 1640 rm -f conftest.vals 1641 mv conftest.tail conftest.vals 1642done 1643rm -f conftest.vals 1644 1645cat >> $CONFIG_STATUS <<\EOF 1646 rm -f conftest.frag conftest.h 1647 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h 1648 cat conftest.in >> conftest.h 1649 rm -f conftest.in 1650 if cmp -s $ac_file conftest.h 2>/dev/null; then 1651 echo "$ac_file is unchanged" 1652 rm -f conftest.h 1653 else 1654 # Remove last slash and all that follows it. Not all systems have dirname. 1655 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 1656 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 1657 # The file is in a subdirectory. 1658 test ! -d "$ac_dir" && mkdir "$ac_dir" 1659 fi 1660 rm -f $ac_file 1661 mv conftest.h $ac_file 1662 fi 1663fi; done 1664 1665EOF 1666cat >> $CONFIG_STATUS <<EOF 1667 1668EOF 1669cat >> $CONFIG_STATUS <<\EOF 1670 1671exit 0 1672EOF 1673chmod +x $CONFIG_STATUS 1674rm -fr confdefs* $ac_clean_files 1675test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 1676 1677