daily pastebin goal
68%
SHARE
TWEET

Untitled

linuxcbon Dec 18th, 2015 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #! /bin/sh
  2.  
  3. if test `uname -s | grep -c MINGW 2>/dev/null` != "0"; then
  4.   msyshost=1
  5. fi
  6.  
  7.  
  8. # Read the user's .mozconfig script.  We can't do this in
  9. # configure.in: autoconf puts the argument parsing code above anything
  10. # expanded from configure.in, and we need to get the configure options
  11. # from .mozconfig in place before that argument parsing code.
  12. # Guess values for system-dependent variables and create Makefiles.
  13. # Generated automatically using autoconf version 2.13
  14. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  15. #
  16. # This configure script is free software; the Free Software Foundation
  17. # gives unlimited permission to copy, distribute and modify it.
  18.  
  19. # Defaults:
  20. ac_help=
  21. ac_default_prefix=/usr/local
  22. # Any additions from configure.in:
  23.  
  24. # Initialize some variables set by options.
  25. # The variables have the same names as the options, with
  26. # dashes changed to underlines.
  27. build=NONE
  28. cache_file=./config.cache
  29. exec_prefix=NONE
  30. host=NONE
  31. no_create=
  32. nonopt=NONE
  33. no_recursion=
  34. prefix=NONE
  35. program_prefix=NONE
  36. program_suffix=NONE
  37. program_transform_name=s,x,x,
  38. silent=
  39. site=
  40. srcdir=
  41. target=NONE
  42. verbose=
  43. x_includes=NONE
  44. x_libraries=NONE
  45. bindir='${exec_prefix}/bin'
  46. sbindir='${exec_prefix}/sbin'
  47. libexecdir='${exec_prefix}/libexec'
  48. datadir='${prefix}/share'
  49. sysconfdir='${prefix}/etc'
  50. sharedstatedir='${prefix}/com'
  51. localstatedir='${prefix}/var'
  52. libdir='${exec_prefix}/lib'
  53. includedir='${prefix}/include'
  54. oldincludedir='/usr/include'
  55. infodir='${prefix}/info'
  56. mandir='${prefix}/man'
  57.  
  58. # Initialize some other variables.
  59. subdirs=
  60. MFLAGS= MAKEFLAGS=
  61. SHELL=${CONFIG_SHELL-/bin/sh}
  62. # Maximum number of lines to put in a shell here document.
  63. ac_max_here_lines=12
  64.  
  65. ac_prev=
  66. for ac_option
  67. do
  68.  
  69.   # If the previous option needs an argument, assign it.
  70.   if test -n "$ac_prev"; then
  71.     eval "$ac_prev=\$ac_option"
  72.     ac_prev=
  73.     continue
  74.   fi
  75.  
  76.   case "$ac_option" in
  77.   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  78.   *) ac_optarg= ;;
  79.   esac
  80.  
  81.   # Accept the important Cygnus configure options, so we can diagnose typos.
  82.  
  83.   case "$ac_option" in
  84.  
  85.   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  86.     ac_prev=bindir ;;
  87.   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  88.     bindir="$ac_optarg" ;;
  89.  
  90.   -build | --build | --buil | --bui | --bu)
  91.     ac_prev=build ;;
  92.   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  93.     build="$ac_optarg" ;;
  94.  
  95.   -cache-file | --cache-file | --cache-fil | --cache-fi \
  96.   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  97.     ac_prev=cache_file ;;
  98.   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  99.   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  100.     cache_file="$ac_optarg" ;;
  101.  
  102.   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  103.     ac_prev=datadir ;;
  104.   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  105.   | --da=*)
  106.     datadir="$ac_optarg" ;;
  107.  
  108.   -disable-* | --disable-*)
  109.     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  110.     # Reject names that are not valid shell variable names.
  111.     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  112.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  113.     fi
  114.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  115.     eval "enable_${ac_feature}=no" ;;
  116.  
  117.   -enable-* | --enable-*)
  118.     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  119.     # Reject names that are not valid shell variable names.
  120.     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  121.       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  122.     fi
  123.     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  124.     case "$ac_option" in
  125.       *=*) ;;
  126.       *) ac_optarg=yes ;;
  127.     esac
  128.     eval "enable_${ac_feature}='$ac_optarg'" ;;
  129.  
  130.   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  131.   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  132.   | --exec | --exe | --ex)
  133.     ac_prev=exec_prefix ;;
  134.   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  135.   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  136.   | --exec=* | --exe=* | --ex=*)
  137.     exec_prefix="$ac_optarg" ;;
  138.  
  139.   -gas | --gas | --ga | --g)
  140.     # Obsolete; use --with-gas.
  141.     with_gas=yes ;;
  142.  
  143.   -help | --help | --hel | --he)
  144.     # Omit some internal or obsolete options to make the list less imposing.
  145.     # This message is too long to be a string in the A/UX 3.1 sh.
  146.     cat << EOF
  147. Usage: configure [options] [host]
  148. Options: [defaults in brackets after descriptions]
  149. Configuration:
  150.   --cache-file=FILE       cache test results in FILE
  151.   --help                  print this message
  152.   --no-create             do not create output files
  153.   --quiet, --silent       do not print \`checking...' messages
  154.   --version               print the version of autoconf that created configure
  155. Directory and file names:
  156.   --prefix=PREFIX         install architecture-independent files in PREFIX
  157.                           [$ac_default_prefix]
  158.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  159.                           [same as prefix]
  160.   --bindir=DIR            user executables in DIR [EPREFIX/bin]
  161.   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  162.   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  163.   --datadir=DIR           read-only architecture-independent data in DIR
  164.                           [PREFIX/share]
  165.   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  166.   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  167.                           [PREFIX/com]
  168.   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  169.   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  170.   --includedir=DIR        C header files in DIR [PREFIX/include]
  171.   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  172.   --infodir=DIR           info documentation in DIR [PREFIX/info]
  173.   --mandir=DIR            man documentation in DIR [PREFIX/man]
  174.   --srcdir=DIR            find the sources in DIR [configure dir or ..]
  175.   --program-prefix=PREFIX prepend PREFIX to installed program names
  176.   --program-suffix=SUFFIX append SUFFIX to installed program names
  177.   --program-transform-name=PROGRAM
  178.                           run sed PROGRAM on installed program names
  179. EOF
  180.     cat << EOF
  181. Host type:
  182.   --build=BUILD           configure for building on BUILD [BUILD=HOST]
  183.   --host=HOST             configure for HOST [guessed]
  184.   --target=TARGET         configure for TARGET [TARGET=HOST]
  185. Features and packages:
  186.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  187.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  188.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  189.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  190.   --x-includes=DIR        X include files are in DIR
  191.   --x-libraries=DIR       X library files are in DIR
  192. EOF
  193.     if test -n "$ac_help"; then
  194.       echo "--enable and --with options recognized:$ac_help"
  195.     fi
  196.     exit 0 ;;
  197.  
  198.   -host | --host | --hos | --ho)
  199.     ac_prev=host ;;
  200.   -host=* | --host=* | --hos=* | --ho=*)
  201.     host="$ac_optarg" ;;
  202.  
  203.   -includedir | --includedir | --includedi | --included | --include \
  204.   | --includ | --inclu | --incl | --inc)
  205.     ac_prev=includedir ;;
  206.   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  207.   | --includ=* | --inclu=* | --incl=* | --inc=*)
  208.     includedir="$ac_optarg" ;;
  209.  
  210.   -infodir | --infodir | --infodi | --infod | --info | --inf)
  211.     ac_prev=infodir ;;
  212.   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  213.     infodir="$ac_optarg" ;;
  214.  
  215.   -libdir | --libdir | --libdi | --libd)
  216.     ac_prev=libdir ;;
  217.   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  218.     libdir="$ac_optarg" ;;
  219.  
  220.   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  221.   | --libexe | --libex | --libe)
  222.     ac_prev=libexecdir ;;
  223.   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  224.   | --libexe=* | --libex=* | --libe=*)
  225.     libexecdir="$ac_optarg" ;;
  226.  
  227.   -localstatedir | --localstatedir | --localstatedi | --localstated \
  228.   | --localstate | --localstat | --localsta | --localst \
  229.   | --locals | --local | --loca | --loc | --lo)
  230.     ac_prev=localstatedir ;;
  231.   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  232.   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  233.   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  234.     localstatedir="$ac_optarg" ;;
  235.  
  236.   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  237.     ac_prev=mandir ;;
  238.   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  239.     mandir="$ac_optarg" ;;
  240.  
  241.   -nfp | --nfp | --nf)
  242.     # Obsolete; use --without-fp.
  243.     with_fp=no ;;
  244.  
  245.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  246.   | --no-cr | --no-c)
  247.     no_create=yes ;;
  248.  
  249.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  250.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  251.     no_recursion=yes ;;
  252.  
  253.   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  254.   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  255.   | --oldin | --oldi | --old | --ol | --o)
  256.     ac_prev=oldincludedir ;;
  257.   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  258.   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  259.   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  260.     oldincludedir="$ac_optarg" ;;
  261.  
  262.   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  263.     ac_prev=prefix ;;
  264.   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  265.     prefix="$ac_optarg" ;;
  266.  
  267.   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  268.   | --program-pre | --program-pr | --program-p)
  269.     ac_prev=program_prefix ;;
  270.   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  271.   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  272.     program_prefix="$ac_optarg" ;;
  273.  
  274.   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  275.   | --program-suf | --program-su | --program-s)
  276.     ac_prev=program_suffix ;;
  277.   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  278.   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  279.     program_suffix="$ac_optarg" ;;
  280.  
  281.   -program-transform-name | --program-transform-name \
  282.   | --program-transform-nam | --program-transform-na \
  283.   | --program-transform-n | --program-transform- \
  284.   | --program-transform | --program-transfor \
  285.   | --program-transfo | --program-transf \
  286.   | --program-trans | --program-tran \
  287.   | --progr-tra | --program-tr | --program-t)
  288.     ac_prev=program_transform_name ;;
  289.   -program-transform-name=* | --program-transform-name=* \
  290.   | --program-transform-nam=* | --program-transform-na=* \
  291.   | --program-transform-n=* | --program-transform-=* \
  292.   | --program-transform=* | --program-transfor=* \
  293.   | --program-transfo=* | --program-transf=* \
  294.   | --program-trans=* | --program-tran=* \
  295.   | --progr-tra=* | --program-tr=* | --program-t=*)
  296.     program_transform_name="$ac_optarg" ;;
  297.  
  298.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  299.   | -silent | --silent | --silen | --sile | --sil)
  300.     silent=yes ;;
  301.  
  302.   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  303.     ac_prev=sbindir ;;
  304.   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  305.   | --sbi=* | --sb=*)
  306.     sbindir="$ac_optarg" ;;
  307.  
  308.   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  309.   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  310.   | --sharedst | --shareds | --shared | --share | --shar \
  311.   | --sha | --sh)
  312.     ac_prev=sharedstatedir ;;
  313.   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  314.   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  315.   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  316.   | --sha=* | --sh=*)
  317.     sharedstatedir="$ac_optarg" ;;
  318.  
  319.   -site | --site | --sit)
  320.     ac_prev=site ;;
  321.   -site=* | --site=* | --sit=*)
  322.     site="$ac_optarg" ;;
  323.  
  324.   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  325.     ac_prev=srcdir ;;
  326.   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  327.     srcdir="$ac_optarg" ;;
  328.  
  329.   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  330.   | --syscon | --sysco | --sysc | --sys | --sy)
  331.     ac_prev=sysconfdir ;;
  332.   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  333.   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  334.     sysconfdir="$ac_optarg" ;;
  335.  
  336.   -target | --target | --targe | --targ | --tar | --ta | --t)
  337.     ac_prev=target ;;
  338.   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  339.     target="$ac_optarg" ;;
  340.  
  341.   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  342.     verbose=yes ;;
  343.  
  344.   -version | --version | --versio | --versi | --vers)
  345.     echo "configure generated by autoconf version 2.13"
  346.     exit 0 ;;
  347.  
  348.   -with-* | --with-*)
  349.     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  350.     # Reject names that are not valid shell variable names.
  351.     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  352.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  353.     fi
  354.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  355.     case "$ac_option" in
  356.       *=*) ;;
  357.       *) ac_optarg=yes ;;
  358.     esac
  359.     eval "with_${ac_package}='$ac_optarg'" ;;
  360.  
  361.   -without-* | --without-*)
  362.     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  363.     # Reject names that are not valid shell variable names.
  364.     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  365.       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  366.     fi
  367.     ac_package=`echo $ac_package| sed 's/-/_/g'`
  368.     eval "with_${ac_package}=no" ;;
  369.  
  370.   --x)
  371.     # Obsolete; use --with-x.
  372.     with_x=yes ;;
  373.  
  374.   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  375.   | --x-incl | --x-inc | --x-in | --x-i)
  376.     ac_prev=x_includes ;;
  377.   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  378.   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  379.     x_includes="$ac_optarg" ;;
  380.  
  381.   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  382.   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  383.     ac_prev=x_libraries ;;
  384.   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  385.   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  386.     x_libraries="$ac_optarg" ;;
  387.  
  388.   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  389.     ;;
  390.  
  391.   *)
  392.     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  393.       echo "configure: warning: $ac_option: invalid host type" 1>&2
  394.     fi
  395.     if test "x$nonopt" != xNONE; then
  396.       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  397.     fi
  398.     nonopt="$ac_option"
  399.     ;;
  400.  
  401.   esac
  402. done
  403.  
  404. if test -n "$ac_prev"; then
  405.   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  406. fi
  407.  
  408. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  409.  
  410. # File descriptor usage:
  411. # 0 standard input
  412. # 1 file creation
  413. # 2 errors and warnings
  414. # 3 some systems may open it to /dev/tty
  415. # 4 used on the Kubota Titan
  416. # 6 checking for... messages and results
  417. # 5 compiler messages saved in config.log
  418. if test "$silent" = yes; then
  419.   exec 6>/dev/null
  420. else
  421.   exec 6>&1
  422. fi
  423. exec 5>./config.log
  424.  
  425. echo "\
  426. This file contains any messages produced by compilers while
  427. running configure, to aid debugging if configure makes a mistake.
  428. " 1>&5
  429.  
  430. # Strip out --no-create and --no-recursion so they do not pile up.
  431. # Also quote any args containing shell metacharacters.
  432. ac_configure_args=
  433. for ac_arg
  434. do
  435.   case "$ac_arg" in
  436.   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  437.   | --no-cr | --no-c) ;;
  438.   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  439.   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  440.   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  441.   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  442.   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  443.   esac
  444. done
  445.  
  446. # NLS nuisances.
  447. # Only set these to C if already set.  These must not be set unconditionally
  448. # because not all systems understand e.g. LANG=C (notably SCO).
  449. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  450. # Non-C LC_CTYPE values break the ctype check.
  451. if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  452. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  453. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  454. if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
  455.  
  456. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  457. rm -rf conftest* confdefs.h
  458. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  459. echo > confdefs.h
  460.  
  461. # A filename unique to this package, relative to the directory that
  462. # configure is in, which we can look for to find out if srcdir is correct.
  463. ac_unique_file=config/config.mk
  464.  
  465. # Find the source files, if location was not specified.
  466. if test -z "$srcdir"; then
  467.   ac_srcdir_defaulted=yes
  468.   # Try the directory containing this script, then its parent.
  469.   ac_prog=$0
  470.   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  471.   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  472.   srcdir=$ac_confdir
  473.   if test ! -r $srcdir/$ac_unique_file; then
  474.     srcdir=..
  475.   fi
  476. else
  477.   ac_srcdir_defaulted=no
  478. fi
  479. if test ! -r $srcdir/$ac_unique_file; then
  480.   if test "$ac_srcdir_defaulted" = yes; then
  481.     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  482.   else
  483.     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  484.   fi
  485. fi
  486. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  487.  
  488. # Prefer explicitly selected file to automatically selected ones.
  489. if test -z "$CONFIG_SITE"; then
  490.   if test "x$prefix" != xNONE; then
  491.     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  492.   else
  493.     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  494.   fi
  495. fi
  496. for ac_site_file in $CONFIG_SITE; do
  497.   if test -r "$ac_site_file"; then
  498.     echo "loading site script $ac_site_file"
  499.     . "$ac_site_file"
  500.   fi
  501. done
  502.  
  503. if test -r "$cache_file"; then
  504.   echo "loading cache $cache_file"
  505.   . $cache_file
  506. else
  507.   echo "creating cache $cache_file"
  508.   > $cache_file
  509. fi
  510.  
  511. ac_ext=c
  512. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  513. ac_cpp='$CPP $CPPFLAGS'
  514. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  515. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  516. cross_compiling=$ac_cv_prog_cc_cross
  517.  
  518. ac_exeext=
  519. ac_objext=o
  520. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  521.   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  522.   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  523.     ac_n= ac_c='
  524. ' ac_t='    '
  525.   else
  526.     ac_n=-n ac_c= ac_t=
  527.   fi
  528. else
  529.   ac_n= ac_c='\c' ac_t=
  530. fi
  531.  
  532.  
  533. MOZILLA_SRCDIR=$srcdir/mozilla
  534.  
  535. # If MOZCONFIG isn't set, use the .mozconfig from the current directory. This
  536. # overrides the lookup in mozilla-central's configure, which looks in the wrong
  537. # directory for this file.
  538. if test -z "$MOZCONFIG" -a -f $(dirname $0)/.mozconfig; then
  539.     export MOZCONFIG=$(dirname $0)/.mozconfig
  540. fi
  541.  
  542. # Execute the mozilla configure script in the current directory, adding the
  543. # parameter we need to run comm-central.
  544. exec ${MOZILLA_SRCDIR}/configure "$@" --with-external-source-dir="$(dirname $0)"
  545.  
  546.     (''' SHELL ''', r''' $SHELL ''')
  547.     (''' exec_prefix ''', r''' $exec_prefix ''')
  548.     (''' prefix ''', r''' $prefix ''')
  549.     (''' program_transform_name ''', r''' $program_transform_name ''')
  550.     (''' bindir ''', r''' $bindir ''')
  551.     (''' sbindir ''', r''' $sbindir ''')
  552.     (''' libexecdir ''', r''' $libexecdir ''')
  553.     (''' datadir ''', r''' $datadir ''')
  554.     (''' sysconfdir ''', r''' $sysconfdir ''')
  555.     (''' sharedstatedir ''', r''' $sharedstatedir ''')
  556.     (''' localstatedir ''', r''' $localstatedir ''')
  557.     (''' libdir ''', r''' $libdir ''')
  558.     (''' includedir ''', r''' $includedir ''')
  559.     (''' oldincludedir ''', r''' $oldincludedir ''')
  560.     (''' infodir ''', r''' $infodir ''')
  561.     (''' mandir ''', r''' $mandir ''')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top