Changeset 26177


Ignore:
Timestamp:
Jun 15, 2007, 10:11:22 AM (13 years ago)
Author:
jmpp@…
Message:

Finally merging the dp2mp-move branch into trunk, woot!

This basically means all strings in our sources,
whether it's something we output to the user or something
internal, such as a function/proc naming, are entirely in
the macports namespace and we no longer mix darwinports
with apple with macports strings.

It also means we now have new paths in svn and on
the client side at installation time, added to a
cleaner structure under ${prefix}/var/. Read
http://trac.macports.org/projects/macports/wiki/MacPortsRenaming
for more information.

NOTE: This commit also marks the rsync server finally
being moved over to the macosforge boxes, with the new
layout outlined in the dp2mp-move branch in place.
DNS entries still point to the old rsync server for
macports, however, so sync'ing/selfupdating an installation
based on these sources will be temporarily broken
until dns refresh.

To developers and testers, please do test the upgrade
target in the main base/Makefile as thouroughly as
possible and report any bugs/shortcomings/unexpected_behavior
to me, thanks!

Location:
trunk/base
Files:
16 deleted
111 edited
41 copied

Legend:

Unmodified
Added
Removed
  • trunk/base/ChangeLog

    r26036 r26177  
    66
    77(unreleased)
    8 
    9     - Fix port variants calculation to properly account for negated variants and
    10       to detect problems between required and negated variants
    11       (ticket #11920, eridius r26036, patch by gwhitney).
    12 
    13     - Add global methods lpush, lpop, lshift, and lunshift. Works similar to
    14       lappend (in fact lpush is just lappend) and do what they sound like.
    15       Also add ldindex. Works like lindex, but deletes the element from the list.
    16       Documented in portfile.7 (eridius r26034).
    17    
    18     - Add global methods try and throw. Implemented based on the specification
    19       in TIP #89. Documented in portfile.7 (eridius r26034).
    20 
    21     - Handle encodings properly now. All Portfiles and .conf files are assumed
    22       to be utf-8, and reading them or calling portindex(1) should now work
    23       the same on all locales (ticket #11978, eridius r25975).
    248
    259    - Add support for decoding of obscured maintainer addresses.
  • trunk/base/Makefile.in

    r24106 r26177  
    1 SUBDIR          = config doc src portmgr
     1# $Id$
     2
     3SUBDIR          = config doc src
    24DISTDIR         = dist
    35DISTVER         =
     
    810SVNURL          = http://svn.macports.org/repository/macports
    911
    10 include Mk/dports.autoconf.mk
     12include Mk/macports.autoconf.mk
    1113
    12 all:: Mk/dports.autoconf.mk
     14all:: Mk/macports.autoconf.mk
    1315
    14 Mk/dports.autoconf.mk: Mk/dports.autoconf.mk.in src/config.h.in Makefile.in config.status
     16Mk/macports.autoconf.mk: Mk/macports.autoconf.mk.in src/config.h.in Makefile.in config.status
    1517        ./config.status
    1618        make clean
     
    2527        fi
    2628
    27 include Mk/dports.subdir.mk
     29upgrade:
     30        @echo -e "\nUpgrading your existing MacPorts installation to the new layout:\n"
     31
     32# We can safely delete the ${TCL_PACKAGE_DIR}/darwinports1.0 dir as files in it are always overwritten and will now be installed onto
     33# ${TCL_PACKAGE_DIR}/macports1.0 with new names:
     34        [ ! -d ${TCL_PACKAGE_DIR}/darwinports1.0 ] || rm -rf ${TCL_PACKAGE_DIR}/darwinports1.0
     35
     36# MacPorts base files in ${datadir} are also safely removed as new ones are always installed, and onto a their new location in this case too:
     37        [ ! -d ${datadir}/darwinports ] || rm -rf ${datadir}/darwinports
     38
     39# Old version file can be safely deleted, as it was already used to start this upgrade and a new one will be installed into the new location:
     40        [ ! -f ${sysconfdir}/ports/dp_version ] || rm -vf ${sysconfdir}/ports/dp_version
     41
     42# Old ports.conf(5) man page is removed:
     43        [ ! -f ${prefix}/share/man/man5/ports.conf.5 ] || rm -vf ${prefix}/share/man/man5/ports.conf.5
     44
     45# Conf files directory is renamed:
     46        [ ! -d ${sysconfdir}/ports ] || mv -v ${sysconfdir}/ports ${sysconfdir}/macports
     47
     48# Important directories inside ${localstatedir}/db/dports are moved to their new location, creating it first:
     49        [ -d ${localstatedir}/macports ] || mkdir -vp ${localstatedir}/macports
     50        for dir in distfiles packages receipts software; do \
     51                [ ! -d ${localstatedir}/db/dports/$${dir} ] || mv -v ${localstatedir}/db/dports/$${dir} ${localstatedir}/macports ; \
     52        done
     53
     54# Move the default ports tree to the new layout:
     55        [ ! -d ${localstatedir}/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports ] || { mkdir -vp \
     56        ${localstatedir}/macports/sources/rsync.macports.org/release && mv -v \
     57        ${localstatedir}/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports ${localstatedir}/macports/sources/rsync.macports.org/release/ports ; }
     58
     59# Open up receipts and upgrade any paths in them containing old conventions to the new namespace:
     60        for receipt in ${localstatedir}/macports/receipts/*/*/receipt.bz2 ; do [ ! \( -f $${receipt} -a ! -f $${receipt}.mpsaved \) ] || { \
     61                cp -v $${receipt} $${receipt}.mpsaved && { \
     62                        $(BZIP2) -q -dc $${receipt} | sed 's/db\/dports/macports/g' | $(BZIP2) -q -zf > $${receipt}.new ; \
     63                } && mv -v $${receipt}.new $${receipt} ; \
     64        }; done
     65
     66# Check for existance of the main configuration file and perform a couple of replacements on it, backing it up first:
     67## 1) new default path up to our configuration files (referenced through other variables);
     68## 2) new default value for the portdbpath variable;
     69## 3) new MacPorts rsync server;
     70## 4) new default value for the base tree;
     71## 5) new default value for trunk's base sources for users who have it (some do);
     72## 6) stray quotes are removed from the value of the rsync_options key in old conf files;
     73## 7) references to the old ports.conf(5) man page are updated to the new macports.conf(5) page;
     74## 8) finally, move remaining instances of any form of our new name (which by this time should only remain in comments, if at all) to our new name.
     75        [ ! \( -f ${sysconfdir}/macports/ports.conf -a ! -f ${sysconfdir}/macports/macports.conf.mpsaved \) ] || { \
     76                mv -v ${sysconfdir}/macports/ports.conf ${sysconfdir}/macports/macports.conf.mpsaved; \
     77                sed 's/etc\/ports/etc\/macports/g' ${sysconfdir}/macports/macports.conf.mpsaved > ${sysconfdir}/macports/macports.conf.tmp && \
     78                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     79                sed 's/db\/dports/macports/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     80                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     81                sed 's/darwinports/macports/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     82                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     83                sed 's/dpupdate1\/base/release\/base/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     84                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     85                sed 's/dpupdate\/base\/\{0,1\}/trunk\/base\//g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     86                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     87                sed '/^rsync_options/s/"\(.*\)"/\1/' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     88                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     89                sed 's/ ports.conf(5)/ macports.conf(5)/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     90                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     91                sed 's/[Dd]\(arwin\)\{0,1\}[Pp]\(orts\)\{0,1\}/MacPorts/g' ${sysconfdir}/macports/macports.conf > ${sysconfdir}/macports/macports.conf.tmp && \
     92                        mv -v ${sysconfdir}/macports/macports.conf.tmp ${sysconfdir}/macports/macports.conf; \
     93        }
     94
     95# Check for existance of the main sources file and perform a couple of replacements on it, backing it up first:
     96## 1) new MacPorts rsync server;
     97## 2) new default value for the ports tree.
     98        [ ! \( -f ${sysconfdir}/macports/sources.conf -a ! -f ${sysconfdir}/macports/sources.conf.mpsaved \) ] || { \
     99                cp -v ${sysconfdir}/macports/sources.conf ${sysconfdir}/macports/sources.conf.mpsaved; \
     100                sed 's/darwinports/macports/g' ${sysconfdir}/macports/sources.conf > ${sysconfdir}/macports/sources.conf.tmp && \
     101                        mv -v ${sysconfdir}/macports/sources.conf.tmp ${sysconfdir}/macports/sources.conf; \
     102                sed 's/dpupdate\/dports/release\/ports\//g' ${sysconfdir}/macports/sources.conf > ${sysconfdir}/macports/sources.conf.tmp && \
     103                        mv -v ${sysconfdir}/macports/sources.conf.tmp ${sysconfdir}/macports/sources.conf; \
     104        }
     105
     106# Check for existance of a personal configuration file and perform a couple of replacements on it, backing it up first:
     107## 1) new default path up to our configuration files (referenced through other variables);
     108## 2) new default value for the portdbpath variable;
     109## 3) new MacPorts rsync server;
     110## 4) new default value for the base tree;
     111## 5) new default value for trunk's base sources for users who have it (some do);
     112## 6) stray quotes are removed from the value of the rsync_options key in old conf files;
     113## 7) references to the old ports.conf(5) man page are updated to the new macports.conf(5) page;
     114## 8) finally, move remaining instances of any form of our new name (which by this time should only remain in comments, if at all) to our new name.
     115        [ ! \( -f $${HOME}/.macports/ports.conf -a ! -f $${HOME}/.macports/macports.conf.mpsaved \) ] || { \
     116                mv -v $${HOME}/.macports/ports.conf $${HOME}/.macports/macports.conf.mpsaved; \
     117                sed 's/etc\/ports/etc\/macports/g' $${HOME}/.macports/macports.conf.mpsaved > $${HOME}/.macports/macports.conf.tmp && \
     118                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     119                sed 's/db\/dports/macports/g' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     120                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     121                sed 's/darwinports/macports/g' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     122                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     123                sed 's/dpupdate1\/base/release\/base/g' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     124                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     125                sed 's/dpupdate\/base\/\{0,1\}/trunk\/base\//g' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     126                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     127                sed '/^rsync_options/s/"\(.*\)"/\1/' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     128                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     129                sed 's/ ports.conf(5)/ macports.conf(5)/g' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     130                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     131                sed 's/[Dd]\(arwin\)\{0,1\}[Pp]\(orts\)\{0,1\}/MacPorts/g' $${HOME}/.macports/macports.conf > $${HOME}/.macports/macports.conf.tmp && \
     132                        mv -v $${HOME}/.macports/macports.conf.tmp $${HOME}/.macports/macports.conf; \
     133        }
     134
     135
     136#something more?
     137
     138# Upgrade success announcement (meaning we're done ;):
     139        @echo -e "\nMacPorts installation successfully upgraded from the old DarwinPorts namespace!\n"
     140
     141####
     142# NOTES:
     143#    -) should we use the ${DESTDIR} sandbox?
     144#    -) should we force moves?
     145#    -) maybe I can regroup at least some of the sed calls?
     146#    -)
     147####
     148
     149install:: upgrade
     150
     151include Mk/macports.subdir.mk
    28152
    29153install::
    30         @echo ""
    31         @echo "Congratulations, you have successfully installed the MacPorts system. To get the Portfiles and update the system, run:"
    32         @echo ""
    33         @echo "sudo port selfupdate"
    34         @echo ""
    35         @echo "Please read port(1) and the MacPorts Wiki at http://trac.macports.org/ for full documentation."
    36         @echo ""
     154        @echo -e "\nCongratulations, you have successfully installed the MacPorts system. To get the Portfiles and update the system, run:\n"
     155        @echo -e "sudo port selfupdate\n"
     156        @echo -e "Please read port(1) and the MacPorts Wiki at http://trac.macports.org/ for full documentation.\n"
     157        @echo -e "Stray sources might have been left in the legacy ${localstatedir}/db/dports directory after this upgrade,"
     158        @echo -e "which moved most of what it could to ${localstatedir}/macports, so you might want to look in the former and cleanup manually.\n"
    37159
    38160clean::
     
    41163        rm -f config.log config.status configure.lineno
    42164        rm -rf autom4te.cache ${DISTDIR}
    43         rm -f Makefile Mk/dports.autoconf.mk
     165        rm -f Makefile Mk/macports.autoconf.mk
    44166
    45167_gettag:
  • trunk/base/ReleaseProcess

    r24811 r26177  
    4949
    5050* Update the file base/ChangeLog in both trunk and the relase branch to reflect the appropriate changes.
    51 * Update the file base/config/dp_version with the target release number. Note that this is a floating point number that corresponds to the release number; it should correspond roughly to the release number where possible. Release 1.4.1, for instance, would be represented by the floating point number 1.41. The version number in dp_version is displayed by the port command as the version of MacPorts, and is used by the selfupdate command to determine whether a newer version of code is available. This number should be different between trunk and a release branch and the former should be updated as needed to differentiate it from the latter.
     51* Update the file base/config/mp_version with the target release number. Note that this is a floating point number that corresponds to the release number; it should correspond roughly to the release number where possible. Release 1.4.1, for instance, would be represented by the floating point number 1.41. The version number in mp_version is displayed by the port command as the version of MacPorts, and is used by the selfupdate command to determine whether a newer version of code is available. This number should be different between trunk and a release branch and the former should be updated as needed to differentiate it from the latter.
    5252* Make sure that these, and any other changes or bug fixes are made on and/or merged between the release branch and trunk as needded. For instance, if you've made changes to ChangeLog only on the release branch, those changes should be merged back into trunk as well.
    5353
  • trunk/base/aclocal.m4

    r26135 r26177  
    44
    55#------------------------------------------------------------------------
    6 # OD_CHECK_FRAMEWORK_COREFOUNDATION --
     6# MP_CHECK_FRAMEWORK_COREFOUNDATION --
    77#
    88#       Check if CoreFoundation framework is available, define HAVE_FRAMEWORK_COREFOUNDATION if so.
     
    2424#
    2525#------------------------------------------------------------------------
    26 AC_DEFUN(OD_CHECK_FRAMEWORK_COREFOUNDATION, [
     26AC_DEFUN(MP_CHECK_FRAMEWORK_COREFOUNDATION, [
    2727        FRAMEWORK_LIBS="-framework CoreFoundation"
    2828
    2929        AC_MSG_CHECKING([for CoreFoundation framework])
    3030
    31         AC_CACHE_VAL(od_cv_have_framework_corefoundation, [
     31        AC_CACHE_VAL(mp_cv_have_framework_corefoundation, [
    3232                ac_save_LIBS="$LIBS"
    3333                LIBS="$FRAMEWORK_LIBS $LIBS"
     
    4141                        ])
    4242                        ], [
    43                                 od_cv_have_framework_corefoundation="yes"
    44                         ], [
    45                                 od_cv_have_framework_corefoundation="no"
     43                                mp_cv_have_framework_corefoundation="yes"
     44                        ], [
     45                                mp_cv_have_framework_corefoundation="no"
    4646                        ]
    4747                )
     
    5050        ])
    5151
    52         AC_MSG_RESULT(${od_cv_have_framework_corefoundation})
    53 
    54         if test x"${od_cv_have_framework_corefoundation}" = "xyes"; then
     52        AC_MSG_RESULT(${mp_cv_have_framework_corefoundation})
     53
     54        if test x"${mp_cv_have_framework_corefoundation}" = "xyes"; then
    5555                AC_DEFINE([HAVE_FRAMEWORK_COREFOUNDATION], [], [Define if CoreFoundation framework is available])
    5656        fi
     
    6161
    6262#------------------------------------------------------------------------
    63 # OD_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER --
     63# MP_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER --
    6464#
    6565#       Check if if the routine CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER
     
    8282#
    8383#------------------------------------------------------------------------
    84 AC_DEFUN(OD_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER, [
     84AC_DEFUN(MP_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER, [
    8585        FRAMEWORK_LIBS="-framework CoreFoundation"
    8686
    8787        AC_MSG_CHECKING([for CFNotificationCenterGetDarwinNotifyCenter])
    8888
    89         AC_CACHE_VAL(od_cv_have_function_cfnotificationcentergetdarwinnotifycenter, [
     89        AC_CACHE_VAL(mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter, [
    9090                ac_save_LIBS="$LIBS"
    9191                LIBS="$FRAMEWORK_LIBS $LIBS"
     
    9898                        ])
    9999                        ], [
    100                                 od_cv_have_function_cfnotificationcentergetdarwinnotifycenter="yes"
    101                         ], [
    102                                 od_cv_have_function_cfnotificationcentergetdarwinnotifycenter="no"
     100                                mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter="yes"
     101                        ], [
     102                                mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter="no"
    103103                        ]
    104104                )
     
    107107        ])
    108108
    109         AC_MSG_RESULT(${od_cv_have_function_cfnotificationcentergetdarwinnotifycenter})
    110 
    111         if test x"${od_cv_have_function_cfnotificationcentergetdarwinnotifycenter}" = "xyes"; then
     109        AC_MSG_RESULT(${mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter})
     110
     111        if test x"${mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter}" = "xyes"; then
    112112                AC_DEFINE([HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER], [], [Define if function CFNotificationCenterGetDarwinNotifyCenter in CoreFoundation framework])
    113113        fi
     
    118118
    119119#------------------------------------------------------------------------
    120 # OD_CHECK_FRAMEWORK_SYSTEMCONFIGURATION --
     120# MP_CHECK_FRAMEWORK_SYSTEMCONFIGURATION --
    121121#
    122122#       Check if SystemConfiguration framework is available, define HAVE_FRAMEWORK_SYSTEMCONFIGURATION if so.
     
    138138#
    139139#------------------------------------------------------------------------
    140 AC_DEFUN(OD_CHECK_FRAMEWORK_SYSTEMCONFIGURATION, [
     140AC_DEFUN(MP_CHECK_FRAMEWORK_SYSTEMCONFIGURATION, [
    141141        FRAMEWORK_LIBS="-framework SystemConfiguration"
    142142
    143143        AC_MSG_CHECKING([for SystemConfiguration framework])
    144144
    145         AC_CACHE_VAL(od_cv_have_framework_systemconfiguration, [
     145        AC_CACHE_VAL(mp_cv_have_framework_systemconfiguration, [
    146146                ac_save_LIBS="$LIBS"
    147147                LIBS="$FRAMEWORK_LIBS $LIBS"
     
    155155                        ])
    156156                        ], [
    157                                 od_cv_have_framework_systemconfiguration="yes"
    158                         ], [
    159                                 od_cv_have_framework_systemconfiguration="no"
     157                                mp_cv_have_framework_systemconfiguration="yes"
     158                        ], [
     159                                mp_cv_have_framework_systemconfiguration="no"
    160160                        ]
    161161                )
     
    164164        ])
    165165
    166         AC_MSG_RESULT(${od_cv_have_framework_systemconfiguration})
    167 
    168         if test x"${od_cv_have_framework_systemconfiguration}" = "xyes"; then
     166        AC_MSG_RESULT(${mp_cv_have_framework_systemconfiguration})
     167
     168        if test x"${mp_cv_have_framework_systemconfiguration}" = "xyes"; then
    169169                AC_DEFINE([HAVE_FRAMEWORK_SYSTEMCONFIGURATION], [], [Define if SystemConfiguration framework is available])
    170170        fi
     
    175175
    176176#------------------------------------------------------------------------
    177 # OD_CHECK_FRAMEWORK_IOKIT --
     177# MP_CHECK_FRAMEWORK_IOKIT --
    178178#
    179179#       Check if IOKit framework is available, define HAVE_FRAMEWORK_IOKIT if so.
     
    195195#
    196196#------------------------------------------------------------------------
    197 AC_DEFUN(OD_CHECK_FRAMEWORK_IOKIT, [
     197AC_DEFUN(MP_CHECK_FRAMEWORK_IOKIT, [
    198198        FRAMEWORK_LIBS="-framework IOKit"
    199199
    200200        AC_MSG_CHECKING([for IOKit framework])
    201201
    202         AC_CACHE_VAL(od_cv_have_framework_iokit, [
     202        AC_CACHE_VAL(mp_cv_have_framework_iokit, [
    203203                ac_save_LIBS="$LIBS"
    204204                LIBS="$FRAMEWORK_LIBS $LIBS"
     
    212212                        ])
    213213                        ], [
    214                                 od_cv_have_framework_iokit="yes"
    215                         ], [
    216                                 od_cv_have_framework_iokit="no"
     214                                mp_cv_have_framework_iokit="yes"
     215                        ], [
     216                                mp_cv_have_framework_iokit="no"
    217217                        ]
    218218                )
     
    221221        ])
    222222
    223         AC_MSG_RESULT(${od_cv_have_framework_iokit})
    224 
    225         if test x"${od_cv_have_framework_iokit}" = "xyes"; then
     223        AC_MSG_RESULT(${mp_cv_have_framework_iokit})
     224
     225        if test x"${mp_cv_have_framework_iokit}" = "xyes"; then
    226226                AC_DEFINE([HAVE_FRAMEWORK_IOKIT], [], [Define if IOKit framework is available])
    227227        fi
     
    231231
    232232
    233 dnl This macro checks if the user specified a dports tree
     233dnl This macro checks if the user specified a ports tree
    234234dnl explicitly. If not, search for it
    235235
    236 # OD_PATH_DPORTSDIR(DEFAULT_DPORTSDIR)
    237 #---------------------------------------
    238  AC_DEFUN([OD_PATH_DPORTSDIR],[
     236# MP_PATH_PORTSDIR(DEFAULT_PORTSDIR)
     237#---------------------------------------
     238 AC_DEFUN([MP_PATH_PORTSDIR],[
    239239        dnl For ease of reading, run after gcc has been found/configured
    240240        AC_REQUIRE([AC_PROG_CC])
    241241
    242         AC_ARG_WITH(dports-dir, [AC_HELP_STRING([--with-dports-dir=DIR], [Specify alternate dports directory])], [ dportsdir="$withval" ] )
    243 
    244 
    245         AC_MSG_CHECKING([for dports tree])
    246         if test "x$dportsdir" != "x" ; then
    247           if test -d "$dportsdir" -a -e "$dportsdir/PortIndex" ; then
     242        AC_ARG_WITH(ports-dir, [AC_HELP_STRING([--with-ports-dir=DIR], [Specify alternate ports directory])], [ portsdir="$withval" ] )
     243
     244
     245        AC_MSG_CHECKING([for ports tree])
     246        if test "x$portsdir" != "x" ; then
     247          if test -d "$portsdir" -a -e "$portsdir/PortIndex" ; then
    248248                :
    249249          else
    250                 AC_MSG_ERROR([$dportsdir not a valid dports tree])
     250                AC_MSG_ERROR([$portsdir not a valid ports tree])
    251251          fi
    252252        else
     
    254254                if test "x$1" != "x" ; then
    255255                  if test -d "$1" -a -e "$1/PortIndex" ; then
    256                         dportsdir=$1
     256                        portsdir=$1
    257257                  fi
    258258                fi
    259259        fi
    260260
    261         if test "x$dportsdir" != "x" ; then
    262                 AC_MSG_RESULT($dportsdir)
    263                 DPORTSDIR="$dportsdir"
    264                 AC_SUBST(DPORTSDIR)
     261        if test "x$portsdir" != "x" ; then
     262                AC_MSG_RESULT($portsdir)
     263                PORTSDIR="$portsdir"
     264                AC_SUBST(PORTSDIR)
    265265        else
    266                 AC_MSG_WARN([No dports tree found])
     266                AC_MSG_WARN([No ports tree found])
    267267        fi
    268268
     
    270270
    271271
    272 # OD_PATH_PORTCONFIGDIR
    273 #---------------------------------------
    274 AC_DEFUN([OD_PATH_PORTCONFIGDIR],[
     272# MP_PATH_MPCONFIGDIR
     273#---------------------------------------
     274AC_DEFUN([MP_PATH_MPCONFIGDIR],[
    275275        dnl if the user actually specified --prefix, shift
    276         dnl portconfigdir to $prefix/etc/ports
    277         dnl     AC_REQUIRE([OD_PATH_DPORTSDIR])
     276        dnl mpconfigdir to $prefix/etc/macports
     277        dnl     AC_REQUIRE([MP_PATH_PORTSDIR])
    278278       
    279         AC_MSG_CHECKING([for ports config directory])
    280 
    281         portconfigdir='${sysconfdir}/ports'
    282 
    283         AC_MSG_RESULT([$portconfigdir])
    284         PORTCONFIGDIR="$portconfigdir"
    285         AC_SUBST(PORTCONFIGDIR)
     279        AC_MSG_CHECKING([for MacPorts config directory])
     280
     281        mpconfigdir='${sysconfdir}/macports'
     282
     283        AC_MSG_RESULT([$mpconfigdir])
     284        MPCONFIGDIR="$mpconfigdir"
     285        AC_SUBST(MPCONFIGDIR)
    286286
    287287        ])
    288288
    289 # OD_CHECK_INSTALLUSER
     289# MP_CHECK_INSTALLUSER
    290290#-------------------------------------------------
    291 AC_DEFUN([OD_CHECK_INSTALLUSER],[
     291AC_DEFUN([MP_CHECK_INSTALLUSER],[
    292292        dnl if with user specifies --with-install-user,
    293293        dnl use it. otherwise default to platform defaults
    294         AC_REQUIRE([OD_PATH_PORTCONFIGDIR])
     294        AC_REQUIRE([MP_PATH_MPCONFIGDIR])
    295295
    296296        AC_ARG_WITH(install-user, [AC_HELP_STRING([--with-install-user=USER], [Specify user ownership of installed files])], [ DSTUSR=$withval ] )
     
    305305])
    306306
    307 # OD_CHECK_INSTALLGROUP
     307# MP_CHECK_INSTALLGROUP
    308308#-------------------------------------------------
    309 AC_DEFUN([OD_CHECK_INSTALLGROUP],[
     309AC_DEFUN([MP_CHECK_INSTALLGROUP],[
    310310        dnl if with user specifies --with-install-group,
    311311        dnl use it. otherwise default to platform defaults
    312         AC_REQUIRE([OD_CHECK_INSTALLUSER])
     312        AC_REQUIRE([MP_CHECK_INSTALLUSER])
    313313
    314314        AC_ARG_WITH(install-group, [AC_HELP_STRING([--with-install-group=GROUP], [Specify group ownership of installed files])], [ DSTGRP=$withval ] )
     
    331331])
    332332
    333 # OD_DIRECTORY_MODE
     333# MP_DIRECTORY_MODE
    334334#-------------------------------------------------
    335 AC_DEFUN([OD_DIRECTORY_MODE],[
     335AC_DEFUN([MP_DIRECTORY_MODE],[
    336336        dnl if with user specifies --with-directory-mode,
    337337        dnl use the specified permissions for ${prefix} directories
    338338        dnl otherwise use 0775
    339         AC_REQUIRE([OD_PATH_PORTCONFIGDIR])
     339        AC_REQUIRE([MP_PATH_MPCONFIGDIR])
    340340
    341341        AC_ARG_WITH(directory-mode, [AC_HELP_STRING([--with-directory-mode=MODE], [Specify directory mode of installed directories])], [ DSTMODE=$withval ] )
     
    350350])
    351351
    352 # OD_LIB_MD5
     352# MP_LIB_MD5
    353353#---------------------------------------
    354354# Check for an md5 implementation
    355 AC_DEFUN([OD_LIB_MD5],[
     355AC_DEFUN([MP_LIB_MD5],[
    356356
    357357        # Check for libmd, which is prefered
     
    401401dnl print a warning
    402402
    403 # OD_CHECK_X11
     403# MP_CHECK_X11
    404404# ---------------------
    405 AC_DEFUN([OD_CHECK_X11], [
     405AC_DEFUN([MP_CHECK_X11], [
    406406
    407407        AC_PATH_XTRA
     
    429429                # either the user said --without-x, or it was not found
    430430                # at all (runtime or headers)
    431                         AC_MSG_WARN([X11 not available. You will not be able to use dports that use X11])
     431                        AC_MSG_WARN([X11 not available. You will not be able to use ports that use X11])
    432432                        state=0
    433433                        ;;
     
    485485])
    486486
    487 # OD_PROG_XAR
    488 #---------------------------------------
    489 AC_DEFUN([OD_PROG_XAR],[
     487# MP_PROG_XAR
     488#---------------------------------------
     489AC_DEFUN([MP_PROG_XAR],[
    490490
    491491        AC_PATH_PROG([XAR], [xar], ,  [/usr/bin:/usr/sbin:/bin:/sbin])
     
    500500])
    501501
    502 # OD_PROG_DAEMONDO
    503 #---------------------------------------
    504 AC_DEFUN([OD_PROG_DAEMONDO],[
    505         AC_REQUIRE([OD_CHECK_FRAMEWORK_COREFOUNDATION])
    506         AC_REQUIRE([OD_CHECK_FRAMEWORK_SYSTEMCONFIGURATION])
    507         AC_REQUIRE([OD_CHECK_FRAMEWORK_IOKIT])
    508         AC_REQUIRE([OD_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER])
     502# MP_PROG_DAEMONDO
     503#---------------------------------------
     504AC_DEFUN([MP_PROG_DAEMONDO],[
     505        AC_REQUIRE([MP_CHECK_FRAMEWORK_COREFOUNDATION])
     506        AC_REQUIRE([MP_CHECK_FRAMEWORK_SYSTEMCONFIGURATION])
     507        AC_REQUIRE([MP_CHECK_FRAMEWORK_IOKIT])
     508        AC_REQUIRE([MP_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER])
    509509       
    510510    AC_MSG_CHECKING(for whether we will build daemondo)
     
    512512        case $host_os in
    513513        darwin*)
    514                 if test "x$od_cv_have_framework_corefoundation" == "xyes" &&
    515                    test "x$od_cv_have_framework_systemconfiguration" == "xyes" &&
    516                    test "x$od_cv_have_framework_iokit" == "xyes" &&
    517                    test "x$od_cv_have_function_cfnotificationcentergetdarwinnotifycenter" == "xyes"; then
     514                if test "x$mp_cv_have_framework_corefoundation" == "xyes" &&
     515                   test "x$mp_cv_have_framework_systemconfiguration" == "xyes" &&
     516                   test "x$mp_cv_have_framework_iokit" == "xyes" &&
     517                   test "x$mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter" == "xyes"; then
    518518                        result=yes
    519519                        EXTRA_PROGS="$EXTRA_PROGS daemondo"
     
    527527
    528528#------------------------------------------------------------------------
    529 # OD_TCL_PACKAGE_DIR --
     529# MP_TCL_PACKAGE_DIR --
    530530#
    531531#       Locate the correct directory for Tcl package installation
     
    548548#------------------------------------------------------------------------
    549549
    550 AC_DEFUN(OD_TCL_PACKAGE_DIR, [
     550AC_DEFUN(MP_TCL_PACKAGE_DIR, [
    551551    AC_MSG_CHECKING(for Tcl package directory)
    552552
     
    608608])
    609609
    610 # OD_PROG_TCLSH
    611 #---------------------------------------
    612 AC_DEFUN([OD_PROG_TCLSH],[
     610# MP_PROG_TCLSH
     611#---------------------------------------
     612AC_DEFUN([MP_PROG_TCLSH],[
    613613
    614614
    615615        case $host_os in
    616                 freebsd*)
    617                         # FreeBSD installs a dummy tclsh (annoying)
    618                         # Look for a real versioned tclsh first
    619                         AC_PATH_PROG([TCLSH], [tclsh${TCL_VERSION} tclsh])
    620                         ;;
    621616                *)
    622617                        # Otherwise, look for a non-versioned tclsh
     
    631626])
    632627
    633 # OD_TCL_PACKAGE
     628# MP_TCL_PACKAGE
    634629#       Determine if a Tcl package is present.
    635630#
     
    638633#
    639634# Syntax:
    640 #   OD_TCL_PACKAGE (package, [action-if-found], [action-if-not-found])
     635#   MP_TCL_PACKAGE (package, [action-if-found], [action-if-not-found])
    641636#
    642637# Requires:
     
    646641#       Execute action-if-found or action-if-not-found
    647642#---------------------------------------
    648 AC_DEFUN([OD_TCL_PACKAGE],[
     643AC_DEFUN([MP_TCL_PACKAGE],[
    649644        AC_MSG_CHECKING([for Tcl $1 package])
    650645        package_present=`echo 'if {[[catch {package require $1}]]} {puts -nonewline 0} else {puts -nonewline 1}' | $TCLSH`
     
    652647])
    653648
    654 # OD_TCL_THREAD_SUPPORT
     649# MP_TCL_THREAD_SUPPORT
    655650#       Determine if thread support is available in tclsh.
    656651#
     
    664659#   Fails if thread support isn't available.
    665660#---------------------------------------
    666 AC_DEFUN([OD_TCL_THREAD_SUPPORT],[
     661AC_DEFUN([MP_TCL_THREAD_SUPPORT],[
    667662        AC_MSG_CHECKING([whether tclsh was compiled with threads])
    668663        tcl_threadenabled=`echo 'puts -nonewline [[info exists tcl_platform(threaded)]]' | $TCLSH`
     
    675670])
    676671
    677 # OD_LIBCURL_FLAGS
     672# MP_LIBCURL_FLAGS
    678673#       Sets the flags to compile with libcurl.
    679674#
     
    688683#   sets CFLAGS_LIBCURL and LDFLAGS_LIBCURL
    689684#---------------------------------------
    690 AC_DEFUN([OD_LIBCURL_FLAGS],[
     685AC_DEFUN([MP_LIBCURL_FLAGS],[
    691686        AC_ARG_WITH(curlprefix,
    692687                   [  --with-curlprefix       base directory for the cURL install '/usr', '/usr/local',...],
     
    712707])
    713708
    714 # OD_LIBCURL_VERSION
     709# MP_LIBCURL_VERSION
    715710#       Determine the version of libcurl.
    716711#
     
    724719#   sets libcurl_version to "0" or some number
    725720#---------------------------------------
    726 AC_DEFUN([OD_LIBCURL_VERSION],[
     721AC_DEFUN([MP_LIBCURL_VERSION],[
    727722        if test "x$CURL" = "x"; then
    728723                libcurl_version="0"
     
    737732dnl This macro tests if the compiler supports GCC's
    738733dnl __attribute__ syntax for unused variables/parameters
    739 AC_DEFUN([OD_COMPILER_ATTRIBUTE_UNUSED], [
     734AC_DEFUN([MP_COMPILER_ATTRIBUTE_UNUSED], [
    740735        AC_MSG_CHECKING([how to mark unused variables])
    741736        AC_COMPILE_IFELSE(
     
    748743])
    749744
    750 dnl This macro ensures DP installation prefix bin/sbin paths are NOT in PATH
     745dnl This macro ensures MP installation prefix bin/sbin paths are NOT in PATH
    751746dnl for configure to prevent potential problems when base/ code is updated
    752747dnl and ports are installed that would match needed items.
    753 AC_DEFUN([OD_PATH_SCAN],[
     748AC_DEFUN([MP_PATH_SCAN],[
    754749        oldprefix=$prefix
    755750        if test "x$prefix" = "xNONE" ; then
     
    776771
    777772dnl This macro tests for tar support of --no-same-owner
    778 AC_DEFUN([OD_TAR_NO_SAME_OWNER],[
     773AC_DEFUN([MP_TAR_NO_SAME_OWNER],[
    779774        AC_PATH_PROG(TAR, [tar])
    780775        AC_PATH_PROG(GNUTAR, [gnutar])
     
    796791
    797792#------------------------------------------------------------------------
    798 # DP_CHECK_READLINK_IS_P1003_1A --
     793# MP_CHECK_READLINK_IS_P1003_1A --
    799794#
    800795#       Check if readlink conforms to POSIX 1003.1a standard, define
     
    817812#
    818813#------------------------------------------------------------------------
    819 AC_DEFUN(DP_CHECK_READLINK_IS_P1003_1A, [
     814AC_DEFUN(MP_CHECK_READLINK_IS_P1003_1A, [
    820815        AC_MSG_CHECKING([if readlink conforms to POSIX 1003.1a])
    821816
    822         AC_CACHE_VAL(dp_cv_readlink_is_posix_1003_1a, [
     817        AC_CACHE_VAL(mp_cv_readlink_is_posix_1003_1a, [
    823818                AC_COMPILE_IFELSE([
    824819                        AC_LANG_PROGRAM([
     
    828823                        ])
    829824                        ], [
    830                                 dp_cv_readlink_is_posix_1003_1a="yes"
    831                         ], [
    832                                 dp_cv_readlink_is_posix_1003_1a="no"
     825                                mp_cv_readlink_is_posix_1003_1a="yes"
     826                        ], [
     827                                mp_cv_readlink_is_posix_1003_1a="no"
    833828                        ]
    834829                )
    835830        ])
    836831
    837         AC_MSG_RESULT(${dp_cv_readlink_is_posix_1003_1a})
    838 
    839         if test x"${dp_cv_readlink_is_posix_1003_1a}" = "xno"; then
     832        AC_MSG_RESULT(${mp_cv_readlink_is_posix_1003_1a})
     833
     834        if test x"${mp_cv_readlink_is_posix_1003_1a}" = "xno"; then
    840835                AC_DEFINE([READLINK_IS_NOT_P1003_1A], [], [Define to 1 if readlink does not conform with POSIX 1003.1a (where third argument is a size_t and return value is a ssize_t)])
    841836        fi
  • trunk/base/config/Makefile

    r19376 r26177  
    1 include ../Mk/dports.autoconf.mk
     1include ../Mk/macports.autoconf.mk
    22
    33all:
     
    1010
    1111install::
    12         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${portconfigdir}
    13         $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 dp_version ${DESTDIR}${portconfigdir}
     12        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${mpconfigdir}
     13        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 mp_version ${DESTDIR}${mpconfigdir}
  • trunk/base/config/README.TXT

    r23192 r26177  
    11The file RELEASE_URL in this directory is used by the rsync infrastructure
    2 at macports to control the tag from which "released" code is provided,
    3 ultimately, at rsync://rsync.darwinports.org/dpupdate1/base.
     2at the MacPorts server to control the tag from which "released" code is provided,
     3ultimately at rsync://rsync.macports.org/release/base/.
    44
    55The script handling that operation checks out from svn the code tagged by the
    6 contents of the RELEASE_URL file, and makes that code available via rsync.
    7 The script is at /base/portmgr/mprsyncup.
     6contents of the RELEASE_URL file and makes that code available via rsync.
     7The script is svn at base/portmgr/mprsyncup.
  • trunk/base/config/RELEASE_URL

    r25298 r26177  
    1 http://svn.macports.org/repository/macports/tags/release_1_4_42/
     1http://svn.macports.org/repository/macports/tags/release_1_4_42/base
  • trunk/base/configure

    r26137 r26177  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for MacPorts 1.5.
     3# Generated by GNU Autoconf 2.61 for MacPorts 1.6.
    44#
    55# Report bugs to <macports-dev@lists.macosforge.org>.
    66#
    7 # Copyright (C) 2003 Free Software Foundation, Inc.
     7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    89# This configure script is free software; the Free Software Foundation
    910# gives unlimited permission to copy, distribute and modify it.
     
    1213## --------------------- ##
    1314
    14 # Be Bourne compatible
     15# Be more Bourne compatible
     16DUALCASE=1; export DUALCASE # for MKS sh
    1517if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1618  emulate sh
     
    1921  # is contrary to our usage.  Disable this feature.
    2022  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 DUALCASE=1; export DUALCASE # for MKS sh
    25 
    26 # Support unset when possible.
    27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    28   as_unset=unset
    29 else
    30   as_unset=false
    31 fi
    32 
    33 
    34 # Work around bugs in pre-3.0 UWIN ksh.
    35 $as_unset ENV MAIL MAILPATH
    36 PS1='$ '
    37 PS2='> '
    38 PS4='+ '
    39 
    40 # NLS nuisances.
    41 for as_var in \
    42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    44   LC_TELEPHONE LC_TIME
    45 do
    46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    47     eval $as_var=C; export $as_var
    48   else
    49     $as_unset $as_var
    50   fi
    51 done
    52 
    53 # Required to use basename.
    54 if expr a : '\(a\)' >/dev/null 2>&1; then
    55   as_expr=expr
    56 else
    57   as_expr=false
    58 fi
    59 
    60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    61   as_basename=basename
    62 else
    63   as_basename=false
    64 fi
    65 
    66 
    67 # Name of the executable.
    68 as_me=`$as_basename "$0" ||
    69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    70          X"$0" : 'X\(//\)$' \| \
    71          X"$0" : 'X\(/\)$' \| \
    72          .     : '\(.\)' 2>/dev/null ||
    73 echo X/"$0" |
    74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    75           /^X\/\(\/\/\)$/{ s//\1/; q; }
    76           /^X\/\(\/\).*/{ s//\1/; q; }
    77           s/.*/./; q'`
    78 
    79 
    80 # PATH needs CR, and LINENO needs CR and PATH.
     23  setopt NO_GLOB_SUBST
     24else
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
    8135# Avoid depending upon Character Ranges.
    8236as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9953fi
    10054
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     55# Support unset when possible.
     56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57  as_unset=unset
     58else
     59  as_unset=false
     60fi
     61
     62
     63# IFS
     64# We need space, tab and new line, in precisely that order.  Quoting is
     65# there to prevent editors from complaining about space-tab.
     66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67# splitting by setting IFS to empty value.)
     68as_nl='
     69'
     70IFS=" ""        $as_nl"
     71
     72# Find who we are.  Look in the path if we contain no directory separator.
     73case $0 in
     74  *[\\/]* ) as_myself=$0 ;;
     75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11276for as_dir in $PATH
    11377do
     
    11680  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11781done
    118 
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
     82IFS=$as_save_IFS
     83
     84     ;;
     85esac
     86# We did not find ourselves, most probably we were run as `sh COMMAND'
     87# in which case we are not to be found in the path.
     88if test "x$as_myself" = x; then
     89  as_myself=$0
     90fi
     91if test ! -f "$as_myself"; then
     92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93  { (exit 1); exit 1; }
     94fi
     95
     96# Work around bugs in pre-3.0 UWIN ksh.
     97for as_var in ENV MAIL MAILPATH
     98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99done
     100PS1='$ '
     101PS2='> '
     102PS4='+ '
     103
     104# NLS nuisances.
     105for as_var in \
     106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     108  LC_TELEPHONE LC_TIME
     109do
     110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     111    eval $as_var=C; export $as_var
     112  else
     113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125114  fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
     115done
     116
     117# Required to use basename.
     118if expr a : '\(a\)' >/dev/null 2>&1 &&
     119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     120  as_expr=expr
     121else
     122  as_expr=false
     123fi
     124
     125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     126  as_basename=basename
     127else
     128  as_basename=false
     129fi
     130
     131
     132# Name of the executable.
     133as_me=`$as_basename -- "$0" ||
     134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     135         X"$0" : 'X\(//\)$' \| \
     136         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     137echo X/"$0" |
     138    sed '/^.*\/\([^/][^/]*\)\/*$/{
     139            s//\1/
     140            q
     141          }
     142          /^X\/\(\/\/\)$/{
     143            s//\1/
     144            q
     145          }
     146          /^X\/\(\/\).*/{
     147            s//\1/
     148            q
     149          }
     150          s/.*/./; q'`
     151
     152# CDPATH.
     153$as_unset CDPATH
     154
     155
     156if test "x$CONFIG_SHELL" = x; then
     157  if (eval ":") 2>/dev/null; then
     158  as_have_required=yes
     159else
     160  as_have_required=no
     161fi
     162
     163  if test $as_have_required = yes &&     (eval ":
     164(as_func_return () {
     165  (exit \$1)
     166}
     167as_func_success () {
     168  as_func_return 0
     169}
     170as_func_failure () {
     171  as_func_return 1
     172}
     173as_func_ret_success () {
     174  return 0
     175}
     176as_func_ret_failure () {
     177  return 1
     178}
     179
     180exitcode=0
     181if as_func_success; then
     182  :
     183else
     184  exitcode=1
     185  echo as_func_success failed.
     186fi
     187
     188if as_func_failure; then
     189  exitcode=1
     190  echo as_func_failure succeeded.
     191fi
     192
     193if as_func_ret_success; then
     194  :
     195else
     196  exitcode=1
     197  echo as_func_ret_success failed.
     198fi
     199
     200if as_func_ret_failure; then
     201  exitcode=1
     202  echo as_func_ret_failure succeeded.
     203fi
     204
     205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     206  :
     207else
     208  exitcode=1
     209  echo positional parameters were not saved.
     210fi
     211
     212test \$exitcode = 0) || { (exit 1); exit 1; }
     213
     214(
     215  as_lineno_1=\$LINENO
     216  as_lineno_2=\$LINENO
     217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     219") 2> /dev/null; then
     220  :
     221else
     222  as_candidate_shells=
    132223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    135226  IFS=$as_save_IFS
    136227  test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138          case $as_dir in
     228  case $as_dir in
    139229         /*)
    140            if ("$as_dir/$as_base" -c '
     230           for as_base in sh bash ksh sh5; do
     231             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     232           done;;
     233       esac
     234done
     235IFS=$as_save_IFS
     236
     237
     238      for as_shell in $as_candidate_shells $SHELL; do
     239         # Try only shells that exist, to save several forks.
     240         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     241                { ("$as_shell") 2> /dev/null <<\_ASEOF
     242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     243  emulate sh
     244  NULLCMD=:
     245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     246  # is contrary to our usage.  Disable this feature.
     247  alias -g '${1+"$@"}'='"$@"'
     248  setopt NO_GLOB_SUBST
     249else
     250  case `(set -o) 2>/dev/null` in
     251  *posix*) set -o posix ;;
     252esac
     253
     254fi
     255
     256
     257:
     258_ASEOF
     259}; then
     260  CONFIG_SHELL=$as_shell
     261               as_have_required=yes
     262               if { "$as_shell" 2> /dev/null <<\_ASEOF
     263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     264  emulate sh
     265  NULLCMD=:
     266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     267  # is contrary to our usage.  Disable this feature.
     268  alias -g '${1+"$@"}'='"$@"'
     269  setopt NO_GLOB_SUBST
     270else
     271  case `(set -o) 2>/dev/null` in
     272  *posix*) set -o posix ;;
     273esac
     274
     275fi
     276
     277
     278:
     279(as_func_return () {
     280  (exit $1)
     281}
     282as_func_success () {
     283  as_func_return 0
     284}
     285as_func_failure () {
     286  as_func_return 1
     287}
     288as_func_ret_success () {
     289  return 0
     290}
     291as_func_ret_failure () {
     292  return 1
     293}
     294
     295exitcode=0
     296if as_func_success; then
     297  :
     298else
     299  exitcode=1
     300  echo as_func_success failed.
     301fi
     302
     303if as_func_failure; then
     304  exitcode=1
     305  echo as_func_failure succeeded.
     306fi
     307
     308if as_func_ret_success; then
     309  :
     310else
     311  exitcode=1
     312  echo as_func_ret_success failed.
     313fi
     314
     315if as_func_ret_failure; then
     316  exitcode=1
     317  echo as_func_ret_failure succeeded.
     318fi
     319
     320if ( set x; as_func_ret_success y && test x = "$1" ); then
     321  :
     322else
     323  exitcode=1
     324  echo positional parameters were not saved.
     325fi
     326
     327test $exitcode = 0) || { (exit 1); exit 1; }
     328
     329(
    141330  as_lineno_1=$LINENO
    142331  as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144332  test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148              CONFIG_SHELL=$as_dir/$as_base
    149              export CONFIG_SHELL
    150              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151            fi;;
    152          esac
    153        done
    154 done
    155 ;;
    156   esac
     333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     334
     335_ASEOF
     336}; then
     337  break
     338fi
     339
     340fi
     341
     342      done
     343
     344      if test "x$CONFIG_SHELL" != x; then
     345  for as_var in BASH_ENV ENV
     346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     347        done
     348        export CONFIG_SHELL
     349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     350fi
     351
     352
     353    if test $as_have_required = no; then
     354  echo This script requires a shell more modern than all the
     355      echo shells that I found on your system.  Please install a
     356      echo modern shell, or manually run the script under such a
     357      echo shell if you do have one.
     358      { (exit 1); exit 1; }
     359fi
     360
     361
     362fi
     363
     364fi
     365
     366
     367
     368(eval "as_func_return () {
     369  (exit \$1)
     370}
     371as_func_success () {
     372  as_func_return 0
     373}
     374as_func_failure () {
     375  as_func_return 1
     376}
     377as_func_ret_success () {
     378  return 0
     379}
     380as_func_ret_failure () {
     381  return 1
     382}
     383
     384exitcode=0
     385if as_func_success; then
     386  :
     387else
     388  exitcode=1
     389  echo as_func_success failed.
     390fi
     391
     392if as_func_failure; then
     393  exitcode=1
     394  echo as_func_failure succeeded.
     395fi
     396
     397if as_func_ret_success; then
     398  :
     399else
     400  exitcode=1
     401  echo as_func_ret_success failed.
     402fi
     403
     404if as_func_ret_failure; then
     405  exitcode=1
     406  echo as_func_ret_failure succeeded.
     407fi
     408
     409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     410  :
     411else
     412  exitcode=1
     413  echo positional parameters were not saved.
     414fi
     415
     416test \$exitcode = 0") || {
     417  echo No shell found that supports shell functions.
     418  echo Please tell autoconf@gnu.org about your system,
     419  echo including any error possibly output before this
     420  echo message
     421}
     422
     423
     424
     425  as_lineno_1=$LINENO
     426  as_lineno_2=$LINENO
     427  test "x$as_lineno_1" != "x$as_lineno_2" &&
     428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    157429
    158430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159431  # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
     432  # line-number line after each line using $LINENO; the second 'sed'
     433  # does the real work.  The second script uses 'N' to pair each
     434  # line-number line with the line containing $LINENO, and appends
     435  # trailing '-' during substitution so that $LINENO is not a special
     436  # case at line end.
    164437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
     438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     439  # E. McMahon (1931-1989) for sed's syntax.  :-)
     440  sed -n '
     441    p
     442    /[$]LINENO/=
     443  ' <$as_myself |
    167444    sed '
     445      s/[$]LINENO.*/&-/
     446      t lineno
     447      b
     448      :lineno
    168449      N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     450      :loop
     451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    172452      t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
     453      s/-\n.*//
    175454    ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
     455  chmod +x "$as_me.lineno" ||
    177456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178457   { (exit 1); exit 1; }; }
     
    180459  # Don't try to exec as it changes $[0], causing all sort of problems
    181460  # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
     461  # original and so on.  Autoconf is especially sensitive to this).
     462  . "./$as_me.lineno"
    184463  # Exit status is that of the last command.
    185464  exit
     
    187466
    188467
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='      ' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194 esac
    195 
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
     468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     469  as_dirname=dirname
     470else
     471  as_dirname=false
     472fi
     473
     474ECHO_C= ECHO_N= ECHO_T=
     475case `echo -n x` in
     476-n*)
     477  case `echo 'x\c'` in
     478  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
     479  *)   ECHO_C='\c';;
     480  esac;;
     481*)
     482  ECHO_N='-n';;
     483esac
     484
     485if expr a : '\(a\)' >/dev/null 2>&1 &&
     486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    197487  as_expr=expr
    198488else
     
    201491
    202492rm -f conf$$ conf$$.exe conf$$.file
     493if test -d conf$$.dir; then
     494  rm -f conf$$.dir/conf$$.file
     495else
     496  rm -f conf$$.dir
     497  mkdir conf$$.dir
     498fi
    203499echo >conf$$.file
    204500if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
     501  as_ln_s='ln -s'
     502  # ... but there are two gotchas:
     503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     505  # In both cases, we have to default to `cp -p'.
     506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    209507    as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213508elif ln conf$$.file conf$$ 2>/dev/null; then
    214509  as_ln_s=ln
     
    216511  as_ln_s='cp -p'
    217512fi
    218 rm -f conf$$ conf$$.exe conf$$.file
     513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     514rmdir conf$$.dir 2>/dev/null
    219515
    220516if mkdir -p . 2>/dev/null; then
     
    225521fi
    226522
    227 as_executable_p="test -f"
     523if test -x / >/dev/null 2>&1; then
     524  as_test_x='test -x'
     525else
     526  if ls -dL / >/dev/null 2>&1; then
     527    as_ls_L_option=L
     528  else
     529    as_ls_L_option=
     530  fi
     531  as_test_x='
     532    eval sh -c '\''
     533      if test -d "$1"; then
     534        test -d "$1/.";
     535      else
     536        case $1 in
     537        -*)set "./$1";;
     538        esac;
     539        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     540        ???[sx]*):;;*)false;;esac;fi
     541    '\'' sh
     542  '
     543fi
     544as_executable_p=$as_test_x
    228545
    229546# Sed expression to map a string onto a valid CPP name.
     
    234551
    235552
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS="   $as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
     553
     554exec 7<&0 </dev/null 6>&1
    245555
    246556# Name of the host.
     
    249559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    250560
    251 exec 6>&1
    252 
    253561#
    254562# Initializations.
    255563#
    256564ac_default_prefix=/usr/local
     565ac_clean_files=
    257566ac_config_libobj_dir=.
     567LIBOBJS=
    258568cross_compiling=no
    259569subdirs=
     
    262572SHELL=${CONFIG_SHELL-/bin/sh}
    263573
    264 # Maximum number of lines to put in a shell here document.
    265 # This variable seems obsolete.  It should probably be removed, and
    266 # only ac_max_sed_lines should be used.
    267 : ${ac_max_here_lines=38}
    268 
    269574# Identity of this package.
    270575PACKAGE_NAME='MacPorts'
    271576PACKAGE_TARNAME='macports'
    272 PACKAGE_VERSION='1.5'
    273 PACKAGE_STRING='MacPorts 1.5'
     577PACKAGE_VERSION='1.6'
     578PACKAGE_STRING='MacPorts 1.6'
    274579PACKAGE_BUGREPORT='macports-dev@lists.macosforge.org'
    275580
     
    278583ac_includes_default="\
    279584#include <stdio.h>
    280 #if HAVE_SYS_TYPES_H
     585#ifdef HAVE_SYS_TYPES_H
    281586# include <sys/types.h>
    282587#endif
    283 #if HAVE_SYS_STAT_H
     588#ifdef HAVE_SYS_STAT_H
    284589# include <sys/stat.h>
    285590#endif
    286 #if STDC_HEADERS
     591#ifdef STDC_HEADERS
    287592# include <stdlib.h>
    288593# include <stddef.h>
    289594#else
    290 # if HAVE_STDLIB_H
     595# ifdef HAVE_STDLIB_H
    291596#  include <stdlib.h>
    292597# endif
    293598#endif
    294 #if HAVE_STRING_H
    295 # if !STDC_HEADERS && HAVE_MEMORY_H
     599#ifdef HAVE_STRING_H
     600# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    296601#  include <memory.h>
    297602# endif
    298603# include <string.h>
    299604#endif
    300 #if HAVE_STRINGS_H
     605#ifdef HAVE_STRINGS_H
    301606# include <strings.h>
    302607#endif
    303 #if HAVE_INTTYPES_H
     608#ifdef HAVE_INTTYPES_H
    304609# include <inttypes.h>
    305 #else
    306 # if HAVE_STDINT_H
    307 #  include <stdint.h>
    308 # endif
    309610#endif
    310 #if HAVE_UNISTD_H
     611#ifdef HAVE_STDINT_H
     612# include <stdint.h>
     613#endif
     614#ifdef HAVE_UNISTD_H
    311615# include <unistd.h>
    312616#endif"
    313617
    314618ac_default_prefix=/opt/local
    315 ac_subdirs_all="$ac_subdirs_all src/thread2.6"
    316 ac_subdirs_all="$ac_subdirs_all src/sqlite-3.1.3"
    317 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT OBJC OBJCFLAGS ac_ct_OBJC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE LN_S MTREE CVS SVN RSYNC HAVE_LAUNCHD LAUNCHCTL XCODEBUILD BZIP2 XAR OPEN TAR GNUTAR TAR_CMD CFLAGS_QUICHEEATERS CFLAGS_WERROR OBJCPP EGREP OBJC_RUNTIME OBJC_RUNTIME_FLAGS OBJC_LIBS OBJC_PTHREAD_LIBS OBJC_PTHREAD_CFLAGS HAVE_FRAMEWORK_COREFOUNDATION HAVE_FRAMEWORK_SYSTEMCONFIGURATION HAVE_FRAMEWORK_IOKIT HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER REPLACEMENT_PROGS EXTRA_PROGS DPORTSDIR PORTCONFIGDIR DSTUSR DSTGRP DSTMODE CPP READLINK_IS_NOT_P1003_1A MD5_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_INCLUDES TCLSH TCL_PACKAGE_DIR CURL_CONFIG CFLAGS_LIBCURL LDFLAGS_LIBCURL subdirs SQLITE3_LIBS SQLITE3_DIR OUR_INCLUDED_PACKAGES INCLUDES CFLAGS_DEBUG CFLAGS_OPTIMIZE TCL_DEFS STLIB_LD SHLIB_LD SHLIB_CFLAGS SHLIB_LDFLAGS SHLIB_SUFFIX TCL_CC prefix_expanded PORTCONFIGDIR_EXPANDED localstatedir_expanded LIBOBJS LTLIBOBJS'
     619ac_subst_vars='SHELL
     620PATH_SEPARATOR
     621PACKAGE_NAME
     622PACKAGE_TARNAME
     623PACKAGE_VERSION
     624PACKAGE_STRING
     625PACKAGE_BUGREPORT
     626exec_prefix
     627prefix
     628program_transform_name
     629bindir
     630sbindir
     631libexecdir
     632datarootdir
     633datadir
     634sysconfdir
     635sharedstatedir
     636localstatedir
     637includedir
     638oldincludedir
     639docdir
     640infodir
     641htmldir
     642dvidir
     643pdfdir
     644psdir
     645libdir
     646localedir
     647mandir
     648DEFS
     649ECHO_C
     650ECHO_N
     651ECHO_T
     652LIBS
     653build_alias
     654host_alias
     655target_alias
     656build
     657build_cpu
     658build_vendor
     659build_os
     660host
     661host_cpu
     662host_vendor
     663host_os
     664target
     665target_cpu
     666target_vendor
     667target_os
     668CC
     669CFLAGS
     670LDFLAGS
     671CPPFLAGS
     672ac_ct_CC
     673EXEEXT
     674OBJEXT
     675OBJC
     676OBJCFLAGS
     677ac_ct_OBJC
     678INSTALL_PROGRAM
     679INSTALL_SCRIPT
     680INSTALL_DATA
     681SET_MAKE
     682LN_S
     683MTREE
     684CVS
     685SVN
     686RSYNC
     687HAVE_LAUNCHD
     688LAUNCHCTL
     689XCODEBUILD
     690BZIP2
     691XAR
     692OPEN
     693TAR
     694GNUTAR
     695TAR_CMD
     696CFLAGS_QUICHEEATERS
     697CFLAGS_WERROR
     698OBJCPP
     699GREP
     700EGREP
     701OBJC_RUNTIME
     702OBJC_RUNTIME_FLAGS
     703OBJC_LIBS
     704OBJC_PTHREAD_LIBS
     705OBJC_PTHREAD_CFLAGS
     706HAVE_FRAMEWORK_COREFOUNDATION
     707HAVE_FRAMEWORK_SYSTEMCONFIGURATION
     708HAVE_FRAMEWORK_IOKIT
     709HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER
     710REPLACEMENT_PROGS
     711EXTRA_PROGS
     712PORTSDIR
     713MPCONFIGDIR
     714DSTUSR
     715DSTGRP
     716DSTMODE
     717CPP
     718READLINK_IS_NOT_P1003_1A
     719MD5_LIBS
     720XMKMF
     721X_CFLAGS
     722X_PRE_LIBS
     723X_LIBS
     724X_EXTRA_LIBS
     725TCL_VERSION
     726TCL_BIN_DIR
     727TCL_SRC_DIR
     728TCL_LIB_FILE
     729TCL_LIB_FLAG
     730TCL_LIB_SPEC
     731TCL_STUB_LIB_FILE
     732TCL_STUB_LIB_FLAG
     733TCL_STUB_LIB_SPEC
     734TCL_INCLUDES
     735TCLSH
     736TCL_PACKAGE_DIR
     737CURL_CONFIG
     738CFLAGS_LIBCURL
     739LDFLAGS_LIBCURL
     740subdirs
     741SQLITE3_LIBS
     742SQLITE3_DIR
     743OUR_INCLUDED_PACKAGES
     744INCLUDES
     745CFLAGS_DEBUG
     746CFLAGS_OPTIMIZE
     747TCL_DEFS
     748STLIB_LD
     749SHLIB_LD
     750SHLIB_CFLAGS
     751SHLIB_LDFLAGS
     752SHLIB_SUFFIX
     753TCL_CC
     754prefix_expanded
     755MPCONFIGDIR_EXPANDED
     756localstatedir_expanded
     757LIBOBJS
     758LTLIBOBJS'
    318759ac_subst_files=''
     760      ac_precious_vars='build_alias
     761host_alias
     762target_alias
     763CC
     764CFLAGS
     765LDFLAGS
     766LIBS
     767CPPFLAGS
     768OBJC
     769OBJCFLAGS
     770MTREE
     771CVS
     772SVN
     773RSYNC
     774TAR
     775GNUTAR
     776BZIP2
     777XAR
     778OPEN
     779OBJCPP
     780CPP
     781XMKMF'
     782ac_subdirs_all='src/thread2.6
     783src/sqlite-3.1.3'
    319784
    320785# Initialize some variables set by options.
     
    343808# by default will actually change.
    344809# Use braces instead of parens because sh, perl, etc. also accept them.
     810# (The list follows the same order as the GNU Coding Standards.)
    345811bindir='${exec_prefix}/bin'
    346812sbindir='${exec_prefix}/sbin'
    347813libexecdir='${exec_prefix}/libexec'
    348 datadir='${prefix}/share'
     814datarootdir='${prefix}/share'
     815datadir='${datarootdir}'
    349816sysconfdir='${prefix}/etc'
    350817sharedstatedir='${prefix}/com'
    351818localstatedir='${prefix}/var'
    352 libdir='${exec_prefix}/lib'
    353819includedir='${prefix}/include'
    354820oldincludedir='/usr/include'
    355 infodir='${prefix}/info'
    356 mandir='${prefix}/man'
     821docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     822infodir='${datarootdir}/info'
     823htmldir='${docdir}'
     824dvidir='${docdir}'
     825pdfdir='${docdir}'
     826psdir='${docdir}'
     827libdir='${exec_prefix}/lib'
     828localedir='${datarootdir}/locale'
     829mandir='${datarootdir}/man'
    357830
    358831ac_prev=
     832ac_dashdash=
    359833for ac_option
    360834do
    361835  # If the previous option needs an argument, assign it.
    362836  if test -n "$ac_prev"; then
    363     eval "$ac_prev=\$ac_option"
     837    eval $ac_prev=\$ac_option
    364838    ac_prev=
    365839    continue
    366840  fi
    367841
    368   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     842  case $ac_option in
     843  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     844  *)    ac_optarg=yes ;;
     845  esac
    369846
    370847  # Accept the important Cygnus configure options, so we can diagnose typos.
    371848
    372   case $ac_option in
     849  case $ac_dashdash$ac_option in
     850  --)
     851    ac_dashdash=yes ;;
    373852
    374853  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    392871    cache_file=config.cache ;;
    393872
    394   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     873  -datadir | --datadir | --datadi | --datad)
    395874    ac_prev=datadir ;;
    396   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    397   | --da=*)
     875  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    398876    datadir=$ac_optarg ;;
     877
     878  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     879  | --dataroo | --dataro | --datar)
     880    ac_prev=datarootdir ;;
     881  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     882  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     883    datarootdir=$ac_optarg ;;
    399884
    400885  -disable-* | --disable-*)
    401886    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    402887    # Reject names that are not valid shell variable names.
    403     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     888    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    404889      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    405890   { (exit 1); exit 1; }; }
    406     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    407     eval "enable_$ac_feature=no" ;;
     891    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     892    eval enable_$ac_feature=no ;;
     893
     894  -docdir | --docdir | --docdi | --doc | --do)
     895    ac_prev=docdir ;;
     896  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     897    docdir=$ac_optarg ;;
     898
     899  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     900    ac_prev=dvidir ;;
     901  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     902    dvidir=$ac_optarg ;;
    408903
    409904  -enable-* | --enable-*)
    410905    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    411906    # Reject names that are not valid shell variable names.
    412     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     907    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    413908      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    414909   { (exit 1); exit 1; }; }
    415     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    416     case $ac_option in
    417       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    418       *) ac_optarg=yes ;;
    419     esac
    420     eval "enable_$ac_feature='$ac_optarg'" ;;
     910    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     911    eval enable_$ac_feature=\$ac_optarg ;;
    421912
    422913  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    445936    host_alias=$ac_optarg ;;
    446937
     938  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     939    ac_prev=htmldir ;;
     940  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     941  | --ht=*)
     942    htmldir=$ac_optarg ;;
     943
    447944  -includedir | --includedir | --includedi | --included | --include \
    448945  | --includ | --inclu | --incl | --inc)
     
    469966    libexecdir=$ac_optarg ;;
    470967
     968  -localedir | --localedir | --localedi | --localed | --locale)
     969    ac_prev=localedir ;;
     970  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     971    localedir=$ac_optarg ;;
     972
    471973  -localstatedir | --localstatedir | --localstatedi | --localstated \
    472   | --localstate | --localstat | --localsta | --localst \
    473   | --locals | --local | --loca | --loc | --lo)
     974  | --localstate | --localstat | --localsta | --localst | --locals)
    474975    ac_prev=localstatedir ;;
    475976  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    476   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    477   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     977  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    478978    localstatedir=$ac_optarg ;;
    479979
     
    5401040    program_transform_name=$ac_optarg ;;
    5411041
     1042  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1043    ac_prev=pdfdir ;;
     1044  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1045    pdfdir=$ac_optarg ;;
     1046
     1047  -psdir | --psdir | --psdi | --psd | --ps)
     1048    ac_prev=psdir ;;
     1049  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1050    psdir=$ac_optarg ;;
     1051
    5421052  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    5431053  | -silent | --silent | --silen | --sile | --sil)
     
    5921102    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5931103    # Reject names that are not valid shell variable names.
    594     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1104    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5951105      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5961106   { (exit 1); exit 1; }; }
    597     ac_package=`echo $ac_package| sed 's/-/_/g'`
    598     case $ac_option in
    599       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    600       *) ac_optarg=yes ;;
    601     esac
    602     eval "with_$ac_package='$ac_optarg'" ;;
     1107    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1108    eval with_$ac_package=\$ac_optarg ;;
    6031109
    6041110  -without-* | --without-*)
    6051111    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6061112    # Reject names that are not valid shell variable names.
    607     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1113    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6081114      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6091115   { (exit 1); exit 1; }; }
    610     ac_package=`echo $ac_package | sed 's/-/_/g'`
    611     eval "with_$ac_package=no" ;;
     1116    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1117    eval with_$ac_package=no ;;
    6121118
    6131119  --x)
     
    6401146      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6411147   { (exit 1); exit 1; }; }
    642     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    643     eval "$ac_envvar='$ac_optarg'"
     1148    eval $ac_envvar=\$ac_optarg
    6441149    export $ac_envvar ;;
    6451150
     
    6611166fi
    6621167
    663 # Be sure to have absolute paths.
    664 for ac_var in exec_prefix prefix
     1168# Be sure to have absolute directory names.
     1169for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1170                datadir sysconfdir sharedstatedir localstatedir includedir \
     1171                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1172                libdir localedir mandir
    6651173do
    666   eval ac_val=$`echo $ac_var`
     1174  eval ac_val=\$$ac_var
    6671175  case $ac_val in
    668     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    669     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    670    { (exit 1); exit 1; }; };;
     1176    [\\/$]* | ?:[\\/]* )  continue;;
     1177    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6711178  esac
    672 done
    673 
    674 # Be sure to have absolute paths.
    675 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    676               localstatedir libdir includedir oldincludedir infodir mandir
    677 do
    678   eval ac_val=$`echo $ac_var`
    679   case $ac_val in
    680     [\\/$]* | ?:[\\/]* ) ;;
    681     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    682    { (exit 1); exit 1; }; };;
    683   esac
     1179  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1180   { (exit 1); exit 1; }; }
    6841181done
    6851182
     
    7081205
    7091206
     1207ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1208ac_ls_di=`ls -di .` &&
     1209ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1210  { echo "$as_me: error: Working directory cannot be determined" >&2
     1211   { (exit 1); exit 1; }; }
     1212test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1213  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1214   { (exit 1); exit 1; }; }
     1215
     1216
    7101217# Find the source files, if location was not specified.
    7111218if test -z "$srcdir"; then
    7121219  ac_srcdir_defaulted=yes
    713   # Try the directory containing this script, then its parent.
    714   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1220  # Try the directory containing this script, then the parent directory.
     1221  ac_confdir=`$as_dirname -- "$0" ||
    7151222$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7161223         X"$0" : 'X\(//\)[^/]' \| \
    7171224         X"$0" : 'X\(//\)$' \| \
    718          X"$0" : 'X\(/\)' \| \
    719          .     : '\(.\)' 2>/dev/null ||
     1225         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7201226echo X"$0" |
    721     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    722           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    723           /^X\(\/\/\)$/{ s//\1/; q; }
    724           /^X\(\/\).*/{ s//\1/; q; }
    725           s/.*/./; q'`
     1227    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1228            s//\1/
     1229            q
     1230          }
     1231          /^X\(\/\/\)[^/].*/{
     1232            s//\1/
     1233            q
     1234          }
     1235          /^X\(\/\/\)$/{
     1236            s//\1/
     1237            q
     1238          }
     1239          /^X\(\/\).*/{
     1240            s//\1/
     1241            q
     1242          }
     1243          s/.*/./; q'`
    7261244  srcdir=$ac_confdir
    727   if test ! -r $srcdir/$ac_unique_file; then
     1245  if test ! -r "$srcdir/$ac_unique_file"; then
    7281246    srcdir=..
    7291247  fi
     
    7311249  ac_srcdir_defaulted=no
    7321250fi
    733 if test ! -r $srcdir/$ac_unique_file; then
    734   if test "$ac_srcdir_defaulted" = yes; then
    735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     1251if test ! -r "$srcdir/$ac_unique_file"; then
     1252  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1253  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7361254   { (exit 1); exit 1; }; }
    737   else
    738     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1255fi
     1256ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1257ac_abs_confdir=`(
     1258        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7391259   { (exit 1); exit 1; }; }
    740   fi
    741 fi
    742 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    743   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    744    { (exit 1); exit 1; }; }
    745 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    746 ac_env_build_alias_set=${build_alias+set}
    747 ac_env_build_alias_value=$build_alias
    748 ac_cv_env_build_alias_set=${build_alias+set}
    749 ac_cv_env_build_alias_value=$build_alias
    750 ac_env_host_alias_set=${host_alias+set}
    751 ac_env_host_alias_value=$host_alias
    752 ac_cv_env_host_alias_set=${host_alias+set}
    753 ac_cv_env_host_alias_value=$host_alias
    754 ac_env_target_alias_set=${target_alias+set}
    755 ac_env_target_alias_value=$target_alias
    756 ac_cv_env_target_alias_set=${target_alias+set}
    757 ac_cv_env_target_alias_value=$target_alias
    758 ac_env_CC_set=${CC+set}
    759 ac_env_CC_value=$CC
    760 ac_cv_env_CC_set=${CC+set}
    761 ac_cv_env_CC_value=$CC
    762 ac_env_CFLAGS_set=${CFLAGS+set}
    763 ac_env_CFLAGS_value=$CFLAGS
    764 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    765 ac_cv_env_CFLAGS_value=$CFLAGS
    766 ac_env_LDFLAGS_set=${LDFLAGS+set}
    767 ac_env_LDFLAGS_value=$LDFLAGS
    768 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    769 ac_cv_env_LDFLAGS_value=$LDFLAGS
    770 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    771 ac_env_CPPFLAGS_value=$CPPFLAGS
    772 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    773 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    774 ac_env_OBJC_set=${OBJC+set}
    775 ac_env_OBJC_value=$OBJC
    776 ac_cv_env_OBJC_set=${OBJC+set}
    777 ac_cv_env_OBJC_value=$OBJC
    778 ac_env_OBJCFLAGS_set=${OBJCFLAGS+set}
    779 ac_env_OBJCFLAGS_value=$OBJCFLAGS
    780 ac_cv_env_OBJCFLAGS_set=${OBJCFLAGS+set}
    781 ac_cv_env_OBJCFLAGS_value=$OBJCFLAGS
    782 ac_env_MTREE_set=${MTREE+set}
    783 ac_env_MTREE_value=$MTREE
    784 ac_cv_env_MTREE_set=${MTREE+set}
    785 ac_cv_env_MTREE_value=$MTREE
    786 ac_env_CVS_set=${CVS+set}
    787 ac_env_CVS_value=$CVS
    788 ac_cv_env_CVS_set=${CVS+set}
    789 ac_cv_env_CVS_value=$CVS
    790 ac_env_SVN_set=${SVN+set}
    791 ac_env_SVN_value=$SVN
    792 ac_cv_env_SVN_set=${SVN+set}
    793 ac_cv_env_SVN_value=$SVN
    794 ac_env_RSYNC_set=${RSYNC+set}
    795 ac_env_RSYNC_value=$RSYNC
    796 ac_cv_env_RSYNC_set=${RSYNC+set}
    797 ac_cv_env_RSYNC_value=$RSYNC
    798 ac_env_TAR_set=${TAR+set}
    799 ac_env_TAR_value=$TAR
    800 ac_cv_env_TAR_set=${TAR+set}
    801 ac_cv_env_TAR_value=$TAR
    802 ac_env_GNUTAR_set=${GNUTAR+set}
    803 ac_env_GNUTAR_value=$GNUTAR
    804 ac_cv_env_GNUTAR_set=${GNUTAR+set}
    805 ac_cv_env_GNUTAR_value=$GNUTAR
    806 ac_env_BZIP2_set=${BZIP2+set}
    807 ac_env_BZIP2_value=$BZIP2
    808 ac_cv_env_BZIP2_set=${BZIP2+set}
    809 ac_cv_env_BZIP2_value=$BZIP2
    810 ac_env_XAR_set=${XAR+set}
    811 ac_env_XAR_value=$XAR
    812 ac_cv_env_XAR_set=${XAR+set}
    813 ac_cv_env_XAR_value=$XAR
    814 ac_env_OPEN_set=${OPEN+set}
    815 ac_env_OPEN_value=$OPEN
    816 ac_cv_env_OPEN_set=${OPEN+set}
    817 ac_cv_env_OPEN_value=$OPEN
    818 ac_env_OBJCPP_set=${OBJCPP+set}
    819 ac_env_OBJCPP_value=$OBJCPP
    820 ac_cv_env_OBJCPP_set=${OBJCPP+set}
    821 ac_cv_env_OBJCPP_value=$OBJCPP
    822 ac_env_CPP_set=${CPP+set}
    823 ac_env_CPP_value=$CPP
    824 ac_cv_env_CPP_set=${CPP+set}
    825 ac_cv_env_CPP_value=$CPP
     1260        pwd)`
     1261# When building in place, set srcdir=.
     1262if test "$ac_abs_confdir" = "$ac_pwd"; then
     1263  srcdir=.
     1264fi
     1265# Remove unnecessary trailing slashes from srcdir.
     1266# Double slashes in file names in object file debugging info
     1267# mess up M-x gdb in Emacs.
     1268case $srcdir in
     1269*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1270esac
     1271for ac_var in $ac_precious_vars; do
     1272  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1273  eval ac_env_${ac_var}_value=\$${ac_var}
     1274  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1275  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1276done
    8261277
    8271278#
     
    8321283  # This message is too long to be a string in the A/UX 3.1 sh.
    8331284  cat <<_ACEOF
    834 \`configure' configures MacPorts 1.5 to adapt to many kinds of systems.
     1285\`configure' configures MacPorts 1.6 to adapt to many kinds of systems.
    8351286
    8361287Usage: $0 [OPTION]... [VAR=VALUE]...
     
    8521303      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8531304
    854 _ACEOF
    855 
    856   cat <<_ACEOF
    8571305Installation directories:
    8581306  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8721320  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8731321  --libexecdir=DIR       program executables [EPREFIX/libexec]
    874   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8751322  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8761323  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8791326  --includedir=DIR       C header files [PREFIX/include]
    8801327  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    881   --infodir=DIR          info documentation [PREFIX/info]
    882   --mandir=DIR           man documentation [PREFIX/man]
     1328  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1329  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1330  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1331  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1332  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1333  --docdir=DIR           documentation root [DATAROOTDIR/doc/macports]
     1334  --htmldir=DIR          html documentation [DOCDIR]
     1335  --dvidir=DIR           dvi documentation [DOCDIR]
     1336  --pdfdir=DIR           pdf documentation [DOCDIR]
     1337  --psdir=DIR            ps documentation [DOCDIR]
    8831338_ACEOF
    8841339
     
    8981353if test -n "$ac_init_help"; then
    8991354  case $ac_init_help in
    900      short | recursive ) echo "Configuration of MacPorts 1.5:";;
     1355     short | recursive ) echo "Configuration of MacPorts 1.6:";;
    9011356   esac
    9021357  cat <<\_ACEOF
     
    9131368  --with-objc-runtime     Specify either "GNU" or "apple"
    9141369  --with-objc-foundation  Specify either "GNUstep" or "apple"
    915   --with-dports-dir=DIR   Specify alternate dports directory
     1370  --with-ports-dir=DIR    Specify alternate ports directory
    9161371  --with-install-user=USER
    9171372                          Specify user ownership of installed files
     
    9351390  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    9361391              nonstandard directory <lib dir>
    937   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    938               headers in a nonstandard directory <include dir>
     1392  LIBS        libraries to pass to the linker, e.g. -l<library>
     1393  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1394              you have headers in a nonstandard directory <include dir>
    9391395  OBJC        Objective C compiler command
    9401396  OBJCFLAGS   Objective C compiler flags
     
    9501406  OBJCPP      Objective C preprocessor
    9511407  CPP         C preprocessor
     1408  XMKMF       Path to xmkmf, Makefile generator for X Window System
    9521409
    9531410Use these variables to override the choices made by `configure' or to help
     
    9561413Report bugs to <macports-dev@lists.macosforge.org>.
    9571414_ACEOF
     1415ac_status=$?
    9581416fi
    9591417
    9601418if test "$ac_init_help" = "recursive"; then
    9611419  # If there are subdirs, report their specific --help.
    962   ac_popdir=`pwd`
    9631420  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    964     test -d $ac_dir || continue
     1421    test -d "$ac_dir" || continue
    9651422    ac_builddir=.
    9661423
    967 if test "$ac_dir" != .; then
     1424case "$ac_dir" in
     1425.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1426*)
    9681427  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    969   # A "../" for each directory in $ac_dir_suffix.
    970   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    971 else
    972   ac_dir_suffix= ac_top_builddir=
    973 fi
     1428  # A ".." for each directory in $ac_dir_suffix.
     1429  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1430  case $ac_top_builddir_sub in
     1431  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1432  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1433  esac ;;
     1434esac
     1435ac_abs_top_builddir=$ac_pwd
     1436ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1437# for backward compatibility:
     1438ac_top_builddir=$ac_top_build_prefix
    9741439
    9751440case $srcdir in
    976   .)  # No --srcdir option.  We are building in place.
     1441  .)  # We are building in place.
    9771442    ac_srcdir=.
    978     if test -z "$ac_top_builddir"; then
    979        ac_top_srcdir=.
    980     else
    981        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    982     fi ;;
    983   [\\/]* | ?:[\\/]* )  # Absolute path.
     1443    ac_top_srcdir=$ac_top_builddir_sub
     1444    ac_abs_top_srcdir=$ac_pwd ;;
     1445  [\\/]* | ?:[\\/]* )  # Absolute name.
    9841446    ac_srcdir=$srcdir$ac_dir_suffix;
    985     ac_top_srcdir=$srcdir ;;
    986   *) # Relative path.
    987     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    988     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    989 esac
    990 
    991 # Do not use `cd foo && pwd` to compute absolute paths, because
    992 # the directories may not exist.
    993 case `pwd` in
    994 .) ac_abs_builddir="$ac_dir";;
    995 *)
    996   case "$ac_dir" in
    997   .) ac_abs_builddir=`pwd`;;
    998   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    999   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    1000   esac;;
    1001 esac
    1002 case $ac_abs_builddir in
    1003 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    1004 *)
    1005   case ${ac_top_builddir}. in
    1006   .) ac_abs_top_builddir=$ac_abs_builddir;;
    1007   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    1008   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    1009   esac;;
    1010 esac
    1011 case $ac_abs_builddir in
    1012 .) ac_abs_srcdir=$ac_srcdir;;
    1013 *)
    1014   case $ac_srcdir in
    1015   .) ac_abs_srcdir=$ac_abs_builddir;;
    1016   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    1017   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    1018   esac;;
    1019 esac
    1020 case $ac_abs_builddir in
    1021 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    1022 *)
    1023   case $ac_top_srcdir in
    1024   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    1025   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    1026   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    1027   esac;;
    1028 esac
    1029 
    1030     cd $ac_dir
    1031     # Check for guested configure; otherwise get Cygnus style configure.
    1032     if test -f $ac_srcdir/configure.gnu; then
    1033       echo
    1034       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    1035     elif test -f $ac_srcdir/configure; then
    1036       echo
    1037       $SHELL $ac_srcdir/configure  --help=recursive
    1038     elif test -f $ac_srcdir/configure.ac ||
    1039            test -f $ac_srcdir/configure.in; then
    1040       echo
    1041       $ac_configure --help
     1447    ac_top_srcdir=$srcdir
     1448    ac_abs_top_srcdir=$srcdir ;;
     1449  *) # Relative name.
     1450    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1451    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1452    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1453esac
     1454ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1455
     1456    cd "$ac_dir" || { ac_status=$?; continue; }
     1457    # Check for guested configure.
     1458    if test -f "$ac_srcdir/configure.gnu"; then
     1459      echo &&
     1460      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1461    elif test -f "$ac_srcdir/configure"; then
     1462      echo &&
     1463      $SHELL "$ac_srcdir/configure" --help=recursive
    10421464    else
    10431465      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1044     fi
    1045     cd $ac_popdir
     1466    fi || ac_status=$?
     1467    cd "$ac_pwd" || { ac_status=$?; break; }
    10461468  done
    10471469fi
    10481470
    1049 test -n "$ac_init_help" && exit 0
     1471test -n "$ac_init_help" && exit $ac_status
    10501472if $ac_init_version; then
    10511473  cat <<\_ACEOF
    1052 MacPorts configure 1.5
    1053 generated by GNU Autoconf 2.59
    1054 
    1055 Copyright (C) 2003 Free Software Foundation, Inc.
     1474MacPorts configure 1.6
     1475generated by GNU Autoconf 2.61
     1476
     1477Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     14782002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    10561479This configure script is free software; the Free Software Foundation
    10571480gives unlimited permission to copy, distribute and modify it.
    10581481_ACEOF
    1059   exit 0
    1060 fi
    1061 exec 5>config.log
    1062 cat >&5 <<_ACEOF
     1482  exit
     1483fi
     1484cat >config.log <<_ACEOF
    10631485This file contains any messages produced by compilers while
    10641486running configure, to aid debugging if configure makes a mistake.
    10651487
    1066 It was created by MacPorts $as_me 1.5, which was
    1067 generated by GNU Autoconf 2.59.  Invocation command line was
     1488It was created by MacPorts $as_me 1.6, which was
     1489generated by GNU Autoconf 2.61.  Invocation command line was
    10681490
    10691491  $ $0 $@
    10701492
    10711493_ACEOF
     1494exec 5>>config.log
    10721495{
    10731496cat <<_ASUNAME
     
    10881511/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10891512/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1090 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1513/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10911514/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10921515/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    11021525  echo "PATH: $as_dir"
    11031526done
     1527IFS=$as_save_IFS
    11041528
    11051529} >&5
     
    11231547ac_configure_args0=
    11241548ac_configure_args1=
    1125 ac_sep=
    11261549ac_must_keep_next=false
    11271550for ac_pass in 1 2
     
    11341557    | -silent | --silent | --silen | --sile | --sil)
    11351558      continue ;;
    1136     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1559    *\'*)
    11371560      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    11381561    esac
     
    11561579        esac
    11571580      fi
    1158       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1159       # Get rid of the leading space.
    1160       ac_sep=" "
     1581      ac_configure_args="$ac_configure_args '$ac_arg'"
    11611582      ;;
    11621583    esac
     
    11691590# config.log.  We remove comments because anyway the quotes in there
    11701591# would cause problems or look ugly.
    1171 # WARNING: Be sure not to use single quotes in there, as some shells,
    1172 # such as our DU 5.0 friend, will then `close' the trap.
     1592# WARNING: Use '\'' to represent an apostrophe within the trap.
     1593# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11731594trap 'exit_status=$?
    11741595  # Save into config.log some information that might help in debugging.
     
    11831604    echo
    11841605    # The following way of writing the cache mishandles newlines in values,
    1185 {
     1606(
     1607  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1608    eval ac_val=\$$ac_var
     1609    case $ac_val in #(
     1610    *${as_nl}*)
     1611      case $ac_var in #(
     1612      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1613echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1614      esac
     1615      case $ac_var in #(
     1616      _ | IFS | as_nl) ;; #(
     1617      *) $as_unset $ac_var ;;
     1618      esac ;;
     1619    esac
     1620  done
    11861621  (set) 2>&1 |
    1187     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1188     *ac_space=\ *)
     1622    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1623    *${as_nl}ac_space=\ *)
    11891624      sed -n \
    1190         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1191           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1625        "s/'\''/'\''\\\\'\'''\''/g;
     1626          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1627      ;; #(
     1628    *)
     1629      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11921630      ;;
    1193     *)
    1194       sed -n \
    1195         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1196       ;;
    1197     esac;
    1198 }
     1631    esac |
     1632    sort
     1633)
    11991634    echo
    12001635
     
    12071642    for ac_var in $ac_subst_vars
    12081643    do
    1209       eval ac_val=$`echo $ac_var`
    1210       echo "$ac_var='"'"'$ac_val'"'"'"
     1644      eval ac_val=\$$ac_var
     1645      case $ac_val in
     1646      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1647      esac
     1648      echo "$ac_var='\''$ac_val'\''"
    12111649    done | sort
    12121650    echo
     
    12141652    if test -n "$ac_subst_files"; then
    12151653      cat <<\_ASBOX
    1216 ## ------------- ##
    1217 ## Output files. ##
    1218 ## ------------- ##
     1654## ------------------- ##
     1655## File substitutions. ##
     1656## ------------------- ##
    12191657_ASBOX
    12201658      echo
    12211659      for ac_var in $ac_subst_files
    12221660      do
    1223         eval ac_val=$`echo $ac_var`
    1224         echo "$ac_var='"'"'$ac_val'"'"'"
     1661        eval ac_val=\$$ac_var
     1662        case $ac_val in
     1663        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1664        esac
     1665        echo "$ac_var='\''$ac_val'\''"
    12251666      done | sort
    12261667      echo
     
    12341675_ASBOX
    12351676      echo
    1236       sed "/^$/d" confdefs.h | sort
     1677      cat confdefs.h
    12371678      echo
    12381679    fi
     
    12411682    echo "$as_me: exit $exit_status"
    12421683  } >&5
    1243   rm -f core *.core &&
    1244   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1684  rm -f core *.core core.conftest.* &&
     1685    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    12451686    exit $exit_status
    1246      ' 0
     1687' 0
    12471688for ac_signal in 1 2 13 15; do
    12481689  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    12511692
    12521693# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1253 rm -rf conftest* confdefs.h
    1254 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1255 echo >confdefs.h
     1694rm -f -r conftest* confdefs.h
    12561695
    12571696# Predefined preprocessor variables.
     
    12841723# Let the site file select an alternate cache file if it wants to.
    12851724# Prefer explicitly selected file to automatically selected ones.
    1286 if test -z "$CONFIG_SITE"; then
    1287   if test "x$prefix" != xNONE; then
    1288     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1289   else
    1290     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1291   fi
    1292 fi
    1293 for ac_site_file in $CONFIG_SITE; do
     1725if test -n "$CONFIG_SITE"; then
     1726  set x "$CONFIG_SITE"
     1727elif test "x$prefix" != xNONE; then
     1728  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1729else
     1730  set x "$ac_default_prefix/share/config.site" \
     1731        "$ac_default_prefix/etc/config.site"
     1732fi
     1733shift
     1734for ac_site_file
     1735do
    12941736  if test -r "$ac_site_file"; then
    12951737    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    13071749echo "$as_me: loading cache $cache_file" >&6;}
    13081750    case $cache_file in
    1309       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1310       *)                      . ./$cache_file;;
     1751      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1752      *)                      . "./$cache_file";;
    13111753    esac
    13121754  fi
     
    13201762# value.
    13211763ac_cache_corrupted=false
    1322 for ac_var in `(set) 2>&1 |
    1323                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1764for ac_var in $ac_precious_vars; do
    13241765  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    13251766  eval ac_new_set=\$ac_env_${ac_var}_set
    1326   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1327   eval ac_new_val="\$ac_env_${ac_var}_value"
     1767  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1768  eval ac_new_val=\$ac_env_${ac_var}_value
    13281769  case $ac_old_set,$ac_new_set in
    13291770    set,)
     
    13501791  if test "$ac_new_set" = set; then
    13511792    case $ac_new_val in
    1352     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1353       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1793    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    13541794    *) ac_arg=$ac_var=$ac_new_val ;;
    13551795    esac
     
    13681808fi
    13691809
     1810
     1811
     1812
     1813
     1814
     1815
     1816
     1817
     1818
     1819
     1820
     1821
     1822
     1823
     1824
     1825
     1826
     1827
     1828
     1829
     1830
     1831
     1832
     1833
    13701834ac_ext=c
    13711835ac_cpp='$CPP $CPPFLAGS'
     
    13761840
    13771841
    1378 
    1379 
    1380 
    1381 
    1382 
    1383 
    1384 
    1385 
    1386 
    1387 
    1388 
    1389 
    1390 
    1391 
    1392 
    1393 
    1394 
    1395 
    1396 
    1397 
    1398 
    1399 
    1400 
    1401 
    1402 
    1403           ac_config_headers="$ac_config_headers src/config.h"
     1842ac_config_headers="$ac_config_headers src/config.h"
    14041843
    14051844ac_aux_dir=
    1406 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1407   if test -f $ac_dir/install-sh; then
     1845for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     1846  if test -f "$ac_dir/install-sh"; then
    14081847    ac_aux_dir=$ac_dir
    14091848    ac_install_sh="$ac_aux_dir/install-sh -c"
    14101849    break
    1411   elif test -f $ac_dir/install.sh; then
     1850  elif test -f "$ac_dir/install.sh"; then
    14121851    ac_aux_dir=$ac_dir
    14131852    ac_install_sh="$ac_aux_dir/install.sh -c"
    14141853    break
    1415   elif test -f $ac_dir/shtool; then
     1854  elif test -f "$ac_dir/shtool"; then
    14161855    ac_aux_dir=$ac_dir
    14171856    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    14201859done
    14211860if test -z "$ac_aux_dir"; then
    1422   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1423 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1861  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     1862echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    14241863   { (exit 1); exit 1; }; }
    14251864fi
    1426 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1427 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1428 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1865
     1866# These three variables are undocumented and unsupported,
     1867# and are intended to be withdrawn in a future Autoconf release.
     1868# They can cause serious problems if a builder's source tree is in a directory
     1869# whose full name contains unusual characters.
     1870ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     1871ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     1872ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     1873
    14291874
    14301875# Make sure we can run config.sub.
    1431 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1432   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1433 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     1876$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     1877  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     1878echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    14341879   { (exit 1); exit 1; }; }
    14351880
    1436 echo "$as_me:$LINENO: checking build system type" >&5
    1437 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     1881{ echo "$as_me:$LINENO: checking build system type" >&5
     1882echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    14381883if test "${ac_cv_build+set}" = set; then
    14391884  echo $ECHO_N "(cached) $ECHO_C" >&6
    14401885else
    1441   ac_cv_build_alias=$build_alias
    1442 test -z "$ac_cv_build_alias" &&
    1443   ac_cv_build_alias=`$ac_config_guess`
    1444 test -z "$ac_cv_build_alias" &&
     1886  ac_build_alias=$build_alias
     1887test "x$ac_build_alias" = x &&
     1888  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     1889test "x$ac_build_alias" = x &&
    14451890  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    14461891echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    14471892   { (exit 1); exit 1; }; }
    1448 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1449   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1450 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     1893ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     1894  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     1895echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    14511896   { (exit 1); exit 1; }; }
    14521897
    14531898fi
    1454 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1455 echo "${ECHO_T}$ac_cv_build" >&6
     1899{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     1900echo "${ECHO_T}$ac_cv_build" >&6; }
     1901case $ac_cv_build in
     1902*-*-*) ;;
     1903*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     1904echo "$as_me: error: invalid value of canonical build" >&2;}
     1905   { (exit 1); exit 1; }; };;
     1906esac
    14561907build=$ac_cv_build
    1457 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1458 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1459 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1460 
    1461 
    1462 echo "$as_me:$LINENO: checking host system type" >&5
    1463 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     1908ac_save_IFS=$IFS; IFS='-'
     1909set x $ac_cv_build
     1910shift
     1911build_cpu=$1
     1912build_vendor=$2
     1913shift; shift
     1914# Remember, the first character of IFS is used to create $*,
     1915# except with old shells:
     1916build_os=$*
     1917IFS=$ac_save_IFS
     1918case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     1919
     1920
     1921{ echo "$as_me:$LINENO: checking host system type" >&5
     1922echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    14641923if test "${ac_cv_host+set}" = set; then
    14651924  echo $ECHO_N "(cached) $ECHO_C" >&6
    14661925else
    1467   ac_cv_host_alias=$host_alias
    1468 test -z "$ac_cv_host_alias" &&
    1469   ac_cv_host_alias=$ac_cv_build_alias
    1470 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    1471   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    1472 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     1926  if test "x$host_alias" = x; then
     1927  ac_cv_host=$ac_cv_build
     1928else
     1929  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     1930    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     1931echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    14731932   { (exit 1); exit 1; }; }
    1474 
    1475 fi
    1476 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    1477 echo "${ECHO_T}$ac_cv_host" >&6
     1933fi
     1934
     1935fi
     1936{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     1937echo "${ECHO_T}$ac_cv_host" >&6; }
     1938case $ac_cv_host in
     1939*-*-*) ;;
     1940*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     1941echo "$as_me: error: invalid value of canonical host" >&2;}
     1942   { (exit 1); exit 1; }; };;
     1943esac
    14781944host=$ac_cv_host
    1479 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1480 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1481 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1482 
    1483 
    1484 echo "$as_me:$LINENO: checking target system type" >&5
    1485 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     1945ac_save_IFS=$IFS; IFS='-'
     1946set x $ac_cv_host
     1947shift
     1948host_cpu=$1
     1949host_vendor=$2
     1950shift; shift
     1951# Remember, the first character of IFS is used to create $*,
     1952# except with old shells:
     1953host_os=$*
     1954IFS=$ac_save_IFS
     1955case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     1956
     1957
     1958{ echo "$as_me:$LINENO: checking target system type" >&5
     1959echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    14861960if test "${ac_cv_target+set}" = set; then
    14871961  echo $ECHO_N "(cached) $ECHO_C" >&6
    14881962else
    1489   ac_cv_target_alias=$target_alias
    1490 test "x$ac_cv_target_alias" = "x" &&
    1491   ac_cv_target_alias=$ac_cv_host_alias
    1492 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    1493   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    1494 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     1963  if test "x$target_alias" = x; then
     1964  ac_cv_target=$ac_cv_host
     1965else
     1966  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     1967    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     1968echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    14951969   { (exit 1); exit 1; }; }
    1496 
    1497 fi
    1498 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    1499 echo "${ECHO_T}$ac_cv_target" >&6
     1970fi
     1971
     1972fi
     1973{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     1974echo "${ECHO_T}$ac_cv_target" >&6; }
     1975case $ac_cv_target in
     1976*-*-*) ;;
     1977*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     1978echo "$as_me: error: invalid value of canonical target" >&2;}
     1979   { (exit 1); exit 1; }; };;
     1980esac
    15001981target=$ac_cv_target
    1501 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1502 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1503 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1982ac_save_IFS=$IFS; IFS='-'
     1983set x $ac_cv_target
     1984shift
     1985target_cpu=$1
     1986target_vendor=$2
     1987shift; shift
     1988# Remember, the first character of IFS is used to create $*,
     1989# except with old shells:
     1990target_os=$*
     1991IFS=$ac_save_IFS
     1992case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    15041993
    15051994
     
    15112000  program_prefix=${target_alias}-
    15122001
    1513 # Check user PATH for DP paths, and remove as necessary.
     2002# Check user PATH for MP paths, and remove as necessary.
    15142003
    15152004        oldprefix=$prefix
     
    15452034  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15462035set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1547 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2036{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2037echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15492038if test "${ac_cv_prog_CC+set}" = set; then
    15502039  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15592048  test -z "$as_dir" && as_dir=.
    15602049  for ac_exec_ext in '' $ac_executable_extensions; do
    1561   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15622051    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    15632052    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15662055done
    15672056done
     2057IFS=$as_save_IFS
    15682058
    15692059fi
     
    15712061CC=$ac_cv_prog_CC
    15722062if test -n "$CC"; then
    1573   echo "$as_me:$LINENO: result: $CC" >&5
    1574 echo "${ECHO_T}$CC" >&6
    1575 else
    1576   echo "$as_me:$LINENO: result: no" >&5
    1577 echo "${ECHO_T}no" >&6
    1578 fi
     2063  { echo "$as_me:$LINENO: result: $CC" >&5
     2064echo "${ECHO_T}$CC" >&6; }
     2065else
     2066  { echo "$as_me:$LINENO: result: no" >&5
     2067echo "${ECHO_T}no" >&6; }
     2068fi
     2069
    15792070
    15802071fi
     
    15832074  # Extract the first word of "gcc", so it can be a program name with args.
    15842075set dummy gcc; ac_word=$2
    1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2076{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2077echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15872078if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    15882079  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15972088  test -z "$as_dir" && as_dir=.
    15982089  for ac_exec_ext in '' $ac_executable_extensions; do
    1599   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16002091    ac_cv_prog_ac_ct_CC="gcc"
    16012092    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    16042095done
    16052096done
     2097IFS=$as_save_IFS
    16062098
    16072099fi
     
    16092101ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16102102if test -n "$ac_ct_CC"; then
    1611   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1612 echo "${ECHO_T}$ac_ct_CC" >&6
    1613 else
    1614   echo "$as_me:$LINENO: result: no" >&5
    1615 echo "${ECHO_T}no" >&6
    1616 fi
    1617 
    1618   CC=$ac_ct_CC
     2103  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2104echo "${ECHO_T}$ac_ct_CC" >&6; }
     2105else
     2106  { echo "$as_me:$LINENO: result: no" >&5
     2107echo "${ECHO_T}no" >&6; }
     2108fi
     2109
     2110  if test "x$ac_ct_CC" = x; then
     2111    CC=""
     2112  else
     2113    case $cross_compiling:$ac_tool_warned in
     2114yes:)
     2115{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2116whose name does not start with the host triplet.  If you think this
     2117configuration is useful to you, please write to autoconf@gnu.org." >&5
     2118echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2119whose name does not start with the host triplet.  If you think this
     2120configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2121ac_tool_warned=yes ;;
     2122esac
     2123    CC=$ac_ct_CC
     2124  fi
    16192125else
    16202126  CC="$ac_cv_prog_CC"
     
    16222128
    16232129if test -z "$CC"; then
    1624   if test -n "$ac_tool_prefix"; then
    1625   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2130          if test -n "$ac_tool_prefix"; then
     2131    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    16262132set dummy ${ac_tool_prefix}cc; ac_word=$2
    1627 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2133{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2134echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16292135if test "${ac_cv_prog_CC+set}" = set; then
    16302136  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16392145  test -z "$as_dir" && as_dir=.
    16402146  for ac_exec_ext in '' $ac_executable_extensions; do
    1641   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2147  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16422148    ac_cv_prog_CC="${ac_tool_prefix}cc"
    16432149    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    16462152done
    16472153done
     2154IFS=$as_save_IFS
    16482155
    16492156fi
     
    16512158CC=$ac_cv_prog_CC
    16522159if test -n "$CC"; then
    1653   echo "$as_me:$LINENO: result: $CC" >&5
    1654 echo "${ECHO_T}$CC" >&6
    1655 else
    1656   echo "$as_me:$LINENO: result: no" >&5
    1657 echo "${ECHO_T}no" >&6
    1658 fi
    1659 
    1660 fi
    1661 if test -z "$ac_cv_prog_CC"; then
    1662   ac_ct_CC=$CC
    1663   # Extract the first word of "cc", so it can be a program name with args.
    1664 set dummy cc; ac_word=$2
    1665 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1668   echo $ECHO_N "(cached) $ECHO_C" >&6
    1669 else
    1670   if test -n "$ac_ct_CC"; then
    1671   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1672 else
    1673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1674 for as_dir in $PATH
    1675 do
    1676   IFS=$as_save_IFS
    1677   test -z "$as_dir" && as_dir=.
    1678   for ac_exec_ext in '' $ac_executable_extensions; do
    1679   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1680     ac_cv_prog_ac_ct_CC="cc"
    1681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1682     break 2
     2160  { echo "$as_me:$LINENO: result: $CC" >&5
     2161echo "${ECHO_T}$CC" >&6; }
     2162else
     2163  { echo "$as_me:$LINENO: result: no" >&5
     2164echo "${ECHO_T}no" >&6; }
     2165fi
     2166
     2167
    16832168  fi
    1684 done
    1685 done
    1686 
    1687 fi
    1688 fi
    1689 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1690 if test -n "$ac_ct_CC"; then
    1691   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1692 echo "${ECHO_T}$ac_ct_CC" >&6
    1693 else
    1694   echo "$as_me:$LINENO: result: no" >&5
    1695 echo "${ECHO_T}no" >&6
    1696 fi
    1697 
    1698   CC=$ac_ct_CC
    1699 else
    1700   CC="$ac_cv_prog_CC"
    1701 fi
    1702 
    17032169fi
    17042170if test -z "$CC"; then
    17052171  # Extract the first word of "cc", so it can be a program name with args.
    17062172set dummy cc; ac_word=$2
    1707 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2173{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2174echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17092175if test "${ac_cv_prog_CC+set}" = set; then
    17102176  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17202186  test -z "$as_dir" && as_dir=.
    17212187  for ac_exec_ext in '' $ac_executable_extensions; do
    1722   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2188  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17232189    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    17242190       ac_prog_rejected=yes
     
    17312197done
    17322198done
     2199IFS=$as_save_IFS
    17332200
    17342201if test $ac_prog_rejected = yes; then
     
    17482215CC=$ac_cv_prog_CC
    17492216if test -n "$CC"; then
    1750   echo "$as_me:$LINENO: result: $CC" >&5
    1751 echo "${ECHO_T}$CC" >&6
    1752 else
    1753   echo "$as_me:$LINENO: result: no" >&5
    1754 echo "${ECHO_T}no" >&6
    1755 fi
     2217  { echo "$as_me:$LINENO: result: $CC" >&5
     2218echo "${ECHO_T}$CC" >&6; }
     2219else
     2220  { echo "$as_me:$LINENO: result: no" >&5
     2221echo "${ECHO_T}no" >&6; }
     2222fi
     2223
    17562224
    17572225fi
    17582226if test -z "$CC"; then
    17592227  if test -n "$ac_tool_prefix"; then
    1760   for ac_prog in cl
     2228  for ac_prog in cl.exe
    17612229  do
    17622230    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    17632231set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2232{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2233echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17662234if test "${ac_cv_prog_CC+set}" = set; then
    17672235  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17762244  test -z "$as_dir" && as_dir=.
    17772245  for ac_exec_ext in '' $ac_executable_extensions; do
    1778   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2246  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17792247    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    17802248    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17832251done
    17842252done
     2253IFS=$as_save_IFS
    17852254
    17862255fi
     
    17882257CC=$ac_cv_prog_CC
    17892258if test -n "$CC"; then
    1790   echo "$as_me:$LINENO: result: $CC" >&5
    1791 echo "${ECHO_T}$CC" >&6
    1792 else
    1793   echo "$as_me:$LINENO: result: no" >&5
    1794 echo "${ECHO_T}no" >&6
    1795 fi
     2259  { echo "$as_me:$LINENO: result: $CC" >&5
     2260echo "${ECHO_T}$CC" >&6; }
     2261else
     2262  { echo "$as_me:$LINENO: result: no" >&5
     2263echo "${ECHO_T}no" >&6; }
     2264fi
     2265
    17962266
    17972267    test -n "$CC" && break
     
    18002270if test -z "$CC"; then
    18012271  ac_ct_CC=$CC
    1802   for ac_prog in cl
     2272  for ac_prog in cl.exe
    18032273do
    18042274  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18052275set dummy $ac_prog; ac_word=$2
    1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2276{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2277echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    18082278if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    18092279  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18182288  test -z "$as_dir" && as_dir=.
    18192289  for ac_exec_ext in '' $ac_executable_extensions; do
    1820   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2290  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18212291    ac_cv_prog_ac_ct_CC="$ac_prog"
    18222292    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    18252295done
    18262296done
     2297IFS=$as_save_IFS
    18272298
    18282299fi
     
    18302301ac_ct_CC=$ac_cv_prog_ac_ct_CC
    18312302if test -n "$ac_ct_CC"; then
    1832   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1833 echo "${ECHO_T}$ac_ct_CC" >&6
    1834 else
    1835   echo "$as_me:$LINENO: result: no" >&5
    1836 echo "${ECHO_T}no" >&6
    1837 fi
     2303  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2304echo "${ECHO_T}$ac_ct_CC" >&6; }
     2305else
     2306  { echo "$as_me:$LINENO: result: no" >&5
     2307echo "${ECHO_T}no" >&6; }
     2308fi
     2309
    18382310
    18392311  test -n "$ac_ct_CC" && break
    18402312done
    18412313
    1842   CC=$ac_ct_CC
     2314  if test "x$ac_ct_CC" = x; then
     2315    CC=""
     2316  else
     2317    case $cross_compiling:$ac_tool_warned in
     2318yes:)
     2319{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2320whose name does not start with the host triplet.  If you think this
     2321configuration is useful to you, please write to autoconf@gnu.org." >&5
     2322echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2323whose name does not start with the host triplet.  If you think this
     2324configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2325ac_tool_warned=yes ;;
     2326esac
     2327    CC=$ac_ct_CC
     2328  fi
    18432329fi
    18442330
     
    18532339
    18542340# Provide some information about the compiler.
    1855 echo "$as_me:$LINENO:" \
    1856      "checking for C compiler version" >&5
     2341echo "$as_me:$LINENO: checking for C compiler version" >&5
    18572342ac_compiler=`set X $ac_compile; echo $2`
    1858 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1859   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2343{ (ac_try="$ac_compiler --version >&5"
     2344case "(($ac_try" in
     2345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2346  *) ac_try_echo=$ac_try;;
     2347esac
     2348eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2349  (eval "$ac_compiler --version >&5") 2>&5
    18602350  ac_status=$?
    18612351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18622352  (exit $ac_status); }
    1863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1864   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2353{ (ac_try="$ac_compiler -v >&5"
     2354case "(($ac_try" in
     2355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2356  *) ac_try_echo=$ac_try;;
     2357esac
     2358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2359  (eval "$ac_compiler -v >&5") 2>&5
    18652360  ac_status=$?
    18662361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18672362  (exit $ac_status); }
    1868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1869   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2363{ (ac_try="$ac_compiler -V >&5"
     2364case "(($ac_try" in
     2365  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2366  *) ac_try_echo=$ac_try;;
     2367esac
     2368eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2369  (eval "$ac_compiler -V >&5") 2>&5
    18702370  ac_status=$?
    18712371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18922392# It will help us diagnose broken compilers, and finding out an intuition
    18932393# of exeext.
    1894 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1895 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2394{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2395echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    18962396ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1897 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1898   (eval $ac_link_default) 2>&5
     2397#
     2398# List of possible output files, starting from the most likely.
     2399# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2400# only as a last resort.  b.out is created by i960 compilers.
     2401ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2402#
     2403# The IRIX 6 linker writes into existing files which may not be
     2404# executable, retaining their permissions.  Remove them first so a
     2405# subsequent execution test works.
     2406ac_rmfiles=
     2407for ac_file in $ac_files
     2408do
     2409  case $ac_file in
     2410    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2411    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2412  esac
     2413done
     2414rm -f $ac_rmfiles
     2415
     2416if { (ac_try="$ac_link_default"
     2417case "(($ac_try" in
     2418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2419  *) ac_try_echo=$ac_try;;
     2420esac
     2421eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2422  (eval "$ac_link_default") 2>&5
    18992423  ac_status=$?
    19002424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19012425  (exit $ac_status); }; then
    1902   # Find the output, starting from the most likely.  This scheme is
    1903 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1904 # resort.
    1905 
    1906 # Be careful to initialize this variable, since it used to be cached.
    1907 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1908 ac_cv_exeext=
    1909 # b.out is created by i960 compilers.
    1910 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2426  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2427# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2428# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2429# so that the user can short-circuit this test for compilers unknown to
     2430# Autoconf.
     2431for ac_file in $ac_files ''
    19112432do
    19122433  test -f "$ac_file" || continue
    19132434  case $ac_file in
    1914     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1915         ;;
    1916     conftest.$ac_ext )
    1917         # This is the source file.
     2435    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    19182436        ;;
    19192437    [ab].out )
     
    19222440        break;;
    19232441    *.* )
    1924         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1925         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1926         # but it would be cool to find out if it's true.  Does anybody
    1927         # maintain Libtool? --akim.
    1928         export ac_cv_exeext
     2442        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2443        then :; else
     2444           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2445        fi
     2446        # We set ac_cv_exeext here because the later test for it is not
     2447        # safe: cross compilers may not add the suffix if given an `-o'
     2448        # argument, so we may need to know it at that point already.
     2449        # Even if this section looks crufty: it has the advantage of
     2450        # actually working.
    19292451        break;;
    19302452    * )
     
    19322454  esac
    19332455done
    1934 else
     2456test "$ac_cv_exeext" = no && ac_cv_exeext=
     2457
     2458else
     2459  ac_file=''
     2460fi
     2461
     2462{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2463echo "${ECHO_T}$ac_file" >&6; }
     2464if test -z "$ac_file"; then
    19352465  echo "$as_me: failed program was:" >&5
    19362466sed 's/^/| /' conftest.$ac_ext >&5
     
    19442474
    19452475ac_exeext=$ac_cv_exeext
    1946 echo "$as_me:$LINENO: result: $ac_file" >&5
    1947 echo "${ECHO_T}$ac_file" >&6
    1948 
    1949 # Check the compiler produces executables we can run.  If not, either
     2476
     2477# Check that the compiler produces executables we can run.  If not, either
    19502478# the compiler is broken, or we cross compile.
    1951 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1952 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2479{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2480echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    19532481# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    19542482# If not cross compiling, check that we can run a simple program.
    19552483if test "$cross_compiling" != yes; then
    19562484  if { ac_try='./$ac_file'
    1957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1958   (eval $ac_try) 2>&5
     2485  { (case "(($ac_try" in
     2486  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2487  *) ac_try_echo=$ac_try;;
     2488esac
     2489eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2490  (eval "$ac_try") 2>&5
    19592491  ac_status=$?
    19602492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19752507  fi
    19762508fi
    1977 echo "$as_me:$LINENO: result: yes" >&5
    1978 echo "${ECHO_T}yes" >&6
     2509{ echo "$as_me:$LINENO: result: yes" >&5
     2510echo "${ECHO_T}yes" >&6; }
    19792511
    19802512rm -f a.out a.exe conftest$ac_cv_exeext b.out
    19812513ac_clean_files=$ac_clean_files_save
    1982 # Check the compiler produces executables we can run.  If not, either
     2514# Check that the compiler produces executables we can run.  If not, either
    19832515# the compiler is broken, or we cross compile.
    1984 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1985 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1986 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1987 echo "${ECHO_T}$cross_compiling" >&6
    1988 
    1989 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1990 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1992   (eval $ac_link) 2>&5
     2516{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2517echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2518{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2519echo "${ECHO_T}$cross_compiling" >&6; }
     2520
     2521{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2522echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2523if { (ac_try="$ac_link"
     2524case "(($ac_try" in
     2525  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2526  *) ac_try_echo=$ac_try;;
     2527esac
     2528eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2529  (eval "$ac_link") 2>&5
    19932530  ac_status=$?
    19942531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    20012538  test -f "$ac_file" || continue
    20022539  case $ac_file in
    2003     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2540    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    20042541    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2005           export ac_cv_exeext
    20062542          break;;
    20072543    * ) break;;
     
    20172553
    20182554rm -f conftest$ac_cv_exeext
    2019 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2020 echo "${ECHO_T}$ac_cv_exeext" >&6
     2555{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2556echo "${ECHO_T}$ac_cv_exeext" >&6; }
    20212557
    20222558rm -f conftest.$ac_ext
    20232559EXEEXT=$ac_cv_exeext
    20242560ac_exeext=$EXEEXT
    2025 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2026 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2561{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2562echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    20272563if test "${ac_cv_objext+set}" = set; then
    20282564  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20442580_ACEOF
    20452581rm -f conftest.o conftest.obj
    2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2047   (eval $ac_compile) 2>&5
     2582if { (ac_try="$ac_compile"
     2583case "(($ac_try" in
     2584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2585  *) ac_try_echo=$ac_try;;
     2586esac
     2587eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2588  (eval "$ac_compile") 2>&5
    20482589  ac_status=$?
    20492590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20502591  (exit $ac_status); }; then
    2051   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2592  for ac_file in conftest.o conftest.obj conftest.*; do
     2593  test -f "$ac_file" || continue;
    20522594  case $ac_file in
    2053     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2595    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    20542596    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    20552597       break;;
     
    20692611rm -f conftest.$ac_cv_objext conftest.$ac_ext
    20702612fi
    2071 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2072 echo "${ECHO_T}$ac_cv_objext" >&6
     2613{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2614echo "${ECHO_T}$ac_cv_objext" >&6; }
    20732615OBJEXT=$ac_cv_objext
    20742616ac_objext=$OBJEXT
    2075 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2076 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2617{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2618echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    20772619if test "${ac_cv_c_compiler_gnu+set}" = set; then
    20782620  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20972639_ACEOF
    20982640rm -f conftest.$ac_objext
    2099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2100   (eval $ac_compile) 2>conftest.er1
     2641if { (ac_try="$ac_compile"
     2642case "(($ac_try" in
     2643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2644  *) ac_try_echo=$ac_try;;
     2645esac
     2646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2647  (eval "$ac_compile") 2>conftest.er1
    21012648  ac_status=$?
    21022649  grep -v '^ *+' conftest.er1 >conftest.err
     
    21042651  cat conftest.err >&5
    21052652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2106   (exit $ac_status); } &&
    2107          { ac_try='test -z "$ac_c_werror_flag"
    2108                          || test ! -s conftest.err'
    2109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2110   (eval $ac_try) 2>&5
    2111   ac_status=$?
    2112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2113   (exit $ac_status); }; } &&
    2114          { ac_try='test -s conftest.$ac_objext'
    2115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2116   (eval $ac_try) 2>&5
    2117   ac_status=$?
    2118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2119   (exit $ac_status); }; }; then
     2653  (exit $ac_status); } && {
     2654         test -z "$ac_c_werror_flag" ||
     2655         test ! -s conftest.err
     2656       } && test -s conftest.$ac_objext; then
    21202657  ac_compiler_gnu=yes
    21212658else
     
    21232660sed 's/^/| /' conftest.$ac_ext >&5
    21242661
    2125 ac_compiler_gnu=no
    2126 fi
    2127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2662        ac_compiler_gnu=no
     2663fi
     2664
     2665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    21282666ac_cv_c_compiler_gnu=$ac_compiler_gnu
    21292667
    21302668fi
    2131 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2132 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2669{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2670echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    21332671GCC=`test $ac_compiler_gnu = yes && echo yes`
    21342672ac_test_CFLAGS=${CFLAGS+set}
    21352673ac_save_CFLAGS=$CFLAGS
    2136 CFLAGS="-g"
    2137 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2674{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2675echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    21392676if test "${ac_cv_prog_cc_g+set}" = set; then
    21402677  echo $ECHO_N "(cached) $ECHO_C" >&6
    21412678else
    2142   cat >conftest.$ac_ext <<_ACEOF
     2679  ac_save_c_werror_flag=$ac_c_werror_flag
     2680   ac_c_werror_flag=yes
     2681   ac_cv_prog_cc_g=no
     2682   CFLAGS="-g"
     2683   cat >conftest.$ac_ext <<_ACEOF
    21432684/* confdefs.h.  */
    21442685_ACEOF
     
    21562697_ACEOF
    21572698rm -f conftest.$ac_objext
    2158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2159   (eval $ac_compile) 2>conftest.er1
     2699if { (ac_try="$ac_compile"
     2700case "(($ac_try" in
     2701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2702  *) ac_try_echo=$ac_try;;
     2703esac
     2704eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2705  (eval "$ac_compile") 2>conftest.er1
    21602706  ac_status=$?
    21612707  grep -v '^ *+' conftest.er1 >conftest.err
     
    21632709  cat conftest.err >&5
    21642710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2165   (exit $ac_status); } &&
    2166          { ac_try='test -z "$ac_c_werror_flag"
    2167                          || test ! -s conftest.err'
    2168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2169   (eval $ac_try) 2>&5
    2170   ac_status=$?
    2171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2172   (exit $ac_status); }; } &&
    2173          { ac_try='test -s conftest.$ac_objext'
    2174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2175   (eval $ac_try) 2>&5
    2176   ac_status=$?
    2177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2178   (exit $ac_status); }; }; then
     2711  (exit $ac_status); } && {
     2712         test -z "$ac_c_werror_flag" ||
     2713         test ! -s conftest.err
     2714       } && test -s conftest.$ac_objext; then
    21792715  ac_cv_prog_cc_g=yes
    21802716else
     
    21822718sed 's/^/| /' conftest.$ac_ext >&5
    21832719
    2184 ac_cv_prog_cc_g=no
    2185 fi
    2186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2187 fi
    2188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2720        CFLAGS=""
     2721      cat >conftest.$ac_ext <<_ACEOF
     2722/* confdefs.h.  */
     2723_ACEOF
     2724cat confdefs.h >>conftest.$ac_ext
     2725cat >>conftest.$ac_ext <<_ACEOF
     2726/* end confdefs.h.  */
     2727
     2728int
     2729main ()
     2730{
     2731
     2732  ;
     2733  return 0;
     2734}
     2735_ACEOF
     2736rm -f conftest.$ac_objext
     2737if { (ac_try="$ac_compile"
     2738case "(($ac_try" in
     2739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2740  *) ac_try_echo=$ac_try;;
     2741esac
     2742eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2743  (eval "$ac_compile") 2>conftest.er1
     2744  ac_status=$?
     2745  grep -v '^ *+' conftest.er1 >conftest.err
     2746  rm -f conftest.er1
     2747  cat conftest.err >&5
     2748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2749  (exit $ac_status); } && {
     2750         test -z "$ac_c_werror_flag" ||
     2751         test ! -s conftest.err
     2752       } && test -s conftest.$ac_objext; then
     2753  :
     2754else
     2755  echo "$as_me: failed program was:" >&5
     2756sed 's/^/| /' conftest.$ac_ext >&5
     2757
     2758        ac_c_werror_flag=$ac_save_c_werror_flag
     2759         CFLAGS="-g"
     2760         cat >conftest.$ac_ext <<_ACEOF
     2761/* confdefs.h.  */
     2762_ACEOF
     2763cat confdefs.h >>conftest.$ac_ext
     2764cat >>conftest.$ac_ext <<_ACEOF
     2765/* end confdefs.h.  */
     2766
     2767int
     2768main ()
     2769{
     2770
     2771  ;
     2772  return 0;
     2773}
     2774_ACEOF
     2775rm -f conftest.$ac_objext
     2776if { (ac_try="$ac_compile"
     2777case "(($ac_try" in
     2778  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2779  *) ac_try_echo=$ac_try;;
     2780esac
     2781eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2782  (eval "$ac_compile") 2>conftest.er1
     2783  ac_status=$?
     2784  grep -v '^ *+' conftest.er1 >conftest.err
     2785  rm -f conftest.er1
     2786  cat conftest.err >&5
     2787  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2788  (exit $ac_status); } && {
     2789         test -z "$ac_c_werror_flag" ||
     2790         test ! -s conftest.err
     2791       } && test -s conftest.$ac_objext; then
     2792  ac_cv_prog_cc_g=yes
     2793else
     2794  echo "$as_me: failed program was:" >&5
     2795sed 's/^/| /' conftest.$ac_ext >&5
     2796
     2797
     2798fi
     2799
     2800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2801fi
     2802
     2803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2804fi
     2805
     2806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2807   ac_c_werror_flag=$ac_save_c_werror_flag
     2808fi
     2809{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2810echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    21902811if test "$ac_test_CFLAGS" = set; then
    21912812  CFLAGS=$ac_save_CFLAGS
     
    22032824  fi
    22042825fi
    2205 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2206 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2207 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2826{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2827echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2828if test "${ac_cv_prog_cc_c89+set}" = set; then
    22082829  echo $ECHO_N "(cached) $ECHO_C" >&6
    22092830else
    2210   ac_cv_prog_cc_stdc=no
     2831  ac_cv_prog_cc_c89=no
    22112832ac_save_CC=$CC
    22122833cat >conftest.$ac_ext <<_ACEOF
     
    22422863   function prototypes and stuff, but not '\xHH' hex character constants.
    22432864   These don't provoke an error unfortunately, instead are silently treated
    2244    as 'x'.  The following induces an error, until -std1 is added to get
     2865   as 'x'.  The following induces an error, until -std is added to get
    22452866   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    22462867   array size at least.  It's necessary to write '\x00'==0 to get something
    2247    that's true only with -std1.  */
     2868   that's true only with -std.  */
    22482869int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2870
     2871/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2872   inside strings and character constants.  */
     2873#define FOO(x) 'x'
     2874int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    22492875
    22502876int test (int i, double x);
     
    22622888}
    22632889_ACEOF
    2264 # Don't try gcc -ansi; that turns off useful extensions and
    2265 # breaks some systems' header files.
    2266 # AIX                   -qlanglvl=ansi
    2267 # Ultrix and OSF/1      -std1
    2268 # HP-UX 10.20 and later -Ae
    2269 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2270 # SVR4                  -Xc -D__EXTENSIONS__
    2271 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2890for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2891        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    22722892do
    22732893  CC="$ac_save_CC $ac_arg"
    22742894  rm -f conftest.$ac_objext
    2275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2276   (eval $ac_compile) 2>conftest.er1
     2895if { (ac_try="$ac_compile"
     2896case "(($ac_try" in
     2897  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2898  *) ac_try_echo=$ac_try;;
     2899esac
     2900eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2901  (eval "$ac_compile") 2>conftest.er1
    22772902  ac_status=$?
    22782903  grep -v '^ *+' conftest.er1 >conftest.err
     
    22802905  cat conftest.err >&5
    22812906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2282   (exit $ac_status); } &&
    2283          { ac_try='test -z "$ac_c_werror_flag"
    2284                          || test ! -s conftest.err'
    2285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2286   (eval $ac_try) 2>&5
    2287   ac_status=$?
    2288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2289   (exit $ac_status); }; } &&
    2290          { ac_try='test -s conftest.$ac_objext'
    2291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2292   (eval $ac_try) 2>&5
    2293   ac_status=$?
    2294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2295   (exit $ac_status); }; }; then
    2296   ac_cv_prog_cc_stdc=$ac_arg
    2297 break
     2907  (exit $ac_status); } && {
     2908         test -z "$ac_c_werror_flag" ||
     2909         test ! -s conftest.err
     2910       } && test -s conftest.$ac_objext; then
     2911  ac_cv_prog_cc_c89=$ac_arg
    22982912else
    22992913  echo "$as_me: failed program was:" >&5
    23002914sed 's/^/| /' conftest.$ac_ext >&5
    23012915
    2302 fi
    2303 rm -f conftest.err conftest.$ac_objext
     2916
     2917fi
     2918
     2919rm -f core conftest.err conftest.$ac_objext
     2920  test "x$ac_cv_prog_cc_c89" != "xno" && break
    23042921done
    2305 rm -f conftest.$ac_ext conftest.$ac_objext
     2922rm -f conftest.$ac_ext
    23062923CC=$ac_save_CC
    23072924
    23082925fi
    2309 
    2310 case "x$ac_cv_prog_cc_stdc" in
    2311   x|xno)
    2312     echo "$as_me:$LINENO: result: none needed" >&5
    2313 echo "${ECHO_T}none needed" >&6 ;;
     2926# AC_CACHE_VAL
     2927case "x$ac_cv_prog_cc_c89" in
     2928  x)
     2929    { echo "$as_me:$LINENO: result: none needed" >&5
     2930echo "${ECHO_T}none needed" >&6; } ;;
     2931  xno)
     2932    { echo "$as_me:$LINENO: result: unsupported" >&5
     2933echo "${ECHO_T}unsupported" >&6; } ;;
    23142934  *)
    2315     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2317     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2318 esac
    2319 
    2320 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2321 # in C++ we need to declare it.  In case someone uses the same compiler
    2322 # for both compiling C and C++ we need to have the C++ compiler decide
    2323 # the declaration of exit, since it's the most demanding environment.
    2324 cat >conftest.$ac_ext <<_ACEOF
    2325 #ifndef __cplusplus
    2326   choke me
    2327 #endif
    2328 _ACEOF
    2329 rm -f conftest.$ac_objext
    2330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2331   (eval $ac_compile) 2>conftest.er1
    2332   ac_status=$?
    2333   grep -v '^ *+' conftest.er1 >conftest.err
    2334   rm -f conftest.er1
    2335   cat conftest.err >&5
    2336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2337   (exit $ac_status); } &&
    2338          { ac_try='test -z "$ac_c_werror_flag"
    2339                          || test ! -s conftest.err'
    2340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2341   (eval $ac_try) 2>&5
    2342   ac_status=$?
    2343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2344   (exit $ac_status); }; } &&
    2345          { ac_try='test -s conftest.$ac_objext'
    2346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2347   (eval $ac_try) 2>&5
    2348   ac_status=$?
    2349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2350   (exit $ac_status); }; }; then
    2351   for ac_declaration in \
    2352    '' \
    2353    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2354    'extern "C" void std::exit (int); using std::exit;' \
    2355    'extern "C" void exit (int) throw ();' \
    2356    'extern "C" void exit (int);' \
    2357    'void exit (int);'
    2358 do
    2359   cat >conftest.$ac_ext <<_ACEOF
    2360 /* confdefs.h.  */
    2361 _ACEOF
    2362 cat confdefs.h >>conftest.$ac_ext
    2363 cat >>conftest.$ac_ext <<_ACEOF
    2364 /* end confdefs.h.  */
    2365 $ac_declaration
    2366 #include <stdlib.h>
    2367 int
    2368 main ()
    2369 {
    2370 exit (42);
    2371   ;
    2372   return 0;
    2373 }
    2374 _ACEOF
    2375 rm -f conftest.$ac_objext
    2376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2377   (eval $ac_compile) 2>conftest.er1
    2378   ac_status=$?
    2379   grep -v '^ *+' conftest.er1 >conftest.err
    2380   rm -f conftest.er1
    2381   cat conftest.err >&5
    2382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2383   (exit $ac_status); } &&
    2384          { ac_try='test -z "$ac_c_werror_flag"
    2385                          || test ! -s conftest.err'
    2386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2387   (eval $ac_try) 2>&5
    2388   ac_status=$?
    2389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2390   (exit $ac_status); }; } &&
    2391          { ac_try='test -s conftest.$ac_objext'
    2392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2393   (eval $ac_try) 2>&5
    2394   ac_status=$?
    2395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2396   (exit $ac_status); }; }; then
    2397   :
    2398 else
    2399   echo "$as_me: failed program was:" >&5
    2400 sed 's/^/| /' conftest.$ac_ext >&5
    2401 
    2402 continue
    2403 fi
    2404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2405   cat >conftest.$ac_ext <<_ACEOF
    2406 /* confdefs.h.  */
    2407 _ACEOF
    2408 cat confdefs.h >>conftest.$ac_ext
    2409 cat >>conftest.$ac_ext <<_ACEOF
    2410 /* end confdefs.h.  */
    2411 $ac_declaration
    2412 int
    2413 main ()
    2414 {
    2415 exit (42);
    2416   ;
    2417   return 0;
    2418 }
    2419 _ACEOF
    2420 rm -f conftest.$ac_objext
    2421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2422   (eval $ac_compile) 2>conftest.er1
    2423   ac_status=$?
    2424   grep -v '^ *+' conftest.er1 >conftest.err
    2425   rm -f conftest.er1
    2426   cat conftest.err >&5
    2427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2428   (exit $ac_status); } &&
    2429          { ac_try='test -z "$ac_c_werror_flag"
    2430                          || test ! -s conftest.err'
    2431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2432   (eval $ac_try) 2>&5
    2433   ac_status=$?
    2434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2435   (exit $ac_status); }; } &&
    2436          { ac_try='test -s conftest.$ac_objext'
    2437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2438   (eval $ac_try) 2>&5
    2439   ac_status=$?
    2440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2441   (exit $ac_status); }; }; then
    2442   break
    2443 else
    2444   echo "$as_me: failed program was:" >&5
    2445 sed 's/^/| /' conftest.$ac_ext >&5
    2446 
    2447 fi
    2448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2449 done
    2450 rm -f conftest*
    2451 if test -n "$ac_declaration"; then
    2452   echo '#ifdef __cplusplus' >>confdefs.h
    2453   echo $ac_declaration      >>confdefs.h
    2454   echo '#endif'             >>confdefs.h
    2455 fi
    2456 
    2457 else
    2458   echo "$as_me: failed program was:" >&5
    2459 sed 's/^/| /' conftest.$ac_ext >&5
    2460 
    2461 fi
    2462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2935    CC="$CC $ac_cv_prog_cc_c89"
     2936    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2937echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2938esac
     2939
     2940
    24632941ac_ext=c
    24642942ac_cpp='$CPP $CPPFLAGS'
     
    24772955    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    24782956set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2479 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2957{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2958echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24812959if test "${ac_cv_prog_OBJC+set}" = set; then
    24822960  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24912969  test -z "$as_dir" && as_dir=.
    24922970  for ac_exec_ext in '' $ac_executable_extensions; do
    2493   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2971  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24942972    ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
    24952973    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24982976done
    24992977done
     2978IFS=$as_save_IFS
    25002979
    25012980fi
     
    25032982OBJC=$ac_cv_prog_OBJC
    25042983if test -n "$OBJC"; then
    2505   echo "$as_me:$LINENO: result: $OBJC" >&5
    2506 echo "${ECHO_T}$OBJC" >&6
    2507 else
    2508   echo "$as_me:$LINENO: result: no" >&5
    2509 echo "${ECHO_T}no" >&6
    2510 fi
     2984  { echo "$as_me:$LINENO: result: $OBJC" >&5
     2985echo "${ECHO_T}$OBJC" >&6; }
     2986else
     2987  { echo "$as_me:$LINENO: result: no" >&5
     2988echo "${ECHO_T}no" >&6; }
     2989fi
     2990
    25112991
    25122992    test -n "$OBJC" && break
     
    25192999  # Extract the first word of "$ac_prog", so it can be a program name with args.
    25203000set dummy $ac_prog; ac_word=$2
    2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3001{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3002echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    25233003if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
    25243004  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25333013  test -z "$as_dir" && as_dir=.
    25343014  for ac_exec_ext in '' $ac_executable_extensions; do
    2535   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3015  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25363016    ac_cv_prog_ac_ct_OBJC="$ac_prog"
    25373017    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    25403020done
    25413021done
     3022IFS=$as_save_IFS
    25423023
    25433024fi
     
    25453026ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
    25463027if test -n "$ac_ct_OBJC"; then
    2547   echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
    2548 echo "${ECHO_T}$ac_ct_OBJC" >&6
    2549 else
    2550   echo "$as_me:$LINENO: result: no" >&5
    2551 echo "${ECHO_T}no" >&6
    2552 fi
     3028  { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
     3029echo "${ECHO_T}$ac_ct_OBJC" >&6; }
     3030else
     3031  { echo "$as_me:$LINENO: result: no" >&5
     3032echo "${ECHO_T}no" >&6; }
     3033fi
     3034
    25533035
    25543036  test -n "$ac_ct_OBJC" && break
    25553037done
    2556 test -n "$ac_ct_OBJC" || ac_ct_OBJC="gcc"
    2557 
    2558   OBJC=$ac_ct_OBJC
     3038
     3039  if test "x$ac_ct_OBJC" = x; then
     3040    OBJC="gcc"
     3041  else
     3042    case $cross_compiling:$ac_tool_warned in
     3043yes:)
     3044{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3045whose name does not start with the host triplet.  If you think this
     3046configuration is useful to you, please write to autoconf@gnu.org." >&5
     3047echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3048whose name does not start with the host triplet.  If you think this
     3049configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3050ac_tool_warned=yes ;;
     3051esac
     3052    OBJC=$ac_ct_OBJC
     3053  fi
    25593054fi
    25603055
     
    25803075  (exit $ac_status); }
    25813076
    2582 echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
    2583 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6
     3077{ echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
     3078echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
    25843079if test "${ac_cv_objc_compiler_gnu+set}" = set; then
    25853080  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    26043099_ACEOF
    26053100rm -f conftest.$ac_objext
    2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2607   (eval $ac_compile) 2>conftest.er1
     3101if { (ac_try="$ac_compile"
     3102case "(($ac_try" in
     3103  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3104  *) ac_try_echo=$ac_try;;
     3105esac
     3106eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3107  (eval "$ac_compile") 2>conftest.er1
    26083108  ac_status=$?
    26093109  grep -v '^ *+' conftest.er1 >conftest.err
     
    26113111  cat conftest.err >&5
    26123112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2613   (exit $ac_status); } &&
    2614          { ac_try='test -z "$ac_objc_werror_flag"
    2615                          || test ! -s conftest.err'
    2616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2617   (eval $ac_try) 2>&5
    2618   ac_status=$?
    2619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2620   (exit $ac_status); }; } &&
    2621          { ac_try='test -s conftest.$ac_objext'
    2622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2623   (eval $ac_try) 2>&5
    2624   ac_status=$?
    2625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2626   (exit $ac_status); }; }; then
     3113  (exit $ac_status); } && {
     3114         test -z "$ac_objc_werror_flag" ||
     3115         test ! -s conftest.err
     3116       } && test -s conftest.$ac_objext; then
    26273117  ac_compiler_gnu=yes
    26283118else
     
    26303120sed 's/^/| /' conftest.$ac_ext >&5
    26313121
    2632 ac_compiler_gnu=no
    2633 fi
    2634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3122        ac_compiler_gnu=no
     3123fi
     3124
     3125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26353126ac_cv_objc_compiler_gnu=$ac_compiler_gnu
    26363127
    26373128fi
    2638 echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
    2639 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6
     3129{ echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
     3130echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
    26403131GOBJC=`test $ac_compiler_gnu = yes && echo yes`
    26413132ac_test_OBJCFLAGS=${OBJCFLAGS+set}
    26423133ac_save_OBJCFLAGS=$OBJCFLAGS
    26433134OBJCFLAGS="-g"
    2644 echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
    2645 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6
     3135{ echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
     3136echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
    26463137if test "${ac_cv_prog_objc_g+set}" = set; then
    26473138  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    26633154_ACEOF
    26643155rm -f conftest.$ac_objext
    2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2666   (eval $ac_compile) 2>conftest.er1
     3156if { (ac_try="$ac_compile"
     3157case "(($ac_try" in
     3158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3159  *) ac_try_echo=$ac_try;;
     3160esac
     3161eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3162  (eval "$ac_compile") 2>conftest.er1
    26673163  ac_status=$?
    26683164  grep -v '^ *+' conftest.er1 >conftest.err
     
    26703166  cat conftest.err >&5
    26713167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2672   (exit $ac_status); } &&
    2673          { ac_try='test -z "$ac_objc_werror_flag"
    2674                          || test ! -s conftest.err'
    2675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2676   (eval $ac_try) 2>&5
    2677   ac_status=$?
    2678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2679   (exit $ac_status); }; } &&
    2680          { ac_try='test -s conftest.$ac_objext'
    2681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2682   (eval $ac_try) 2>&5
    2683   ac_status=$?
    2684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2685   (exit $ac_status); }; }; then
     3168  (exit $ac_status); } && {
     3169         test -z "$ac_objc_werror_flag" ||
     3170         test ! -s conftest.err
     3171       } && test -s conftest.$ac_objext; then
    26863172  ac_cv_prog_objc_g=yes
    26873173else
     
    26893175sed 's/^/| /' conftest.$ac_ext >&5
    26903176
    2691 ac_cv_prog_objc_g=no
    2692 fi
    2693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2694 fi
    2695 echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
    2696 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6
     3177        ac_cv_prog_objc_g=no
     3178fi
     3179
     3180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3181fi
     3182{ echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
     3183echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
    26973184if test "$ac_test_OBJCFLAGS" = set; then
    26983185  OBJCFLAGS=$ac_save_OBJCFLAGS
     
    27293216# OS/2's system install, which has a completely different semantic
    27303217# ./install, which can be erroneously created by make from ./install.sh.
    2731 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2732 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3218{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3219echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    27333220if test -z "$INSTALL"; then
    27343221if test "${ac_cv_path_install+set}" = set; then
     
    27523239    for ac_prog in ginstall scoinst install; do
    27533240      for ac_exec_ext in '' $ac_executable_extensions; do
    2754         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3241        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    27553242          if test $ac_prog = install &&
    27563243            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    27713258esac
    27723259done
     3260IFS=$as_save_IFS
    27733261
    27743262
     
    27773265    INSTALL=$ac_cv_path_install
    27783266  else
    2779     # As a last resort, use the slow shell script.  We don't cache a
    2780     # path for INSTALL within a source directory, because that will
     3267    # As a last resort, use the slow shell script.  Don't cache a
     3268    # value for INSTALL within a source directory, because that will
    27813269    # break other packages using the cache if that directory is
    2782     # removed, or if the path is relative.
     3270    # removed, or if the value is a relative name.
    27833271    INSTALL=$ac_install_sh
    27843272  fi
    27853273fi
    2786 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2787 echo "${ECHO_T}$INSTALL" >&6
     3274{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3275echo "${ECHO_T}$INSTALL" >&6; }
    27883276
    27893277# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    27953283test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    27963284
    2797 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    2798 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2799 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    2800 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3285{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3286echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     3287set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3288if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    28013289  echo $ECHO_N "(cached) $ECHO_C" >&6
    28023290else
    28033291  cat >conftest.make <<\_ACEOF
     3292SHELL = /bin/sh
    28043293all:
    2805         @echo 'ac_maketemp="$(MAKE)"'
     3294        @echo '@@@%%%=$(MAKE)=@@@%%%'
    28063295_ACEOF
    28073296# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2808 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    2809 if test -n "$ac_maketemp"; then
    2810   eval ac_cv_prog_make_${ac_make}_set=yes
    2811 else
    2812   eval ac_cv_prog_make_${ac_make}_set=no
    2813 fi
     3297case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3298  *@@@%%%=?*=@@@%%%*)
     3299    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3300  *)
     3301    eval ac_cv_prog_make_${ac_make}_set=no;;
     3302esac
    28143303rm -f conftest.make
    28153304fi
    2816 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2817   echo "$as_me:$LINENO: result: yes" >&5
    2818 echo "${ECHO_T}yes" >&6
     3305if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3306  { echo "$as_me:$LINENO: result: yes" >&5
     3307echo "${ECHO_T}yes" >&6; }
    28193308  SET_MAKE=
    28203309else
    2821   echo "$as_me:$LINENO: result: no" >&5
    2822 echo "${ECHO_T}no" >&6
     3310  { echo "$as_me:$LINENO: result: no" >&5
     3311echo "${ECHO_T}no" >&6; }
    28233312  SET_MAKE="MAKE=${MAKE-make}"
    28243313fi
    28253314
    2826 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2827 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3315{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3316echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    28283317LN_S=$as_ln_s
    28293318if test "$LN_S" = "ln -s"; then
    2830   echo "$as_me:$LINENO: result: yes" >&5
    2831 echo "${ECHO_T}yes" >&6
    2832 else
    2833   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    2834 echo "${ECHO_T}no, using $LN_S" >&6
     3319  { echo "$as_me:$LINENO: result: yes" >&5
     3320echo "${ECHO_T}yes" >&6; }
     3321else
     3322  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3323echo "${ECHO_T}no, using $LN_S" >&6; }
    28353324fi
    28363325
    28373326# Extract the first word of "mtree", so it can be a program name with args.
    28383327set dummy mtree; ac_word=$2
    2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3328{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3329echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    28413330if test "${ac_cv_path_MTREE+set}" = set; then
    28423331  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28533342  test -z "$as_dir" && as_dir=.
    28543343  for ac_exec_ext in '' $ac_executable_extensions; do
    2855   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3344  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28563345    ac_cv_path_MTREE="$as_dir/$ac_word$ac_exec_ext"
    28573346    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28603349done
    28613350done
     3351IFS=$as_save_IFS
    28623352
    28633353  ;;
     
    28653355fi
    28663356MTREE=$ac_cv_path_MTREE
    2867 
    28683357if test -n "$MTREE"; then
    2869   echo "$as_me:$LINENO: result: $MTREE" >&5
    2870 echo "${ECHO_T}$MTREE" >&6
    2871 else
    2872   echo "$as_me:$LINENO: result: no" >&5
    2873 echo "${ECHO_T}no" >&6
    2874 fi
     3358  { echo "$as_me:$LINENO: result: $MTREE" >&5
     3359echo "${ECHO_T}$MTREE" >&6; }
     3360else
     3361  { echo "$as_me:$LINENO: result: no" >&5
     3362echo "${ECHO_T}no" >&6; }
     3363fi
     3364
    28753365
    28763366# Extract the first word of "cvs", so it can be a program name with args.
    28773367set dummy cvs; ac_word=$2
    2878 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3368{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3369echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    28803370if test "${ac_cv_path_CVS+set}" = set; then
    28813371  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28923382  test -z "$as_dir" && as_dir=.
    28933383  for ac_exec_ext in '' $ac_executable_extensions; do
    2894   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3384  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28953385    ac_cv_path_CVS="$as_dir/$ac_word$ac_exec_ext"
    28963386    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28993389done
    29003390done
     3391IFS=$as_save_IFS
    29013392
    29023393  ;;
     
    29043395fi
    29053396CVS=$ac_cv_path_CVS
    2906 
    29073397if test -n "$CVS"; then
    2908   echo "$as_me:$LINENO: result: $CVS" >&5
    2909 echo "${ECHO_T}$CVS" >&6
    2910 else
    2911   echo "$as_me:$LINENO: result: no" >&5
    2912 echo "${ECHO_T}no" >&6
    2913 fi
     3398  { echo "$as_me:$LINENO: result: $CVS" >&5
     3399echo "${ECHO_T}$CVS" >&6; }
     3400else
     3401  { echo "$as_me:$LINENO: result: no" >&5
     3402echo "${ECHO_T}no" >&6; }
     3403fi
     3404
    29143405
    29153406# Extract the first word of "svn", so it can be a program name with args.
    29163407set dummy svn; ac_word=$2
    2917 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3408{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3409echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29193410if test "${ac_cv_path_SVN+set}" = set; then
    29203411  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29313422  test -z "$as_dir" && as_dir=.
    29323423  for ac_exec_ext in '' $ac_executable_extensions; do
    2933   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3424  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29343425    ac_cv_path_SVN="$as_dir/$ac_word$ac_exec_ext"
    29353426    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29383429done
    29393430done
     3431IFS=$as_save_IFS
    29403432
    29413433  ;;
     
    29433435fi
    29443436SVN=$ac_cv_path_SVN
    2945 
    29463437if test -n "$SVN"; then
    2947   echo "$as_me:$LINENO: result: $SVN" >&5
    2948 echo "${ECHO_T}$SVN" >&6
    2949 else
    2950   echo "$as_me:$LINENO: result: no" >&5
    2951 echo "${ECHO_T}no" >&6
    2952 fi
     3438  { echo "$as_me:$LINENO: result: $SVN" >&5
     3439echo "${ECHO_T}$SVN" >&6; }
     3440else
     3441  { echo "$as_me:$LINENO: result: no" >&5
     3442echo "${ECHO_T}no" >&6; }
     3443fi
     3444
    29533445
    29543446# Extract the first word of "rsync", so it can be a program name with args.
    29553447set dummy rsync; ac_word=$2
    2956 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3448{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3449echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29583450if test "${ac_cv_path_RSYNC+set}" = set; then
    29593451  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29703462  test -z "$as_dir" && as_dir=.
    29713463  for ac_exec_ext in '' $ac_executable_extensions; do
    2972   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3464  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29733465    ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
    29743466    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29773469done
    29783470done
     3471IFS=$as_save_IFS
    29793472
    29803473  ;;
     
    29823475fi
    29833476RSYNC=$ac_cv_path_RSYNC
    2984 
    29853477if test -n "$RSYNC"; then
    2986   echo "$as_me:$LINENO: result: $RSYNC" >&5
    2987 echo "${ECHO_T}$RSYNC" >&6
    2988 else
    2989   echo "$as_me:$LINENO: result: no" >&5
    2990 echo "${ECHO_T}no" >&6
    2991 fi
     3478  { echo "$as_me:$LINENO: result: $RSYNC" >&5
     3479echo "${ECHO_T}$RSYNC" >&6; }
     3480else
     3481  { echo "$as_me:$LINENO: result: no" >&5
     3482echo "${ECHO_T}no" >&6; }
     3483fi
     3484
    29923485
    29933486# Extract the first word of "launchd", so it can be a program name with args.
    29943487set dummy launchd; ac_word=$2
    2995 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3488{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3489echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29973490if test "${ac_cv_prog_HAVE_LAUNCHD+set}" = set; then
    29983491  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30073500  test -z "$as_dir" && as_dir=.
    30083501  for ac_exec_ext in '' $ac_executable_extensions; do
    3009   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3502  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30103503    ac_cv_prog_HAVE_LAUNCHD="yes"
    30113504    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30143507done
    30153508done
     3509IFS=$as_save_IFS
    30163510
    30173511fi
     
    30193513HAVE_LAUNCHD=$ac_cv_prog_HAVE_LAUNCHD
    30203514if test -n "$HAVE_LAUNCHD"; then
    3021   echo "$as_me:$LINENO: result: $HAVE_LAUNCHD" >&5
    3022 echo "${ECHO_T}$HAVE_LAUNCHD" >&6
    3023 else
    3024   echo "$as_me:$LINENO: result: no" >&5
    3025 echo "${ECHO_T}no" >&6
    3026 fi
     3515  { echo "$as_me:$LINENO: result: $HAVE_LAUNCHD" >&5
     3516echo "${ECHO_T}$HAVE_LAUNCHD" >&6; }
     3517else
     3518  { echo "$as_me:$LINENO: result: no" >&5
     3519echo "${ECHO_T}no" >&6; }
     3520fi
     3521
    30273522
    30283523# Extract the first word of "launchctl", so it can be a program name with args.
    30293524set dummy launchctl; ac_word=$2
    3030 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3525{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3526echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30323527if test "${ac_cv_path_LAUNCHCTL+set}" = set; then
    30333528  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30443539  test -z "$as_dir" && as_dir=.
    30453540  for ac_exec_ext in '' $ac_executable_extensions; do
    3046   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3541  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30473542    ac_cv_path_LAUNCHCTL="$as_dir/$ac_word$ac_exec_ext"
    30483543    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30513546done
    30523547done
     3548IFS=$as_save_IFS
    30533549
    30543550  ;;
     
    30563552fi
    30573553LAUNCHCTL=$ac_cv_path_LAUNCHCTL
    3058 
    30593554if test -n "$LAUNCHCTL"; then
    3060   echo "$as_me:$LINENO: result: $LAUNCHCTL" >&5
    3061 echo "${ECHO_T}$LAUNCHCTL" >&6
    3062 else
    3063   echo "$as_me:$LINENO: result: no" >&5
    3064 echo "${ECHO_T}no" >&6
    3065 fi
     3555  { echo "$as_me:$LINENO: result: $LAUNCHCTL" >&5
     3556echo "${ECHO_T}$LAUNCHCTL" >&6; }
     3557else
     3558  { echo "$as_me:$LINENO: result: no" >&5
     3559echo "${ECHO_T}no" >&6; }
     3560fi
     3561
    30663562
    30673563# Extract the first word of "xcodebuild", so it can be a program name with args.
    30683564set dummy xcodebuild; ac_word=$2
    3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3565{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3566echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30713567if test "${ac_cv_path_XCODEBUILD+set}" = set; then
    30723568  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30833579  test -z "$as_dir" && as_dir=.
    30843580  for ac_exec_ext in '' $ac_executable_extensions; do
    3085   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3581  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30863582    ac_cv_path_XCODEBUILD="$as_dir/$ac_word$ac_exec_ext"
    30873583    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30903586done
    30913587done
     3588IFS=$as_save_IFS
    30923589
    30933590  ;;
     
    30953592fi
    30963593XCODEBUILD=$ac_cv_path_XCODEBUILD
    3097 
    30983594if test -n "$XCODEBUILD"; then
    3099   echo "$as_me:$LINENO: result: $XCODEBUILD" >&5
    3100 echo "${ECHO_T}$XCODEBUILD" >&6
    3101 else
    3102   echo "$as_me:$LINENO: result: no" >&5
    3103 echo "${ECHO_T}no" >&6
    3104 fi
     3595  { echo "$as_me:$LINENO: result: $XCODEBUILD" >&5
     3596echo "${ECHO_T}$XCODEBUILD" >&6; }
     3597else
     3598  { echo "$as_me:$LINENO: result: no" >&5
     3599echo "${ECHO_T}no" >&6; }
     3600fi
     3601
    31053602
    31063603# Extract the first word of "bzip2", so it can be a program name with args.
    31073604set dummy bzip2; ac_word=$2
    3108 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3605{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3606echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    31103607if test "${ac_cv_path_BZIP2+set}" = set; then
    31113608  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31223619  test -z "$as_dir" && as_dir=.
    31233620  for ac_exec_ext in '' $ac_executable_extensions; do
    3124   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3621  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31253622    ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
    31263623    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31293626done
    31303627done
     3628IFS=$as_save_IFS
    31313629
    31323630  ;;
     
    31343632fi
    31353633BZIP2=$ac_cv_path_BZIP2
    3136 
    31373634if test -n "$BZIP2"; then
    3138   echo "$as_me:$LINENO: result: $BZIP2" >&5
    3139 echo "${ECHO_T}$BZIP2" >&6
    3140 else
    3141   echo "$as_me:$LINENO: result: no" >&5
    3142 echo "${ECHO_T}no" >&6
    3143 fi
     3635  { echo "$as_me:$LINENO: result: $BZIP2" >&5
     3636echo "${ECHO_T}$BZIP2" >&6; }
     3637else
     3638  { echo "$as_me:$LINENO: result: no" >&5
     3639echo "${ECHO_T}no" >&6; }
     3640fi
     3641
    31443642
    31453643# Extract the first word of "xar", so it can be a program name with args.
    31463644set dummy xar; ac_word=$2
    3147 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3645{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3646echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    31493647if test "${ac_cv_path_XAR+set}" = set; then
    31503648  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31613659  test -z "$as_dir" && as_dir=.
    31623660  for ac_exec_ext in '' $ac_executable_extensions; do
    3163   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3661  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31643662    ac_cv_path_XAR="$as_dir/$ac_word$ac_exec_ext"
    31653663    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31683666done
    31693667done
     3668IFS=$as_save_IFS
    31703669
    31713670  ;;
     
    31733672fi
    31743673XAR=$ac_cv_path_XAR
    3175 
    31763674if test -n "$XAR"; then
    3177   echo "$as_me:$LINENO: result: $XAR" >&5
    3178 echo "${ECHO_T}$XAR" >&6
    3179 else
    3180   echo "$as_me:$LINENO: result: no" >&5
    3181 echo "${ECHO_T}no" >&6
    3182 fi
     3675  { echo "$as_me:$LINENO: result: $XAR" >&5
     3676echo "${ECHO_T}$XAR" >&6; }
     3677else
     3678  { echo "$as_me:$LINENO: result: no" >&5
     3679echo "${ECHO_T}no" >&6; }
     3680fi
     3681
    31833682
    31843683# Extract the first word of "open", so it can be a program name with args.
    31853684set dummy open; ac_word=$2
    3186 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3685{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3686echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    31883687if test "${ac_cv_path_OPEN+set}" = set; then
    31893688  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    32003699  test -z "$as_dir" && as_dir=.
    32013700  for ac_exec_ext in '' $ac_executable_extensions; do
    3202   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3701  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32033702    ac_cv_path_OPEN="$as_dir/$ac_word$ac_exec_ext"
    32043703    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32073706done
    32083707done
     3708IFS=$as_save_IFS
    32093709
    32103710  ;;
     
    32123712fi
    32133713OPEN=$ac_cv_path_OPEN
    3214 
    32153714if test -n "$OPEN"; then
    3216   echo "$as_me:$LINENO: result: $OPEN" >&5
    3217 echo "${ECHO_T}$OPEN" >&6
    3218 else
    3219   echo "$as_me:$LINENO: result: no" >&5
    3220 echo "${ECHO_T}no" >&6
    3221 fi
     3715  { echo "$as_me:$LINENO: result: $OPEN" >&5
     3716echo "${ECHO_T}$OPEN" >&6; }
     3717else
     3718  { echo "$as_me:$LINENO: result: no" >&5
     3719echo "${ECHO_T}no" >&6; }
     3720fi
     3721
    32223722
    32233723
     
    32363736        # Extract the first word of "tar", so it can be a program name with args.
    32373737set dummy tar; ac_word=$2
    3238 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3738{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    32403740if test "${ac_cv_path_TAR+set}" = set; then
    32413741  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    32523752  test -z "$as_dir" && as_dir=.
    32533753  for ac_exec_ext in '' $ac_executable_extensions; do
    3254   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3754  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32553755    ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
    32563756    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32593759done
    32603760done
     3761IFS=$as_save_IFS
    32613762
    32623763  ;;
     
    32643765fi
    32653766TAR=$ac_cv_path_TAR
    3266 
    32673767if test -n "$TAR"; then
    3268   echo "$as_me:$LINENO: result: $TAR" >&5
    3269 echo "${ECHO_T}$TAR" >&6
    3270 else
    3271   echo "$as_me:$LINENO: result: no" >&5
    3272 echo "${ECHO_T}no" >&6
    3273 fi
     3768  { echo "$as_me:$LINENO: result: $TAR" >&5
     3769echo "${ECHO_T}$TAR" >&6; }
     3770else
     3771  { echo "$as_me:$LINENO: result: no" >&5
     3772echo "${ECHO_T}no" >&6; }
     3773fi
     3774
    32743775
    32753776        # Extract the first word of "gnutar", so it can be a program name with args.
    32763777set dummy gnutar; ac_word=$2
    3277 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3778{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3779echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    32793780if test "${ac_cv_path_GNUTAR+set}" = set; then
    32803781  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    32913792  test -z "$as_dir" && as_dir=.
    32923793  for ac_exec_ext in '' $ac_executable_extensions; do
    3293   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3794  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32943795    ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
    32953796    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32983799done
    32993800done
     3801IFS=$as_save_IFS
    33003802
    33013803  ;;
     
    33033805fi
    33043806GNUTAR=$ac_cv_path_GNUTAR
    3305 
    33063807if test -n "$GNUTAR"; then
    3307   echo "$as_me:$LINENO: result: $GNUTAR" >&5
    3308 echo "${ECHO_T}$GNUTAR" >&6
    3309 else
    3310   echo "$as_me:$LINENO: result: no" >&5
    3311 echo "${ECHO_T}no" >&6
    3312 fi
    3313 
    3314 
    3315         echo "$as_me:$LINENO: checking for which tar variant to use" >&5
    3316 echo $ECHO_N "checking for which tar variant to use... $ECHO_C" >&6
     3808  { echo "$as_me:$LINENO: result: $GNUTAR" >&5
     3809echo "${ECHO_T}$GNUTAR" >&6; }
     3810else
     3811  { echo "$as_me:$LINENO: result: no" >&5
     3812echo "${ECHO_T}no" >&6; }
     3813fi
     3814
     3815
     3816
     3817        { echo "$as_me:$LINENO: checking for which tar variant to use" >&5
     3818echo $ECHO_N "checking for which tar variant to use... $ECHO_C" >&6; }
    33173819        if test -n "$GNUTAR"; then
    33183820  TAR_CMD=$GNUTAR
     
    33213823fi
    33223824
    3323         echo "$as_me:$LINENO: result: $TAR_CMD" >&5
    3324 echo "${ECHO_T}$TAR_CMD" >&6
    3325 
    3326 
    3327         echo "$as_me:$LINENO: checking for $TAR_CMD --no-same-owner support" >&5
    3328 echo $ECHO_N "checking for $TAR_CMD --no-same-owner support... $ECHO_C" >&6
     3825        { echo "$as_me:$LINENO: result: $TAR_CMD" >&5
     3826echo "${ECHO_T}$TAR_CMD" >&6; }
     3827
     3828
     3829        { echo "$as_me:$LINENO: checking for $TAR_CMD --no-same-owner support" >&5
     3830echo $ECHO_N "checking for $TAR_CMD --no-same-owner support... $ECHO_C" >&6; }
    33293831        no_same_owner_support=`$TAR_CMD --help 2>&1 | grep no-same-owner`
    33303832        if test -z "$no_same_owner_support" ; then
    3331                 echo "$as_me:$LINENO: result: no" >&5
    3332 echo "${ECHO_T}no" >&6
     3833                { echo "$as_me:$LINENO: result: no" >&5
     3834echo "${ECHO_T}no" >&6; }
    33333835        else
    3334                 echo "$as_me:$LINENO: result: yes" >&5
    3335 echo "${ECHO_T}yes" >&6
     3836                { echo "$as_me:$LINENO: result: yes" >&5
     3837echo "${ECHO_T}yes" >&6; }
    33363838                TAR_CMD="$TAR_CMD --no-same-owner"
    33373839        fi
     
    33453847
    33463848
    3347         # Check whether --enable-werror or --disable-werror was given.
     3849        # Check whether --enable-werror was given.
    33483850if test "${enable_werror+set}" = set; then
    3349   enableval="$enable_werror"
    3350   enable_werror=${enableval}
     3851  enableval=$enable_werror; enable_werror=${enableval}
    33513852else
    33523853  enable_werror=no
    3353 fi;
     3854fi
     3855
    33543856        if test x"$enable_werror" != "xno"; then
    33553857                CFLAGS_WERROR="-Werror"
     
    33623864
    33633865
    3364         echo "$as_me:$LINENO: checking how to mark unused variables" >&5
    3365 echo $ECHO_N "checking how to mark unused variables... $ECHO_C" >&6
     3866        { echo "$as_me:$LINENO: checking how to mark unused variables" >&5
     3867echo $ECHO_N "checking how to mark unused variables... $ECHO_C" >&6; }
    33663868        cat >conftest.$ac_ext <<_ACEOF
    33673869/* confdefs.h.  */
     
    33733875_ACEOF
    33743876rm -f conftest.$ac_objext
    3375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3376   (eval $ac_compile) 2>conftest.er1
     3877if { (ac_try="$ac_compile"
     3878case "(($ac_try" in
     3879  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3880  *) ac_try_echo=$ac_try;;
     3881esac
     3882eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3883  (eval "$ac_compile") 2>conftest.er1
    33773884  ac_status=$?
    33783885  grep -v '^ *+' conftest.er1 >conftest.err
     
    33803887  cat conftest.err >&5
    33813888  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3382   (exit $ac_status); } &&
    3383          { ac_try='test -z "$ac_c_werror_flag"
    3384                          || test ! -s conftest.err'
    3385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3386   (eval $ac_try) 2>&5
    3387   ac_status=$?
    3388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3389   (exit $ac_status); }; } &&
    3390          { ac_try='test -s conftest.$ac_objext'
    3391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3392   (eval $ac_try) 2>&5
    3393   ac_status=$?
    3394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3395   (exit $ac_status); }; }; then
     3889  (exit $ac_status); } && {
     3890         test -z "$ac_c_werror_flag" ||
     3891         test ! -s conftest.err
     3892       } && test -s conftest.$ac_objext; then
    33963893
    33973894cat >>confdefs.h <<\_ACEOF
     
    34033900sed 's/^/| /' conftest.$ac_ext >&5
    34043901
    3405 cat >>confdefs.h <<\_ACEOF
     3902        cat >>confdefs.h <<\_ACEOF
    34063903#define UNUSED
    34073904_ACEOF
    34083905
    34093906fi
    3410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3411 
    3412         echo "$as_me:$LINENO: result: " >&5
    3413 echo "${ECHO_T}" >&6
    3414 
    3415 
    3416 
    3417         echo "$as_me:$LINENO: checking for gcc symbol visibility attribute" >&5
    3418 echo $ECHO_N "checking for gcc symbol visibility attribute... $ECHO_C" >&6
     3907
     3908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3909
     3910        { echo "$as_me:$LINENO: result: " >&5
     3911echo "${ECHO_T}" >&6; }
     3912
     3913
     3914
     3915        { echo "$as_me:$LINENO: checking for gcc symbol visibility attribute" >&5
     3916echo $ECHO_N "checking for gcc symbol visibility attribute... $ECHO_C" >&6; }
    34193917        if test "${mp_cv_attribute_mp_private+set}" = set; then
    34203918  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    34393937_ACEOF
    34403938rm -f conftest.$ac_objext
    3441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3442   (eval $ac_compile) 2>conftest.er1
     3939if { (ac_try="$ac_compile"
     3940case "(($ac_try" in
     3941  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3942  *) ac_try_echo=$ac_try;;
     3943esac
     3944eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3945  (eval "$ac_compile") 2>conftest.er1
    34433946  ac_status=$?
    34443947  grep -v '^ *+' conftest.er1 >conftest.err
     
    34463949  cat conftest.err >&5
    34473950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3448   (exit $ac_status); } &&
    3449          { ac_try='test -z "$ac_c_werror_flag"
    3450                          || test ! -s conftest.err'
    3451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3452   (eval $ac_try) 2>&5
    3453   ac_status=$?
    3454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3455   (exit $ac_status); }; } &&
    3456          { ac_try='test -s conftest.$ac_objext'
    3457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3458   (eval $ac_try) 2>&5
    3459   ac_status=$?
    3460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3461   (exit $ac_status); }; }; then
     3951  (exit $ac_status); } && {
     3952         test -z "$ac_c_werror_flag" ||
     3953         test ! -s conftest.err
     3954       } && test -s conftest.$ac_objext; then
    34623955
    34633956                        mp_cv_attribute_mp_private="__attribute__((visibility(\"hidden\")))"
     
    34713964
    34723965fi
    3473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3474 
    3475 fi
    3476 
    3477 
    3478         echo "$as_me:$LINENO: result: $mp_cv_attribute_mp_private" >&5
    3479 echo "${ECHO_T}$mp_cv_attribute_mp_private" >&6
     3966
     3967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3968
     3969fi
     3970
     3971
     3972        { echo "$as_me:$LINENO: result: $mp_cv_attribute_mp_private" >&5
     3973echo "${ECHO_T}$mp_cv_attribute_mp_private" >&6; }
    34803974
    34813975        if test x"$mp_cv_attribute_mp_private" = "xno"; then
     
    34993993ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35003994ac_compiler_gnu=$ac_cv_objc_compiler_gnu
    3501 echo "$as_me:$LINENO: checking how to run the Objective C preprocessor" >&5
    3502 echo $ECHO_N "checking how to run the Objective C preprocessor... $ECHO_C" >&6
     3995{ echo "$as_me:$LINENO: checking how to run the Objective C preprocessor" >&5
     3996echo $ECHO_N "checking how to run the Objective C preprocessor... $ECHO_C" >&6; }
    35033997if test -z "$OBJCPP"; then
    35043998  if test "${ac_cv_prog_OBJCPP+set}" = set; then
     
    35304024                     Syntax error
    35314025_ACEOF
    3532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3533   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4026if { (ac_try="$ac_cpp conftest.$ac_ext"
     4027case "(($ac_try" in
     4028  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4029  *) ac_try_echo=$ac_try;;
     4030esac
     4031eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4032  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    35344033  ac_status=$?
    35354034  grep -v '^ *+' conftest.er1 >conftest.err
     
    35374036  cat conftest.err >&5
    35384037  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3539   (exit $ac_status); } >/dev/null; then
    3540   if test -s conftest.err; then
    3541     ac_cpp_err=$ac_objc_preproc_warn_flag
    3542     ac_cpp_err=$ac_cpp_err$ac_objc_werror_flag
    3543   else
    3544     ac_cpp_err=
    3545   fi
    3546 else
    3547   ac_cpp_err=yes
    3548 fi
    3549 if test -z "$ac_cpp_err"; then
     4038  (exit $ac_status); } >/dev/null && {
     4039         test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
     4040         test ! -s conftest.err
     4041       }; then
    35504042  :
    35514043else
     
    35564048continue
    35574049fi
     4050
    35584051rm -f conftest.err conftest.$ac_ext
    35594052
    3560   # OK, works on sane cases.  Now check whether non-existent headers
     4053  # OK, works on sane cases.  Now check whether nonexistent headers
    35614054  # can be detected and how.
    35624055  cat >conftest.$ac_ext <<_ACEOF
     
    35684061#include <ac_nonexistent.h>
    35694062_ACEOF
    3570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3571   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4063if { (ac_try="$ac_cpp conftest.$ac_ext"
     4064case "(($ac_try" in
     4065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4066  *) ac_try_echo=$ac_try;;
     4067esac
     4068eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4069  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    35724070  ac_status=$?
    35734071  grep -v '^ *+' conftest.er1 >conftest.err
     
    35754073  cat conftest.err >&5
    35764074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3577   (exit $ac_status); } >/dev/null; then
    3578   if test -s conftest.err; then
    3579     ac_cpp_err=$ac_objc_preproc_warn_flag
    3580     ac_cpp_err=$ac_cpp_err$ac_objc_werror_flag
    3581   else
    3582     ac_cpp_err=
    3583   fi
    3584 else
    3585   ac_cpp_err=yes
    3586 fi
    3587 if test -z "$ac_cpp_err"; then
     4075  (exit $ac_status); } >/dev/null && {
     4076         test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
     4077         test ! -s conftest.err
     4078       }; then
    35884079  # Broken: success on invalid input.
    35894080continue
     
    35964087break
    35974088fi
     4089
    35984090rm -f conftest.err conftest.$ac_ext
    35994091
     
    36134105  ac_cv_prog_OBJCPP=$OBJCPP
    36144106fi
    3615 echo "$as_me:$LINENO: result: $OBJCPP" >&5
    3616 echo "${ECHO_T}$OBJCPP" >&6
     4107{ echo "$as_me:$LINENO: result: $OBJCPP" >&5
     4108echo "${ECHO_T}$OBJCPP" >&6; }
    36174109ac_preproc_ok=false
    36184110for ac_objc_preproc_warn_flag in '' yes
     
    36374129                     Syntax error
    36384130_ACEOF
    3639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3640   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4131if { (ac_try="$ac_cpp conftest.$ac_ext"
     4132case "(($ac_try" in
     4133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4134  *) ac_try_echo=$ac_try;;
     4135esac
     4136eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4137  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    36414138  ac_status=$?
    36424139  grep -v '^ *+' conftest.er1 >conftest.err
     
    36444141  cat conftest.err >&5
    36454142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3646   (exit $ac_status); } >/dev/null; then
    3647   if test -s conftest.err; then
    3648     ac_cpp_err=$ac_objc_preproc_warn_flag
    3649     ac_cpp_err=$ac_cpp_err$ac_objc_werror_flag
    3650   else
    3651     ac_cpp_err=
    3652   fi
    3653 else
    3654   ac_cpp_err=yes
    3655 fi
    3656 if test -z "$ac_cpp_err"; then
     4143  (exit $ac_status); } >/dev/null && {
     4144         test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
     4145         test ! -s conftest.err
     4146       }; then
    36574147  :
    36584148else
     
    36634153continue
    36644154fi
     4155
    36654156rm -f conftest.err conftest.$ac_ext
    36664157
    3667   # OK, works on sane cases.  Now check whether non-existent headers
     4158  # OK, works on sane cases.  Now check whether nonexistent headers
    36684159  # can be detected and how.
    36694160  cat >conftest.$ac_ext <<_ACEOF
     
    36754166#include <ac_nonexistent.h>
    36764167_ACEOF
    3677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3678   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4168if { (ac_try="$ac_cpp conftest.$ac_ext"
     4169case "(($ac_try" in
     4170  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4171  *) ac_try_echo=$ac_try;;
     4172esac
     4173eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4174  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    36794175  ac_status=$?
    36804176  grep -v '^ *+' conftest.er1 >conftest.err
     
    36824178  cat conftest.err >&5
    36834179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3684   (exit $ac_status); } >/dev/null; then
    3685   if test -s conftest.err; then
    3686     ac_cpp_err=$ac_objc_preproc_warn_flag
    3687     ac_cpp_err=$ac_cpp_err$ac_objc_werror_flag
    3688   else
    3689     ac_cpp_err=
    3690   fi
    3691 else
    3692   ac_cpp_err=yes
    3693 fi
    3694 if test -z "$ac_cpp_err"; then
     4180  (exit $ac_status); } >/dev/null && {
     4181         test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
     4182         test ! -s conftest.err
     4183       }; then
    36954184  # Broken: success on invalid input.
    36964185continue
     
    37034192break
    37044193fi
     4194
    37054195rm -f conftest.err conftest.$ac_ext
    37064196
     
    37254215
    37264216
    3727 echo "$as_me:$LINENO: checking for egrep" >&5
    3728 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3729 if test "${ac_cv_prog_egrep+set}" = set; then
     4217{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4218echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     4219if test "${ac_cv_path_GREP+set}" = set; then
    37304220  echo $ECHO_N "(cached) $ECHO_C" >&6
    37314221else
    3732   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3733     then ac_cv_prog_egrep='grep -E'
    3734     else ac_cv_prog_egrep='egrep'
     4222  # Extract the first word of "grep ggrep" to use in msg output
     4223if test -z "$GREP"; then
     4224set dummy grep ggrep; ac_prog_name=$2
     4225if test "${ac_cv_path_GREP+set}" = set; then
     4226  echo $ECHO_N "(cached) $ECHO_C" >&6
     4227else
     4228  ac_path_GREP_found=false
     4229# Loop through the user's path and test for each of PROGNAME-LIST
     4230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4231for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4232do
     4233  IFS=$as_save_IFS
     4234  test -z "$as_dir" && as_dir=.
     4235  for ac_prog in grep ggrep; do
     4236  for ac_exec_ext in '' $ac_executable_extensions; do
     4237    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4238    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4239    # Check for GNU ac_path_GREP and select it if it is found.
     4240  # Check for GNU $ac_path_GREP
     4241case `"$ac_path_GREP" --version 2>&1` in
     4242*GNU*)
     4243  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4244*)
     4245  ac_count=0
     4246  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4247  while :
     4248  do
     4249    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4250    mv "conftest.tmp" "conftest.in"
     4251    cp "conftest.in" "conftest.nl"
     4252    echo 'GREP' >> "conftest.nl"
     4253    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4254    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4255    ac_count=`expr $ac_count + 1`
     4256    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4257      # Best one so far, save it but keep looking for a better one
     4258      ac_cv_path_GREP="$ac_path_GREP"
     4259      ac_path_GREP_max=$ac_count
    37354260    fi
    3736 fi
    3737 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3738 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3739  EGREP=$ac_cv_prog_egrep
    3740 
    3741 
    3742 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3743 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4261    # 10*(2^10) chars as input seems more than enough
     4262    test $ac_count -gt 10 && break
     4263  done
     4264  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4265esac
     4266
     4267
     4268    $ac_path_GREP_found && break 3
     4269  done
     4270done
     4271
     4272done
     4273IFS=$as_save_IFS
     4274
     4275
     4276fi
     4277
     4278GREP="$ac_cv_path_GREP"
     4279if test -z "$GREP"; then
     4280  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4281echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4282   { (exit 1); exit 1; }; }
     4283fi
     4284
     4285else
     4286  ac_cv_path_GREP=$GREP
     4287fi
     4288
     4289
     4290fi
     4291{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4292echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4293 GREP="$ac_cv_path_GREP"
     4294
     4295
     4296{ echo "$as_me:$LINENO: checking for egrep" >&5
     4297echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     4298if test "${ac_cv_path_EGREP+set}" = set; then
     4299  echo $ECHO_N "(cached) $ECHO_C" >&6
     4300else
     4301  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4302   then ac_cv_path_EGREP="$GREP -E"
     4303   else
     4304     # Extract the first word of "egrep" to use in msg output
     4305if test -z "$EGREP"; then
     4306set dummy egrep; ac_prog_name=$2
     4307if test "${ac_cv_path_EGREP+set}" = set; then
     4308  echo $ECHO_N "(cached) $ECHO_C" >&6
     4309else
     4310  ac_path_EGREP_found=false
     4311# Loop through the user's path and test for each of PROGNAME-LIST
     4312as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4313for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4314do
     4315  IFS=$as_save_IFS
     4316  test -z "$as_dir" && as_dir=.
     4317  for ac_prog in egrep; do
     4318  for ac_exec_ext in '' $ac_executable_extensions; do
     4319    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4320    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4321    # Check for GNU ac_path_EGREP and select it if it is found.
     4322  # Check for GNU $ac_path_EGREP
     4323case `"$ac_path_EGREP" --version 2>&1` in
     4324*GNU*)
     4325  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4326*)
     4327  ac_count=0
     4328  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4329  while :
     4330  do
     4331    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4332    mv "conftest.tmp" "conftest.in"
     4333    cp "conftest.in" "conftest.nl"
     4334    echo 'EGREP' >> "conftest.nl"
     4335    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4336    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4337    ac_count=`expr $ac_count + 1`
     4338    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4339      # Best one so far, save it but keep looking for a better one
     4340      ac_cv_path_EGREP="$ac_path_EGREP"
     4341      ac_path_EGREP_max=$ac_count
     4342    fi
     4343    # 10*(2^10) chars as input seems more than enough
     4344    test $ac_count -gt 10 && break
     4345  done
     4346  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4347esac
     4348
     4349
     4350    $ac_path_EGREP_found && break 3
     4351  done
     4352done
     4353
     4354done
     4355IFS=$as_save_IFS
     4356
     4357
     4358fi
     4359
     4360EGREP="$ac_cv_path_EGREP"
     4361if test -z "$EGREP"; then
     4362  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4363echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4364   { (exit 1); exit 1; }; }
     4365fi
     4366
     4367else
     4368  ac_cv_path_EGREP=$EGREP
     4369fi
     4370
     4371
     4372   fi
     4373fi
     4374{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4375echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4376 EGREP="$ac_cv_path_EGREP"
     4377
     4378
     4379{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4380echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    37444381if test "${ac_cv_header_stdc+set}" = set; then
    37454382  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    37654402_ACEOF
    37664403rm -f conftest.$ac_objext
    3767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3768   (eval $ac_compile) 2>conftest.er1
     4404if { (ac_try="$ac_compile"
     4405case "(($ac_try" in
     4406  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4407  *) ac_try_echo=$ac_try;;
     4408esac
     4409eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4410  (eval "$ac_compile") 2>conftest.er1
    37694411  ac_status=$?
    37704412  grep -v '^ *+' conftest.er1 >conftest.err
     
    37724414  cat conftest.err >&5
    37734415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3774   (exit $ac_status); } &&
    3775          { ac_try='test -z "$ac_objc_werror_flag"
    3776                          || test ! -s conftest.err'
    3777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3778   (eval $ac_try) 2>&5
    3779   ac_status=$?
    3780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3781   (exit $ac_status); }; } &&
    3782          { ac_try='test -s conftest.$ac_objext'
    3783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3784   (eval $ac_try) 2>&5
    3785   ac_status=$?
    3786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3787   (exit $ac_status); }; }; then
     4416  (exit $ac_status); } && {
     4417         test -z "$ac_objc_werror_flag" ||
     4418         test ! -s conftest.err
     4419       } && test -s conftest.$ac_objext; then
    37884420  ac_cv_header_stdc=yes
    37894421else
     
    37914423sed 's/^/| /' conftest.$ac_ext >&5
    37924424
    3793 ac_cv_header_stdc=no
    3794 fi
    3795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4425        ac_cv_header_stdc=no
     4426fi
     4427
     4428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37964429
    37974430if test $ac_cv_header_stdc = yes; then
     
    38494482/* end confdefs.h.  */
    38504483#include <ctype.h>
     4484#include <stdlib.h>
    38514485#if ((' ' & 0x0FF) == 0x020)
    38524486# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    38684502    if (XOR (islower (i), ISLOWER (i))
    38694503        || toupper (i) != TOUPPER (i))
    3870       exit(2);
    3871   exit (0);
     4504      return 2;
     4505  return 0;
    38724506}
    38734507_ACEOF
    38744508rm -f conftest$ac_exeext
    3875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3876   (eval $ac_link) 2>&5
     4509if { (ac_try="$ac_link"
     4510case "(($ac_try" in
     4511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4512  *) ac_try_echo=$ac_try;;
     4513esac
     4514eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4515  (eval "$ac_link") 2>&5
    38774516  ac_status=$?
    38784517  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38794518  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3881   (eval $ac_try) 2>&5
     4519  { (case "(($ac_try" in
     4520  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4521  *) ac_try_echo=$ac_try;;
     4522esac
     4523eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4524  (eval "$ac_try") 2>&5
    38824525  ac_status=$?
    38834526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    38924535ac_cv_header_stdc=no
    38934536fi
    3894 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3895 fi
    3896 fi
    3897 fi
    3898 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3899 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4537rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4538fi
     4539
     4540
     4541fi
     4542fi
     4543{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4544echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    39004545if test $ac_cv_header_stdc = yes; then
    39014546
     
    39204565do
    39214566as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3922 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4567{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4568echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4569if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    39254570  echo $ECHO_N "(cached) $ECHO_C" >&6
    39264571else
     
    39364581_ACEOF
    39374582rm -f conftest.$ac_objext
    3938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3939   (eval $ac_compile) 2>conftest.er1
     4583if { (ac_try="$ac_compile"
     4584case "(($ac_try" in
     4585  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4586  *) ac_try_echo=$ac_try;;
     4587esac
     4588eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4589  (eval "$ac_compile") 2>conftest.er1
    39404590  ac_status=$?
    39414591  grep -v '^ *+' conftest.er1 >conftest.err
     
    39434593  cat conftest.err >&5
    39444594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3945   (exit $ac_status); } &&
    3946          { ac_try='test -z "$ac_objc_werror_flag"
    3947                          || test ! -s conftest.err'
    3948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3949   (eval $ac_try) 2>&5
    3950   ac_status=$?
    3951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3952   (exit $ac_status); }; } &&
    3953          { ac_try='test -s conftest.$ac_objext'
    3954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3955   (eval $ac_try) 2>&5
    3956   ac_status=$?
    3957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3958   (exit $ac_status); }; }; then
     4595  (exit $ac_status); } && {
     4596         test -z "$ac_objc_werror_flag" ||
     4597         test ! -s conftest.err
     4598       } && test -s conftest.$ac_objext; then
    39594599  eval "$as_ac_Header=yes"
    39604600else
     
    39624602sed 's/^/| /' conftest.$ac_ext >&5
    39634603
    3964 eval "$as_ac_Header=no"
    3965 fi
    3966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3967 fi
    3968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4604        eval "$as_ac_Header=no"
     4605fi
     4606
     4607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4608fi
     4609ac_res=`eval echo '${'$as_ac_Header'}'`
     4610               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4611echo "${ECHO_T}$ac_res" >&6; }
    39704612if test `eval echo '${'$as_ac_Header'}'` = yes; then
    39714613  cat >>confdefs.h <<_ACEOF
     
    39814623
    39824624
    3983 # Check whether --with-objc-runtime or --without-objc-runtime was given.
     4625# Check whether --with-objc-runtime was given.
    39844626if test "${with_objc_runtime+set}" = set; then
    3985   withval="$with_objc_runtime"
    3986   with_objc_runtime=${withval}
    3987 fi;
     4627  withval=$with_objc_runtime; with_objc_runtime=${withval}
     4628fi
     4629
    39884630
    39894631        if test x"${with_objc_runtime}" != x; then
     
    40134655do
    40144656as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4016   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4017 echo $ECHO_N "che