PageRenderTime 82ms CodeModel.GetById 35ms RepoModel.GetById 0ms app.codeStats 2ms

/configure

https://bitbucket.org/mkato/mozilla-1.9.0-win64
Shell | 17106 lines | 16992 code | 62 blank | 52 comment | 69 complexity | e988da749ea8135c8e09943bad25040e MD5 | raw file
Possible License(s): LGPL-3.0, MIT, BSD-3-Clause, MPL-2.0-no-copyleft-exception, GPL-2.0, LGPL-2.1

Large files files are truncated, but you can click here to view the full file

  1. #! /bin/sh
  2. # Read in '.mozconfig' script to set the initial options.
  3. # See the mozconfig2configure script for more details.
  4. _AUTOCONF_TOOLS_DIR=`dirname $0`/./build/autoconf
  5. . $_AUTOCONF_TOOLS_DIR/mozconfig2configure
  6. # Guess values for system-dependent variables and create Makefiles.
  7. # Generated automatically using autoconf version 2.13
  8. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  9. #
  10. # This configure script is free software; the Free Software Foundation
  11. # gives unlimited permission to copy, distribute and modify it.
  12. # Defaults:
  13. ac_help=
  14. ac_default_prefix=/usr/local
  15. # Any additions from configure.in:
  16. ac_help="$ac_help
  17. --disable-compile-environment
  18. Disable compiler/library checks."
  19. ac_help="$ac_help
  20. --with-l10nbase=DIR path to l10n repositories"
  21. ac_help="$ac_help
  22. --with-windows-version=WINVER
  23. Minimum Windows version (WINVER) to support
  24. 400: Windows 95
  25. 500: Windows 2000
  26. 501: Windows XP"
  27. ac_help="$ac_help
  28. --enable-macos-target=VER (default=10.4)
  29. Set the minimum MacOS version needed at runtime"
  30. ac_help="$ac_help
  31. --with-macos-sdk=dir Location of platform SDK to use (Mac OS X only)"
  32. ac_help="$ac_help
  33. --with-x use the X Window System"
  34. ac_help="$ac_help
  35. --disable-os2-high-mem Disable high-memory support on OS/2"
  36. ac_help="$ac_help
  37. --enable-dtrace build with dtrace support if available (default=no)"
  38. ac_help="$ac_help
  39. --with-ft-prefix=PFX Prefix where FreeType is installed (optional)"
  40. ac_help="$ac_help
  41. --with-ft-exec-prefix=PFX
  42. Exec prefix where FreeType is installed (optional)"
  43. ac_help="$ac_help
  44. --disable-freetypetest
  45. Do not try to compile and run a test FreeType program"
  46. ac_help="$ac_help
  47. --with-pthreads Force use of system pthread library with NSPR "
  48. ac_help="$ac_help
  49. --with-libxul-sdk=PFX Use the libXUL SDK at <PFX>"
  50. ac_help="$ac_help
  51. --with-system-nspr Use system installed NSPR"
  52. ac_help="$ac_help
  53. --with-nspr-prefix=PFX Prefix where NSPR is installed"
  54. ac_help="$ac_help
  55. --with-nspr-exec-prefix=PFX
  56. Exec prefix where NSPR is installed"
  57. ac_help="$ac_help
  58. --with-system-nss Use system installed NSS"
  59. ac_help="$ac_help
  60. --with-nss-prefix=PFX Prefix where NSS is installed"
  61. ac_help="$ac_help
  62. --with-nss-exec-prefix=PFX
  63. Exec prefix where NSS is installed"
  64. ac_help="$ac_help
  65. --with-system-jpeg[=PFX]
  66. Use system libjpeg [installed at prefix PFX]"
  67. ac_help="$ac_help
  68. --with-system-zlib[=PFX]
  69. Use system libz [installed at prefix PFX]"
  70. ac_help="$ac_help
  71. --with-system-bz2[=PFX]
  72. Use system libbz2 [installed at prefix PFX]"
  73. ac_help="$ac_help
  74. --with-system-png[=PFX]
  75. Use system libpng [installed at prefix PFX]"
  76. ac_help="$ac_help
  77. --enable-system-hunspell Use system hunspell (located with pkgconfig)"
  78. ac_help="$ac_help
  79. --enable-glitz Enable Glitz for use with Cairo"
  80. ac_help="$ac_help
  81. --with-java-include-path=dir Location of Java SDK headers"
  82. ac_help="$ac_help
  83. --with-java-bin-path=dir Location of Java binaries (java, javac, jar)"
  84. ac_help="$ac_help
  85. --enable-application=APP
  86. Options include:
  87. suite
  88. browser (Firefox)
  89. mail (Thunderbird)
  90. minimo
  91. composer
  92. calendar (Sunbird)
  93. xulrunner
  94. camino
  95. content/xslt (Standalone Transformiix XSLT)
  96. netwerk (Standalone Necko)
  97. tools/update-packaging (AUS-related packaging tools)
  98. standalone (use this for standalone
  99. xpcom/xpconnect or to manually drive a build)"
  100. ac_help="$ac_help
  101. --with-embedding-profile=default|basic|minimal
  102. see http://wiki.mozilla.org/Gecko:Small_Device_Support"
  103. ac_help="$ac_help
  104. --with-xulrunner-stub-name=appname Create the xulrunner stub with the given name"
  105. ac_help="$ac_help
  106. --enable-default-toolkit=TK
  107. Select default toolkit
  108. Platform specific defaults:
  109. BeOS - cairo-beos
  110. Mac OS X - cairo-cocoa
  111. Neutrino/QNX - photon
  112. OS/2 - cairo-os2
  113. Win32 - cairo-windows
  114. WinCE - windows
  115. * - cairo-gtk2"
  116. ac_help="$ac_help
  117. --enable-startup-notification Enable startup-notification support (default: disabled) "
  118. ac_help="$ac_help
  119. --enable-ui-locale=ab-CD
  120. Select the user interface locale (default: en-US)"
  121. ac_help="$ac_help
  122. "
  123. ac_help="$ac_help
  124. --disable-mailnews Disable building of mail & news components"
  125. ac_help="$ac_help
  126. --disable-ldap Disable LDAP support"
  127. ac_help="$ac_help
  128. --enable-official-branding Enable Official mozilla.org Branding
  129. Do not distribute builds with
  130. --enable-official-branding unless you have
  131. permission to use trademarks per
  132. http://www.mozilla.org/foundation/trademarks/ ."
  133. ac_help="$ac_help
  134. --with-branding=dir Use branding from the specified directory."
  135. ac_help="$ac_help
  136. --with-distribution-id=ID Set distribution-specific id (default=org.mozilla)"
  137. ac_help="$ac_help
  138. --disable-postscript Disable PostScript printing support "
  139. ac_help="$ac_help
  140. --disable-gnomevfs Disable GnomeVFS support "
  141. ac_help="$ac_help
  142. --disable-gnomeui Disable libgnomeui support (default: auto, optional at runtime) "
  143. ac_help="$ac_help
  144. --disable-dbus Disable dbus support "
  145. ac_help="$ac_help
  146. --disable-crypto Disable crypto support (Personal Security Manager)"
  147. ac_help="$ac_help
  148. --disable-jsd Disable JavaScript debug library"
  149. ac_help="$ac_help
  150. --disable-plugins Disable plugins support"
  151. ac_help="$ac_help
  152. --disable-oji Disable Open JVM Integration support"
  153. ac_help="$ac_help
  154. --enable-ctl Enable Thai Complex Script support"
  155. ac_help="$ac_help
  156. --disable-view-source Disable view source support"
  157. ac_help="$ac_help
  158. --disable-accessibility Disable accessibility support (off by default on OS X)"
  159. ac_help="$ac_help
  160. --disable-xpfe-components
  161. Disable xpfe components"
  162. ac_help="$ac_help
  163. --disable-xpinstall Disable xpinstall support"
  164. ac_help="$ac_help
  165. --disable-jsloader Disable xpcom js loader support"
  166. ac_help="$ac_help
  167. --disable-printing Disable printing support"
  168. ac_help="$ac_help
  169. --enable-native-uconv Enable iconv support"
  170. ac_help="$ac_help
  171. --enable-plaintext-editor-only
  172. Allow only plaintext editing"
  173. ac_help="$ac_help
  174. --disable-composer Disable building of Composer"
  175. ac_help="$ac_help
  176. --disable-xpcom-obsolete Disable XPCOM Obsolete Library"
  177. ac_help="$ac_help
  178. --disable-xpcom-fastload Disable XPCOM fastload support"
  179. ac_help="$ac_help
  180. --disable-permissions Disable permissions (popup and cookie blocking)"
  181. ac_help="$ac_help
  182. --disable-negotiateauth Disable GSS-API negotiation "
  183. ac_help="$ac_help
  184. --disable-xtf Disable XTF (pluggable xml tags) support"
  185. ac_help="$ac_help
  186. --disable-inspector-apis Disable the DOM inspection APIs "
  187. ac_help="$ac_help
  188. --disable-xmlextras Disable XMLExtras such as XPointer support "
  189. ac_help="$ac_help
  190. --enable-webservices Enable Webservices/SOAP support "
  191. ac_help="$ac_help
  192. --disable-pref-extensions
  193. Disable pref extensions such as autoconfig and
  194. system-pref"
  195. ac_help="$ac_help
  196. --disable-universalchardet
  197. Disable universal encoding detection"
  198. ac_help="$ac_help
  199. --enable-javaxpcom
  200. Enable Java-XPCOM bridge"
  201. ac_help="$ac_help
  202. --disable-crashreporter Disable breakpad crash reporting"
  203. ac_help="$ac_help
  204. --with-crashreporter-enable-percent=NN Enable sending crash reports by default on NN% of users. (default=100)"
  205. ac_help="$ac_help
  206. --disable-mochitest Disable mochitest harness"
  207. ac_help="$ac_help
  208. --enable-extensions Enable extensions"
  209. ac_help="$ac_help
  210. --enable-image-decoders[={mod1,mod2,default,all,none}]
  211. Enable specific image decoders"
  212. ac_help="$ac_help
  213. --enable-image-encoders[={mod1,mod2,default,all,none}]
  214. Enable specific image encoders"
  215. ac_help="$ac_help
  216. --enable-ldap-experimental
  217. Enable LDAP experimental features"
  218. ac_help="$ac_help
  219. --disable-mathml Disable MathML support"
  220. ac_help="$ac_help
  221. --disable-canvas Disable html:canvas feature"
  222. ac_help="$ac_help
  223. --disable-svg Disable SVG support"
  224. ac_help="$ac_help
  225. --disable-svg-foreignobject
  226. Disable SVG <foreignObject> support"
  227. ac_help="$ac_help
  228. --disable-installer Disable building of installer"
  229. ac_help="$ac_help
  230. --disable-updater Disable building of updater"
  231. ac_help="$ac_help
  232. --enable-update-channel=CHANNEL
  233. Select application update channel (default=default)"
  234. ac_help="$ac_help
  235. --enable-update-packaging
  236. Enable tools/update-packaging"
  237. ac_help="$ac_help
  238. --disable-xpconnect-idispatch
  239. Disable building of xpconnect support for IDispatch
  240. (win32 only)"
  241. ac_help="$ac_help
  242. --disable-activex Disable building of ActiveX control (win32 only)"
  243. ac_help="$ac_help
  244. --disable-activex-scripting
  245. Disable building of ActiveX scripting support (win32)"
  246. ac_help="$ac_help
  247. --enable-leaky Build leaky memory tool"
  248. ac_help="$ac_help
  249. --enable-xpctools Build JS profiling tool"
  250. ac_help="$ac_help
  251. --disable-tests Do not build test libraries & programs"
  252. ac_help="$ac_help
  253. --disable-parental-controls
  254. Do not build parental controls"
  255. ac_help="$ac_help
  256. --disable-vista-sdk-requirements
  257. Do not build Vista SDK specific code"
  258. ac_help="$ac_help
  259. --enable-xpcom-lea Use Lea malloc in xpcom "
  260. ac_help="$ac_help
  261. --enable-places Enable 'places' bookmark/history implementation"
  262. ac_help="$ac_help
  263. --disable-feeds Disable feed handling and processing components"
  264. ac_help="$ac_help
  265. --enable-storage Enable mozStorage module and related components"
  266. ac_help="$ac_help
  267. --enable-system-sqlite Use system sqlite (located with pkgconfig)"
  268. ac_help="$ac_help
  269. --enable-help-viewer Enable help viewer"
  270. ac_help="$ac_help
  271. --enable-safe-browsing Enable safe browsing (anti-phishing) implementation"
  272. ac_help="$ac_help
  273. --enable-url-classifier Enable url classifier module"
  274. ac_help="$ac_help
  275. --disable-zipwriter Disable zipwriter component"
  276. ac_help="$ac_help
  277. --enable-js-ultrasparc Use UltraSPARC optimizations in JS"
  278. ac_help="$ac_help
  279. --enable-debug[=DBG] Enable building with developer debug info
  280. (Using compiler flags DBG)"
  281. ac_help="$ac_help
  282. --disable-optimize Disable compiler optimization
  283. --enable-optimize=[OPT] Specify compiler optimization flags [OPT=-O]"
  284. ac_help="$ac_help
  285. --enable-debug-modules Enable/disable debug info for specific modules"
  286. ac_help="$ac_help
  287. --enable-debugger-info-modules
  288. Enable/disable debugger info for specific modules"
  289. ac_help="$ac_help
  290. --enable-boehm Enable the Boehm Garbage Collector"
  291. ac_help="$ac_help
  292. --disable-logging Disable logging facilities"
  293. ac_help="$ac_help
  294. --enable-logrefcnt Enable logging of refcounts (default=debug) "
  295. ac_help="$ac_help
  296. --enable-trace-malloc Enable malloc tracing"
  297. ac_help="$ac_help
  298. --enable-jemalloc Replace memory allocator with jemalloc"
  299. ac_help="$ac_help
  300. --with-valgrind Enable valgrind integration hooks"
  301. ac_help="$ac_help
  302. --enable-wrap-malloc Wrap malloc calls (gnu linker only)"
  303. ac_help="$ac_help
  304. --with-wrap-malloc=DIR Location of malloc wrapper library"
  305. ac_help="$ac_help
  306. --enable-efence Link with Electric Fence"
  307. ac_help="$ac_help
  308. --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof)"
  309. ac_help="$ac_help
  310. --enable-shark Enable shark remote profiling (needs CHUD framework)"
  311. ac_help="$ac_help
  312. --enable-strip Enable stripping of libs & executables "
  313. ac_help="$ac_help
  314. --enable-install-strip Enable stripping of libs & executables when packaging "
  315. ac_help="$ac_help
  316. --enable-elf-dynstr-gc Enable elf dynstr garbage collector (opt builds only)"
  317. ac_help="$ac_help
  318. --enable-old-abi-compat-wrappers
  319. Support old GCC ABI symbols to ease the pain
  320. of the linux compiler change"
  321. ac_help="$ac_help
  322. --enable-prebinding Enable prebinding (Mac OS X only)"
  323. ac_help="$ac_help
  324. --enable-timeline Enable timeline services "
  325. ac_help="$ac_help
  326. --enable-reflow-perf Enable reflow performance tracing"
  327. ac_help="$ac_help
  328. --enable-perf-metrics Enable performance metrics"
  329. ac_help="$ac_help
  330. --enable-codesighs Enable code size analysis tools"
  331. ac_help="$ac_help
  332. --enable-eazel-profiler-support
  333. Enable Corel/Eazel profiler support"
  334. ac_help="$ac_help
  335. --enable-profile-modules
  336. Enable/disable profiling for specific modules"
  337. ac_help="$ac_help
  338. --enable-insure Enable insure++ instrumentation (linux only)"
  339. ac_help="$ac_help
  340. --with-insure-dirs=DIRS
  341. Dirs to instrument with insure "
  342. ac_help="$ac_help
  343. --with-insure-exclude-dirs=DIRS
  344. Dirs to not instrument with insure "
  345. ac_help="$ac_help
  346. --enable-quantify Enable Quantify support (Windows only) "
  347. ac_help="$ac_help
  348. --enable-xterm-updates Update XTERM titles with current command."
  349. ac_help="$ac_help
  350. --enable-chrome-format=jar|flat|both|symlink
  351. Select FORMAT of chrome files (default=jar)"
  352. ac_help="$ac_help
  353. --with-default-mozilla-five-home
  354. Set the default value for MOZILLA_FIVE_HOME"
  355. ac_help="$ac_help
  356. --with-user-appdir=DIR Set user-specific appdir (default=.mozilla)"
  357. ac_help="$ac_help
  358. --with-doc-input-dirs=DIRS
  359. Header/idl dirs to create docs from"
  360. ac_help="$ac_help
  361. --with-doc-include-dirs=DIRS
  362. Include dirs to preprocess doc headers"
  363. ac_help="$ac_help
  364. --with-doc-output-dir=DIR
  365. Dir to generate docs into"
  366. ac_help="$ac_help
  367. --enable-long-long-warning
  368. Warn about use of non-ANSI long long type"
  369. ac_help="$ac_help
  370. --disable-profile-guided-optimization
  371. Don't build with PGO even if called via make profiledbuild"
  372. ac_help="$ac_help
  373. --disable-pedantic Issue all warnings demanded by strict ANSI C "
  374. ac_help="$ac_help
  375. --enable-cpp-rtti Enable C++ RTTI "
  376. ac_help="$ac_help
  377. --enable-cpp-exceptions Enable C++ exceptions "
  378. ac_help="$ac_help
  379. --disable-auto-deps Do not automatically generate dependency info"
  380. ac_help="$ac_help
  381. --disable-md Do not use compiler-based dependencies "
  382. ac_help="$ac_help
  383. --enable-static Enable building of internal static libs"
  384. ac_help="$ac_help
  385. --enable-libxul Enable building of libxul"
  386. ac_help="$ac_help
  387. --enable-js-static-build Force js to be a static lib"
  388. ac_help="$ac_help
  389. --enable-static-mail Enable static mail build support"
  390. ac_help="$ac_help
  391. --without-libIDL Skip check for libIDL (standalone modules only)"
  392. ac_help="$ac_help
  393. --with-libIDL-prefix=PFX
  394. Prefix where libIDL is installed (optional)"
  395. ac_help="$ac_help
  396. --with-libIDL-exec-prefix=PFX
  397. Exec prefix where libIDL is installed (optional)"
  398. ac_help="$ac_help
  399. --disable-libIDLtest Do not try to compile and run a test libIDL program"
  400. ac_help="$ac_help
  401. --with-glib-prefix=PFX Prefix where GLIB is installed (optional)"
  402. ac_help="$ac_help
  403. --with-glib-exec-prefix=PFX
  404. Exec prefix where GLIB is installed (optional)"
  405. ac_help="$ac_help
  406. --disable-glibtest Do not try to compile and run a test GLIB program"
  407. ac_help="$ac_help
  408. --with-glib-prefix=PFX Prefix where GLIB is installed (optional)"
  409. ac_help="$ac_help
  410. --with-glib-exec-prefix=PFX
  411. Exec prefix where GLIB is installed (optional)"
  412. ac_help="$ac_help
  413. --disable-glibtest Do not try to compile and run a test GLIB program"
  414. ac_help="$ac_help
  415. --enable-system-cairo Use system cairo (located with pkgconfig)"
  416. ac_help="$ac_help
  417. --enable-system-lcms Use system lcms (located with pkgconfig)"
  418. ac_help="$ac_help
  419. --disable-xul Disable XUL"
  420. ac_help="$ac_help
  421. --disable-profilesharing Disable profile sharing"
  422. ac_help="$ac_help
  423. --enable-ipcd Enable IPC daemon"
  424. ac_help="$ac_help
  425. --disable-profilelocking Disable profile locking"
  426. ac_help="$ac_help
  427. --disable-rdf Disable RDF"
  428. ac_help="$ac_help
  429. --enable-necko-protocols[={http,ftp,default,all,none}]
  430. Enable/disable specific protocol handlers"
  431. ac_help="$ac_help
  432. --disable-necko-disk-cache
  433. Disable necko disk cache"
  434. ac_help="$ac_help
  435. --enable-necko-small-buffers
  436. Minimize size of necko's i/o buffers"
  437. ac_help="$ac_help
  438. --disable-cookies Disable cookie support"
  439. ac_help="$ac_help
  440. --disable-v1-string-abi Disable binary compatibility layer for strings"
  441. # Initialize some variables set by options.
  442. # The variables have the same names as the options, with
  443. # dashes changed to underlines.
  444. build=NONE
  445. cache_file=./config.cache
  446. exec_prefix=NONE
  447. host=NONE
  448. no_create=
  449. nonopt=NONE
  450. no_recursion=
  451. prefix=NONE
  452. program_prefix=NONE
  453. program_suffix=NONE
  454. program_transform_name=s,x,x,
  455. silent=
  456. site=
  457. srcdir=
  458. target=NONE
  459. verbose=
  460. x_includes=NONE
  461. x_libraries=NONE
  462. bindir='${exec_prefix}/bin'
  463. sbindir='${exec_prefix}/sbin'
  464. libexecdir='${exec_prefix}/libexec'
  465. datadir='${prefix}/share'
  466. sysconfdir='${prefix}/etc'
  467. sharedstatedir='${prefix}/com'
  468. localstatedir='${prefix}/var'
  469. libdir='${exec_prefix}/lib'
  470. includedir='${prefix}/include'
  471. oldincludedir='/usr/include'
  472. infodir='${prefix}/info'
  473. mandir='${prefix}/man'
  474. # Initialize some other variables.
  475. subdirs=
  476. MFLAGS= MAKEFLAGS=
  477. SHELL=${CONFIG_SHELL-/bin/sh}
  478. # Maximum number of lines to put in a shell here document.
  479. ac_max_here_lines=12
  480. ac_prev=
  481. for ac_option
  482. do
  483. # If the previous option needs an argument, assign it.
  484. if test -n "$ac_prev"; then
  485. eval "$ac_prev=\$ac_option"
  486. ac_prev=
  487. continue
  488. fi
  489. case "$ac_option" in
  490. -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  491. *) ac_optarg= ;;
  492. esac
  493. # Accept the important Cygnus configure options, so we can diagnose typos.
  494. case "$ac_option" in
  495. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  496. ac_prev=bindir ;;
  497. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  498. bindir="$ac_optarg" ;;
  499. -build | --build | --buil | --bui | --bu)
  500. ac_prev=build ;;
  501. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  502. build="$ac_optarg" ;;
  503. -cache-file | --cache-file | --cache-fil | --cache-fi \
  504. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  505. ac_prev=cache_file ;;
  506. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  507. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  508. cache_file="$ac_optarg" ;;
  509. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  510. ac_prev=datadir ;;
  511. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  512. | --da=*)
  513. datadir="$ac_optarg" ;;
  514. -disable-* | --disable-*)
  515. ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  516. # Reject names that are not valid shell variable names.
  517. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  518. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  519. fi
  520. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  521. eval "enable_${ac_feature}=no" ;;
  522. -enable-* | --enable-*)
  523. ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  524. # Reject names that are not valid shell variable names.
  525. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  526. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  527. fi
  528. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  529. case "$ac_option" in
  530. *=*) ;;
  531. *) ac_optarg=yes ;;
  532. esac
  533. eval "enable_${ac_feature}='$ac_optarg'" ;;
  534. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  535. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  536. | --exec | --exe | --ex)
  537. ac_prev=exec_prefix ;;
  538. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  539. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  540. | --exec=* | --exe=* | --ex=*)
  541. exec_prefix="$ac_optarg" ;;
  542. -gas | --gas | --ga | --g)
  543. # Obsolete; use --with-gas.
  544. with_gas=yes ;;
  545. -help | --help | --hel | --he)
  546. # Omit some internal or obsolete options to make the list less imposing.
  547. # This message is too long to be a string in the A/UX 3.1 sh.
  548. cat << EOF
  549. Usage: configure [options] [host]
  550. Options: [defaults in brackets after descriptions]
  551. Configuration:
  552. --cache-file=FILE cache test results in FILE
  553. --help print this message
  554. --no-create do not create output files
  555. --quiet, --silent do not print \`checking...' messages
  556. --version print the version of autoconf that created configure
  557. Directory and file names:
  558. --prefix=PREFIX install architecture-independent files in PREFIX
  559. [$ac_default_prefix]
  560. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  561. [same as prefix]
  562. --bindir=DIR user executables in DIR [EPREFIX/bin]
  563. --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
  564. --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
  565. --datadir=DIR read-only architecture-independent data in DIR
  566. [PREFIX/share]
  567. --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
  568. --sharedstatedir=DIR modifiable architecture-independent data in DIR
  569. [PREFIX/com]
  570. --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
  571. --libdir=DIR object code libraries in DIR [EPREFIX/lib]
  572. --includedir=DIR C header files in DIR [PREFIX/include]
  573. --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
  574. --infodir=DIR info documentation in DIR [PREFIX/info]
  575. --mandir=DIR man documentation in DIR [PREFIX/man]
  576. --srcdir=DIR find the sources in DIR [configure dir or ..]
  577. --program-prefix=PREFIX prepend PREFIX to installed program names
  578. --program-suffix=SUFFIX append SUFFIX to installed program names
  579. --program-transform-name=PROGRAM
  580. run sed PROGRAM on installed program names
  581. EOF
  582. cat << EOF
  583. Host type:
  584. --build=BUILD configure for building on BUILD [BUILD=HOST]
  585. --host=HOST configure for HOST [guessed]
  586. --target=TARGET configure for TARGET [TARGET=HOST]
  587. Features and packages:
  588. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  589. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  590. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  591. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  592. --x-includes=DIR X include files are in DIR
  593. --x-libraries=DIR X library files are in DIR
  594. EOF
  595. if test -n "$ac_help"; then
  596. echo "--enable and --with options recognized:$ac_help"
  597. fi
  598. exit 0 ;;
  599. -host | --host | --hos | --ho)
  600. ac_prev=host ;;
  601. -host=* | --host=* | --hos=* | --ho=*)
  602. host="$ac_optarg" ;;
  603. -includedir | --includedir | --includedi | --included | --include \
  604. | --includ | --inclu | --incl | --inc)
  605. ac_prev=includedir ;;
  606. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  607. | --includ=* | --inclu=* | --incl=* | --inc=*)
  608. includedir="$ac_optarg" ;;
  609. -infodir | --infodir | --infodi | --infod | --info | --inf)
  610. ac_prev=infodir ;;
  611. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  612. infodir="$ac_optarg" ;;
  613. -libdir | --libdir | --libdi | --libd)
  614. ac_prev=libdir ;;
  615. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  616. libdir="$ac_optarg" ;;
  617. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  618. | --libexe | --libex | --libe)
  619. ac_prev=libexecdir ;;
  620. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  621. | --libexe=* | --libex=* | --libe=*)
  622. libexecdir="$ac_optarg" ;;
  623. -localstatedir | --localstatedir | --localstatedi | --localstated \
  624. | --localstate | --localstat | --localsta | --localst \
  625. | --locals | --local | --loca | --loc | --lo)
  626. ac_prev=localstatedir ;;
  627. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  628. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  629. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  630. localstatedir="$ac_optarg" ;;
  631. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  632. ac_prev=mandir ;;
  633. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  634. mandir="$ac_optarg" ;;
  635. -nfp | --nfp | --nf)
  636. # Obsolete; use --without-fp.
  637. with_fp=no ;;
  638. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  639. | --no-cr | --no-c)
  640. no_create=yes ;;
  641. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  642. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  643. no_recursion=yes ;;
  644. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  645. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  646. | --oldin | --oldi | --old | --ol | --o)
  647. ac_prev=oldincludedir ;;
  648. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  649. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  650. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  651. oldincludedir="$ac_optarg" ;;
  652. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  653. ac_prev=prefix ;;
  654. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  655. prefix="$ac_optarg" ;;
  656. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  657. | --program-pre | --program-pr | --program-p)
  658. ac_prev=program_prefix ;;
  659. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  660. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  661. program_prefix="$ac_optarg" ;;
  662. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  663. | --program-suf | --program-su | --program-s)
  664. ac_prev=program_suffix ;;
  665. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  666. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  667. program_suffix="$ac_optarg" ;;
  668. -program-transform-name | --program-transform-name \
  669. | --program-transform-nam | --program-transform-na \
  670. | --program-transform-n | --program-transform- \
  671. | --program-transform | --program-transfor \
  672. | --program-transfo | --program-transf \
  673. | --program-trans | --program-tran \
  674. | --progr-tra | --program-tr | --program-t)
  675. ac_prev=program_transform_name ;;
  676. -program-transform-name=* | --program-transform-name=* \
  677. | --program-transform-nam=* | --program-transform-na=* \
  678. | --program-transform-n=* | --program-transform-=* \
  679. | --program-transform=* | --program-transfor=* \
  680. | --program-transfo=* | --program-transf=* \
  681. | --program-trans=* | --program-tran=* \
  682. | --progr-tra=* | --program-tr=* | --program-t=*)
  683. program_transform_name="$ac_optarg" ;;
  684. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  685. | -silent | --silent | --silen | --sile | --sil)
  686. silent=yes ;;
  687. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  688. ac_prev=sbindir ;;
  689. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  690. | --sbi=* | --sb=*)
  691. sbindir="$ac_optarg" ;;
  692. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  693. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  694. | --sharedst | --shareds | --shared | --share | --shar \
  695. | --sha | --sh)
  696. ac_prev=sharedstatedir ;;
  697. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  698. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  699. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  700. | --sha=* | --sh=*)
  701. sharedstatedir="$ac_optarg" ;;
  702. -site | --site | --sit)
  703. ac_prev=site ;;
  704. -site=* | --site=* | --sit=*)
  705. site="$ac_optarg" ;;
  706. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  707. ac_prev=srcdir ;;
  708. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  709. srcdir="$ac_optarg" ;;
  710. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  711. | --syscon | --sysco | --sysc | --sys | --sy)
  712. ac_prev=sysconfdir ;;
  713. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  714. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  715. sysconfdir="$ac_optarg" ;;
  716. -target | --target | --targe | --targ | --tar | --ta | --t)
  717. ac_prev=target ;;
  718. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  719. target="$ac_optarg" ;;
  720. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  721. verbose=yes ;;
  722. -version | --version | --versio | --versi | --vers)
  723. echo "configure generated by autoconf version 2.13"
  724. exit 0 ;;
  725. -with-* | --with-*)
  726. ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  727. # Reject names that are not valid shell variable names.
  728. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  729. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  730. fi
  731. ac_package=`echo $ac_package| sed 's/-/_/g'`
  732. case "$ac_option" in
  733. *=*) ;;
  734. *) ac_optarg=yes ;;
  735. esac
  736. eval "with_${ac_package}='$ac_optarg'" ;;
  737. -without-* | --without-*)
  738. ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  739. # Reject names that are not valid shell variable names.
  740. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  741. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  742. fi
  743. ac_package=`echo $ac_package| sed 's/-/_/g'`
  744. eval "with_${ac_package}=no" ;;
  745. --x)
  746. # Obsolete; use --with-x.
  747. with_x=yes ;;
  748. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  749. | --x-incl | --x-inc | --x-in | --x-i)
  750. ac_prev=x_includes ;;
  751. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  752. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  753. x_includes="$ac_optarg" ;;
  754. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  755. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  756. ac_prev=x_libraries ;;
  757. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  758. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  759. x_libraries="$ac_optarg" ;;
  760. -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  761. ;;
  762. *)
  763. if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  764. echo "configure: warning: $ac_option: invalid host type" 1>&2
  765. fi
  766. if test "x$nonopt" != xNONE; then
  767. { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  768. fi
  769. nonopt="$ac_option"
  770. ;;
  771. esac
  772. done
  773. if test -n "$ac_prev"; then
  774. { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  775. fi
  776. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  777. # File descriptor usage:
  778. # 0 standard input
  779. # 1 file creation
  780. # 2 errors and warnings
  781. # 3 some systems may open it to /dev/tty
  782. # 4 used on the Kubota Titan
  783. # 6 checking for... messages and results
  784. # 5 compiler messages saved in config.log
  785. if test "$silent" = yes; then
  786. exec 6>/dev/null
  787. else
  788. exec 6>&1
  789. fi
  790. exec 5>./config.log
  791. echo "\
  792. This file contains any messages produced by compilers while
  793. running configure, to aid debugging if configure makes a mistake.
  794. " 1>&5
  795. # Strip out --no-create and --no-recursion so they do not pile up.
  796. # Also quote any args containing shell metacharacters.
  797. ac_configure_args=
  798. for ac_arg
  799. do
  800. case "$ac_arg" in
  801. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  802. | --no-cr | --no-c) ;;
  803. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  804. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  805. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  806. ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  807. *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  808. esac
  809. done
  810. # NLS nuisances.
  811. # Only set these to C if already set. These must not be set unconditionally
  812. # because not all systems understand e.g. LANG=C (notably SCO).
  813. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  814. # Non-C LC_CTYPE values break the ctype check.
  815. if test "${LANG+set}" = set; then LANG=C; export LANG; fi
  816. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  817. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  818. if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
  819. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  820. rm -rf conftest* confdefs.h
  821. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  822. echo > confdefs.h
  823. # A filename unique to this package, relative to the directory that
  824. # configure is in, which we can look for to find out if srcdir is correct.
  825. ac_unique_file=config/config.mk
  826. # Find the source files, if location was not specified.
  827. if test -z "$srcdir"; then
  828. ac_srcdir_defaulted=yes
  829. # Try the directory containing this script, then its parent.
  830. ac_prog=$0
  831. ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  832. test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  833. srcdir=$ac_confdir
  834. if test ! -r $srcdir/$ac_unique_file; then
  835. srcdir=..
  836. fi
  837. else
  838. ac_srcdir_defaulted=no
  839. fi
  840. if test ! -r $srcdir/$ac_unique_file; then
  841. if test "$ac_srcdir_defaulted" = yes; then
  842. { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  843. else
  844. { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  845. fi
  846. fi
  847. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  848. # Prefer explicitly selected file to automatically selected ones.
  849. if test -z "$CONFIG_SITE"; then
  850. if test "x$prefix" != xNONE; then
  851. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  852. else
  853. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  854. fi
  855. fi
  856. for ac_site_file in $CONFIG_SITE; do
  857. if test -r "$ac_site_file"; then
  858. echo "loading site script $ac_site_file"
  859. . "$ac_site_file"
  860. fi
  861. done
  862. if test -r "$cache_file"; then
  863. echo "loading cache $cache_file"
  864. . $cache_file
  865. else
  866. echo "creating cache $cache_file"
  867. > $cache_file
  868. fi
  869. ac_ext=c
  870. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  871. ac_cpp='$CPP $CPPFLAGS'
  872. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  873. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  874. cross_compiling=$ac_cv_prog_cc_cross
  875. ac_exeext=
  876. ac_objext=o
  877. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  878. # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  879. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  880. ac_n= ac_c='
  881. ' ac_t=' '
  882. else
  883. ac_n=-n ac_c= ac_t=
  884. fi
  885. else
  886. ac_n= ac_c='\c' ac_t=
  887. fi
  888. ac_aux_dir=
  889. for ac_dir in ${srcdir}/build/autoconf $srcdir/${srcdir}/build/autoconf; do
  890. if test -f $ac_dir/install-sh; then
  891. ac_aux_dir=$ac_dir
  892. ac_install_sh="$ac_aux_dir/install-sh -c"
  893. break
  894. elif test -f $ac_dir/install.sh; then
  895. ac_aux_dir=$ac_dir
  896. ac_install_sh="$ac_aux_dir/install.sh -c"
  897. break
  898. fi
  899. done
  900. if test -z "$ac_aux_dir"; then
  901. { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/build/autoconf $srcdir/${srcdir}/build/autoconf" 1>&2; exit 1; }
  902. fi
  903. ac_config_guess=$ac_aux_dir/config.guess
  904. ac_config_sub=$ac_aux_dir/config.sub
  905. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  906. # Do some error checking and defaulting for the host and target type.
  907. # The inputs are:
  908. # configure --host=HOST --target=TARGET --build=BUILD NONOPT
  909. #
  910. # The rules are:
  911. # 1. You are not allowed to specify --host, --target, and nonopt at the
  912. # same time.
  913. # 2. Host defaults to nonopt.
  914. # 3. If nonopt is not specified, then host defaults to the current host,
  915. # as determined by config.guess.
  916. # 4. Target and build default to nonopt.
  917. # 5. If nonopt is not specified, then target and build default to host.
  918. # The aliases save the names the user supplied, while $host etc.
  919. # will get canonicalized.
  920. case $host---$target---$nonopt in
  921. NONE---*---* | *---NONE---* | *---*---NONE) ;;
  922. *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
  923. esac
  924. # Make sure we can run config.sub.
  925. if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
  926. else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  927. fi
  928. echo $ac_n "checking host system type""... $ac_c" 1>&6
  929. echo "configure:1002: checking host system type" >&5
  930. host_alias=$host
  931. case "$host_alias" in
  932. NONE)
  933. case $nonopt in
  934. NONE)
  935. if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
  936. else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  937. fi ;;
  938. *) host_alias=$nonopt ;;
  939. esac ;;
  940. esac
  941. host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
  942. host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  943. host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  944. host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  945. echo "$ac_t""$host" 1>&6
  946. echo $ac_n "checking target system type""... $ac_c" 1>&6
  947. echo "configure:1023: checking target system type" >&5
  948. target_alias=$target
  949. case "$target_alias" in
  950. NONE)
  951. case $nonopt in
  952. NONE) target_alias=$host_alias ;;
  953. *) target_alias=$nonopt ;;
  954. esac ;;
  955. esac
  956. target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
  957. target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  958. target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  959. target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  960. echo "$ac_t""$target" 1>&6
  961. echo $ac_n "checking build system type""... $ac_c" 1>&6
  962. echo "configure:1041: checking build system type" >&5
  963. build_alias=$build
  964. case "$build_alias" in
  965. NONE)
  966. case $nonopt in
  967. NONE) build_alias=$host_alias ;;
  968. *) build_alias=$nonopt ;;
  969. esac ;;
  970. esac
  971. build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
  972. build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  973. build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  974. build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  975. echo "$ac_t""$build" 1>&6
  976. test "$host_alias" != "$target_alias" &&
  977. test "$program_prefix$program_suffix$program_transform_name" = \
  978. NONENONEs,x,x, &&
  979. program_prefix=${target_alias}-
  980. TARGET_CPU="${target_cpu}"
  981. TARGET_VENDOR="${target_vendor}"
  982. TARGET_OS="${target_os}"
  983. CFLAGS="${CFLAGS=}"
  984. CPPFLAGS="${CPPFLAGS=}"
  985. CXXFLAGS="${CXXFLAGS=}"
  986. LDFLAGS="${LDFLAGS=}"
  987. HOST_CFLAGS="${HOST_CFLAGS=}"
  988. HOST_CXXFLAGS="${HOST_CXXFLAGS=}"
  989. HOST_LDFLAGS="${HOST_LDFLAGS=}"
  990. _SUBDIR_CC="$CC"
  991. _SUBDIR_CXX="$CXX"
  992. _SUBDIR_CFLAGS="$CFLAGS"
  993. _SUBDIR_CPPFLAGS="$CPPFLAGS"
  994. _SUBDIR_CXXFLAGS="$CXXFLAGS"
  995. _SUBDIR_LDFLAGS="$LDFLAGS"
  996. _SUBDIR_HOST_CC="$HOST_CC"
  997. _SUBDIR_HOST_CFLAGS="$HOST_CFLAGS"
  998. _SUBDIR_HOST_CXXFLAGS="$HOST_CXXFLAGS"
  999. _SUBDIR_HOST_LDFLAGS="$HOST_LDFLAGS"
  1000. _SUBDIR_CONFIG_ARGS="$ac_configure_args"
  1001. MOZJPEG=62
  1002. MOZPNG=10217
  1003. MOZZLIB=0x1230
  1004. NSPR_VERSION=4
  1005. NSS_VERSION=3
  1006. GLIB_VERSION=1.2.0
  1007. LIBIDL_VERSION=0.6.3
  1008. PERL_VERSION=5.006
  1009. LIBART_VERSION=2.3.4
  1010. CAIRO_VERSION=1.6.0
  1011. GLITZ_VERSION=0.4.0
  1012. PANGO_VERSION=1.10.0
  1013. GTK2_VERSION=2.10.0
  1014. MAKE_VERSION=3.78
  1015. WINDRES_VERSION=2.14.90
  1016. W32API_VERSION=3.8
  1017. GNOMEVFS_VERSION=2.0
  1018. GNOMEUI_VERSION=2.2.0
  1019. GCONF_VERSION=1.2.1
  1020. LIBGNOME_VERSION=2.0
  1021. STARTUP_NOTIFICATION_VERSION=0.8
  1022. DBUS_VERSION=0.60
  1023. LCMS_VERSION=1.17
  1024. SQLITE_VERSION=3.6.10
  1025. MSMANIFEST_TOOL=
  1026. MISSING_X=
  1027. for ac_prog in mawk gawk nawk awk
  1028. do
  1029. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1030. set dummy $ac_prog; ac_word=$2
  1031. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1032. echo "configure:1121: checking for $ac_word" >&5
  1033. if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
  1034. echo $ac_n "(cached) $ac_c" 1>&6
  1035. else
  1036. if test -n "$AWK"; then
  1037. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1038. else
  1039. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1040. ac_dummy="$PATH"
  1041. for ac_dir in $ac_dummy; do
  1042. test -z "$ac_dir" && ac_dir=.
  1043. if test -f $ac_dir/$ac_word; then
  1044. ac_cv_prog_AWK="$ac_prog"
  1045. break
  1046. fi
  1047. done
  1048. IFS="$ac_save_ifs"
  1049. fi
  1050. fi
  1051. AWK="$ac_cv_prog_AWK"
  1052. if test -n "$AWK"; then
  1053. echo "$ac_t""$AWK" 1>&6
  1054. else
  1055. echo "$ac_t""no" 1>&6
  1056. fi
  1057. test -n "$AWK" && break
  1058. done
  1059. USE_PTHREADS=
  1060. _PTHREAD_LDFLAGS=""
  1061. _topsrcdir=`cd \`dirname $0\`; pwd`
  1062. _objdir=`pwd`
  1063. if test "$_topsrcdir" != "$_objdir"
  1064. then
  1065. # Check for a couple representative files in the source tree
  1066. _conflict_files=
  1067. for file in $_topsrcdir/Makefile $_topsrcdir/config/autoconf.mk; do
  1068. if test -f $file; then
  1069. _conflict_files="$_conflict_files $file"
  1070. fi
  1071. done
  1072. if test "$_conflict_files"; then
  1073. echo "***"
  1074. echo "* Your source tree contains these files:"
  1075. for file in $_conflict_files; do
  1076. echo "* $file"
  1077. done
  1078. cat 1>&2 <<-EOF
  1079. * This indicates that you previously built in the source tree.
  1080. * A source tree build can confuse the separate objdir build.
  1081. *
  1082. * To clean up the source tree:
  1083. * 1. cd $_topsrcdir
  1084. * 2. gmake distclean
  1085. ***
  1086. EOF
  1087. exit 1
  1088. break
  1089. fi
  1090. fi
  1091. MOZ_BUILD_ROOT=`pwd`
  1092. if test -z "$CROSS_COMPILE"; then
  1093. case "$target" in
  1094. *-cygwin*|*-mingw*|*-msvc*|*-mks*)
  1095. MAKE_VERSION=3.79
  1096. if test -z "$CC"; then CC=cl; fi
  1097. if test -z "$CXX"; then CXX=cl; fi
  1098. if test -z "$CPP"; then CPP="cl -E -nologo"; fi
  1099. if test -z "$CXXCPP"; then CXXCPP="cl -TP -E -nologo"; ac_cv_prog_CXXCPP="$CXXCPP"; fi
  1100. if test -z "$LD"; then LD=link; fi
  1101. if test -z "$MIDL"; then MIDL=midl; fi
  1102. if test -z "$AS"; then
  1103. case "$target" in
  1104. x86_64-*)
  1105. AS=ml64
  1106. ;;
  1107. *)
  1108. AS=ml
  1109. ;;
  1110. esac
  1111. fi
  1112. ;;
  1113. esac
  1114. fi
  1115. COMPILE_ENVIRONMENT=1
  1116. # Check whether --enable-compile-environment or --disable-compile-environment was given.
  1117. if test "${enable_compile_environment+set}" = set; then
  1118. enableval="$enable_compile_environment"
  1119. if test "$enableval" = "yes"; then
  1120. COMPILE_ENVIRONMENT=1
  1121. elif test "$enableval" = "no"; then
  1122. COMPILE_ENVIRONMENT=
  1123. else
  1124. { echo "configure: error: Option, compile-environment, does not take an argument ($enableval)." 1>&2; exit 1; }
  1125. fi
  1126. fi
  1127. # Check whether --with-l10n-base or --without-l10n-base was given.
  1128. if test "${with_l10n_base+set}" = set; then
  1129. withval="$with_l10n_base"
  1130. L10NBASEDIR=$withval
  1131. fi
  1132. if test ! -z "$L10NBASEDIR"; then
  1133. if test "$L10NBASEDIR" = "yes" -o "$L10NBASEDIR" = "no"; then
  1134. { echo "configure: error: --with-l10n-base must specify a path" 1>&2; exit 1; }
  1135. elif test -d "$L10NBASEDIR"; then
  1136. L10NBASEDIR=`cd "$L10NBASEDIR" && pwd`
  1137. else
  1138. { echo "configure: error: Invalid value --with-l10n-base, $L10NBASEDIR doesn't exist" 1>&2; exit 1; }
  1139. fi
  1140. else
  1141. L10NBASEDIR='$(topsrcdir)/../l10n'
  1142. fi
  1143. if test "$COMPILE_ENVIRONMENT"; then
  1144. case "$target" in
  1145. *wince)
  1146. echo -----------------------------------------------------------------------------
  1147. echo Building Windows CE Shunt Library and Tool Chain
  1148. echo -----------------------------------------------------------------------------
  1149. ac_exeext=.exe
  1150. echo -n "#define TOPSRCDIR \"" > $srcdir/build/wince/tools/topsrcdir.h
  1151. echo `cd "$_topsrcdir" && pwd -W | tr '\n' '\"'` >> $srcdir/build/wince/tools/topsrcdir.h
  1152. make -C $srcdir/build/wince/tools
  1153. echo -----------------------------------------------------------------------------
  1154. ;;
  1155. esac
  1156. if test -n "$CROSS_COMPILE" && test "$target" != "$host"; then
  1157. echo "cross compiling from $host to $target"
  1158. cross_compiling=yes
  1159. _SAVE_CC="$CC"
  1160. _SAVE_CFLAGS="$CFLAGS"
  1161. _SAVE_LDFLAGS="$LDFLAGS"
  1162. echo $ac_n "checking for host c compiler""... $ac_c" 1>&6
  1163. echo "configure:1273: checking for host c compiler" >&5
  1164. for ac_prog in $HOST_CC gcc cc /usr/ucb/cc cl icc
  1165. do
  1166. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1167. set dummy $ac_prog; ac_word=$2
  1168. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1169. echo "configure:1279: checking for $ac_word" >&5
  1170. if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
  1171. echo $ac_n "(cached) $ac_c" 1>&6
  1172. else
  1173. if test -n "$HOST_CC"; then
  1174. ac_cv_prog_HOST_CC="$HOST_CC" # Let the user override the test.
  1175. else
  1176. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1177. ac_dummy="$PATH"
  1178. for ac_dir in $ac_dummy; do
  1179. test -z "$ac_dir" && ac_dir=.
  1180. if test -f $ac_dir/$ac_word; then
  1181. ac_cv_prog_HOST_CC="$ac_prog"
  1182. break
  1183. fi
  1184. done
  1185. IFS="$ac_save_ifs"
  1186. fi
  1187. fi
  1188. HOST_CC="$ac_cv_prog_HOST_CC"
  1189. if test -n "$HOST_CC"; then
  1190. echo "$ac_t""$HOST_CC" 1>&6
  1191. else
  1192. echo "$ac_t""no" 1>&6
  1193. fi
  1194. test -n "$HOST_CC" && break
  1195. done
  1196. test -n "$HOST_CC" || HOST_CC=""""
  1197. if test -z "$HOST_CC"; then
  1198. { echo "configure: error: no acceptable c compiler found in \$PATH" 1>&2; exit 1; }
  1199. fi
  1200. echo "$ac_t""$HOST_CC" 1>&6
  1201. echo $ac_n "checking for host c++ compiler""... $ac_c" 1>&6
  1202. echo "configure:1314: checking for host c++ compiler" >&5
  1203. for ac_prog in $HOST_CXX $CCC c++ g++ gcc CC cxx cc++ cl icc
  1204. do
  1205. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1206. set dummy $ac_prog; ac_word=$2
  1207. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1208. echo "configure:1320: checking for $ac_word" >&5
  1209. if eval "test \"`echo '$''{'ac_cv_prog_HOST_CXX'+set}'`\" = set"; then
  1210. echo $ac_n "(cached) $ac_c" 1>&6
  1211. else
  1212. if test -n "$HOST_CXX"; then
  1213. ac_cv_prog_HOST_CXX="$HOST_CXX" # Let the user override the test.
  1214. else
  1215. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1216. ac_dummy="$PATH"
  1217. for ac_dir in $ac_dummy; do
  1218. test -z "$ac_dir" && ac_dir=.
  1219. if test -f $ac_dir/$ac_word; then
  1220. ac_cv_prog_HOST_CXX="$ac_prog"
  1221. break
  1222. fi
  1223. done
  1224. IFS="$ac_save_ifs"
  1225. fi
  1226. fi
  1227. HOST_CXX="$ac_cv_prog_HOST_CXX"
  1228. if test -n "$HOST_CXX"; then
  1229. echo "$ac_t""$HOST_CXX" 1>&6
  1230. else
  1231. echo "$ac_t""no" 1>&6
  1232. fi
  1233. test -n "$HOST_CXX" && break
  1234. done
  1235. test -n "$HOST_CXX" || HOST_CXX=""""
  1236. if test -z "$HOST_CXX"; then
  1237. { echo "configure: error: no acceptable c++ compiler found in \$PATH" 1>&2; exit 1; }
  1238. fi
  1239. echo "$ac_t""$HOST_CXX" 1>&6
  1240. if test -z "$HOST_CFLAGS"; then
  1241. HOST_CFLAGS="$CFLAGS"
  1242. fi
  1243. if test -z "$HOST_CXXFLAGS"; then
  1244. HOST_CXXFLAGS="$CXXFLAGS"
  1245. fi
  1246. if test -z "$HOST_LDFLAGS"; then
  1247. HOST_LDFLAGS="$LDFLAGS"
  1248. fi
  1249. for ac_prog in $HOST_RANLIB ranlib
  1250. do
  1251. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1252. set dummy $ac_prog; ac_word=$2
  1253. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1254. echo "configure:1369: checking for $ac_word" >&5
  1255. if eval "test \"`echo '$''{'ac_cv_prog_HOST_RANLIB'+set}'`\" = set"; then
  1256. echo $ac_n "(cached) $ac_c" 1>&6
  1257. else
  1258. if test -n "$HOST_RANLIB"; then
  1259. ac_cv_prog_HOST_RANLIB="$HOST_RANLIB" # Let the user override the test.
  1260. else
  1261. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1262. ac_dummy=":"
  1263. for ac_dir in $ac_dummy; do
  1264. test -z "$ac_dir" && ac_dir=.
  1265. if test -f $ac_dir/$ac_word; then
  1266. ac_cv_prog_HOST_RANLIB="$ac_prog"
  1267. break
  1268. fi
  1269. done
  1270. IFS="$ac_save_ifs"
  1271. fi
  1272. fi
  1273. HOST_RANLIB="$ac_cv_prog_HOST_RANLIB"
  1274. if test -n "$HOST_RANLIB"; then
  1275. echo "$ac_t""$HOST_RANLIB" 1>&6
  1276. else
  1277. echo "$ac_t""no" 1>&6
  1278. fi
  1279. test -n "$HOST_RANLIB" && break
  1280. done
  1281. test -n "$HOST_RANLIB" || HOST_RANLIB="ranlib"
  1282. for ac_prog in $HOST_AR ar
  1283. do
  1284. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1285. set dummy $ac_prog; ac_word=$2
  1286. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1287. echo "configure:1404: checking for $ac_word" >&5
  1288. if eval "test \"`echo '$''{'ac_cv_prog_HOST_AR'+set}'`\" = set"; then
  1289. echo $ac_n "(cached) $ac_c" 1>&6
  1290. else
  1291. if test -n "$HOST_AR"; then
  1292. ac_cv_prog_HOST_AR="$HOST_AR" # Let the user override the test.
  1293. else
  1294. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1295. ac_dummy=":"
  1296. for ac_dir in $ac_dummy; do
  1297. test -z "$ac_dir" && ac_dir=.
  1298. if test -f $ac_dir/$ac_word; then
  1299. ac_cv_prog_HOST_AR="$ac_prog"
  1300. break
  1301. fi
  1302. done
  1303. IFS="$ac_save_ifs"
  1304. fi
  1305. fi
  1306. HOST_AR="$ac_cv_prog_HOST_AR"
  1307. if test -n "$HOST_AR"; then
  1308. echo "$ac_t""$HOST_AR" 1>&6
  1309. else
  1310. echo "$ac_t""no" 1>&6
  1311. fi
  1312. test -n "$HOST_AR" && break
  1313. done
  1314. test -n "$HOST_AR" || HOST_AR="ar"
  1315. CC="$HOST_CC"
  1316. CFLAGS="$HOST_CFLAGS"
  1317. LDFLAGS="$HOST_LDFLAGS"
  1318. echo $ac_n "checking whether …

Large files files are truncated, but you can click here to view the full file