configure 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.54 for sppdgTcllib 1.0.
  4. #
  5. # Report bugs to <techentin.robert@mayo.edu>.
  6. #
  7. # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  8. # Free Software Foundation, Inc.
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## --------------------- ##
  12. ## M4sh Initialization. ##
  13. ## --------------------- ##
  14. # Be Bourne compatible
  15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16. emulate sh
  17. NULLCMD=:
  18. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  19. # is contrary to our usage. Disable this feature.
  20. alias -g '${1+"$@"}'='"$@"'
  21. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  22. set -o posix
  23. fi
  24. # Support unset when possible.
  25. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  26. as_unset=unset
  27. else
  28. as_unset=false
  29. fi
  30. # Work around bugs in pre-3.0 UWIN ksh.
  31. $as_unset ENV MAIL MAILPATH
  32. PS1='$ '
  33. PS2='> '
  34. PS4='+ '
  35. # NLS nuisances.
  36. for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  37. do
  38. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  39. eval $as_var=C; export $as_var
  40. else
  41. $as_unset $as_var
  42. fi
  43. done
  44. # Required to use basename.
  45. if expr a : '\(a\)' >/dev/null 2>&1; then
  46. as_expr=expr
  47. else
  48. as_expr=false
  49. fi
  50. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  51. as_basename=basename
  52. else
  53. as_basename=false
  54. fi
  55. # Name of the executable.
  56. as_me=`$as_basename "$0" ||
  57. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  58. X"$0" : 'X\(//\)$' \| \
  59. X"$0" : 'X\(/\)$' \| \
  60. . : '\(.\)' 2>/dev/null ||
  61. echo X/"$0" |
  62. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  63. /^X\/\(\/\/\)$/{ s//\1/; q; }
  64. /^X\/\(\/\).*/{ s//\1/; q; }
  65. s/.*/./; q'`
  66. # PATH needs CR, and LINENO needs CR and PATH.
  67. # Avoid depending upon Character Ranges.
  68. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  69. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  70. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  71. as_cr_digits='0123456789'
  72. as_cr_alnum=$as_cr_Letters$as_cr_digits
  73. # The user is always right.
  74. if test "${PATH_SEPARATOR+set}" != set; then
  75. echo "#! /bin/sh" >conftest.sh
  76. echo "exit 0" >>conftest.sh
  77. chmod +x conftest.sh
  78. if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  79. PATH_SEPARATOR=';'
  80. else
  81. PATH_SEPARATOR=:
  82. fi
  83. rm -f conftest.sh
  84. fi
  85. as_lineno_1=$LINENO
  86. as_lineno_2=$LINENO
  87. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  88. test "x$as_lineno_1" != "x$as_lineno_2" &&
  89. test "x$as_lineno_3" = "x$as_lineno_2" || {
  90. # Find who we are. Look in the path if we contain no path at all
  91. # relative or not.
  92. case $0 in
  93. *[\\/]* ) as_myself=$0 ;;
  94. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  95. for as_dir in $PATH
  96. do
  97. IFS=$as_save_IFS
  98. test -z "$as_dir" && as_dir=.
  99. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100. done
  101. ;;
  102. esac
  103. # We did not find ourselves, most probably we were run as `sh COMMAND'
  104. # in which case we are not to be found in the path.
  105. if test "x$as_myself" = x; then
  106. as_myself=$0
  107. fi
  108. if test ! -f "$as_myself"; then
  109. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  110. { (exit 1); exit 1; }; }
  111. fi
  112. case $CONFIG_SHELL in
  113. '')
  114. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  115. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  116. do
  117. IFS=$as_save_IFS
  118. test -z "$as_dir" && as_dir=.
  119. for as_base in sh bash ksh sh5; do
  120. case $as_dir in
  121. /*)
  122. if ("$as_dir/$as_base" -c '
  123. as_lineno_1=$LINENO
  124. as_lineno_2=$LINENO
  125. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  126. test "x$as_lineno_1" != "x$as_lineno_2" &&
  127. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  128. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  129. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  130. CONFIG_SHELL=$as_dir/$as_base
  131. export CONFIG_SHELL
  132. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  133. fi;;
  134. esac
  135. done
  136. done
  137. ;;
  138. esac
  139. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  140. # uniformly replaced by the line number. The first 'sed' inserts a
  141. # line-number line before each line; the second 'sed' does the real
  142. # work. The second script uses 'N' to pair each line-number line
  143. # with the numbered line, and appends trailing '-' during
  144. # substitution so that $LINENO is not a special case at line end.
  145. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  146. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  147. sed '=' <$as_myself |
  148. sed '
  149. N
  150. s,$,-,
  151. : loop
  152. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  153. t loop
  154. s,-$,,
  155. s,^['$as_cr_digits']*\n,,
  156. ' >$as_me.lineno &&
  157. chmod +x $as_me.lineno ||
  158. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  159. { (exit 1); exit 1; }; }
  160. # Don't try to exec as it changes $[0], causing all sort of problems
  161. # (the dirname of $[0] is not the place where we might find the
  162. # original and so on. Autoconf is especially sensible to this).
  163. . ./$as_me.lineno
  164. # Exit status is that of the last command.
  165. exit
  166. }
  167. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  168. *c*,-n*) ECHO_N= ECHO_C='
  169. ' ECHO_T=' ' ;;
  170. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  171. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  172. esac
  173. if expr a : '\(a\)' >/dev/null 2>&1; then
  174. as_expr=expr
  175. else
  176. as_expr=false
  177. fi
  178. rm -f conf$$ conf$$.exe conf$$.file
  179. echo >conf$$.file
  180. if ln -s conf$$.file conf$$ 2>/dev/null; then
  181. # We could just check for DJGPP; but this test a) works b) is more generic
  182. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  183. if test -f conf$$.exe; then
  184. # Don't use ln at all; we don't have any links
  185. as_ln_s='cp -p'
  186. else
  187. as_ln_s='ln -s'
  188. fi
  189. elif ln conf$$.file conf$$ 2>/dev/null; then
  190. as_ln_s=ln
  191. else
  192. as_ln_s='cp -p'
  193. fi
  194. rm -f conf$$ conf$$.exe conf$$.file
  195. if mkdir -p . 2>/dev/null; then
  196. as_mkdir_p=:
  197. else
  198. as_mkdir_p=false
  199. fi
  200. as_executable_p="test -f"
  201. # Sed expression to map a string onto a valid CPP name.
  202. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  203. # Sed expression to map a string onto a valid variable name.
  204. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  205. # IFS
  206. # We need space, tab and new line, in precisely that order.
  207. as_nl='
  208. '
  209. IFS=" $as_nl"
  210. # CDPATH.
  211. $as_unset CDPATH
  212. # Name of the host.
  213. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  214. # so uname gets run too.
  215. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  216. exec 6>&1
  217. #
  218. # Initializations.
  219. #
  220. ac_default_prefix=/usr/local
  221. ac_config_libobj_dir=.
  222. cross_compiling=no
  223. subdirs=
  224. MFLAGS=
  225. MAKEFLAGS=
  226. SHELL=${CONFIG_SHELL-/bin/sh}
  227. # Maximum number of lines to put in a shell here document.
  228. # This variable seems obsolete. It should probably be removed, and
  229. # only ac_max_sed_lines should be used.
  230. : ${ac_max_here_lines=38}
  231. # Identity of this package.
  232. PACKAGE_NAME='sppdgTcllib'
  233. PACKAGE_TARNAME='sppdgtcllib'
  234. PACKAGE_VERSION='1.0'
  235. PACKAGE_STRING='sppdgTcllib 1.0'
  236. PACKAGE_BUGREPORT='techentin.robert@mayo.edu'
  237. ac_unique_file=""
  238. ac_subdirs_all="$ac_subdirs_all console getFilePreview sgraph addressDialog"
  239. ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE subdirs LIBOBJS LTLIBOBJS'
  240. ac_subst_files=''
  241. # Initialize some variables set by options.
  242. ac_init_help=
  243. ac_init_version=false
  244. # The variables have the same names as the options, with
  245. # dashes changed to underlines.
  246. cache_file=/dev/null
  247. exec_prefix=NONE
  248. no_create=
  249. no_recursion=
  250. prefix=NONE
  251. program_prefix=NONE
  252. program_suffix=NONE
  253. program_transform_name=s,x,x,
  254. silent=
  255. site=
  256. srcdir=
  257. verbose=
  258. x_includes=NONE
  259. x_libraries=NONE
  260. # Installation directory options.
  261. # These are left unexpanded so users can "make install exec_prefix=/foo"
  262. # and all the variables that are supposed to be based on exec_prefix
  263. # by default will actually change.
  264. # Use braces instead of parens because sh, perl, etc. also accept them.
  265. bindir='${exec_prefix}/bin'
  266. sbindir='${exec_prefix}/sbin'
  267. libexecdir='${exec_prefix}/libexec'
  268. datadir='${prefix}/share'
  269. sysconfdir='${prefix}/etc'
  270. sharedstatedir='${prefix}/com'
  271. localstatedir='${prefix}/var'
  272. libdir='${exec_prefix}/lib'
  273. includedir='${prefix}/include'
  274. oldincludedir='/usr/include'
  275. infodir='${prefix}/info'
  276. mandir='${prefix}/man'
  277. ac_prev=
  278. for ac_option
  279. do
  280. # If the previous option needs an argument, assign it.
  281. if test -n "$ac_prev"; then
  282. eval "$ac_prev=\$ac_option"
  283. ac_prev=
  284. continue
  285. fi
  286. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  287. # Accept the important Cygnus configure options, so we can diagnose typos.
  288. case $ac_option in
  289. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  290. ac_prev=bindir ;;
  291. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  292. bindir=$ac_optarg ;;
  293. -build | --build | --buil | --bui | --bu)
  294. ac_prev=build_alias ;;
  295. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  296. build_alias=$ac_optarg ;;
  297. -cache-file | --cache-file | --cache-fil | --cache-fi \
  298. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  299. ac_prev=cache_file ;;
  300. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  301. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  302. cache_file=$ac_optarg ;;
  303. --config-cache | -C)
  304. cache_file=config.cache ;;
  305. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  306. ac_prev=datadir ;;
  307. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  308. | --da=*)
  309. datadir=$ac_optarg ;;
  310. -disable-* | --disable-*)
  311. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  312. # Reject names that are not valid shell variable names.
  313. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  314. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  315. { (exit 1); exit 1; }; }
  316. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  317. eval "enable_$ac_feature=no" ;;
  318. -enable-* | --enable-*)
  319. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  320. # Reject names that are not valid shell variable names.
  321. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  322. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  323. { (exit 1); exit 1; }; }
  324. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  325. case $ac_option in
  326. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  327. *) ac_optarg=yes ;;
  328. esac
  329. eval "enable_$ac_feature='$ac_optarg'" ;;
  330. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  331. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  332. | --exec | --exe | --ex)
  333. ac_prev=exec_prefix ;;
  334. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  335. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  336. | --exec=* | --exe=* | --ex=*)
  337. exec_prefix=$ac_optarg ;;
  338. -gas | --gas | --ga | --g)
  339. # Obsolete; use --with-gas.
  340. with_gas=yes ;;
  341. -help | --help | --hel | --he | -h)
  342. ac_init_help=long ;;
  343. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  344. ac_init_help=recursive ;;
  345. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  346. ac_init_help=short ;;
  347. -host | --host | --hos | --ho)
  348. ac_prev=host_alias ;;
  349. -host=* | --host=* | --hos=* | --ho=*)
  350. host_alias=$ac_optarg ;;
  351. -includedir | --includedir | --includedi | --included | --include \
  352. | --includ | --inclu | --incl | --inc)
  353. ac_prev=includedir ;;
  354. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  355. | --includ=* | --inclu=* | --incl=* | --inc=*)
  356. includedir=$ac_optarg ;;
  357. -infodir | --infodir | --infodi | --infod | --info | --inf)
  358. ac_prev=infodir ;;
  359. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  360. infodir=$ac_optarg ;;
  361. -libdir | --libdir | --libdi | --libd)
  362. ac_prev=libdir ;;
  363. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  364. libdir=$ac_optarg ;;
  365. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  366. | --libexe | --libex | --libe)
  367. ac_prev=libexecdir ;;
  368. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  369. | --libexe=* | --libex=* | --libe=*)
  370. libexecdir=$ac_optarg ;;
  371. -localstatedir | --localstatedir | --localstatedi | --localstated \
  372. | --localstate | --localstat | --localsta | --localst \
  373. | --locals | --local | --loca | --loc | --lo)
  374. ac_prev=localstatedir ;;
  375. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  376. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  377. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  378. localstatedir=$ac_optarg ;;
  379. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  380. ac_prev=mandir ;;
  381. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  382. mandir=$ac_optarg ;;
  383. -nfp | --nfp | --nf)
  384. # Obsolete; use --without-fp.
  385. with_fp=no ;;
  386. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  387. | --no-cr | --no-c | -n)
  388. no_create=yes ;;
  389. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  390. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  391. no_recursion=yes ;;
  392. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  393. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  394. | --oldin | --oldi | --old | --ol | --o)
  395. ac_prev=oldincludedir ;;
  396. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  397. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  398. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  399. oldincludedir=$ac_optarg ;;
  400. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  401. ac_prev=prefix ;;
  402. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  403. prefix=$ac_optarg ;;
  404. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  405. | --program-pre | --program-pr | --program-p)
  406. ac_prev=program_prefix ;;
  407. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  408. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  409. program_prefix=$ac_optarg ;;
  410. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  411. | --program-suf | --program-su | --program-s)
  412. ac_prev=program_suffix ;;
  413. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  414. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  415. program_suffix=$ac_optarg ;;
  416. -program-transform-name | --program-transform-name \
  417. | --program-transform-nam | --program-transform-na \
  418. | --program-transform-n | --program-transform- \
  419. | --program-transform | --program-transfor \
  420. | --program-transfo | --program-transf \
  421. | --program-trans | --program-tran \
  422. | --progr-tra | --program-tr | --program-t)
  423. ac_prev=program_transform_name ;;
  424. -program-transform-name=* | --program-transform-name=* \
  425. | --program-transform-nam=* | --program-transform-na=* \
  426. | --program-transform-n=* | --program-transform-=* \
  427. | --program-transform=* | --program-transfor=* \
  428. | --program-transfo=* | --program-transf=* \
  429. | --program-trans=* | --program-tran=* \
  430. | --progr-tra=* | --program-tr=* | --program-t=*)
  431. program_transform_name=$ac_optarg ;;
  432. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  433. | -silent | --silent | --silen | --sile | --sil)
  434. silent=yes ;;
  435. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  436. ac_prev=sbindir ;;
  437. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  438. | --sbi=* | --sb=*)
  439. sbindir=$ac_optarg ;;
  440. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  441. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  442. | --sharedst | --shareds | --shared | --share | --shar \
  443. | --sha | --sh)
  444. ac_prev=sharedstatedir ;;
  445. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  446. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  447. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  448. | --sha=* | --sh=*)
  449. sharedstatedir=$ac_optarg ;;
  450. -site | --site | --sit)
  451. ac_prev=site ;;
  452. -site=* | --site=* | --sit=*)
  453. site=$ac_optarg ;;
  454. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  455. ac_prev=srcdir ;;
  456. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  457. srcdir=$ac_optarg ;;
  458. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  459. | --syscon | --sysco | --sysc | --sys | --sy)
  460. ac_prev=sysconfdir ;;
  461. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  462. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  463. sysconfdir=$ac_optarg ;;
  464. -target | --target | --targe | --targ | --tar | --ta | --t)
  465. ac_prev=target_alias ;;
  466. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  467. target_alias=$ac_optarg ;;
  468. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  469. verbose=yes ;;
  470. -version | --version | --versio | --versi | --vers | -V)
  471. ac_init_version=: ;;
  472. -with-* | --with-*)
  473. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  474. # Reject names that are not valid shell variable names.
  475. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  476. { echo "$as_me: error: invalid package name: $ac_package" >&2
  477. { (exit 1); exit 1; }; }
  478. ac_package=`echo $ac_package| sed 's/-/_/g'`
  479. case $ac_option in
  480. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  481. *) ac_optarg=yes ;;
  482. esac
  483. eval "with_$ac_package='$ac_optarg'" ;;
  484. -without-* | --without-*)
  485. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  486. # Reject names that are not valid shell variable names.
  487. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  488. { echo "$as_me: error: invalid package name: $ac_package" >&2
  489. { (exit 1); exit 1; }; }
  490. ac_package=`echo $ac_package | sed 's/-/_/g'`
  491. eval "with_$ac_package=no" ;;
  492. --x)
  493. # Obsolete; use --with-x.
  494. with_x=yes ;;
  495. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  496. | --x-incl | --x-inc | --x-in | --x-i)
  497. ac_prev=x_includes ;;
  498. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  499. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  500. x_includes=$ac_optarg ;;
  501. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  502. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  503. ac_prev=x_libraries ;;
  504. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  505. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  506. x_libraries=$ac_optarg ;;
  507. -*) { echo "$as_me: error: unrecognized option: $ac_option
  508. Try \`$0 --help' for more information." >&2
  509. { (exit 1); exit 1; }; }
  510. ;;
  511. *=*)
  512. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  513. # Reject names that are not valid shell variable names.
  514. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  515. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  516. { (exit 1); exit 1; }; }
  517. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  518. eval "$ac_envvar='$ac_optarg'"
  519. export $ac_envvar ;;
  520. *)
  521. # FIXME: should be removed in autoconf 3.0.
  522. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  523. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  524. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  525. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  526. ;;
  527. esac
  528. done
  529. if test -n "$ac_prev"; then
  530. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  531. { echo "$as_me: error: missing argument to $ac_option" >&2
  532. { (exit 1); exit 1; }; }
  533. fi
  534. # Be sure to have absolute paths.
  535. for ac_var in exec_prefix prefix
  536. do
  537. eval ac_val=$`echo $ac_var`
  538. case $ac_val in
  539. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  540. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  541. { (exit 1); exit 1; }; };;
  542. esac
  543. done
  544. # Be sure to have absolute paths.
  545. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  546. localstatedir libdir includedir oldincludedir infodir mandir
  547. do
  548. eval ac_val=$`echo $ac_var`
  549. case $ac_val in
  550. [\\/$]* | ?:[\\/]* ) ;;
  551. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  552. { (exit 1); exit 1; }; };;
  553. esac
  554. done
  555. # There might be people who depend on the old broken behavior: `$host'
  556. # used to hold the argument of --host etc.
  557. # FIXME: To remove some day.
  558. build=$build_alias
  559. host=$host_alias
  560. target=$target_alias
  561. # FIXME: To remove some day.
  562. if test "x$host_alias" != x; then
  563. if test "x$build_alias" = x; then
  564. cross_compiling=maybe
  565. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  566. If a cross compiler is detected then cross compile mode will be used." >&2
  567. elif test "x$build_alias" != "x$host_alias"; then
  568. cross_compiling=yes
  569. fi
  570. fi
  571. ac_tool_prefix=
  572. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  573. test "$silent" = yes && exec 6>/dev/null
  574. # Find the source files, if location was not specified.
  575. if test -z "$srcdir"; then
  576. ac_srcdir_defaulted=yes
  577. # Try the directory containing this script, then its parent.
  578. ac_confdir=`(dirname "$0") 2>/dev/null ||
  579. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  580. X"$0" : 'X\(//\)[^/]' \| \
  581. X"$0" : 'X\(//\)$' \| \
  582. X"$0" : 'X\(/\)' \| \
  583. . : '\(.\)' 2>/dev/null ||
  584. echo X"$0" |
  585. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  586. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  587. /^X\(\/\/\)$/{ s//\1/; q; }
  588. /^X\(\/\).*/{ s//\1/; q; }
  589. s/.*/./; q'`
  590. srcdir=$ac_confdir
  591. if test ! -r $srcdir/$ac_unique_file; then
  592. srcdir=..
  593. fi
  594. else
  595. ac_srcdir_defaulted=no
  596. fi
  597. if test ! -r $srcdir/$ac_unique_file; then
  598. if test "$ac_srcdir_defaulted" = yes; then
  599. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  600. { (exit 1); exit 1; }; }
  601. else
  602. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  603. { (exit 1); exit 1; }; }
  604. fi
  605. fi
  606. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  607. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  608. { (exit 1); exit 1; }; }
  609. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  610. ac_env_build_alias_set=${build_alias+set}
  611. ac_env_build_alias_value=$build_alias
  612. ac_cv_env_build_alias_set=${build_alias+set}
  613. ac_cv_env_build_alias_value=$build_alias
  614. ac_env_host_alias_set=${host_alias+set}
  615. ac_env_host_alias_value=$host_alias
  616. ac_cv_env_host_alias_set=${host_alias+set}
  617. ac_cv_env_host_alias_value=$host_alias
  618. ac_env_target_alias_set=${target_alias+set}
  619. ac_env_target_alias_value=$target_alias
  620. ac_cv_env_target_alias_set=${target_alias+set}
  621. ac_cv_env_target_alias_value=$target_alias
  622. #
  623. # Report the --help message.
  624. #
  625. if test "$ac_init_help" = "long"; then
  626. # Omit some internal or obsolete options to make the list less imposing.
  627. # This message is too long to be a string in the A/UX 3.1 sh.
  628. cat <<_ACEOF
  629. \`configure' configures sppdgTcllib 1.0 to adapt to many kinds of systems.
  630. Usage: $0 [OPTION]... [VAR=VALUE]...
  631. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  632. VAR=VALUE. See below for descriptions of some of the useful variables.
  633. Defaults for the options are specified in brackets.
  634. Configuration:
  635. -h, --help display this help and exit
  636. --help=short display options specific to this package
  637. --help=recursive display the short help of all the included packages
  638. -V, --version display version information and exit
  639. -q, --quiet, --silent do not print \`checking...' messages
  640. --cache-file=FILE cache test results in FILE [disabled]
  641. -C, --config-cache alias for \`--cache-file=config.cache'
  642. -n, --no-create do not create output files
  643. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  644. _ACEOF
  645. cat <<_ACEOF
  646. Installation directories:
  647. --prefix=PREFIX install architecture-independent files in PREFIX
  648. [$ac_default_prefix]
  649. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  650. [PREFIX]
  651. By default, \`make install' will install all the files in
  652. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  653. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  654. for instance \`--prefix=\$HOME'.
  655. For better control, use the options below.
  656. Fine tuning of the installation directories:
  657. --bindir=DIR user executables [EPREFIX/bin]
  658. --sbindir=DIR system admin executables [EPREFIX/sbin]
  659. --libexecdir=DIR program executables [EPREFIX/libexec]
  660. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  661. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  662. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  663. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  664. --libdir=DIR object code libraries [EPREFIX/lib]
  665. --includedir=DIR C header files [PREFIX/include]
  666. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  667. --infodir=DIR info documentation [PREFIX/info]
  668. --mandir=DIR man documentation [PREFIX/man]
  669. _ACEOF
  670. cat <<\_ACEOF
  671. Program names:
  672. --program-prefix=PREFIX prepend PREFIX to installed program names
  673. --program-suffix=SUFFIX append SUFFIX to installed program names
  674. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  675. _ACEOF
  676. fi
  677. if test -n "$ac_init_help"; then
  678. case $ac_init_help in
  679. short | recursive ) echo "Configuration of sppdgTcllib 1.0:";;
  680. esac
  681. cat <<\_ACEOF
  682. Report bugs to <techentin.robert@mayo.edu>.
  683. _ACEOF
  684. fi
  685. if test "$ac_init_help" = "recursive"; then
  686. # If there are subdirs, report their specific --help.
  687. ac_popdir=`pwd`
  688. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  689. test -d $ac_dir || continue
  690. ac_builddir=.
  691. if test "$ac_dir" != .; then
  692. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  693. # A "../" for each directory in $ac_dir_suffix.
  694. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  695. else
  696. ac_dir_suffix= ac_top_builddir=
  697. fi
  698. case $srcdir in
  699. .) # No --srcdir option. We are building in place.
  700. ac_srcdir=.
  701. if test -z "$ac_top_builddir"; then
  702. ac_top_srcdir=.
  703. else
  704. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  705. fi ;;
  706. [\\/]* | ?:[\\/]* ) # Absolute path.
  707. ac_srcdir=$srcdir$ac_dir_suffix;
  708. ac_top_srcdir=$srcdir ;;
  709. *) # Relative path.
  710. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  711. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  712. esac
  713. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  714. # absolute.
  715. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  716. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  717. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  718. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  719. cd $ac_dir
  720. # Check for guested configure; otherwise get Cygnus style configure.
  721. if test -f $ac_srcdir/configure.gnu; then
  722. echo
  723. $SHELL $ac_srcdir/configure.gnu --help=recursive
  724. elif test -f $ac_srcdir/configure; then
  725. echo
  726. $SHELL $ac_srcdir/configure --help=recursive
  727. elif test -f $ac_srcdir/configure.ac ||
  728. test -f $ac_srcdir/configure.in; then
  729. echo
  730. $ac_configure --help
  731. else
  732. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  733. fi
  734. cd $ac_popdir
  735. done
  736. fi
  737. test -n "$ac_init_help" && exit 0
  738. if $ac_init_version; then
  739. cat <<\_ACEOF
  740. sppdgTcllib configure 1.0
  741. generated by GNU Autoconf 2.54
  742. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  743. Free Software Foundation, Inc.
  744. This configure script is free software; the Free Software Foundation
  745. gives unlimited permission to copy, distribute and modify it.
  746. _ACEOF
  747. exit 0
  748. fi
  749. exec 5>config.log
  750. cat >&5 <<_ACEOF
  751. This file contains any messages produced by compilers while
  752. running configure, to aid debugging if configure makes a mistake.
  753. It was created by sppdgTcllib $as_me 1.0, which was
  754. generated by GNU Autoconf 2.54. Invocation command line was
  755. $ $0 $@
  756. _ACEOF
  757. {
  758. cat <<_ASUNAME
  759. ## --------- ##
  760. ## Platform. ##
  761. ## --------- ##
  762. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  763. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  764. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  765. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  766. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  767. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  768. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  769. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  770. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  771. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  772. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  773. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  774. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  775. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  776. _ASUNAME
  777. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  778. for as_dir in $PATH
  779. do
  780. IFS=$as_save_IFS
  781. test -z "$as_dir" && as_dir=.
  782. echo "PATH: $as_dir"
  783. done
  784. } >&5
  785. cat >&5 <<_ACEOF
  786. ## ----------- ##
  787. ## Core tests. ##
  788. ## ----------- ##
  789. _ACEOF
  790. # Keep a trace of the command line.
  791. # Strip out --no-create and --no-recursion so they do not pile up.
  792. # Also quote any args containing shell meta-characters.
  793. ac_configure_args=
  794. ac_sep=
  795. for ac_arg
  796. do
  797. case $ac_arg in
  798. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  799. | --no-cr | --no-c | -n ) continue ;;
  800. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  801. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  802. continue ;;
  803. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  804. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  805. esac
  806. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  807. # Get rid of the leading space.
  808. ac_sep=" "
  809. done
  810. # When interrupted or exit'd, cleanup temporary files, and complete
  811. # config.log. We remove comments because anyway the quotes in there
  812. # would cause problems or look ugly.
  813. # WARNING: Be sure not to use single quotes in there, as some shells,
  814. # such as our DU 5.0 friend, will then `close' the trap.
  815. trap 'exit_status=$?
  816. # Save into config.log some information that might help in debugging.
  817. {
  818. echo
  819. cat <<\_ASBOX
  820. ## ---------------- ##
  821. ## Cache variables. ##
  822. ## ---------------- ##
  823. _ASBOX
  824. echo
  825. # The following way of writing the cache mishandles newlines in values,
  826. {
  827. (set) 2>&1 |
  828. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  829. *ac_space=\ *)
  830. sed -n \
  831. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  832. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  833. ;;
  834. *)
  835. sed -n \
  836. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  837. ;;
  838. esac;
  839. }
  840. echo
  841. cat <<\_ASBOX
  842. ## ----------------- ##
  843. ## Output variables. ##
  844. ## ----------------- ##
  845. _ASBOX
  846. echo
  847. for ac_var in $ac_subst_vars
  848. do
  849. eval ac_val=$`echo $ac_var`
  850. echo "$ac_var='"'"'$ac_val'"'"'"
  851. done | sort
  852. echo
  853. if test -n "$ac_subst_files"; then
  854. cat <<\_ASBOX
  855. ## ------------- ##
  856. ## Output files. ##
  857. ## ------------- ##
  858. _ASBOX
  859. echo
  860. for ac_var in $ac_subst_files
  861. do
  862. eval ac_val=$`echo $ac_var`
  863. echo "$ac_var='"'"'$ac_val'"'"'"
  864. done | sort
  865. echo
  866. fi
  867. if test -s confdefs.h; then
  868. cat <<\_ASBOX
  869. ## ----------- ##
  870. ## confdefs.h. ##
  871. ## ----------- ##
  872. _ASBOX
  873. echo
  874. sed "/^$/d" confdefs.h | sort
  875. echo
  876. fi
  877. test "$ac_signal" != 0 &&
  878. echo "$as_me: caught signal $ac_signal"
  879. echo "$as_me: exit $exit_status"
  880. } >&5
  881. rm -f core core.* *.core &&
  882. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  883. exit $exit_status
  884. ' 0
  885. for ac_signal in 1 2 13 15; do
  886. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  887. done
  888. ac_signal=0
  889. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  890. rm -rf conftest* confdefs.h
  891. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  892. echo >confdefs.h
  893. # Predefined preprocessor variables.
  894. cat >>confdefs.h <<_ACEOF
  895. #define PACKAGE_NAME "$PACKAGE_NAME"
  896. _ACEOF
  897. cat >>confdefs.h <<_ACEOF
  898. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  899. _ACEOF
  900. cat >>confdefs.h <<_ACEOF
  901. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  902. _ACEOF
  903. cat >>confdefs.h <<_ACEOF
  904. #define PACKAGE_STRING "$PACKAGE_STRING"
  905. _ACEOF
  906. cat >>confdefs.h <<_ACEOF
  907. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  908. _ACEOF
  909. # Let the site file select an alternate cache file if it wants to.
  910. # Prefer explicitly selected file to automatically selected ones.
  911. if test -z "$CONFIG_SITE"; then
  912. if test "x$prefix" != xNONE; then
  913. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  914. else
  915. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  916. fi
  917. fi
  918. for ac_site_file in $CONFIG_SITE; do
  919. if test -r "$ac_site_file"; then
  920. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  921. echo "$as_me: loading site script $ac_site_file" >&6;}
  922. sed 's/^/| /' "$ac_site_file" >&5
  923. . "$ac_site_file"
  924. fi
  925. done
  926. if test -r "$cache_file"; then
  927. # Some versions of bash will fail to source /dev/null (special
  928. # files actually), so we avoid doing that.
  929. if test -f "$cache_file"; then
  930. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  931. echo "$as_me: loading cache $cache_file" >&6;}
  932. case $cache_file in
  933. [\\/]* | ?:[\\/]* ) . $cache_file;;
  934. *) . ./$cache_file;;
  935. esac
  936. fi
  937. else
  938. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  939. echo "$as_me: creating cache $cache_file" >&6;}
  940. >$cache_file
  941. fi
  942. # Check that the precious variables saved in the cache have kept the same
  943. # value.
  944. ac_cache_corrupted=false
  945. for ac_var in `(set) 2>&1 |
  946. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  947. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  948. eval ac_new_set=\$ac_env_${ac_var}_set
  949. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  950. eval ac_new_val="\$ac_env_${ac_var}_value"
  951. case $ac_old_set,$ac_new_set in
  952. set,)
  953. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  954. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  955. ac_cache_corrupted=: ;;
  956. ,set)
  957. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  958. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  959. ac_cache_corrupted=: ;;
  960. ,);;
  961. *)
  962. if test "x$ac_old_val" != "x$ac_new_val"; then
  963. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  964. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  965. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  966. echo "$as_me: former value: $ac_old_val" >&2;}
  967. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  968. echo "$as_me: current value: $ac_new_val" >&2;}
  969. ac_cache_corrupted=:
  970. fi;;
  971. esac
  972. # Pass precious variables to config.status.
  973. if test "$ac_new_set" = set; then
  974. case $ac_new_val in
  975. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  976. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  977. *) ac_arg=$ac_var=$ac_new_val ;;
  978. esac
  979. case " $ac_configure_args " in
  980. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  981. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  982. esac
  983. fi
  984. done
  985. if $ac_cache_corrupted; then
  986. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  987. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  988. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  989. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  990. { (exit 1); exit 1; }; }
  991. fi
  992. ac_ext=c
  993. ac_cpp='$CPP $CPPFLAGS'
  994. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  995. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  996. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  997. #----------------------------------------------------------------
  998. # Give autoconf a point of reference, and tell it that
  999. # we're going to use automake later.
  1000. #----------------------------------------------------------------
  1001. am__api_version="1.7"
  1002. ac_aux_dir=
  1003. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1004. if test -f $ac_dir/install-sh; then
  1005. ac_aux_dir=$ac_dir
  1006. ac_install_sh="$ac_aux_dir/install-sh -c"
  1007. break
  1008. elif test -f $ac_dir/install.sh; then
  1009. ac_aux_dir=$ac_dir
  1010. ac_install_sh="$ac_aux_dir/install.sh -c"
  1011. break
  1012. elif test -f $ac_dir/shtool; then
  1013. ac_aux_dir=$ac_dir
  1014. ac_install_sh="$ac_aux_dir/shtool install -c"
  1015. break
  1016. fi
  1017. done
  1018. if test -z "$ac_aux_dir"; then
  1019. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1020. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1021. { (exit 1); exit 1; }; }
  1022. fi
  1023. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1024. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1025. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1026. # Find a good install program. We prefer a C program (faster),
  1027. # so one script is as good as another. But avoid the broken or
  1028. # incompatible versions:
  1029. # SysV /etc/install, /usr/sbin/install
  1030. # SunOS /usr/etc/install
  1031. # IRIX /sbin/install
  1032. # AIX /bin/install
  1033. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1034. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1035. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1036. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1037. # ./install, which can be erroneously created by make from ./install.sh.
  1038. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1039. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1040. if test -z "$INSTALL"; then
  1041. if test "${ac_cv_path_install+set}" = set; then
  1042. echo $ECHO_N "(cached) $ECHO_C" >&6
  1043. else
  1044. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1045. for as_dir in $PATH
  1046. do
  1047. IFS=$as_save_IFS
  1048. test -z "$as_dir" && as_dir=.
  1049. # Account for people who put trailing slashes in PATH elements.
  1050. case $as_dir/ in
  1051. ./ | .// | /cC/* | \
  1052. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1053. /usr/ucb/* ) ;;
  1054. *)
  1055. # OSF1 and SCO ODT 3.0 have their own names for install.
  1056. # Don't use installbsd from OSF since it installs stuff as root
  1057. # by default.
  1058. for ac_prog in ginstall scoinst install; do
  1059. for ac_exec_ext in '' $ac_executable_extensions; do
  1060. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1061. if test $ac_prog = install &&
  1062. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1063. # AIX install. It has an incompatible calling convention.
  1064. :
  1065. elif test $ac_prog = install &&
  1066. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1067. # program-specific install script used by HP pwplus--don't use.
  1068. :
  1069. else
  1070. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1071. break 3
  1072. fi
  1073. fi
  1074. done
  1075. done
  1076. ;;
  1077. esac
  1078. done
  1079. fi
  1080. if test "${ac_cv_path_install+set}" = set; then
  1081. INSTALL=$ac_cv_path_install
  1082. else
  1083. # As a last resort, use the slow shell script. We don't cache a
  1084. # path for INSTALL within a source directory, because that will
  1085. # break other packages using the cache if that directory is
  1086. # removed, or if the path is relative.
  1087. INSTALL=$ac_install_sh
  1088. fi
  1089. fi
  1090. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1091. echo "${ECHO_T}$INSTALL" >&6
  1092. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1093. # It thinks the first close brace ends the variable substitution.
  1094. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1095. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1096. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1097. echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1098. echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1099. # Just in case
  1100. sleep 1
  1101. echo timestamp > conftest.file
  1102. # Do `set' in a subshell so we don't clobber the current shell's
  1103. # arguments. Must try -L first in case configure is actually a
  1104. # symlink; some systems play weird games with the mod time of symlinks
  1105. # (eg FreeBSD returns the mod time of the symlink's containing
  1106. # directory).
  1107. if (
  1108. set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1109. if test "$*" = "X"; then
  1110. # -L didn't work.
  1111. set X `ls -t $srcdir/configure conftest.file`
  1112. fi
  1113. rm -f conftest.file
  1114. if test "$*" != "X $srcdir/configure conftest.file" \
  1115. && test "$*" != "X conftest.file $srcdir/configure"; then
  1116. # If neither matched, then we have a broken ls. This can happen
  1117. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1118. # broken ls alias from the environment. This has actually
  1119. # happened. Such a system could not be considered "sane".
  1120. { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  1121. alias in your environment" >&5
  1122. echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  1123. alias in your environment" >&2;}
  1124. { (exit 1); exit 1; }; }
  1125. fi
  1126. test "$2" = conftest.file
  1127. )
  1128. then
  1129. # Ok.
  1130. :
  1131. else
  1132. { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1133. Check your system clock" >&5
  1134. echo "$as_me: error: newly created file is older than distributed files!
  1135. Check your system clock" >&2;}
  1136. { (exit 1); exit 1; }; }
  1137. fi
  1138. echo "$as_me:$LINENO: result: yes" >&5
  1139. echo "${ECHO_T}yes" >&6
  1140. test "$program_prefix" != NONE &&
  1141. program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1142. # Use a double $ so make ignores it.
  1143. test "$program_suffix" != NONE &&
  1144. program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1145. # Double any \ or $. echo might interpret backslashes.
  1146. # By default was `s,x,x', remove it if useless.
  1147. cat <<\_ACEOF >conftest.sed
  1148. s/[\\$]/&&/g;s/;s,x,x,$//
  1149. _ACEOF
  1150. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1151. rm conftest.sed
  1152. # expand $ac_aux_dir to an absolute path
  1153. am_aux_dir=`cd $ac_aux_dir && pwd`
  1154. test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1155. # Use eval to expand $SHELL
  1156. if eval "$MISSING --run true"; then
  1157. am_missing_run="$MISSING --run "
  1158. else
  1159. am_missing_run=
  1160. { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1161. echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1162. fi
  1163. for ac_prog in gawk mawk nawk awk
  1164. do
  1165. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1166. set dummy $ac_prog; ac_word=$2
  1167. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1168. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1169. if test "${ac_cv_prog_AWK+set}" = set; then
  1170. echo $ECHO_N "(cached) $ECHO_C" >&6
  1171. else
  1172. if test -n "$AWK"; then
  1173. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1174. else
  1175. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1176. for as_dir in $PATH
  1177. do
  1178. IFS=$as_save_IFS
  1179. test -z "$as_dir" && as_dir=.
  1180. for ac_exec_ext in '' $ac_executable_extensions; do
  1181. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1182. ac_cv_prog_AWK="$ac_prog"
  1183. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1184. break 2
  1185. fi
  1186. done
  1187. done
  1188. fi
  1189. fi
  1190. AWK=$ac_cv_prog_AWK
  1191. if test -n "$AWK"; then
  1192. echo "$as_me:$LINENO: result: $AWK" >&5
  1193. echo "${ECHO_T}$AWK" >&6
  1194. else
  1195. echo "$as_me:$LINENO: result: no" >&5
  1196. echo "${ECHO_T}no" >&6
  1197. fi
  1198. test -n "$AWK" && break
  1199. done
  1200. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  1201. echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  1202. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  1203. if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1204. echo $ECHO_N "(cached) $ECHO_C" >&6
  1205. else
  1206. cat >conftest.make <<\_ACEOF
  1207. all:
  1208. @echo 'ac_maketemp="${MAKE}"'
  1209. _ACEOF
  1210. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1211. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1212. if test -n "$ac_maketemp"; then
  1213. eval ac_cv_prog_make_${ac_make}_set=yes
  1214. else
  1215. eval ac_cv_prog_make_${ac_make}_set=no
  1216. fi
  1217. rm -f conftest.make
  1218. fi
  1219. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1220. echo "$as_me:$LINENO: result: yes" >&5
  1221. echo "${ECHO_T}yes" >&6
  1222. SET_MAKE=
  1223. else
  1224. echo "$as_me:$LINENO: result: no" >&5
  1225. echo "${ECHO_T}no" >&6
  1226. SET_MAKE="MAKE=${MAKE-make}"
  1227. fi
  1228. # test to see if srcdir already configured
  1229. if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1230. test -f $srcdir/config.status; then
  1231. { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1232. echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1233. { (exit 1); exit 1; }; }
  1234. fi
  1235. # test whether we have cygpath
  1236. if test -z "$CYGPATH_W"; then
  1237. if (cygpath --version) >/dev/null 2>/dev/null; then
  1238. CYGPATH_W='cygpath -w'
  1239. else
  1240. CYGPATH_W=echo
  1241. fi
  1242. fi
  1243. # Define the identity of the package.
  1244. PACKAGE=sppdgTcllib
  1245. VERSION=1.0
  1246. cat >>confdefs.h <<_ACEOF
  1247. #define PACKAGE "$PACKAGE"
  1248. _ACEOF
  1249. cat >>confdefs.h <<_ACEOF
  1250. #define VERSION "$VERSION"
  1251. _ACEOF
  1252. # Some tools Automake needs.
  1253. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1254. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1255. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1256. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1257. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1258. AMTAR=${AMTAR-"${am_missing_run}tar"}
  1259. install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1260. # Installed binaries are usually stripped using `strip' when the user
  1261. # run `make install-strip'. However `strip' might not be the right
  1262. # tool to use in cross-compilation environments, therefore Automake
  1263. # will honor the `STRIP' environment variable to overrule this program.
  1264. if test "$cross_compiling" != no; then
  1265. if test -n "$ac_tool_prefix"; then
  1266. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1267. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1268. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1269. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1270. if test "${ac_cv_prog_STRIP+set}" = set; then
  1271. echo $ECHO_N "(cached) $ECHO_C" >&6
  1272. else
  1273. if test -n "$STRIP"; then
  1274. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1275. else
  1276. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1277. for as_dir in $PATH
  1278. do
  1279. IFS=$as_save_IFS
  1280. test -z "$as_dir" && as_dir=.
  1281. for ac_exec_ext in '' $ac_executable_extensions; do
  1282. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1283. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1284. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1285. break 2
  1286. fi
  1287. done
  1288. done
  1289. fi
  1290. fi
  1291. STRIP=$ac_cv_prog_STRIP
  1292. if test -n "$STRIP"; then
  1293. echo "$as_me:$LINENO: result: $STRIP" >&5
  1294. echo "${ECHO_T}$STRIP" >&6
  1295. else
  1296. echo "$as_me:$LINENO: result: no" >&5
  1297. echo "${ECHO_T}no" >&6
  1298. fi
  1299. fi
  1300. if test -z "$ac_cv_prog_STRIP"; then
  1301. ac_ct_STRIP=$STRIP
  1302. # Extract the first word of "strip", so it can be a program name with args.
  1303. set dummy strip; ac_word=$2
  1304. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1305. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1306. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1307. echo $ECHO_N "(cached) $ECHO_C" >&6
  1308. else
  1309. if test -n "$ac_ct_STRIP"; then
  1310. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1311. else
  1312. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1313. for as_dir in $PATH
  1314. do
  1315. IFS=$as_save_IFS
  1316. test -z "$as_dir" && as_dir=.
  1317. for ac_exec_ext in '' $ac_executable_extensions; do
  1318. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1319. ac_cv_prog_ac_ct_STRIP="strip"
  1320. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1321. break 2
  1322. fi
  1323. done
  1324. done
  1325. test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1326. fi
  1327. fi
  1328. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1329. if test -n "$ac_ct_STRIP"; then
  1330. echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1331. echo "${ECHO_T}$ac_ct_STRIP" >&6
  1332. else
  1333. echo "$as_me:$LINENO: result: no" >&5
  1334. echo "${ECHO_T}no" >&6
  1335. fi
  1336. STRIP=$ac_ct_STRIP
  1337. else
  1338. STRIP="$ac_cv_prog_STRIP"
  1339. fi
  1340. fi
  1341. INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  1342. # We need awk for the "check" target. The system "awk" is bad on
  1343. # some platforms.
  1344. #---------------------------------------------------------------
  1345. # Install these subdirectories
  1346. #---------------------------------------------------------------
  1347. subdirs="$subdirs console getFilePreview sgraph addressDialog"
  1348. ac_config_files="$ac_config_files Makefile"
  1349. cat >confcache <<\_ACEOF
  1350. # This file is a shell script that caches the results of configure
  1351. # tests run on this system so they can be shared between configure
  1352. # scripts and configure runs, see configure's option --config-cache.
  1353. # It is not useful on other systems. If it contains results you don't
  1354. # want to keep, you may remove or edit it.
  1355. #
  1356. # config.status only pays attention to the cache file if you give it
  1357. # the --recheck option to rerun configure.
  1358. #
  1359. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  1360. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  1361. # following values.
  1362. _ACEOF
  1363. # The following way of writing the cache mishandles newlines in values,
  1364. # but we know of no workaround that is simple, portable, and efficient.
  1365. # So, don't put newlines in cache variables' values.
  1366. # Ultrix sh set writes to stderr and can't be redirected directly,
  1367. # and sets the high bit in the cache file unless we assign to the vars.
  1368. {
  1369. (set) 2>&1 |
  1370. case `(ac_space=' '; set | grep ac_space) 2>&1` in
  1371. *ac_space=\ *)
  1372. # `set' does not quote correctly, so add quotes (double-quote
  1373. # substitution turns \\\\ into \\, and sed turns \\ into \).
  1374. sed -n \
  1375. "s/'/'\\\\''/g;
  1376. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  1377. ;;
  1378. *)
  1379. # `set' quotes correctly as required by POSIX, so do not add quotes.
  1380. sed -n \
  1381. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1382. ;;
  1383. esac;
  1384. } |
  1385. sed '
  1386. t clear
  1387. : clear
  1388. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  1389. t end
  1390. /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  1391. : end' >>confcache
  1392. if cmp -s $cache_file confcache; then :; else
  1393. if test -w $cache_file; then
  1394. test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  1395. cat confcache >$cache_file
  1396. else
  1397. echo "not updating unwritable cache $cache_file"
  1398. fi
  1399. fi
  1400. rm -f confcache
  1401. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1402. # Let make expand exec_prefix.
  1403. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1404. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  1405. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  1406. # trailing colons and then remove the whole line if VPATH becomes empty
  1407. # (actually we leave an empty line to preserve line numbers).
  1408. if test "x$srcdir" = x.; then
  1409. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  1410. s/:*\$(srcdir):*/:/;
  1411. s/:*\${srcdir}:*/:/;
  1412. s/:*@srcdir@:*/:/;
  1413. s/^\([^=]*=[ ]*\):*/\1/;
  1414. s/:*$//;
  1415. s/^[^=]*=[ ]*$//;
  1416. }'
  1417. fi
  1418. # Transform confdefs.h into DEFS.
  1419. # Protect against shell expansion while executing Makefile rules.
  1420. # Protect against Makefile macro expansion.
  1421. #
  1422. # If the first sed substitution is executed (which looks for macros that
  1423. # take arguments), then we branch to the quote section. Otherwise,
  1424. # look for a macro that doesn't take arguments.
  1425. cat >confdef2opt.sed <<\_ACEOF
  1426. t clear
  1427. : clear
  1428. s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
  1429. t quote
  1430. s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
  1431. t quote
  1432. d
  1433. : quote
  1434. s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
  1435. s,\[,\\&,g
  1436. s,\],\\&,g
  1437. s,\$,$$,g
  1438. p
  1439. _ACEOF
  1440. # We use echo to avoid assuming a particular line-breaking character.
  1441. # The extra dot is to prevent the shell from consuming trailing
  1442. # line-breaks from the sub-command output. A line-break within
  1443. # single-quotes doesn't work because, if this script is created in a
  1444. # platform that uses two characters for line-breaks (e.g., DOS), tr
  1445. # would break.
  1446. ac_LF_and_DOT=`echo; echo .`
  1447. DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
  1448. rm -f confdef2opt.sed
  1449. ac_libobjs=
  1450. ac_ltlibobjs=
  1451. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  1452. # 1. Remove the extension, and $U if already installed.
  1453. ac_i=`echo "$ac_i" |
  1454. sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  1455. # 2. Add them.
  1456. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  1457. ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  1458. done
  1459. LIBOBJS=$ac_libobjs
  1460. LTLIBOBJS=$ac_ltlibobjs
  1461. : ${CONFIG_STATUS=./config.status}
  1462. ac_clean_files_save=$ac_clean_files
  1463. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  1464. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  1465. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1466. cat >$CONFIG_STATUS <<_ACEOF
  1467. #! $SHELL
  1468. # Generated by $as_me.
  1469. # Run this file to recreate the current configuration.
  1470. # Compiler output produced by configure, useful for debugging
  1471. # configure, is in config.log if it exists.
  1472. debug=false
  1473. SHELL=\${CONFIG_SHELL-$SHELL}
  1474. _ACEOF
  1475. cat >>$CONFIG_STATUS <<\_ACEOF
  1476. ## --------------------- ##
  1477. ## M4sh Initialization. ##
  1478. ## --------------------- ##
  1479. # Be Bourne compatible
  1480. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1481. emulate sh
  1482. NULLCMD=:
  1483. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  1484. # is contrary to our usage. Disable this feature.
  1485. alias -g '${1+"$@"}'='"$@"'
  1486. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  1487. set -o posix
  1488. fi
  1489. # Support unset when possible.
  1490. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  1491. as_unset=unset
  1492. else
  1493. as_unset=false
  1494. fi
  1495. # Work around bugs in pre-3.0 UWIN ksh.
  1496. $as_unset ENV MAIL MAILPATH
  1497. PS1='$ '
  1498. PS2='> '
  1499. PS4='+ '
  1500. # NLS nuisances.
  1501. for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  1502. do
  1503. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  1504. eval $as_var=C; export $as_var
  1505. else
  1506. $as_unset $as_var
  1507. fi
  1508. done
  1509. # Required to use basename.
  1510. if expr a : '\(a\)' >/dev/null 2>&1; then
  1511. as_expr=expr
  1512. else
  1513. as_expr=false
  1514. fi
  1515. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  1516. as_basename=basename
  1517. else
  1518. as_basename=false
  1519. fi
  1520. # Name of the executable.
  1521. as_me=`$as_basename "$0" ||
  1522. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1523. X"$0" : 'X\(//\)$' \| \
  1524. X"$0" : 'X\(/\)$' \| \
  1525. . : '\(.\)' 2>/dev/null ||
  1526. echo X/"$0" |
  1527. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  1528. /^X\/\(\/\/\)$/{ s//\1/; q; }
  1529. /^X\/\(\/\).*/{ s//\1/; q; }
  1530. s/.*/./; q'`
  1531. # PATH needs CR, and LINENO needs CR and PATH.
  1532. # Avoid depending upon Character Ranges.
  1533. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1534. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1535. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1536. as_cr_digits='0123456789'
  1537. as_cr_alnum=$as_cr_Letters$as_cr_digits
  1538. # The user is always right.
  1539. if test "${PATH_SEPARATOR+set}" != set; then
  1540. echo "#! /bin/sh" >conftest.sh
  1541. echo "exit 0" >>conftest.sh
  1542. chmod +x conftest.sh
  1543. if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  1544. PATH_SEPARATOR=';'
  1545. else
  1546. PATH_SEPARATOR=:
  1547. fi
  1548. rm -f conftest.sh
  1549. fi
  1550. as_lineno_1=$LINENO
  1551. as_lineno_2=$LINENO
  1552. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1553. test "x$as_lineno_1" != "x$as_lineno_2" &&
  1554. test "x$as_lineno_3" = "x$as_lineno_2" || {
  1555. # Find who we are. Look in the path if we contain no path at all
  1556. # relative or not.
  1557. case $0 in
  1558. *[\\/]* ) as_myself=$0 ;;
  1559. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1560. for as_dir in $PATH
  1561. do
  1562. IFS=$as_save_IFS
  1563. test -z "$as_dir" && as_dir=.
  1564. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1565. done
  1566. ;;
  1567. esac
  1568. # We did not find ourselves, most probably we were run as `sh COMMAND'
  1569. # in which case we are not to be found in the path.
  1570. if test "x$as_myself" = x; then
  1571. as_myself=$0
  1572. fi
  1573. if test ! -f "$as_myself"; then
  1574. { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  1575. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  1576. { (exit 1); exit 1; }; }
  1577. fi
  1578. case $CONFIG_SHELL in
  1579. '')
  1580. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1581. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  1582. do
  1583. IFS=$as_save_IFS
  1584. test -z "$as_dir" && as_dir=.
  1585. for as_base in sh bash ksh sh5; do
  1586. case $as_dir in
  1587. /*)
  1588. if ("$as_dir/$as_base" -c '
  1589. as_lineno_1=$LINENO
  1590. as_lineno_2=$LINENO
  1591. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1592. test "x$as_lineno_1" != "x$as_lineno_2" &&
  1593. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  1594. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  1595. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  1596. CONFIG_SHELL=$as_dir/$as_base
  1597. export CONFIG_SHELL
  1598. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  1599. fi;;
  1600. esac
  1601. done
  1602. done
  1603. ;;
  1604. esac
  1605. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  1606. # uniformly replaced by the line number. The first 'sed' inserts a
  1607. # line-number line before each line; the second 'sed' does the real
  1608. # work. The second script uses 'N' to pair each line-number line
  1609. # with the numbered line, and appends trailing '-' during
  1610. # substitution so that $LINENO is not a special case at line end.
  1611. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  1612. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  1613. sed '=' <$as_myself |
  1614. sed '
  1615. N
  1616. s,$,-,
  1617. : loop
  1618. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  1619. t loop
  1620. s,-$,,
  1621. s,^['$as_cr_digits']*\n,,
  1622. ' >$as_me.lineno &&
  1623. chmod +x $as_me.lineno ||
  1624. { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  1625. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  1626. { (exit 1); exit 1; }; }
  1627. # Don't try to exec as it changes $[0], causing all sort of problems
  1628. # (the dirname of $[0] is not the place where we might find the
  1629. # original and so on. Autoconf is especially sensible to this).
  1630. . ./$as_me.lineno
  1631. # Exit status is that of the last command.
  1632. exit
  1633. }
  1634. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  1635. *c*,-n*) ECHO_N= ECHO_C='
  1636. ' ECHO_T=' ' ;;
  1637. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  1638. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  1639. esac
  1640. if expr a : '\(a\)' >/dev/null 2>&1; then
  1641. as_expr=expr
  1642. else
  1643. as_expr=false
  1644. fi
  1645. rm -f conf$$ conf$$.exe conf$$.file
  1646. echo >conf$$.file
  1647. if ln -s conf$$.file conf$$ 2>/dev/null; then
  1648. # We could just check for DJGPP; but this test a) works b) is more generic
  1649. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  1650. if test -f conf$$.exe; then
  1651. # Don't use ln at all; we don't have any links
  1652. as_ln_s='cp -p'
  1653. else
  1654. as_ln_s='ln -s'
  1655. fi
  1656. elif ln conf$$.file conf$$ 2>/dev/null; then
  1657. as_ln_s=ln
  1658. else
  1659. as_ln_s='cp -p'
  1660. fi
  1661. rm -f conf$$ conf$$.exe conf$$.file
  1662. if mkdir -p . 2>/dev/null; then
  1663. as_mkdir_p=:
  1664. else
  1665. as_mkdir_p=false
  1666. fi
  1667. as_executable_p="test -f"
  1668. # Sed expression to map a string onto a valid CPP name.
  1669. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  1670. # Sed expression to map a string onto a valid variable name.
  1671. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  1672. # IFS
  1673. # We need space, tab and new line, in precisely that order.
  1674. as_nl='
  1675. '
  1676. IFS=" $as_nl"
  1677. # CDPATH.
  1678. $as_unset CDPATH
  1679. exec 6>&1
  1680. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  1681. # report actual input values of CONFIG_FILES etc. instead of their
  1682. # values after options handling. Logging --version etc. is OK.
  1683. exec 5>>config.log
  1684. {
  1685. echo
  1686. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  1687. ## Running $as_me. ##
  1688. _ASBOX
  1689. } >&5
  1690. cat >&5 <<_CSEOF
  1691. This file was extended by sppdgTcllib $as_me 1.0, which was
  1692. generated by GNU Autoconf 2.54. Invocation command line was
  1693. CONFIG_FILES = $CONFIG_FILES
  1694. CONFIG_HEADERS = $CONFIG_HEADERS
  1695. CONFIG_LINKS = $CONFIG_LINKS
  1696. CONFIG_COMMANDS = $CONFIG_COMMANDS
  1697. $ $0 $@
  1698. _CSEOF
  1699. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  1700. echo >&5
  1701. _ACEOF
  1702. # Files that config.status was made for.
  1703. if test -n "$ac_config_files"; then
  1704. echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  1705. fi
  1706. if test -n "$ac_config_headers"; then
  1707. echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  1708. fi
  1709. if test -n "$ac_config_links"; then
  1710. echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  1711. fi
  1712. if test -n "$ac_config_commands"; then
  1713. echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  1714. fi
  1715. cat >>$CONFIG_STATUS <<\_ACEOF
  1716. ac_cs_usage="\
  1717. \`$as_me' instantiates files from templates according to the
  1718. current configuration.
  1719. Usage: $0 [OPTIONS] [FILE]...
  1720. -h, --help print this help, then exit
  1721. -V, --version print version number, then exit
  1722. -d, --debug don't remove temporary files
  1723. --recheck update $as_me by reconfiguring in the same conditions
  1724. --file=FILE[:TEMPLATE]
  1725. instantiate the configuration file FILE
  1726. Configuration files:
  1727. $config_files
  1728. Report bugs to <bug-autoconf@gnu.org>."
  1729. _ACEOF
  1730. cat >>$CONFIG_STATUS <<_ACEOF
  1731. ac_cs_version="\\
  1732. sppdgTcllib config.status 1.0
  1733. configured by $0, generated by GNU Autoconf 2.54,
  1734. with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  1735. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  1736. Free Software Foundation, Inc.
  1737. This config.status script is free software; the Free Software Foundation
  1738. gives unlimited permission to copy, distribute and modify it."
  1739. srcdir=$srcdir
  1740. INSTALL="$INSTALL"
  1741. _ACEOF
  1742. cat >>$CONFIG_STATUS <<\_ACEOF
  1743. # If no file are specified by the user, then we need to provide default
  1744. # value. By we need to know if files were specified by the user.
  1745. ac_need_defaults=:
  1746. while test $# != 0
  1747. do
  1748. case $1 in
  1749. --*=*)
  1750. ac_option=`expr "x$1" : 'x\([^=]*\)='`
  1751. ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  1752. ac_shift=:
  1753. ;;
  1754. -*)
  1755. ac_option=$1
  1756. ac_optarg=$2
  1757. ac_shift=shift
  1758. ;;
  1759. *) # This is not an option, so the user has probably given explicit
  1760. # arguments.
  1761. ac_option=$1
  1762. ac_need_defaults=false;;
  1763. esac
  1764. case $ac_option in
  1765. # Handling of the options.
  1766. _ACEOF
  1767. cat >>$CONFIG_STATUS <<_ACEOF
  1768. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1769. echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
  1770. exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
  1771. _ACEOF
  1772. cat >>$CONFIG_STATUS <<\_ACEOF
  1773. --version | --vers* | -V )
  1774. echo "$ac_cs_version"; exit 0 ;;
  1775. --he | --h)
  1776. # Conflict between --help and --header
  1777. { { echo "$as_me:$LINENO: error: ambiguous option: $1
  1778. Try \`$0 --help' for more information." >&5
  1779. echo "$as_me: error: ambiguous option: $1
  1780. Try \`$0 --help' for more information." >&2;}
  1781. { (exit 1); exit 1; }; };;
  1782. --help | --hel | -h )
  1783. echo "$ac_cs_usage"; exit 0 ;;
  1784. --debug | --d* | -d )
  1785. debug=: ;;
  1786. --file | --fil | --fi | --f )
  1787. $ac_shift
  1788. CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  1789. ac_need_defaults=false;;
  1790. --header | --heade | --head | --hea )
  1791. $ac_shift
  1792. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  1793. ac_need_defaults=false;;
  1794. # This is an error.
  1795. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  1796. Try \`$0 --help' for more information." >&5
  1797. echo "$as_me: error: unrecognized option: $1
  1798. Try \`$0 --help' for more information." >&2;}
  1799. { (exit 1); exit 1; }; } ;;
  1800. *) ac_config_targets="$ac_config_targets $1" ;;
  1801. esac
  1802. shift
  1803. done
  1804. _ACEOF
  1805. cat >>$CONFIG_STATUS <<\_ACEOF
  1806. for ac_config_target in $ac_config_targets
  1807. do
  1808. case "$ac_config_target" in
  1809. # Handling of arguments.
  1810. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  1811. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  1812. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  1813. { (exit 1); exit 1; }; };;
  1814. esac
  1815. done
  1816. # If the user did not use the arguments to specify the items to instantiate,
  1817. # then the envvar interface is used. Set only those that are not.
  1818. # We use the long form for the default assignment because of an extremely
  1819. # bizarre bug on SunOS 4.1.3.
  1820. if $ac_need_defaults; then
  1821. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  1822. fi
  1823. # Create a temporary directory, and hook for its removal unless debugging.
  1824. $debug ||
  1825. {
  1826. trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  1827. trap '{ (exit 1); exit 1; }' 1 2 13 15
  1828. }
  1829. # Create a (secure) tmp directory for tmp files.
  1830. : ${TMPDIR=/tmp}
  1831. {
  1832. tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  1833. test -n "$tmp" && test -d "$tmp"
  1834. } ||
  1835. {
  1836. tmp=$TMPDIR/cs$$-$RANDOM
  1837. (umask 077 && mkdir $tmp)
  1838. } ||
  1839. {
  1840. echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  1841. { (exit 1); exit 1; }
  1842. }
  1843. _ACEOF
  1844. cat >>$CONFIG_STATUS <<_ACEOF
  1845. #
  1846. # CONFIG_FILES section.
  1847. #
  1848. # No need to generate the scripts if there are no CONFIG_FILES.
  1849. # This happens for instance when ./config.status config.h
  1850. if test -n "\$CONFIG_FILES"; then
  1851. # Protect against being on the right side of a sed subst in config.status.
  1852. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  1853. s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  1854. s,@SHELL@,$SHELL,;t t
  1855. s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  1856. s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  1857. s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  1858. s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  1859. s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  1860. s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  1861. s,@exec_prefix@,$exec_prefix,;t t
  1862. s,@prefix@,$prefix,;t t
  1863. s,@program_transform_name@,$program_transform_name,;t t
  1864. s,@bindir@,$bindir,;t t
  1865. s,@sbindir@,$sbindir,;t t
  1866. s,@libexecdir@,$libexecdir,;t t
  1867. s,@datadir@,$datadir,;t t
  1868. s,@sysconfdir@,$sysconfdir,;t t
  1869. s,@sharedstatedir@,$sharedstatedir,;t t
  1870. s,@localstatedir@,$localstatedir,;t t
  1871. s,@libdir@,$libdir,;t t
  1872. s,@includedir@,$includedir,;t t
  1873. s,@oldincludedir@,$oldincludedir,;t t
  1874. s,@infodir@,$infodir,;t t
  1875. s,@mandir@,$mandir,;t t
  1876. s,@build_alias@,$build_alias,;t t
  1877. s,@host_alias@,$host_alias,;t t
  1878. s,@target_alias@,$target_alias,;t t
  1879. s,@DEFS@,$DEFS,;t t
  1880. s,@ECHO_C@,$ECHO_C,;t t
  1881. s,@ECHO_N@,$ECHO_N,;t t
  1882. s,@ECHO_T@,$ECHO_T,;t t
  1883. s,@LIBS@,$LIBS,;t t
  1884. s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  1885. s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  1886. s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  1887. s,@CYGPATH_W@,$CYGPATH_W,;t t
  1888. s,@PACKAGE@,$PACKAGE,;t t
  1889. s,@VERSION@,$VERSION,;t t
  1890. s,@ACLOCAL@,$ACLOCAL,;t t
  1891. s,@AUTOCONF@,$AUTOCONF,;t t
  1892. s,@AUTOMAKE@,$AUTOMAKE,;t t
  1893. s,@AUTOHEADER@,$AUTOHEADER,;t t
  1894. s,@MAKEINFO@,$MAKEINFO,;t t
  1895. s,@AMTAR@,$AMTAR,;t t
  1896. s,@install_sh@,$install_sh,;t t
  1897. s,@STRIP@,$STRIP,;t t
  1898. s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  1899. s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  1900. s,@AWK@,$AWK,;t t
  1901. s,@SET_MAKE@,$SET_MAKE,;t t
  1902. s,@subdirs@,$subdirs,;t t
  1903. s,@LIBOBJS@,$LIBOBJS,;t t
  1904. s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  1905. CEOF
  1906. _ACEOF
  1907. cat >>$CONFIG_STATUS <<\_ACEOF
  1908. # Split the substitutions into bite-sized pieces for seds with
  1909. # small command number limits, like on Digital OSF/1 and HP-UX.
  1910. ac_max_sed_lines=48
  1911. ac_sed_frag=1 # Number of current file.
  1912. ac_beg=1 # First line for current file.
  1913. ac_end=$ac_max_sed_lines # Line after last line for current file.
  1914. ac_more_lines=:
  1915. ac_sed_cmds=
  1916. while $ac_more_lines; do
  1917. if test $ac_beg -gt 1; then
  1918. sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  1919. else
  1920. sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  1921. fi
  1922. if test ! -s $tmp/subs.frag; then
  1923. ac_more_lines=false
  1924. else
  1925. # The purpose of the label and of the branching condition is to
  1926. # speed up the sed processing (if there are no `@' at all, there
  1927. # is no need to browse any of the substitutions).
  1928. # These are the two extra sed commands mentioned above.
  1929. (echo ':t
  1930. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  1931. if test -z "$ac_sed_cmds"; then
  1932. ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  1933. else
  1934. ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  1935. fi
  1936. ac_sed_frag=`expr $ac_sed_frag + 1`
  1937. ac_beg=$ac_end
  1938. ac_end=`expr $ac_end + $ac_max_sed_lines`
  1939. fi
  1940. done
  1941. if test -z "$ac_sed_cmds"; then
  1942. ac_sed_cmds=cat
  1943. fi
  1944. fi # test -n "$CONFIG_FILES"
  1945. _ACEOF
  1946. cat >>$CONFIG_STATUS <<\_ACEOF
  1947. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  1948. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1949. case $ac_file in
  1950. - | *:- | *:-:* ) # input from stdin
  1951. cat >$tmp/stdin
  1952. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  1953. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1954. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  1955. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1956. * ) ac_file_in=$ac_file.in ;;
  1957. esac
  1958. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  1959. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  1960. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1961. X"$ac_file" : 'X\(//\)[^/]' \| \
  1962. X"$ac_file" : 'X\(//\)$' \| \
  1963. X"$ac_file" : 'X\(/\)' \| \
  1964. . : '\(.\)' 2>/dev/null ||
  1965. echo X"$ac_file" |
  1966. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1967. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1968. /^X\(\/\/\)$/{ s//\1/; q; }
  1969. /^X\(\/\).*/{ s//\1/; q; }
  1970. s/.*/./; q'`
  1971. { if $as_mkdir_p; then
  1972. mkdir -p "$ac_dir"
  1973. else
  1974. as_dir="$ac_dir"
  1975. as_dirs=
  1976. while test ! -d "$as_dir"; do
  1977. as_dirs="$as_dir $as_dirs"
  1978. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  1979. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1980. X"$as_dir" : 'X\(//\)[^/]' \| \
  1981. X"$as_dir" : 'X\(//\)$' \| \
  1982. X"$as_dir" : 'X\(/\)' \| \
  1983. . : '\(.\)' 2>/dev/null ||
  1984. echo X"$as_dir" |
  1985. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1986. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1987. /^X\(\/\/\)$/{ s//\1/; q; }
  1988. /^X\(\/\).*/{ s//\1/; q; }
  1989. s/.*/./; q'`
  1990. done
  1991. test ! -n "$as_dirs" || mkdir $as_dirs
  1992. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  1993. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  1994. { (exit 1); exit 1; }; }; }
  1995. ac_builddir=.
  1996. if test "$ac_dir" != .; then
  1997. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1998. # A "../" for each directory in $ac_dir_suffix.
  1999. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  2000. else
  2001. ac_dir_suffix= ac_top_builddir=
  2002. fi
  2003. case $srcdir in
  2004. .) # No --srcdir option. We are building in place.
  2005. ac_srcdir=.
  2006. if test -z "$ac_top_builddir"; then
  2007. ac_top_srcdir=.
  2008. else
  2009. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  2010. fi ;;
  2011. [\\/]* | ?:[\\/]* ) # Absolute path.
  2012. ac_srcdir=$srcdir$ac_dir_suffix;
  2013. ac_top_srcdir=$srcdir ;;
  2014. *) # Relative path.
  2015. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  2016. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  2017. esac
  2018. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  2019. # absolute.
  2020. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  2021. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  2022. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  2023. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  2024. case $INSTALL in
  2025. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  2026. *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  2027. esac
  2028. if test x"$ac_file" != x-; then
  2029. { echo "$as_me:$LINENO: creating $ac_file" >&5
  2030. echo "$as_me: creating $ac_file" >&6;}
  2031. rm -f "$ac_file"
  2032. fi
  2033. # Let's still pretend it is `configure' which instantiates (i.e., don't
  2034. # use $as_me), people would be surprised to read:
  2035. # /* config.h. Generated by config.status. */
  2036. if test x"$ac_file" = x-; then
  2037. configure_input=
  2038. else
  2039. configure_input="$ac_file. "
  2040. fi
  2041. configure_input=$configure_input"Generated from `echo $ac_file_in |
  2042. sed 's,.*/,,'` by configure."
  2043. # First look for the input files in the build tree, otherwise in the
  2044. # src tree.
  2045. ac_file_inputs=`IFS=:
  2046. for f in $ac_file_in; do
  2047. case $f in
  2048. -) echo $tmp/stdin ;;
  2049. [\\/$]*)
  2050. # Absolute (can't be DOS-style, as IFS=:)
  2051. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  2052. echo "$as_me: error: cannot find input file: $f" >&2;}
  2053. { (exit 1); exit 1; }; }
  2054. echo $f;;
  2055. *) # Relative
  2056. if test -f "$f"; then
  2057. # Build tree
  2058. echo $f
  2059. elif test -f "$srcdir/$f"; then
  2060. # Source tree
  2061. echo $srcdir/$f
  2062. else
  2063. # /dev/null tree
  2064. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  2065. echo "$as_me: error: cannot find input file: $f" >&2;}
  2066. { (exit 1); exit 1; }; }
  2067. fi;;
  2068. esac
  2069. done` || { (exit 1); exit 1; }
  2070. _ACEOF
  2071. cat >>$CONFIG_STATUS <<_ACEOF
  2072. sed "$ac_vpsub
  2073. $extrasub
  2074. _ACEOF
  2075. cat >>$CONFIG_STATUS <<\_ACEOF
  2076. :t
  2077. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  2078. s,@configure_input@,$configure_input,;t t
  2079. s,@srcdir@,$ac_srcdir,;t t
  2080. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  2081. s,@top_srcdir@,$ac_top_srcdir,;t t
  2082. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  2083. s,@builddir@,$ac_builddir,;t t
  2084. s,@abs_builddir@,$ac_abs_builddir,;t t
  2085. s,@top_builddir@,$ac_top_builddir,;t t
  2086. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  2087. s,@INSTALL@,$ac_INSTALL,;t t
  2088. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  2089. rm -f $tmp/stdin
  2090. if test x"$ac_file" != x-; then
  2091. mv $tmp/out $ac_file
  2092. else
  2093. cat $tmp/out
  2094. rm -f $tmp/out
  2095. fi
  2096. done
  2097. _ACEOF
  2098. cat >>$CONFIG_STATUS <<\_ACEOF
  2099. { (exit 0); exit 0; }
  2100. _ACEOF
  2101. chmod +x $CONFIG_STATUS
  2102. ac_clean_files=$ac_clean_files_save
  2103. # configure is writing to config.log, and then calls config.status.
  2104. # config.status does its own redirection, appending to config.log.
  2105. # Unfortunately, on DOS this fails, as config.log is still kept open
  2106. # by configure, so config.status won't be able to write to it; its
  2107. # output is simply discarded. So we exec the FD to /dev/null,
  2108. # effectively closing config.log, so it can be properly (re)opened and
  2109. # appended to by config.status. When coming back to configure, we
  2110. # need to make the FD available again.
  2111. if test "$no_create" != yes; then
  2112. ac_cs_success=:
  2113. exec 5>/dev/null
  2114. $SHELL $CONFIG_STATUS || ac_cs_success=false
  2115. exec 5>>config.log
  2116. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  2117. # would make configure fail if this is the last instruction.
  2118. $ac_cs_success || { (exit 1); exit 1; }
  2119. fi
  2120. #
  2121. # CONFIG_SUBDIRS section.
  2122. #
  2123. if test "$no_recursion" != yes; then
  2124. # Remove --cache-file and --srcdir arguments so they do not pile up.
  2125. ac_sub_configure_args=
  2126. ac_prev=
  2127. for ac_arg in $ac_configure_args; do
  2128. if test -n "$ac_prev"; then
  2129. ac_prev=
  2130. continue
  2131. fi
  2132. case $ac_arg in
  2133. -cache-file | --cache-file | --cache-fil | --cache-fi \
  2134. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  2135. ac_prev=cache_file ;;
  2136. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  2137. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
  2138. | --c=*)
  2139. ;;
  2140. --config-cache | -C)
  2141. ;;
  2142. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  2143. ac_prev=srcdir ;;
  2144. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  2145. ;;
  2146. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  2147. ac_prev=prefix ;;
  2148. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  2149. ;;
  2150. *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
  2151. esac
  2152. done
  2153. # Always prepend --prefix to ensure using the same prefix
  2154. # in subdir configurations.
  2155. ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
  2156. ac_popdir=`pwd`
  2157. for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
  2158. # Do not complain, so a configure script can configure whichever
  2159. # parts of a large source tree are present.
  2160. test -d $srcdir/$ac_dir || continue
  2161. { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
  2162. echo "$as_me: configuring in $ac_dir" >&6;}
  2163. { if $as_mkdir_p; then
  2164. mkdir -p "$ac_dir"
  2165. else
  2166. as_dir="$ac_dir"
  2167. as_dirs=
  2168. while test ! -d "$as_dir"; do
  2169. as_dirs="$as_dir $as_dirs"
  2170. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  2171. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2172. X"$as_dir" : 'X\(//\)[^/]' \| \
  2173. X"$as_dir" : 'X\(//\)$' \| \
  2174. X"$as_dir" : 'X\(/\)' \| \
  2175. . : '\(.\)' 2>/dev/null ||
  2176. echo X"$as_dir" |
  2177. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  2178. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  2179. /^X\(\/\/\)$/{ s//\1/; q; }
  2180. /^X\(\/\).*/{ s//\1/; q; }
  2181. s/.*/./; q'`
  2182. done
  2183. test ! -n "$as_dirs" || mkdir $as_dirs
  2184. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  2185. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  2186. { (exit 1); exit 1; }; }; }
  2187. ac_builddir=.
  2188. if test "$ac_dir" != .; then
  2189. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  2190. # A "../" for each directory in $ac_dir_suffix.
  2191. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  2192. else
  2193. ac_dir_suffix= ac_top_builddir=
  2194. fi
  2195. case $srcdir in
  2196. .) # No --srcdir option. We are building in place.
  2197. ac_srcdir=.
  2198. if test -z "$ac_top_builddir"; then
  2199. ac_top_srcdir=.
  2200. else
  2201. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  2202. fi ;;
  2203. [\\/]* | ?:[\\/]* ) # Absolute path.
  2204. ac_srcdir=$srcdir$ac_dir_suffix;
  2205. ac_top_srcdir=$srcdir ;;
  2206. *) # Relative path.
  2207. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  2208. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  2209. esac
  2210. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  2211. # absolute.
  2212. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  2213. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  2214. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  2215. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  2216. cd $ac_dir
  2217. # Check for guested configure; otherwise get Cygnus style configure.
  2218. if test -f $ac_srcdir/configure.gnu; then
  2219. ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
  2220. elif test -f $ac_srcdir/configure; then
  2221. ac_sub_configure="$SHELL '$ac_srcdir/configure'"
  2222. elif test -f $ac_srcdir/configure.in; then
  2223. ac_sub_configure=$ac_configure
  2224. else
  2225. { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
  2226. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
  2227. ac_sub_configure=
  2228. fi
  2229. # The recursion is here.
  2230. if test -n "$ac_sub_configure"; then
  2231. # Make the cache file name correct relative to the subdirectory.
  2232. case $cache_file in
  2233. [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
  2234. *) # Relative path.
  2235. ac_sub_cache_file=$ac_top_builddir$cache_file ;;
  2236. esac
  2237. { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
  2238. echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
  2239. # The eval makes quoting arguments work.
  2240. eval $ac_sub_configure $ac_sub_configure_args \
  2241. --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
  2242. { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
  2243. echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
  2244. { (exit 1); exit 1; }; }
  2245. fi
  2246. cd $ac_popdir
  2247. done
  2248. fi