IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3228


Ignore:
Timestamp:
Feb 15, 2005, 10:30:12 AM (21 years ago)
Author:
desonia
Message:

migrated to using pslib-config script to get proper flags.

Location:
trunk/psModules
Files:
1 added
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/Makefile.cvs

    r1777 r3228  
    22
    33all:
     4        if [ "`which glibtoolize`" != "" ] ; then glibtoolize --force ; else libtoolize --force ; fi
    45        aclocal
    56        autoheader
  • trunk/psModules/Makefile.in

    r3080 r3228  
    4242subdir = .
    4343ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    44 am__aclocal_m4_deps = $(top_srcdir)/configure.in
     44am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    4545am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    4646        $(ACLOCAL_M4)
     
    101101F77 = @F77@
    102102FFLAGS = @FFLAGS@
    103 GSL_CONFIG = @GSL_CONFIG@
    104103INSTALL_DATA = @INSTALL_DATA@
    105104INSTALL_PROGRAM = @INSTALL_PROGRAM@
  • trunk/psModules/aclocal.m4

    r3081 r3228  
    64106410# release and drop the old call support.
    64116411AC_DEFUN([AM_INIT_AUTOMAKE],
    6412 [AC_PREREQ([2.57])dnl
     6412[AC_PREREQ([2.58])dnl
    64136413dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    64146414dnl the ones we care about.
  • trunk/psModules/config.guess

    r1777 r3228  
    22# Attempt to guess a canonical system name.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    5 
    6 timestamp='2003-06-17'
     4#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
     5
     6timestamp='2004-08-11'
    77
    88# This file is free software; you can redistribute it and/or modify it
     
    5454
    5555Originally written by Per Bothner.
    56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     56Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    5757Free Software Foundation, Inc.
    5858
     
    137137UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
    138138
    139 ## for Red Hat Linux
    140 if test -f /etc/redhat-release ; then
    141     VENDOR=redhat ;
    142 else
    143     VENDOR= ;
    144 fi
     139case "${UNAME_MACHINE}" in
     140    i?86)
     141        test -z "$VENDOR" && VENDOR=pc
     142        ;;
     143    *)
     144        test -z "$VENDOR" && VENDOR=unknown
     145        ;;
     146esac
     147test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse
    145148
    146149# Note: order is significant - the case branches are not exclusive.
     
    205208        echo "${machine}-${os}${release}"
    206209        exit 0 ;;
     210    amd64:OpenBSD:*:*)
     211        echo x86_64-unknown-openbsd${UNAME_RELEASE}
     212        exit 0 ;;
    207213    amiga:OpenBSD:*:*)
    208214        echo m68k-unknown-openbsd${UNAME_RELEASE}
     
    211217        echo mipsel-unknown-openbsd${UNAME_RELEASE}
    212218        exit 0 ;;
     219    cats:OpenBSD:*:*)
     220        echo arm-unknown-openbsd${UNAME_RELEASE}
     221        exit 0 ;;
    213222    hp300:OpenBSD:*:*)
    214223        echo m68k-unknown-openbsd${UNAME_RELEASE}
    215224        exit 0 ;;
     225    luna88k:OpenBSD:*:*)
     226        echo m88k-unknown-openbsd${UNAME_RELEASE}
     227        exit 0 ;;
    216228    mac68k:OpenBSD:*:*)
    217229        echo m68k-unknown-openbsd${UNAME_RELEASE}
     
    244256        echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
    245257        exit 0 ;;
     258    *:ekkoBSD:*:*)
     259        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
     260        exit 0 ;;
     261    macppc:MirBSD:*:*)
     262        echo powerppc-unknown-mirbsd${UNAME_RELEASE}
     263        exit 0 ;;
     264    *:MirBSD:*:*)
     265        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
     266        exit 0 ;;
    246267    alpha:OSF1:*:*)
    247         if test $UNAME_RELEASE = "V4.0"; then
     268        case $UNAME_RELEASE in
     269        *4.0)
    248270                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
    249         fi
     271                ;;
     272        *5.*)
     273                UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
     274                ;;
     275        esac
    250276        # According to Compaq, /usr/sbin/psrinfo has been available on
    251277        # OSF/1 and Tru64 systems produced since 1995.  I hope that
     
    285311                UNAME_MACHINE="alphaev79" ;;
    286312        esac
     313        # A Pn.n version is a patched version.
    287314        # A Vn.n version is a released version.
    288315        # A Tn.n version is a released field test version.
    289316        # A Xn.n version is an unreleased experimental baselevel.
    290317        # 1.2 uses "1.2" for uname -r.
    291         echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    292         exit 0 ;;
    293     Alpha*:OpenVMS:*:*)
    294         echo alpha-hp-vms
     318        echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
    295319        exit 0 ;;
    296320    Alpha\ *:Windows_NT*:*)
     
    314338    *:OS/390:*:*)
    315339        echo i370-ibm-openedition
     340        exit 0 ;;
     341    *:OS400:*:*)
     342        echo powerpc-ibm-os400
    316343        exit 0 ;;
    317344    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
     
    407434        echo m68k-unknown-mint${UNAME_RELEASE}
    408435        exit 0 ;;
     436    m68k:machten:*:*)
     437        echo m68k-apple-machten${UNAME_RELEASE}
     438        exit 0 ;;
    409439    powerpc:machten:*:*)
    410440        echo powerpc-apple-machten${UNAME_RELEASE}
     
    742772        exit 0 ;;
    743773    *:UNICOS/mp:*:*)
    744         echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
     774        echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
    745775        exit 0 ;;
    746776    F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
     
    750780        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
    751781        exit 0 ;;
     782    5000:UNIX_System_V:4.*:*)
     783        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
     784        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
     785        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
     786        exit 0 ;;
    752787    i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
    753788        echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
     
    759794        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    760795        exit 0 ;;
    761     *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
    762         # Determine whether the default compiler uses glibc.
    763         eval $set_cc_for_build
    764         sed 's/^        //' << EOF >$dummy.c
    765         #include <features.h>
    766         #if __GLIBC__ >= 2
    767         LIBC=gnu
    768         #else
    769         LIBC=
    770         #endif
    771 EOF
    772         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
    773         echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
     796    *:FreeBSD:*:*)
     797        echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    774798        exit 0 ;;
    775799    i*:CYGWIN*:*)
     
    804828        exit 0 ;;
    805829    *:GNU:*:*)
     830        # the GNU system
    806831        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
     832        exit 0 ;;
     833    *:GNU/*:*:*)
     834        # other systems with GNU libc and userland
     835        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
    807836        exit 0 ;;
    808837    i*86:Minix:*:*)
     
    810839        exit 0 ;;
    811840    arm*:Linux:*:*)
    812         echo ${UNAME_MACHINE}-unknown-linux-gnu
     841        echo ${UNAME_MACHINE}-${VENDOR}-linux
    813842        exit 0 ;;
    814843    cris:Linux:*:*)
    815         echo cris-axis-linux-gnu
     844        echo cris-axis-linux
    816845        exit 0 ;;
    817846    ia64:Linux:*:*)
    818         echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
     847        echo ${UNAME_MACHINE}-${VENDOR}-linux
     848        exit 0 ;;
     849    m32r*:Linux:*:*)
     850        echo ${UNAME_MACHINE}-${VENDOR}-linux
    819851        exit 0 ;;
    820852    m68*:Linux:*:*)
    821         echo ${UNAME_MACHINE}-unknown-linux-gnu
     853        echo ${UNAME_MACHINE}-${VENDOR}-linux
    822854        exit 0 ;;
    823855    mips:Linux:*:*)
     
    838870EOF
    839871        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
    840         test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
     872        test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0
    841873        ;;
    842874    mips64:Linux:*:*)
     
    857889EOF
    858890        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
    859         test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
     891        test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0
    860892        ;;
    861893    ppc:Linux:*:*)
    862         echo powerpc-${VENDOR:-unknown}-linux-gnu
     894        echo powerpc-${VENDOR}-linux
    863895        exit 0 ;;
    864896    ppc64:Linux:*:*)
    865         echo powerpc64-${VENDOR:-unknown}-linux-gnu
     897        echo powerpc64-${VENDOR}-linux
    866898        exit 0 ;;
    867899    alpha:Linux:*:*)
     
    876908        esac
    877909        objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
    878         if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
    879         echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
     910        if test "$?" = 0 ; then LIBC="-libc1" ; else LIBC="" ; fi
     911        echo ${UNAME_MACHINE}-${VENDOR}-linux${LIBC}
    880912        exit 0 ;;
    881913    parisc:Linux:*:* | hppa:Linux:*:*)
    882914        # Look for CPU level
    883915        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
    884           PA7*) echo hppa1.1-unknown-linux-gnu ;;
    885           PA8*) echo hppa2.0-unknown-linux-gnu ;;
    886           *)    echo hppa-unknown-linux-gnu ;;
     916          PA7*) echo hppa1.1-${VENDOR}-linux ;;
     917          PA8*) echo hppa2.0-${VENDOR}-linux ;;
     918          *)    echo hppa-${VENDOR}-linux ;;
    887919        esac
    888920        exit 0 ;;
    889921    parisc64:Linux:*:* | hppa64:Linux:*:*)
    890         echo hppa64-unknown-linux-gnu
     922        echo hppa64-${VENDOR}-linux
    891923        exit 0 ;;
    892924    s390:Linux:*:* | s390x:Linux:*:*)
    893         echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu
     925        echo ${UNAME_MACHINE}-ibm-linux
    894926        exit 0 ;;
    895927    sh64*:Linux:*:*)
    896         echo ${UNAME_MACHINE}-unknown-linux-gnu
     928        echo ${UNAME_MACHINE}-${VENDOR}-linux
    897929        exit 0 ;;
    898930    sh*:Linux:*:*)
    899         echo ${UNAME_MACHINE}-unknown-linux-gnu
     931        echo ${UNAME_MACHINE}-${VENDOR}-linux
    900932        exit 0 ;;
    901933    sparc:Linux:*:* | sparc64:Linux:*:*)
    902         echo ${UNAME_MACHINE}-unknown-linux-gnu
     934        echo ${UNAME_MACHINE}-${VENDOR}-linux
    903935        exit 0 ;;
    904936    x86_64:Linux:*:*)
    905         echo x86_64-${VENDOR:-unknown}-linux-gnu
     937        echo x86_64-${VENDOR}-linux
    906938        exit 0 ;;
    907939    i*86:Linux:*:*)
     
    918950        case "$ld_supported_targets" in
    919951          elf32-i386)
    920                 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
     952                TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux"
    921953                ;;
    922954          a.out-i386-linux)
    923                 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
     955                echo "${UNAME_MACHINE}-${VENDOR}-linuxaout"
    924956                exit 0 ;;
    925957          coff-i386)
    926                 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
     958                echo "${UNAME_MACHINE}-${VENDOR}-linuxcoff"
    927959                exit 0 ;;
    928960          "")
    929                 # Either a pre-BFD a.out linker (linux-gnuoldld) or
     961                # Either a pre-BFD a.out linker (linuxoldld) or
    930962                # one that does not give us useful --help.
    931                 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
     963                echo "${UNAME_MACHINE}-${VENDOR}-linuxoldld"
    932964                exit 0 ;;
    933965        esac
     
    953985        #endif
    954986        #endif
     987        #ifdef __dietlibc__
     988        LIBC=dietlibc
     989        #endif
    955990EOF
    956991        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
    957         test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0
     992        test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}" | sed 's/linux-gnu/linux/' && exit 0
    958993        test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
    959994        ;;
     
    9821017    i*86:atheos:*:*)
    9831018        echo ${UNAME_MACHINE}-unknown-atheos
     1019        exit 0 ;;
     1020        i*86:syllable:*:*)
     1021        echo ${UNAME_MACHINE}-pc-syllable
    9841022        exit 0 ;;
    9851023    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
     
    10521090        echo m68k-diab-dnix
    10531091        exit 0 ;;
    1054     M68*:*:R3V[567]*:*)
     1092    M68*:*:R3V[5678]*:*)
    10551093        test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
    1056     3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
     1094    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
    10571095        OS_REL=''
    10581096        test -r /etc/.relid \
     
    11521190        exit 0 ;;
    11531191    *:Darwin:*:*)
    1154         case `uname -p` in
     1192        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
     1193        case $UNAME_PROCESSOR in
    11551194            *86) UNAME_PROCESSOR=i686 ;;
    1156             powerpc) UNAME_PROCESSOR=powerpc ;;
     1195            unknown) UNAME_PROCESSOR=powerpc ;;
    11571196        esac
    11581197        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
     
    11691208        echo i386-pc-qnx
    11701209        exit 0 ;;
    1171     NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
     1210    NSR-?:NONSTOP_KERNEL:*:*)
    11721211        echo nsr-tandem-nsk${UNAME_RELEASE}
    11731212        exit 0 ;;
     
    12131252        echo mips-sei-seiux${UNAME_RELEASE}
    12141253        exit 0 ;;
     1254    *:DragonFly:*:*)
     1255        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
     1256        exit 0 ;;
     1257    *:*VMS:*:*)
     1258        UNAME_MACHINE=`(uname -p) 2>/dev/null`
     1259        case "${UNAME_MACHINE}" in
     1260            A*) echo alpha-dec-vms && exit 0 ;;
     1261            I*) echo ia64-dec-vms && exit 0 ;;
     1262            V*) echo vax-dec-vms && exit 0 ;;
     1263        esac
    12151264esac
    12161265
  • trunk/psModules/config.sub

    r1777 r3228  
    22# Configuration validation subroutine script.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    5 
    6 timestamp='2003-06-18'
     4#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
     5
     6timestamp='2004-06-24'
    77
    88# This file is (in principle) common to ALL GNU software.
     
    7171GNU config.sub ($timestamp)
    7272
    73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     73Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    7474Free Software Foundation, Inc.
    7575
     
    119119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
    120120case $maybe_os in
    121   nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
     121  nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
     122  kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
    122123    os=-$maybe_os
    123124    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     
    145146        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    146147        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    147         -apple | -axis)
     148        -apple | -axis | -knuth | -cray)
    148149                os=
    149150                basic_machine=$1
     
    229230        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
    230231        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
     232        | am33_2.0 \
    231233        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
    232234        | c4x | clipper \
     
    235237        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    236238        | i370 | i860 | i960 | ia64 \
    237         | ip2k \
    238         | m32r | m68000 | m68k | m88k | mcore \
     239        | ip2k | iq2000 \
     240        | m32r | m32rle | m68000 | m68k | m88k | mcore \
    239241        | mips | mipsbe | mipseb | mipsel | mipsle \
    240242        | mips16 \
     
    248250        | mipsisa32r2 | mipsisa32r2el \
    249251        | mipsisa64 | mipsisa64el \
     252        | mipsisa64r2 | mipsisa64r2el \
    250253        | mipsisa64sb1 | mipsisa64sb1el \
    251254        | mipsisa64sr71k | mipsisa64sr71kel \
     
    258261        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    259262        | pyramid \
    260         | s390 | s390x \
    261263        | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
    262264        | sh64 | sh64le \
    263         | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
     265        | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
    264266        | strongarm \
    265267        | tahoe | thumb | tic4x | tic80 | tron \
     
    299301        | bs2000-* \
    300302        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
    301         | clipper-* | cydra-* \
     303        | clipper-* | craynv-* | cydra-* \
    302304        | d10v-* | d30v-* | dlx-* \
    303305        | elxsi-* \
     
    306308        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
    307309        | i*86-* | i860-* | i960-* | ia64-* \
    308         | ip2k-* \
    309         | m32r-* \
     310        | ip2k-* | iq2000-* \
     311        | m32r-* | m32rle-* \
    310312        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    311313        | m88110-* | m88k-* | mcore-* \
     
    321323        | mipsisa32r2-* | mipsisa32r2el-* \
    322324        | mipsisa64-* | mipsisa64el-* \
     325        | mipsisa64r2-* | mipsisa64r2el-* \
    323326        | mipsisa64sb1-* | mipsisa64sb1el-* \
    324327        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
    325328        | mipstx39-* | mipstx39el-* \
     329        | mmix-* \
    326330        | msp430-* \
    327         | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
     331        | none-* | np1-* | ns16k-* | ns32k-* \
    328332        | orion-* \
    329333        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
     
    331335        | pyramid-* \
    332336        | romp-* | rs6000-* \
    333         | s390-* | s390x-* \
    334337        | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
    335338        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
    336339        | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
    337         | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
     340        | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
    338341        | tahoe-* | thumb-* \
    339342        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
     
    362365                os=-udi
    363366                ;;
     367        abacus)
     368                basic_machine=abacus-unknown
     369                ;;
    364370        adobe68k)
    365371                basic_machine=m68010-adobe
     
    379385                basic_machine=x86_64-pc
    380386                ;;
     387        amd64-*)
     388                basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
     389                ;;
    381390        amdahl)
    382391                basic_machine=580-amdahl
     
    438447                os=-unicos
    439448                ;;
     449        craynv)
     450                basic_machine=craynv-cray
     451                os=-unicosmp
     452                ;;
     453        cr16c)
     454                basic_machine=cr16c-unknown
     455                os=-elf
     456                ;;
    440457        crds | unos)
    441458                basic_machine=m68k-crds
     
    443460        cris | cris-* | etrax*)
    444461                basic_machine=cris-axis
     462                ;;
     463        crx)
     464                basic_machine=crx-unknown
     465                os=-elf
    445466                ;;
    446467        da30 | da30-*)
     
    643664        mips3*)
    644665                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
    645                 ;;
    646         mmix*)
    647                 basic_machine=mmix-knuth
    648                 os=-mmixware
    649666                ;;
    650667        monitor)
     
    728745                basic_machine=np1-gould
    729746                ;;
    730         nv1)
    731                 basic_machine=nv1-cray
    732                 os=-unicosmp
    733                 ;;
    734747        nsr-tandem)
    735748                basic_machine=nsr-tandem
     
    743756                os=-coff
    744757                ;;
     758        os400)
     759                basic_machine=powerpc-ibm
     760                os=-os400
     761                ;;
    745762        OSE68000 | ose68000)
    746763                basic_machine=m68000-ericsson
     
    834851                basic_machine=romp-ibm
    835852                ;;
     853        s390 | s390-*)
     854                basic_machine=s390-ibm
     855                ;;
     856        s390x | s390x-*)
     857                basic_machine=s390x-ibm
     858                ;;
    836859        sa29200)
    837860                basic_machine=a29k-amd
     
    956979        tower | tower-32)
    957980                basic_machine=m68k-ncr
     981                ;;
     982        tpf)
     983                basic_machine=s390x-ibm
     984                os=-tpf
    958985                ;;
    959986        udi29k)
     
    10301057                basic_machine=romp-ibm
    10311058                ;;
     1059        mmix)
     1060                basic_machine=mmix-knuth
     1061                ;;
    10321062        rs6000)
    10331063                basic_machine=rs6000-ibm
     
    10521082                basic_machine=sh64-unknown
    10531083                ;;
    1054         sparc | sparcv9 | sparcv9b)
     1084        sparc | sparcv8 | sparcv9 | sparcv9b)
    10551085                basic_machine=sparc-sun
    10561086                ;;
     
    11251155              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    11261156              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
    1127               | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
    1128               | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
     1157              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
     1158              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
     1159              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
    11291160              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
    11301161              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    11311162              | -chorusos* | -chorusrdb* \
    11321163              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    1133               | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
     1164              | -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
    11341165              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    11351166              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
     
    11371168              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
    11381169              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
    1139               | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
     1170              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
    11401171        # Remember, each alternative MUST END IN *, to match a version number.
    11411172                ;;
     
    11611192                os=`echo $os | sed -e 's|mac|macos|'`
    11621193                ;;
    1163         -linux*)
    1164                 os=`echo $os | sed -e 's|linux|linux-gnu|'`
     1194        -linux-dietlibc)
     1195                os=-linux-dietlibc
    11651196                ;;
    11661197        -sunos5*)
     
    11731204                os=-openedition
    11741205                ;;
     1206        -os400*)
     1207                os=-os400
     1208                ;;
    11751209        -wince*)
    11761210                os=-wince
     
    11931227        -atheos*)
    11941228                os=-atheos
     1229                ;;
     1230        -syllable*)
     1231                os=-syllable
    11951232                ;;
    11961233        -386bsd)
     
    12151252        -sinix*)
    12161253                os=-sysv4
     1254                ;;
     1255        -tpf*)
     1256                os=-tpf
    12171257                ;;
    12181258        -triton*)
     
    12831323                os=-aout
    12841324                ;;
    1285         c4x-* | tic4x-*)
    1286                 os=-coff
    1287                 ;;
     1325    c4x-* | tic4x-*)
     1326        os=-coff
     1327        ;;
    12881328        # This must come before the *-dec entry.
    12891329        pdp10-*)
     
    13311371        *-ibm)
    13321372                os=-aix
     1373                ;;
     1374        *-knuth)
     1375                os=-mmixware
    13331376                ;;
    13341377        *-wec)
     
    14641507                                vendor=ibm
    14651508                                ;;
     1509                        -os400*)
     1510                                vendor=ibm
     1511                                ;;
    14661512                        -ptx*)
    14671513                                vendor=sequent
     1514                                ;;
     1515                        -tpf*)
     1516                                vendor=ibm
    14681517                                ;;
    14691518                        -vxsim* | -vxworks* | -windiss*)
  • trunk/psModules/configure

    r3081 r3228  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.57.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    6 # Free Software Foundation, Inc.
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
     
    2120  set -o posix
    2221fi
     22DUALCASE=1; export DUALCASE # for MKS sh
    2323
    2424# Support unset when possible.
    25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    2626  as_unset=unset
    2727else
     
    4242  LC_TELEPHONE LC_TIME
    4343do
    44   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    4545    eval $as_var=C; export $as_var
    4646  else
     
    219219  as_mkdir_p=:
    220220else
     221  test -d ./-p && rmdir ./-p
    221222  as_mkdir_p=false
    222223fi
     
    225226
    226227# Sed expression to map a string onto a valid CPP name.
    227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    228229
    229230# Sed expression to map a string onto a valid variable name.
    230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    231232
    232233
     
    425426PACKAGE_BUGREPORT=
    426427
    427 ac_unique_file="configure.in"
     428ac_unique_file="configure.ac"
    428429# Factoring default headers for most tests.
    429430ac_includes_default="\
     
    463464#endif"
    464465
    465 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GSL_CONFIG LIBOBJS LTLIBOBJS'
     466ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS'
    466467ac_subst_files=''
    467468
     
    822823# Be sure to have absolute paths.
    823824for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    824               localstatedir libdir includedir oldincludedir infodir mandir
     825              localstatedir libdir includedir oldincludedir infodir mandir
    825826do
    826827  eval ac_val=$`echo $ac_var`
     
    862863  ac_confdir=`(dirname "$0") 2>/dev/null ||
    863864$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    864         X"$0" : 'X\(//\)[^/]' \| \
    865         X"$0" : 'X\(//\)$' \| \
    866         X"$0" : 'X\(/\)' \| \
    867         .     : '\(.\)' 2>/dev/null ||
     865        X"$0" : 'X\(//\)[^/]' \| \
     866        X"$0" : 'X\(//\)$' \| \
     867        X"$0" : 'X\(/\)' \| \
     868        .     : '\(.\)' 2>/dev/null ||
    868869echo X"$0" |
    869870    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    977978Installation directories:
    978979  --prefix=PREFIX         install architecture-independent files in PREFIX
    979                           [$ac_default_prefix]
     980                          [$ac_default_prefix]
    980981  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    981                           [PREFIX]
     982                          [PREFIX]
    982983
    983984By default, \`make install' will install all the files in
     
    10411042  --with-tags[=TAGS]
    10421043                          include additional configurations [automatic]
    1043   --with-psLib=DIR        Specify location of psLib files
    1044   --with-sla=DIR          Specify location of SLA.
    1045   --with-cfitsio=DIR      Specify location of CFITSIO.
    1046   --with-fftw3=DIR        Specify location of FFTW version 3.
    1047   --with-gsl=DIR          Specify location of GSL.
     1044  --with-pslib-config=FILE  Specify location of psLib-config script
    10481045
    10491046Some influential environment variables:
     
    10971094    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    10981095esac
    1099 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    1100 # absolute.
    1101 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    1102 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    1103 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    1104 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     1096
     1097# Do not use `cd foo && pwd` to compute absolute paths, because
     1098# the directories may not exist.
     1099case `pwd` in
     1100.) ac_abs_builddir="$ac_dir";;
     1101*)
     1102  case "$ac_dir" in
     1103  .) ac_abs_builddir=`pwd`;;
     1104  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     1105  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     1106  esac;;
     1107esac
     1108case $ac_abs_builddir in
     1109.) ac_abs_top_builddir=${ac_top_builddir}.;;
     1110*)
     1111  case ${ac_top_builddir}. in
     1112  .) ac_abs_top_builddir=$ac_abs_builddir;;
     1113  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     1114  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     1115  esac;;
     1116esac
     1117case $ac_abs_builddir in
     1118.) ac_abs_srcdir=$ac_srcdir;;
     1119*)
     1120  case $ac_srcdir in
     1121  .) ac_abs_srcdir=$ac_abs_builddir;;
     1122  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     1123  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     1124  esac;;
     1125esac
     1126case $ac_abs_builddir in
     1127.) ac_abs_top_srcdir=$ac_top_srcdir;;
     1128*)
     1129  case $ac_top_srcdir in
     1130  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     1131  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     1132  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     1133  esac;;
     1134esac
    11051135
    11061136    cd $ac_dir
     
    11131143      $SHELL $ac_srcdir/configure  --help=recursive
    11141144    elif test -f $ac_srcdir/configure.ac ||
    1115            test -f $ac_srcdir/configure.in; then
     1145           test -f $ac_srcdir/configure.in; then
    11161146      echo
    11171147      $ac_configure --help
     
    11271157  cat <<\_ACEOF
    11281158
    1129 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    1130 Free Software Foundation, Inc.
     1159Copyright (C) 2003 Free Software Foundation, Inc.
    11311160This configure script is free software; the Free Software Foundation
    11321161gives unlimited permission to copy, distribute and modify it.
     
    11401169
    11411170It was created by $as_me, which was
    1142 generated by GNU Autoconf 2.57.  Invocation command line was
     1171generated by GNU Autoconf 2.59.  Invocation command line was
    11431172
    11441173  $ $0 $@
     
    12171246      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    12181247      if test $ac_must_keep_next = true; then
    1219         ac_must_keep_next=false # Got value, back to normal.
     1248        ac_must_keep_next=false # Got value, back to normal.
    12201249      else
    1221         case $ac_arg in
    1222           *=* | --config-cache | -C | -disable-* | --disable-* \
    1223           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1224           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1225           | -with-* | --with-* | -without-* | --without-* | --x)
    1226             case "$ac_configure_args0 " in
    1227               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1228             esac
    1229             ;;
    1230           -* ) ac_must_keep_next=true ;;
    1231         esac
     1250        case $ac_arg in
     1251          *=* | --config-cache | -C | -disable-* | --disable-* \
     1252          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1253          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1254          | -with-* | --with-* | -without-* | --without-* | --x)
     1255            case "$ac_configure_args0 " in
     1256              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1257            esac
     1258            ;;
     1259          -* ) ac_must_keep_next=true ;;
     1260        esac
    12321261      fi
    12331262      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     
    12631292    *ac_space=\ *)
    12641293      sed -n \
    1265         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1266           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1294        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1295          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    12671296      ;;
    12681297    *)
    12691298      sed -n \
    1270         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1299        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    12711300      ;;
    12721301    esac;
     
    12971326      do
    12981327        eval ac_val=$`echo $ac_var`
    1299         echo "$ac_var='"'"'$ac_val'"'"'"
     1328        echo "$ac_var='"'"'$ac_val'"'"'"
    13001329      done | sort
    13011330      echo
     
    13161345    echo "$as_me: exit $exit_status"
    13171346  } >&5
    1318   rm -f core core.* *.core &&
     1347  rm -f core *.core &&
    13191348  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    13201349    exit $exit_status
     
    13961425ac_cache_corrupted=false
    13971426for ac_var in `(set) 2>&1 |
    1398                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1427               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    13991428  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    14001429  eval ac_new_set=\$ac_env_${ac_var}_set
     
    14131442    *)
    14141443      if test "x$ac_old_val" != "x$ac_new_val"; then
    1415         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1444        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    14161445echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1417         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1446        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    14181447echo "$as_me:   former value:  $ac_old_val" >&2;}
    1419         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1448        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    14201449echo "$as_me:   current value: $ac_new_val" >&2;}
    1421         ac_cache_corrupted=:
     1450        ac_cache_corrupted=:
    14221451      fi;;
    14231452  esac
     
    15071536# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    15081537# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1538# OS/2's system install, which has a completely different semantic
    15091539# ./install, which can be erroneously created by make from ./install.sh.
    15101540echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    15231553  ./ | .// | /cC/* | \
    15241554  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1555  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    15251556  /usr/ucb/* ) ;;
    15261557  *)
     
    15301561    for ac_prog in ginstall scoinst install; do
    15311562      for ac_exec_ext in '' $ac_executable_extensions; do
    1532         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    1533           if test $ac_prog = install &&
    1534             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1535             # AIX install.  It has an incompatible calling convention.
    1536             :
    1537           elif test $ac_prog = install &&
    1538             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    1539             # program-specific install script used by HP pwplus--don't use.
    1540             :
    1541           else
    1542             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1543             break 3
    1544           fi
    1545         fi
     1563        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1564          if test $ac_prog = install &&
     1565            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1566            # AIX install.  It has an incompatible calling convention.
     1567            :
     1568          elif test $ac_prog = install &&
     1569            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1570            # program-specific install script used by HP pwplus--don't use.
     1571            :
     1572          else
     1573            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1574            break 3
     1575          fi
     1576        fi
    15461577      done
    15471578    done
     
    17191750echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    17201751echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    1721 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
     1752set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    17221753if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    17231754  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    22482279
    22492280cat >conftest.$ac_ext <<_ACEOF
    2250 #line $LINENO "configure"
    22512281/* confdefs.h.  */
    22522282_ACEOF
     
    22682298# It will help us diagnose broken compilers, and finding out an intuition
    22692299# of exeext.
    2270 echo "$as_me:$LINENO: checking for C compiler default output" >&5
    2271 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
     2300echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2301echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    22722302ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    22732303if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    22892319  case $ac_file in
    22902320    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    2291         ;;
     2321        ;;
    22922322    conftest.$ac_ext )
    2293         # This is the source file.
    2294         ;;
     2323        # This is the source file.
     2324        ;;
    22952325    [ab].out )
    2296         # We found the default executable, but exeext='' is most
    2297         # certainly right.
    2298         break;;
     2326        # We found the default executable, but exeext='' is most
     2327        # certainly right.
     2328        break;;
    22992329    *.* )
    2300         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2301         # FIXME: I believe we export ac_cv_exeext for Libtool,
    2302         # but it would be cool to find out if it's true.  Does anybody
    2303         # maintain Libtool? --akim.
    2304         export ac_cv_exeext
    2305         break;;
     2330        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2331        # FIXME: I believe we export ac_cv_exeext for Libtool,
     2332        # but it would be cool to find out if it's true.  Does anybody
     2333        # maintain Libtool? --akim.
     2334        export ac_cv_exeext
     2335        break;;
    23062336    * )
    2307         break;;
     2337        break;;
    23082338  esac
    23092339done
     
    23792409    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    23802410    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2381           export ac_cv_exeext
    2382           break;;
     2411          export ac_cv_exeext
     2412          break;;
    23832413    * ) break;;
    23842414  esac
     
    24052435else
    24062436  cat >conftest.$ac_ext <<_ACEOF
    2407 #line $LINENO "configure"
    24082437/* confdefs.h.  */
    24092438_ACEOF
     
    24562485else
    24572486  cat >conftest.$ac_ext <<_ACEOF
    2458 #line $LINENO "configure"
    24592487/* confdefs.h.  */
    24602488_ACEOF
     
    24762504rm -f conftest.$ac_objext
    24772505if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2478   (eval $ac_compile) 2>&5
     2506  (eval $ac_compile) 2>conftest.er1
     2507  ac_status=$?
     2508  grep -v '^ *+' conftest.er1 >conftest.err
     2509  rm -f conftest.er1
     2510  cat conftest.err >&5
     2511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2512  (exit $ac_status); } &&
     2513         { ac_try='test -z "$ac_c_werror_flag"
     2514                         || test ! -s conftest.err'
     2515  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2516  (eval $ac_try) 2>&5
    24792517  ac_status=$?
    24802518  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2481   (exit $ac_status); } &&
    2482         { ac_try='test -s conftest.$ac_objext'
     2519  (exit $ac_status); }; } &&
     2520        { ac_try='test -s conftest.$ac_objext'
    24832521  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    24842522  (eval $ac_try) 2>&5
     
    24932531ac_compiler_gnu=no
    24942532fi
    2495 rm -f conftest.$ac_objext conftest.$ac_ext
     2533rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24962534ac_cv_c_compiler_gnu=$ac_compiler_gnu
    24972535
     
    25092547else
    25102548  cat >conftest.$ac_ext <<_ACEOF
    2511 #line $LINENO "configure"
    25122549/* confdefs.h.  */
    25132550_ACEOF
     
    25262563rm -f conftest.$ac_objext
    25272564if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2528   (eval $ac_compile) 2>&5
     2565  (eval $ac_compile) 2>conftest.er1
     2566  ac_status=$?
     2567  grep -v '^ *+' conftest.er1 >conftest.err
     2568  rm -f conftest.er1
     2569  cat conftest.err >&5
     2570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2571  (exit $ac_status); } &&
     2572         { ac_try='test -z "$ac_c_werror_flag"
     2573                         || test ! -s conftest.err'
     2574  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2575  (eval $ac_try) 2>&5
    25292576  ac_status=$?
    25302577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2531   (exit $ac_status); } &&
    2532         { ac_try='test -s conftest.$ac_objext'
     2578  (exit $ac_status); }; } &&
     2579        { ac_try='test -s conftest.$ac_objext'
    25332580  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25342581  (eval $ac_try) 2>&5
     
    25432590ac_cv_prog_cc_g=no
    25442591fi
    2545 rm -f conftest.$ac_objext conftest.$ac_ext
     2592rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    25462593fi
    25472594echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    25702617ac_save_CC=$CC
    25712618cat >conftest.$ac_ext <<_ACEOF
    2572 #line $LINENO "configure"
    25732619/* confdefs.h.  */
    25742620_ACEOF
     
    25982644  return s;
    25992645}
     2646
     2647/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     2648   function prototypes and stuff, but not '\xHH' hex character constants.
     2649   These don't provoke an error unfortunately, instead are silently treated
     2650   as 'x'.  The following induces an error, until -std1 is added to get
     2651   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     2652   array size at least.  It's necessary to write '\x00'==0 to get something
     2653   that's true only with -std1.  */
     2654int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2655
    26002656int test (int i, double x);
    26012657struct s1 {int (*f) (int a);};
     
    26242680  rm -f conftest.$ac_objext
    26252681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2626   (eval $ac_compile) 2>&5
     2682  (eval $ac_compile) 2>conftest.er1
     2683  ac_status=$?
     2684  grep -v '^ *+' conftest.er1 >conftest.err
     2685  rm -f conftest.er1
     2686  cat conftest.err >&5
     2687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2688  (exit $ac_status); } &&
     2689         { ac_try='test -z "$ac_c_werror_flag"
     2690                         || test ! -s conftest.err'
     2691  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2692  (eval $ac_try) 2>&5
    26272693  ac_status=$?
    26282694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2629   (exit $ac_status); } &&
    2630         { ac_try='test -s conftest.$ac_objext'
     2695  (exit $ac_status); }; } &&
     2696        { ac_try='test -s conftest.$ac_objext'
    26312697  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26322698  (eval $ac_try) 2>&5
     
    26412707
    26422708fi
    2643 rm -f conftest.$ac_objext
     2709rm -f conftest.err conftest.$ac_objext
    26442710done
    26452711rm -f conftest.$ac_ext conftest.$ac_objext
     
    26692735rm -f conftest.$ac_objext
    26702736if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2671   (eval $ac_compile) 2>&5
     2737  (eval $ac_compile) 2>conftest.er1
     2738  ac_status=$?
     2739  grep -v '^ *+' conftest.er1 >conftest.err
     2740  rm -f conftest.er1
     2741  cat conftest.err >&5
     2742  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2743  (exit $ac_status); } &&
     2744         { ac_try='test -z "$ac_c_werror_flag"
     2745                         || test ! -s conftest.err'
     2746  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2747  (eval $ac_try) 2>&5
    26722748  ac_status=$?
    26732749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2674   (exit $ac_status); } &&
    2675         { ac_try='test -s conftest.$ac_objext'
     2750  (exit $ac_status); }; } &&
     2751        { ac_try='test -s conftest.$ac_objext'
    26762752  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26772753  (eval $ac_try) 2>&5
     
    26802756  (exit $ac_status); }; }; then
    26812757  for ac_declaration in \
    2682    ''\
    2683    '#include <stdlib.h>' \
     2758   '' \
    26842759   'extern "C" void std::exit (int) throw (); using std::exit;' \
    26852760   'extern "C" void std::exit (int); using std::exit;' \
     
    26892764do
    26902765  cat >conftest.$ac_ext <<_ACEOF
    2691 #line $LINENO "configure"
    26922766/* confdefs.h.  */
    26932767_ACEOF
     
    26952769cat >>conftest.$ac_ext <<_ACEOF
    26962770/* end confdefs.h.  */
     2771$ac_declaration
    26972772#include <stdlib.h>
    2698 $ac_declaration
    26992773int
    27002774main ()
     
    27072781rm -f conftest.$ac_objext
    27082782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2709   (eval $ac_compile) 2>&5
     2783  (eval $ac_compile) 2>conftest.er1
     2784  ac_status=$?
     2785  grep -v '^ *+' conftest.er1 >conftest.err
     2786  rm -f conftest.er1
     2787  cat conftest.err >&5
     2788  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2789  (exit $ac_status); } &&
     2790         { ac_try='test -z "$ac_c_werror_flag"
     2791                         || test ! -s conftest.err'
     2792  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2793  (eval $ac_try) 2>&5
    27102794  ac_status=$?
    27112795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2712   (exit $ac_status); } &&
    2713         { ac_try='test -s conftest.$ac_objext'
     2796  (exit $ac_status); }; } &&
     2797        { ac_try='test -s conftest.$ac_objext'
    27142798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    27152799  (eval $ac_try) 2>&5
     
    27242808continue
    27252809fi
    2726 rm -f conftest.$ac_objext conftest.$ac_ext
     2810rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    27272811  cat >conftest.$ac_ext <<_ACEOF
    2728 #line $LINENO "configure"
    27292812/* confdefs.h.  */
    27302813_ACEOF
     
    27432826rm -f conftest.$ac_objext
    27442827if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2745   (eval $ac_compile) 2>&5
     2828  (eval $ac_compile) 2>conftest.er1
     2829  ac_status=$?
     2830  grep -v '^ *+' conftest.er1 >conftest.err
     2831  rm -f conftest.er1
     2832  cat conftest.err >&5
     2833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2834  (exit $ac_status); } &&
     2835         { ac_try='test -z "$ac_c_werror_flag"
     2836                         || test ! -s conftest.err'
     2837  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2838  (eval $ac_try) 2>&5
    27462839  ac_status=$?
    27472840  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2748   (exit $ac_status); } &&
    2749         { ac_try='test -s conftest.$ac_objext'
     2841  (exit $ac_status); }; } &&
     2842        { ac_try='test -s conftest.$ac_objext'
    27502843  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    27512844  (eval $ac_try) 2>&5
     
    27592852
    27602853fi
    2761 rm -f conftest.$ac_objext conftest.$ac_ext
     2854rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    27622855done
    27632856rm -f conftest*
     
    27732866
    27742867fi
    2775 rm -f conftest.$ac_objext conftest.$ac_ext
     2868rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    27762869ac_ext=c
    27772870ac_cpp='$CPP $CPPFLAGS'
     
    29573050
    29583051
    2959 CFLAGS="${CFLAGS=} -g2 -Wall -std=c99 -D_GNU_SOURCE"
     3052CFLAGS="${CFLAGS=} -Wall -Werror -std=c99 -D_GNU_SOURCE"
    29603053
    29613054# Find a good install program.  We prefer a C program (faster),
     
    29703063# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    29713064# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     3065# OS/2's system install, which has a completely different semantic
    29723066# ./install, which can be erroneously created by make from ./install.sh.
    29733067echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    29863080  ./ | .// | /cC/* | \
    29873081  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     3082  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    29883083  /usr/ucb/* ) ;;
    29893084  *)
     
    29933088    for ac_prog in ginstall scoinst install; do
    29943089      for ac_exec_ext in '' $ac_executable_extensions; do
    2995         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2996           if test $ac_prog = install &&
    2997             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2998             # AIX install.  It has an incompatible calling convention.
    2999             :
    3000           elif test $ac_prog = install &&
    3001             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    3002             # program-specific install script used by HP pwplus--don't use.
    3003             :
    3004           else
    3005             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3006             break 3
    3007           fi
    3008         fi
     3090        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3091          if test $ac_prog = install &&
     3092            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3093            # AIX install.  It has an incompatible calling convention.
     3094            :
     3095          elif test $ac_prog = install &&
     3096            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3097            # program-specific install script used by HP pwplus--don't use.
     3098            :
     3099          else
     3100            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3101            break 3
     3102          fi
     3103        fi
    30093104      done
    30103105    done
     
    36513746*-*-irix6*)
    36523747  # Find out which ABI we are using.
    3653   echo '#line 3653 "configure"' > conftest.$ac_ext
     3748  echo '#line 3748 "configure"' > conftest.$ac_ext
    36543749  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    36553750  (eval $ac_compile) 2>&5
     
    37483843
    37493844     cat >conftest.$ac_ext <<_ACEOF
    3750 #line $LINENO "configure"
    37513845/* confdefs.h.  */
    37523846_ACEOF
     
    37653859rm -f conftest.$ac_objext conftest$ac_exeext
    37663860if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3767   (eval $ac_link) 2>&5
     3861  (eval $ac_link) 2>conftest.er1
     3862  ac_status=$?
     3863  grep -v '^ *+' conftest.er1 >conftest.err
     3864  rm -f conftest.er1
     3865  cat conftest.err >&5
     3866  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3867  (exit $ac_status); } &&
     3868         { ac_try='test -z "$ac_c_werror_flag"
     3869                         || test ! -s conftest.err'
     3870  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3871  (eval $ac_try) 2>&5
    37683872  ac_status=$?
    37693873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3770   (exit $ac_status); } &&
    3771         { ac_try='test -s conftest$ac_exeext'
     3874  (exit $ac_status); }; } &&
     3875        { ac_try='test -s conftest$ac_exeext'
    37723876  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    37733877  (eval $ac_try) 2>&5
     
    37823886lt_cv_cc_needs_belf=no
    37833887fi
    3784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     3888rm -f conftest.err conftest.$ac_objext \
     3889      conftest$ac_exeext conftest.$ac_ext
    37853890     ac_ext=c
    37863891ac_cpp='$CPP $CPPFLAGS'
     
    38313936  # not just through cpp. "Syntax error" is here to catch this case.
    38323937  cat >conftest.$ac_ext <<_ACEOF
    3833 #line $LINENO "configure"
    38343938/* confdefs.h.  */
    38353939_ACEOF
     
    38423946# include <assert.h>
    38433947#endif
    3844                      Syntax error
     3948                     Syntax error
    38453949_ACEOF
    38463950if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    38543958  if test -s conftest.err; then
    38553959    ac_cpp_err=$ac_c_preproc_warn_flag
     3960    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    38563961  else
    38573962    ac_cpp_err=
     
    38743979  # can be detected and how.
    38753980  cat >conftest.$ac_ext <<_ACEOF
    3876 #line $LINENO "configure"
    38773981/* confdefs.h.  */
    38783982_ACEOF
     
    38923996  if test -s conftest.err; then
    38933997    ac_cpp_err=$ac_c_preproc_warn_flag
     3998    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    38943999  else
    38954000    ac_cpp_err=
     
    39384043  # not just through cpp. "Syntax error" is here to catch this case.
    39394044  cat >conftest.$ac_ext <<_ACEOF
    3940 #line $LINENO "configure"
    39414045/* confdefs.h.  */
    39424046_ACEOF
     
    39494053# include <assert.h>
    39504054#endif
    3951                      Syntax error
     4055                     Syntax error
    39524056_ACEOF
    39534057if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    39614065  if test -s conftest.err; then
    39624066    ac_cpp_err=$ac_c_preproc_warn_flag
     4067    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    39634068  else
    39644069    ac_cpp_err=
     
    39814086  # can be detected and how.
    39824087  cat >conftest.$ac_ext <<_ACEOF
    3983 #line $LINENO "configure"
    39844088/* confdefs.h.  */
    39854089_ACEOF
     
    39994103  if test -s conftest.err; then
    40004104    ac_cpp_err=$ac_c_preproc_warn_flag
     4105    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    40014106  else
    40024107    ac_cpp_err=
     
    40444149else
    40454150  cat >conftest.$ac_ext <<_ACEOF
    4046 #line $LINENO "configure"
    40474151/* confdefs.h.  */
    40484152_ACEOF
     
    40654169rm -f conftest.$ac_objext
    40664170if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4067   (eval $ac_compile) 2>&5
     4171  (eval $ac_compile) 2>conftest.er1
     4172  ac_status=$?
     4173  grep -v '^ *+' conftest.er1 >conftest.err
     4174  rm -f conftest.er1
     4175  cat conftest.err >&5
     4176  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4177  (exit $ac_status); } &&
     4178         { ac_try='test -z "$ac_c_werror_flag"
     4179                         || test ! -s conftest.err'
     4180  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4181  (eval $ac_try) 2>&5
    40684182  ac_status=$?
    40694183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4070   (exit $ac_status); } &&
    4071         { ac_try='test -s conftest.$ac_objext'
     4184  (exit $ac_status); }; } &&
     4185        { ac_try='test -s conftest.$ac_objext'
    40724186  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    40734187  (eval $ac_try) 2>&5
     
    40824196ac_cv_header_stdc=no
    40834197fi
    4084 rm -f conftest.$ac_objext conftest.$ac_ext
     4198rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    40854199
    40864200if test $ac_cv_header_stdc = yes; then
    40874201  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    40884202  cat >conftest.$ac_ext <<_ACEOF
    4089 #line $LINENO "configure"
    40904203/* confdefs.h.  */
    40914204_ACEOF
     
    41094222  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    41104223  cat >conftest.$ac_ext <<_ACEOF
    4111 #line $LINENO "configure"
    41124224/* confdefs.h.  */
    41134225_ACEOF
     
    41344246else
    41354247  cat >conftest.$ac_ext <<_ACEOF
    4136 #line $LINENO "configure"
    41374248/* confdefs.h.  */
    41384249_ACEOF
     
    41464257#else
    41474258# define ISLOWER(c) \
    4148                    (('a' <= (c) && (c) <= 'i') \
    4149                      || ('j' <= (c) && (c) <= 'r') \
    4150                      || ('s' <= (c) && (c) <= 'z'))
     4259                   (('a' <= (c) && (c) <= 'i') \
     4260                     || ('j' <= (c) && (c) <= 'r') \
     4261                     || ('s' <= (c) && (c) <= 'z'))
    41514262# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    41524263#endif
     
    41594270  for (i = 0; i < 256; i++)
    41604271    if (XOR (islower (i), ISLOWER (i))
    4161         || toupper (i) != TOUPPER (i))
     4272        || toupper (i) != TOUPPER (i))
    41624273      exit(2);
    41634274  exit (0);
     
    41844295ac_cv_header_stdc=no
    41854296fi
    4186 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4297rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    41874298fi
    41884299fi
     
    42094320
    42104321for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4211                   inttypes.h stdint.h unistd.h
     4322                  inttypes.h stdint.h unistd.h
    42124323do
    42134324as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    42184329else
    42194330  cat >conftest.$ac_ext <<_ACEOF
    4220 #line $LINENO "configure"
    42214331/* confdefs.h.  */
    42224332_ACEOF
     
    42304340rm -f conftest.$ac_objext
    42314341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4232   (eval $ac_compile) 2>&5
     4342  (eval $ac_compile) 2>conftest.er1
     4343  ac_status=$?
     4344  grep -v '^ *+' conftest.er1 >conftest.err
     4345  rm -f conftest.er1
     4346  cat conftest.err >&5
     4347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4348  (exit $ac_status); } &&
     4349         { ac_try='test -z "$ac_c_werror_flag"
     4350                         || test ! -s conftest.err'
     4351  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4352  (eval $ac_try) 2>&5
    42334353  ac_status=$?
    42344354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4235   (exit $ac_status); } &&
    4236         { ac_try='test -s conftest.$ac_objext'
     4355  (exit $ac_status); }; } &&
     4356        { ac_try='test -s conftest.$ac_objext'
    42374357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    42384358  (eval $ac_try) 2>&5
     
    42474367eval "$as_ac_Header=no"
    42484368fi
    4249 rm -f conftest.$ac_objext conftest.$ac_ext
     4369rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    42504370fi
    42514371echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    42784398echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    42794399cat >conftest.$ac_ext <<_ACEOF
    4280 #line $LINENO "configure"
    42814400/* confdefs.h.  */
    42824401_ACEOF
     
    42894408rm -f conftest.$ac_objext
    42904409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4291   (eval $ac_compile) 2>&5
     4410  (eval $ac_compile) 2>conftest.er1
     4411  ac_status=$?
     4412  grep -v '^ *+' conftest.er1 >conftest.err
     4413  rm -f conftest.er1
     4414  cat conftest.err >&5
     4415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4416  (exit $ac_status); } &&
     4417         { ac_try='test -z "$ac_c_werror_flag"
     4418                         || test ! -s conftest.err'
     4419  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4420  (eval $ac_try) 2>&5
    42924421  ac_status=$?
    42934422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4294   (exit $ac_status); } &&
    4295         { ac_try='test -s conftest.$ac_objext'
     4423  (exit $ac_status); }; } &&
     4424        { ac_try='test -s conftest.$ac_objext'
    42964425  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    42974426  (eval $ac_try) 2>&5
     
    43064435ac_header_compiler=no
    43074436fi
    4308 rm -f conftest.$ac_objext conftest.$ac_ext
     4437rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    43094438echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    43104439echo "${ECHO_T}$ac_header_compiler" >&6
     
    43144443echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    43154444cat >conftest.$ac_ext <<_ACEOF
    4316 #line $LINENO "configure"
    43174445/* confdefs.h.  */
    43184446_ACEOF
     
    43324460  if test -s conftest.err; then
    43334461    ac_cpp_err=$ac_c_preproc_warn_flag
     4462    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    43344463  else
    43354464    ac_cpp_err=
     
    43514480
    43524481# So?  What about this header?
    4353 case $ac_header_compiler:$ac_header_preproc in
    4354   yes:no )
     4482case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4483  yes:no: )
    43554484    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    43564485echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4486    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4487echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4488    ac_header_preproc=yes
     4489    ;;
     4490  no:yes:* )
     4491    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4492echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4493    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4494echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4495    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4496echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4497    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4498echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    43574499    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    43584500echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4501    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4502echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    43594503    (
    43604504      cat <<\_ASBOX
    4361 ## ------------------------------------ ##
    4362 ## Report this to bug-autoconf@gnu.org. ##
    4363 ## ------------------------------------ ##
    4364 _ASBOX
    4365     ) |
    4366       sed "s/^/$as_me: WARNING:     /" >&2
    4367     ;;
    4368   no:yes )
    4369     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4370 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4371     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
    4372 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    4373     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4375     (
    4376       cat <<\_ASBOX
    4377 ## ------------------------------------ ##
    4378 ## Report this to bug-autoconf@gnu.org. ##
    4379 ## ------------------------------------ ##
     4505## ------------------------------------------ ##
     4506## Report this to the AC_PACKAGE_NAME lists.  ##
     4507## ------------------------------------------ ##
    43804508_ASBOX
    43814509    ) |
     
    43884516  echo $ECHO_N "(cached) $ECHO_C" >&6
    43894517else
    4390   eval "$as_ac_Header=$ac_header_preproc"
     4518  eval "$as_ac_Header=\$ac_header_preproc"
    43914519fi
    43924520echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     
    45224650else
    45234651  cat >conftest.$ac_ext <<_ACEOF
    4524 #line $LINENO "configure"
    45254652/* confdefs.h.  */
    45264653_ACEOF
     
    45424669rm -f conftest.$ac_objext
    45434670if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4544   (eval $ac_compile) 2>&5
     4671  (eval $ac_compile) 2>conftest.er1
     4672  ac_status=$?
     4673  grep -v '^ *+' conftest.er1 >conftest.err
     4674  rm -f conftest.er1
     4675  cat conftest.err >&5
     4676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4677  (exit $ac_status); } &&
     4678         { ac_try='test -z "$ac_cxx_werror_flag"
     4679                         || test ! -s conftest.err'
     4680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4681  (eval $ac_try) 2>&5
    45454682  ac_status=$?
    45464683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4547   (exit $ac_status); } &&
    4548         { ac_try='test -s conftest.$ac_objext'
     4684  (exit $ac_status); }; } &&
     4685        { ac_try='test -s conftest.$ac_objext'
    45494686  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    45504687  (eval $ac_try) 2>&5
     
    45594696ac_compiler_gnu=no
    45604697fi
    4561 rm -f conftest.$ac_objext conftest.$ac_ext
     4698rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    45624699ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    45634700
     
    45754712else
    45764713  cat >conftest.$ac_ext <<_ACEOF
    4577 #line $LINENO "configure"
    45784714/* confdefs.h.  */
    45794715_ACEOF
     
    45924728rm -f conftest.$ac_objext
    45934729if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4594   (eval $ac_compile) 2>&5
     4730  (eval $ac_compile) 2>conftest.er1
     4731  ac_status=$?
     4732  grep -v '^ *+' conftest.er1 >conftest.err
     4733  rm -f conftest.er1
     4734  cat conftest.err >&5
     4735  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4736  (exit $ac_status); } &&
     4737         { ac_try='test -z "$ac_cxx_werror_flag"
     4738                         || test ! -s conftest.err'
     4739  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4740  (eval $ac_try) 2>&5
    45954741  ac_status=$?
    45964742  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4597   (exit $ac_status); } &&
    4598         { ac_try='test -s conftest.$ac_objext'
     4743  (exit $ac_status); }; } &&
     4744        { ac_try='test -s conftest.$ac_objext'
    45994745  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    46004746  (eval $ac_try) 2>&5
     
    46094755ac_cv_prog_cxx_g=no
    46104756fi
    4611 rm -f conftest.$ac_objext conftest.$ac_ext
     4757rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    46124758fi
    46134759echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     
    46294775fi
    46304776for ac_declaration in \
    4631    ''\
    4632    '#include <stdlib.h>' \
     4777   '' \
    46334778   'extern "C" void std::exit (int) throw (); using std::exit;' \
    46344779   'extern "C" void std::exit (int); using std::exit;' \
     
    46384783do
    46394784  cat >conftest.$ac_ext <<_ACEOF
    4640 #line $LINENO "configure"
    46414785/* confdefs.h.  */
    46424786_ACEOF
     
    46444788cat >>conftest.$ac_ext <<_ACEOF
    46454789/* end confdefs.h.  */
     4790$ac_declaration
    46464791#include <stdlib.h>
    4647 $ac_declaration
    46484792int
    46494793main ()
     
    46564800rm -f conftest.$ac_objext
    46574801if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4658   (eval $ac_compile) 2>&5
     4802  (eval $ac_compile) 2>conftest.er1
     4803  ac_status=$?
     4804  grep -v '^ *+' conftest.er1 >conftest.err
     4805  rm -f conftest.er1
     4806  cat conftest.err >&5
     4807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4808  (exit $ac_status); } &&
     4809         { ac_try='test -z "$ac_cxx_werror_flag"
     4810                         || test ! -s conftest.err'
     4811  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4812  (eval $ac_try) 2>&5
    46594813  ac_status=$?
    46604814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4661   (exit $ac_status); } &&
    4662         { ac_try='test -s conftest.$ac_objext'
     4815  (exit $ac_status); }; } &&
     4816        { ac_try='test -s conftest.$ac_objext'
    46634817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    46644818  (eval $ac_try) 2>&5
     
    46734827continue
    46744828fi
    4675 rm -f conftest.$ac_objext conftest.$ac_ext
     4829rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    46764830  cat >conftest.$ac_ext <<_ACEOF
    4677 #line $LINENO "configure"
    46784831/* confdefs.h.  */
    46794832_ACEOF
     
    46924845rm -f conftest.$ac_objext
    46934846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4694   (eval $ac_compile) 2>&5
     4847  (eval $ac_compile) 2>conftest.er1
     4848  ac_status=$?
     4849  grep -v '^ *+' conftest.er1 >conftest.err
     4850  rm -f conftest.er1
     4851  cat conftest.err >&5
     4852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4853  (exit $ac_status); } &&
     4854         { ac_try='test -z "$ac_cxx_werror_flag"
     4855                         || test ! -s conftest.err'
     4856  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4857  (eval $ac_try) 2>&5
    46954858  ac_status=$?
    46964859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4697   (exit $ac_status); } &&
    4698         { ac_try='test -s conftest.$ac_objext'
     4860  (exit $ac_status); }; } &&
     4861        { ac_try='test -s conftest.$ac_objext'
    46994862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    47004863  (eval $ac_try) 2>&5
     
    47084871
    47094872fi
    4710 rm -f conftest.$ac_objext conftest.$ac_ext
     4873rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    47114874done
    47124875rm -f conftest*
     
    48565019  # not just through cpp. "Syntax error" is here to catch this case.
    48575020  cat >conftest.$ac_ext <<_ACEOF
    4858 #line $LINENO "configure"
    48595021/* confdefs.h.  */
    48605022_ACEOF
     
    48675029# include <assert.h>
    48685030#endif
    4869                      Syntax error
     5031                     Syntax error
    48705032_ACEOF
    48715033if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    48795041  if test -s conftest.err; then
    48805042    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5043    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    48815044  else
    48825045    ac_cpp_err=
     
    48995062  # can be detected and how.
    49005063  cat >conftest.$ac_ext <<_ACEOF
    4901 #line $LINENO "configure"
    49025064/* confdefs.h.  */
    49035065_ACEOF
     
    49175079  if test -s conftest.err; then
    49185080    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5081    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    49195082  else
    49205083    ac_cpp_err=
     
    49635126  # not just through cpp. "Syntax error" is here to catch this case.
    49645127  cat >conftest.$ac_ext <<_ACEOF
    4965 #line $LINENO "configure"
    49665128/* confdefs.h.  */
    49675129_ACEOF
     
    49745136# include <assert.h>
    49755137#endif
    4976                      Syntax error
     5138                     Syntax error
    49775139_ACEOF
    49785140if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     
    49865148  if test -s conftest.err; then
    49875149    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5150    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    49885151  else
    49895152    ac_cpp_err=
     
    50065169  # can be detected and how.
    50075170  cat >conftest.$ac_ext <<_ACEOF
    5008 #line $LINENO "configure"
    50095171/* confdefs.h.  */
    50105172_ACEOF
     
    50245186  if test -s conftest.err; then
    50255187    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5188    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    50265189  else
    50275190    ac_cpp_err=
     
    50685231ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    50695232if test -n "$ac_tool_prefix"; then
    5070   for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
     5233  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
    50715234  do
    50725235    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     
    51105273if test -z "$F77"; then
    51115274  ac_ct_F77=$F77
    5112   for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
     5275  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
    51135276do
    51145277  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    51555318
    51565319# Provide some information about the compiler.
    5157 echo "$as_me:5157:" \
     5320echo "$as_me:5320:" \
    51585321     "checking for Fortran 77 compiler version" >&5
    51595322ac_compiler=`set X $ac_compile; echo $2`
     
    51735336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51745337  (exit $ac_status); }
     5338rm -f a.out
    51755339
    51765340# If we don't use `.F' as extension, the preprocessor is not run on the
    5177 # input file.
     5341# input file.  (Note that this only needs to work for GNU compilers.)
    51785342ac_save_ext=$ac_ext
    51795343ac_ext=F
     
    51935357rm -f conftest.$ac_objext
    51945358if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5195   (eval $ac_compile) 2>&5
     5359  (eval $ac_compile) 2>conftest.er1
     5360  ac_status=$?
     5361  grep -v '^ *+' conftest.er1 >conftest.err
     5362  rm -f conftest.er1
     5363  cat conftest.err >&5
     5364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5365  (exit $ac_status); } &&
     5366         { ac_try='test -z "$ac_f77_werror_flag"
     5367                         || test ! -s conftest.err'
     5368  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5369  (eval $ac_try) 2>&5
    51965370  ac_status=$?
    51975371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5198   (exit $ac_status); } &&
    5199         { ac_try='test -s conftest.$ac_objext'
     5372  (exit $ac_status); }; } &&
     5373        { ac_try='test -s conftest.$ac_objext'
    52005374  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    52015375  (eval $ac_try) 2>&5
     
    52105384ac_compiler_gnu=no
    52115385fi
    5212 rm -f conftest.$ac_objext conftest.$ac_ext
     5386rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    52135387ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    52145388
     
    52175391echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
    52185392ac_ext=$ac_save_ext
    5219 G77=`test $ac_compiler_gnu = yes && echo yes`
    52205393ac_test_FFLAGS=${FFLAGS+set}
    52215394ac_save_FFLAGS=$FFLAGS
     
    52345407rm -f conftest.$ac_objext
    52355408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5236   (eval $ac_compile) 2>&5
     5409  (eval $ac_compile) 2>conftest.er1
     5410  ac_status=$?
     5411  grep -v '^ *+' conftest.er1 >conftest.err
     5412  rm -f conftest.er1
     5413  cat conftest.err >&5
     5414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5415  (exit $ac_status); } &&
     5416         { ac_try='test -z "$ac_f77_werror_flag"
     5417                         || test ! -s conftest.err'
     5418  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5419  (eval $ac_try) 2>&5
    52375420  ac_status=$?
    52385421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5239   (exit $ac_status); } &&
    5240         { ac_try='test -s conftest.$ac_objext'
     5422  (exit $ac_status); }; } &&
     5423        { ac_try='test -s conftest.$ac_objext'
    52415424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    52425425  (eval $ac_try) 2>&5
     
    52515434ac_cv_prog_f77_g=no
    52525435fi
    5253 rm -f conftest.$ac_objext conftest.$ac_ext
     5436rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    52545437
    52555438fi
     
    52595442  FFLAGS=$ac_save_FFLAGS
    52605443elif test $ac_cv_prog_f77_g = yes; then
    5261   if test "$G77" = yes; then
     5444  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    52625445    FFLAGS="-g -O2"
    52635446  else
     
    52655448  fi
    52665449else
    5267   if test "$G77" = yes; then
     5450  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    52685451    FFLAGS="-O2"
    52695452  else
     
    52715454  fi
    52725455fi
     5456
     5457G77=`test $ac_compiler_gnu = yes && echo yes`
    52735458ac_ext=c
    52745459ac_cpp='$CPP $CPPFLAGS'
     
    61836368   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    61846369   -e 's:$: $lt_compiler_flag:'`
    6185    (eval echo "\"\$as_me:6185: $lt_compile\"" >&5)
     6370   (eval echo "\"\$as_me:6370: $lt_compile\"" >&5)
    61866371   (eval "$lt_compile" 2>conftest.err)
    61876372   ac_status=$?
    61886373   cat conftest.err >&5
    6189    echo "$as_me:6189: \$? = $ac_status" >&5
     6374   echo "$as_me:6374: \$? = $ac_status" >&5
    61906375   if (exit $ac_status) && test -s "$ac_outfile"; then
    61916376     # The compiler can only warn and ignore the option if not recognized
     
    64266611   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    64276612   -e 's:$: $lt_compiler_flag:'`
    6428    (eval echo "\"\$as_me:6428: $lt_compile\"" >&5)
     6613   (eval echo "\"\$as_me:6613: $lt_compile\"" >&5)
    64296614   (eval "$lt_compile" 2>conftest.err)
    64306615   ac_status=$?
    64316616   cat conftest.err >&5
    6432    echo "$as_me:6432: \$? = $ac_status" >&5
     6617   echo "$as_me:6617: \$? = $ac_status" >&5
    64336618   if (exit $ac_status) && test -s "$ac_outfile"; then
    64346619     # The compiler can only warn and ignore the option if not recognized
     
    64866671   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    64876672   -e 's:$: $lt_compiler_flag:'`
    6488    (eval echo "\"\$as_me:6488: $lt_compile\"" >&5)
     6673   (eval echo "\"\$as_me:6673: $lt_compile\"" >&5)
    64896674   (eval "$lt_compile" 2>out/conftest.err)
    64906675   ac_status=$?
    64916676   cat out/conftest.err >&5
    6492    echo "$as_me:6492: \$? = $ac_status" >&5
     6677   echo "$as_me:6677: \$? = $ac_status" >&5
    64936678   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    64946679   then
     
    68547039       # Determine the default libpath from the value encoded in an empty executable.
    68557040       cat >conftest.$ac_ext <<_ACEOF
    6856 #line $LINENO "configure"
    68577041/* confdefs.h.  */
    68587042_ACEOF
     
    68717055rm -f conftest.$ac_objext conftest$ac_exeext
    68727056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6873   (eval $ac_link) 2>&5
     7057  (eval $ac_link) 2>conftest.er1
     7058  ac_status=$?
     7059  grep -v '^ *+' conftest.er1 >conftest.err
     7060  rm -f conftest.er1
     7061  cat conftest.err >&5
     7062  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7063  (exit $ac_status); } &&
     7064         { ac_try='test -z "$ac_c_werror_flag"
     7065                         || test ! -s conftest.err'
     7066  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7067  (eval $ac_try) 2>&5
    68747068  ac_status=$?
    68757069  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6876   (exit $ac_status); } &&
    6877         { ac_try='test -s conftest$ac_exeext'
     7070  (exit $ac_status); }; } &&
     7071        { ac_try='test -s conftest$ac_exeext'
    68787072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    68797073  (eval $ac_try) 2>&5
     
    68927086
    68937087fi
    6894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     7088rm -f conftest.err conftest.$ac_objext \
     7089      conftest$ac_exeext conftest.$ac_ext
    68957090if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    68967091
     
    69057100         # Determine the default libpath from the value encoded in an empty executable.
    69067101         cat >conftest.$ac_ext <<_ACEOF
    6907 #line $LINENO "configure"
    69087102/* confdefs.h.  */
    69097103_ACEOF
     
    69227116rm -f conftest.$ac_objext conftest$ac_exeext
    69237117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6924   (eval $ac_link) 2>&5
     7118  (eval $ac_link) 2>conftest.er1
     7119  ac_status=$?
     7120  grep -v '^ *+' conftest.er1 >conftest.err
     7121  rm -f conftest.er1
     7122  cat conftest.err >&5
     7123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7124  (exit $ac_status); } &&
     7125         { ac_try='test -z "$ac_c_werror_flag"
     7126                         || test ! -s conftest.err'
     7127  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7128  (eval $ac_try) 2>&5
    69257129  ac_status=$?
    69267130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6927   (exit $ac_status); } &&
    6928         { ac_try='test -s conftest$ac_exeext'
     7131  (exit $ac_status); }; } &&
     7132        { ac_try='test -s conftest$ac_exeext'
    69297133  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    69307134  (eval $ac_try) 2>&5
     
    69437147
    69447148fi
    6945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     7149rm -f conftest.err conftest.$ac_objext \
     7150      conftest$ac_exeext conftest.$ac_ext
    69467151if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    69477152
     
    80818286LIBS="-ldl  $LIBS"
    80828287cat >conftest.$ac_ext <<_ACEOF
    8083 #line $LINENO "configure"
    80848288/* confdefs.h.  */
    80858289_ACEOF
     
    81058309rm -f conftest.$ac_objext conftest$ac_exeext
    81068310if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8107   (eval $ac_link) 2>&5
     8311  (eval $ac_link) 2>conftest.er1
     8312  ac_status=$?
     8313  grep -v '^ *+' conftest.er1 >conftest.err
     8314  rm -f conftest.er1
     8315  cat conftest.err >&5
     8316  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8317  (exit $ac_status); } &&
     8318         { ac_try='test -z "$ac_c_werror_flag"
     8319                         || test ! -s conftest.err'
     8320  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     8321  (eval $ac_try) 2>&5
    81088322  ac_status=$?
    81098323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8110   (exit $ac_status); } &&
    8111         { ac_try='test -s conftest$ac_exeext'
     8324  (exit $ac_status); }; } &&
     8325        { ac_try='test -s conftest$ac_exeext'
    81128326  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    81138327  (eval $ac_try) 2>&5
     
    81228336ac_cv_lib_dl_dlopen=no
    81238337fi
    8124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8338rm -f conftest.err conftest.$ac_objext \
     8339      conftest$ac_exeext conftest.$ac_ext
    81258340LIBS=$ac_check_lib_save_LIBS
    81268341fi
     
    81468361else
    81478362  cat >conftest.$ac_ext <<_ACEOF
    8148 #line $LINENO "configure"
    81498363/* confdefs.h.  */
    81508364_ACEOF
     
    81528366cat >>conftest.$ac_ext <<_ACEOF
    81538367/* end confdefs.h.  */
     8368/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
     8369   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     8370#define shl_load innocuous_shl_load
     8371
    81548372/* System header to define __stub macros and hopefully few prototypes,
    81558373    which can conflict with char shl_load (); below.
    81568374    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    81578375    <limits.h> exists even on freestanding compilers.  */
     8376
    81588377#ifdef __STDC__
    81598378# include <limits.h>
     
    81618380# include <assert.h>
    81628381#endif
     8382
     8383#undef shl_load
     8384
    81638385/* Override any gcc2 internal prototype to avoid an error.  */
    81648386#ifdef __cplusplus
     
    81918413rm -f conftest.$ac_objext conftest$ac_exeext
    81928414if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8193   (eval $ac_link) 2>&5
     8415  (eval $ac_link) 2>conftest.er1
     8416  ac_status=$?
     8417  grep -v '^ *+' conftest.er1 >conftest.err
     8418  rm -f conftest.er1
     8419  cat conftest.err >&5
     8420  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8421  (exit $ac_status); } &&
     8422         { ac_try='test -z "$ac_c_werror_flag"
     8423                         || test ! -s conftest.err'
     8424  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     8425  (eval $ac_try) 2>&5
    81948426  ac_status=$?
    81958427  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8196   (exit $ac_status); } &&
    8197         { ac_try='test -s conftest$ac_exeext'
     8428  (exit $ac_status); }; } &&
     8429        { ac_try='test -s conftest$ac_exeext'
    81988430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    81998431  (eval $ac_try) 2>&5
     
    82088440ac_cv_func_shl_load=no
    82098441fi
    8210 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8442rm -f conftest.err conftest.$ac_objext \
     8443      conftest$ac_exeext conftest.$ac_ext
    82118444fi
    82128445echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
     
    82238456LIBS="-ldld  $LIBS"
    82248457cat >conftest.$ac_ext <<_ACEOF
    8225 #line $LINENO "configure"
    82268458/* confdefs.h.  */
    82278459_ACEOF
     
    82478479rm -f conftest.$ac_objext conftest$ac_exeext
    82488480if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8249   (eval $ac_link) 2>&5
     8481  (eval $ac_link) 2>conftest.er1
     8482  ac_status=$?
     8483  grep -v '^ *+' conftest.er1 >conftest.err
     8484  rm -f conftest.er1
     8485  cat conftest.err >&5
     8486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8487  (exit $ac_status); } &&
     8488         { ac_try='test -z "$ac_c_werror_flag"
     8489                         || test ! -s conftest.err'
     8490  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     8491  (eval $ac_try) 2>&5
    82508492  ac_status=$?
    82518493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8252   (exit $ac_status); } &&
    8253         { ac_try='test -s conftest$ac_exeext'
     8494  (exit $ac_status); }; } &&
     8495        { ac_try='test -s conftest$ac_exeext'
    82548496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    82558497  (eval $ac_try) 2>&5
     
    82648506ac_cv_lib_dld_shl_load=no
    82658507fi
    8266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8508rm -f conftest.err conftest.$ac_objext \
     8509      conftest$ac_exeext conftest.$ac_ext
    82678510LIBS=$ac_check_lib_save_LIBS
    82688511fi
     
    82788521else
    82798522  cat >conftest.$ac_ext <<_ACEOF
    8280 #line $LINENO "configure"
    82818523/* confdefs.h.  */
    82828524_ACEOF
     
    82848526cat >>conftest.$ac_ext <<_ACEOF
    82858527/* end confdefs.h.  */
     8528/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
     8529   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     8530#define dlopen innocuous_dlopen
     8531
    82868532/* System header to define __stub macros and hopefully few prototypes,
    82878533    which can conflict with char dlopen (); below.
    82888534    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    82898535    <limits.h> exists even on freestanding compilers.  */
     8536
    82908537#ifdef __STDC__
    82918538# include <limits.h>
     
    82938540# include <assert.h>
    82948541#endif
     8542
     8543#undef dlopen
     8544
    82958545/* Override any gcc2 internal prototype to avoid an error.  */
    82968546#ifdef __cplusplus
     
    83238573rm -f conftest.$ac_objext conftest$ac_exeext
    83248574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8325   (eval $ac_link) 2>&5
     8575  (eval $ac_link) 2>conftest.er1
     8576  ac_status=$?
     8577  grep -v '^ *+' conftest.er1 >conftest.err
     8578  rm -f conftest.er1
     8579  cat conftest.err >&5
     8580  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8581  (exit $ac_status); } &&
     8582         { ac_try='test -z "$ac_c_werror_flag"
     8583                         || test ! -s conftest.err'
     8584  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     8585  (eval $ac_try) 2>&5
    83268586  ac_status=$?
    83278587  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8328   (exit $ac_status); } &&
    8329         { ac_try='test -s conftest$ac_exeext'
     8588  (exit $ac_status); }; } &&
     8589        { ac_try='test -s conftest$ac_exeext'
    83308590  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    83318591  (eval $ac_try) 2>&5
     
    83408600ac_cv_func_dlopen=no
    83418601fi
    8342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8602rm -f conftest.err conftest.$ac_objext \
     8603      conftest$ac_exeext conftest.$ac_ext
    83438604fi
    83448605echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
     
    83558616LIBS="-ldl  $LIBS"
    83568617cat >conftest.$ac_ext <<_ACEOF
    8357 #line $LINENO "configure"
    83588618/* confdefs.h.  */
    83598619_ACEOF
     
    83798639rm -f conftest.$ac_objext conftest$ac_exeext
    83808640if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8381   (eval $ac_link) 2>&5
     8641  (eval $ac_link) 2>conftest.er1
     8642  ac_status=$?
     8643  grep -v '^ *+' conftest.er1 >conftest.err
     8644  rm -f conftest.er1
     8645  cat conftest.err >&5
     8646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8647  (exit $ac_status); } &&
     8648         { ac_try='test -z "$ac_c_werror_flag"
     8649                         || test ! -s conftest.err'
     8650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     8651  (eval $ac_try) 2>&5
    83828652  ac_status=$?
    83838653  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8384   (exit $ac_status); } &&
    8385         { ac_try='test -s conftest$ac_exeext'
     8654  (exit $ac_status); }; } &&
     8655        { ac_try='test -s conftest$ac_exeext'
    83868656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    83878657  (eval $ac_try) 2>&5
     
    83968666ac_cv_lib_dl_dlopen=no
    83978667fi
    8398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8668rm -f conftest.err conftest.$ac_objext \
     8669      conftest$ac_exeext conftest.$ac_ext
    83998670LIBS=$ac_check_lib_save_LIBS
    84008671fi
     
    84128683LIBS="-lsvld  $LIBS"
    84138684cat >conftest.$ac_ext <<_ACEOF
    8414 #line $LINENO "configure"
    84158685/* confdefs.h.  */
    84168686_ACEOF
     
    84368706rm -f conftest.$ac_objext conftest$ac_exeext
    84378707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8438   (eval $ac_link) 2>&5
     8708  (eval $ac_link) 2>conftest.er1
     8709  ac_status=$?
     8710  grep -v '^ *+' conftest.er1 >conftest.err
     8711  rm -f conftest.er1
     8712  cat conftest.err >&5
     8713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8714  (exit $ac_status); } &&
     8715         { ac_try='test -z "$ac_c_werror_flag"
     8716                         || test ! -s conftest.err'
     8717  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     8718  (eval $ac_try) 2>&5
    84398719  ac_status=$?
    84408720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8441   (exit $ac_status); } &&
    8442         { ac_try='test -s conftest$ac_exeext'
     8721  (exit $ac_status); }; } &&
     8722        { ac_try='test -s conftest$ac_exeext'
    84438723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    84448724  (eval $ac_try) 2>&5
     
    84538733ac_cv_lib_svld_dlopen=no
    84548734fi
    8455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8735rm -f conftest.err conftest.$ac_objext \
     8736      conftest$ac_exeext conftest.$ac_ext
    84568737LIBS=$ac_check_lib_save_LIBS
    84578738fi
     
    84698750LIBS="-ldld  $LIBS"
    84708751cat >conftest.$ac_ext <<_ACEOF
    8471 #line $LINENO "configure"
    84728752/* confdefs.h.  */
    84738753_ACEOF
     
    84938773rm -f conftest.$ac_objext conftest$ac_exeext
    84948774if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8495   (eval $ac_link) 2>&5
     8775  (eval $ac_link) 2>conftest.er1
     8776  ac_status=$?
     8777  grep -v '^ *+' conftest.er1 >conftest.err
     8778  rm -f conftest.er1
     8779  cat conftest.err >&5
     8780  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8781  (exit $ac_status); } &&
     8782         { ac_try='test -z "$ac_c_werror_flag"
     8783                         || test ! -s conftest.err'
     8784  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     8785  (eval $ac_try) 2>&5
    84968786  ac_status=$?
    84978787  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8498   (exit $ac_status); } &&
    8499         { ac_try='test -s conftest$ac_exeext'
     8788  (exit $ac_status); }; } &&
     8789        { ac_try='test -s conftest$ac_exeext'
    85008790  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    85018791  (eval $ac_try) 2>&5
     
    85108800ac_cv_lib_dld_dld_link=no
    85118801fi
    8512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     8802rm -f conftest.err conftest.$ac_objext \
     8803      conftest$ac_exeext conftest.$ac_ext
    85138804LIBS=$ac_check_lib_save_LIBS
    85148805fi
     
    85658856  lt_status=$lt_dlunknown
    85668857  cat > conftest.$ac_ext <<EOF
    8567 #line 8567 "configure"
     8858#line 8858 "configure"
    85688859#include "confdefs.h"
    85698860
     
    86638954  lt_status=$lt_dlunknown
    86648955  cat > conftest.$ac_ext <<EOF
    8665 #line 8665 "configure"
     8956#line 8956 "configure"
    86668957#include "confdefs.h"
    86678958
     
    96759966      # Determine the default libpath from the value encoded in an empty executable.
    96769967      cat >conftest.$ac_ext <<_ACEOF
    9677 #line $LINENO "configure"
    96789968/* confdefs.h.  */
    96799969_ACEOF
     
    96929982rm -f conftest.$ac_objext conftest$ac_exeext
    96939983if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9694   (eval $ac_link) 2>&5
     9984  (eval $ac_link) 2>conftest.er1
     9985  ac_status=$?
     9986  grep -v '^ *+' conftest.er1 >conftest.err
     9987  rm -f conftest.er1
     9988  cat conftest.err >&5
     9989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9990  (exit $ac_status); } &&
     9991         { ac_try='test -z "$ac_cxx_werror_flag"
     9992                         || test ! -s conftest.err'
     9993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     9994  (eval $ac_try) 2>&5
    96959995  ac_status=$?
    96969996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9697   (exit $ac_status); } &&
    9698         { ac_try='test -s conftest$ac_exeext'
     9997  (exit $ac_status); }; } &&
     9998        { ac_try='test -s conftest$ac_exeext'
    96999999  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    970010000  (eval $ac_try) 2>&5
     
    971310013
    971410014fi
    9715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     10015rm -f conftest.err conftest.$ac_objext \
     10016      conftest$ac_exeext conftest.$ac_ext
    971610017if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    971710018
     
    972710028        # Determine the default libpath from the value encoded in an empty executable.
    972810029        cat >conftest.$ac_ext <<_ACEOF
    9729 #line $LINENO "configure"
    973010030/* confdefs.h.  */
    973110031_ACEOF
     
    974410044rm -f conftest.$ac_objext conftest$ac_exeext
    974510045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9746   (eval $ac_link) 2>&5
     10046  (eval $ac_link) 2>conftest.er1
     10047  ac_status=$?
     10048  grep -v '^ *+' conftest.er1 >conftest.err
     10049  rm -f conftest.er1
     10050  cat conftest.err >&5
     10051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10052  (exit $ac_status); } &&
     10053         { ac_try='test -z "$ac_cxx_werror_flag"
     10054                         || test ! -s conftest.err'
     10055  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     10056  (eval $ac_try) 2>&5
    974710057  ac_status=$?
    974810058  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9749   (exit $ac_status); } &&
    9750         { ac_try='test -s conftest$ac_exeext'
     10059  (exit $ac_status); }; } &&
     10060        { ac_try='test -s conftest$ac_exeext'
    975110061  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    975210062  (eval $ac_try) 2>&5
     
    976510075
    976610076fi
    9767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     10077rm -f conftest.err conftest.$ac_objext \
     10078      conftest$ac_exeext conftest.$ac_ext
    976810079if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    976910080
     
    1083211143   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1083311144   -e 's:$: $lt_compiler_flag:'`
    10834    (eval echo "\"\$as_me:10834: $lt_compile\"" >&5)
     11145   (eval echo "\"\$as_me:11145: $lt_compile\"" >&5)
    1083511146   (eval "$lt_compile" 2>conftest.err)
    1083611147   ac_status=$?
    1083711148   cat conftest.err >&5
    10838    echo "$as_me:10838: \$? = $ac_status" >&5
     11149   echo "$as_me:11149: \$? = $ac_status" >&5
    1083911150   if (exit $ac_status) && test -s "$ac_outfile"; then
    1084011151     # The compiler can only warn and ignore the option if not recognized
     
    1089211203   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1089311204   -e 's:$: $lt_compiler_flag:'`
    10894    (eval echo "\"\$as_me:10894: $lt_compile\"" >&5)
     11205   (eval echo "\"\$as_me:11205: $lt_compile\"" >&5)
    1089511206   (eval "$lt_compile" 2>out/conftest.err)
    1089611207   ac_status=$?
    1089711208   cat out/conftest.err >&5
    10898    echo "$as_me:10898: \$? = $ac_status" >&5
     11209   echo "$as_me:11209: \$? = $ac_status" >&5
    1089911210   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1090011211   then
     
    1168311994LIBS="-ldl  $LIBS"
    1168411995cat >conftest.$ac_ext <<_ACEOF
    11685 #line $LINENO "configure"
    1168611996/* confdefs.h.  */
    1168711997_ACEOF
     
    1170712017rm -f conftest.$ac_objext conftest$ac_exeext
    1170812018if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11709   (eval $ac_link) 2>&5
     12019  (eval $ac_link) 2>conftest.er1
     12020  ac_status=$?
     12021  grep -v '^ *+' conftest.er1 >conftest.err
     12022  rm -f conftest.er1
     12023  cat conftest.err >&5
     12024  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12025  (exit $ac_status); } &&
     12026         { ac_try='test -z "$ac_cxx_werror_flag"
     12027                         || test ! -s conftest.err'
     12028  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     12029  (eval $ac_try) 2>&5
    1171012030  ac_status=$?
    1171112031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11712   (exit $ac_status); } &&
    11713         { ac_try='test -s conftest$ac_exeext'
     12032  (exit $ac_status); }; } &&
     12033        { ac_try='test -s conftest$ac_exeext'
    1171412034  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1171512035  (eval $ac_try) 2>&5
     
    1172412044ac_cv_lib_dl_dlopen=no
    1172512045fi
    11726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     12046rm -f conftest.err conftest.$ac_objext \
     12047      conftest$ac_exeext conftest.$ac_ext
    1172712048LIBS=$ac_check_lib_save_LIBS
    1172812049fi
     
    1174812069else
    1174912070  cat >conftest.$ac_ext <<_ACEOF
    11750 #line $LINENO "configure"
    1175112071/* confdefs.h.  */
    1175212072_ACEOF
     
    1175412074cat >>conftest.$ac_ext <<_ACEOF
    1175512075/* end confdefs.h.  */
     12076/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
     12077   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     12078#define shl_load innocuous_shl_load
     12079
    1175612080/* System header to define __stub macros and hopefully few prototypes,
    1175712081    which can conflict with char shl_load (); below.
    1175812082    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1175912083    <limits.h> exists even on freestanding compilers.  */
     12084
    1176012085#ifdef __STDC__
    1176112086# include <limits.h>
     
    1176312088# include <assert.h>
    1176412089#endif
     12090
     12091#undef shl_load
     12092
    1176512093/* Override any gcc2 internal prototype to avoid an error.  */
    1176612094#ifdef __cplusplus
     
    1179312121rm -f conftest.$ac_objext conftest$ac_exeext
    1179412122if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11795   (eval $ac_link) 2>&5
     12123  (eval $ac_link) 2>conftest.er1
     12124  ac_status=$?
     12125  grep -v '^ *+' conftest.er1 >conftest.err
     12126  rm -f conftest.er1
     12127  cat conftest.err >&5
     12128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12129  (exit $ac_status); } &&
     12130         { ac_try='test -z "$ac_cxx_werror_flag"
     12131                         || test ! -s conftest.err'
     12132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     12133  (eval $ac_try) 2>&5
    1179612134  ac_status=$?
    1179712135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11798   (exit $ac_status); } &&
    11799         { ac_try='test -s conftest$ac_exeext'
     12136  (exit $ac_status); }; } &&
     12137        { ac_try='test -s conftest$ac_exeext'
    1180012138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1180112139  (eval $ac_try) 2>&5
     
    1181012148ac_cv_func_shl_load=no
    1181112149fi
    11812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     12150rm -f conftest.err conftest.$ac_objext \
     12151      conftest$ac_exeext conftest.$ac_ext
    1181312152fi
    1181412153echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
     
    1182512164LIBS="-ldld  $LIBS"
    1182612165cat >conftest.$ac_ext <<_ACEOF
    11827 #line $LINENO "configure"
    1182812166/* confdefs.h.  */
    1182912167_ACEOF
     
    1184912187rm -f conftest.$ac_objext conftest$ac_exeext
    1185012188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11851   (eval $ac_link) 2>&5
     12189  (eval $ac_link) 2>conftest.er1
     12190  ac_status=$?
     12191  grep -v '^ *+' conftest.er1 >conftest.err
     12192  rm -f conftest.er1
     12193  cat conftest.err >&5
     12194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12195  (exit $ac_status); } &&
     12196         { ac_try='test -z "$ac_cxx_werror_flag"
     12197                         || test ! -s conftest.err'
     12198  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     12199  (eval $ac_try) 2>&5
    1185212200  ac_status=$?
    1185312201  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11854   (exit $ac_status); } &&
    11855         { ac_try='test -s conftest$ac_exeext'
     12202  (exit $ac_status); }; } &&
     12203        { ac_try='test -s conftest$ac_exeext'
    1185612204  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1185712205  (eval $ac_try) 2>&5
     
    1186612214ac_cv_lib_dld_shl_load=no
    1186712215fi
    11868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     12216rm -f conftest.err conftest.$ac_objext \
     12217      conftest$ac_exeext conftest.$ac_ext
    1186912218LIBS=$ac_check_lib_save_LIBS
    1187012219fi
     
    1188012229else
    1188112230  cat >conftest.$ac_ext <<_ACEOF
    11882 #line $LINENO "configure"
    1188312231/* confdefs.h.  */
    1188412232_ACEOF
     
    1188612234cat >>conftest.$ac_ext <<_ACEOF
    1188712235/* end confdefs.h.  */
     12236/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
     12237   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     12238#define dlopen innocuous_dlopen
     12239
    1188812240/* System header to define __stub macros and hopefully few prototypes,
    1188912241    which can conflict with char dlopen (); below.
    1189012242    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1189112243    <limits.h> exists even on freestanding compilers.  */
     12244
    1189212245#ifdef __STDC__
    1189312246# include <limits.h>
     
    1189512248# include <assert.h>
    1189612249#endif
     12250
     12251#undef dlopen
     12252
    1189712253/* Override any gcc2 internal prototype to avoid an error.  */
    1189812254#ifdef __cplusplus
     
    1192512281rm -f conftest.$ac_objext conftest$ac_exeext
    1192612282if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11927   (eval $ac_link) 2>&5
     12283  (eval $ac_link) 2>conftest.er1
     12284  ac_status=$?
     12285  grep -v '^ *+' conftest.er1 >conftest.err
     12286  rm -f conftest.er1
     12287  cat conftest.err >&5
     12288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12289  (exit $ac_status); } &&
     12290         { ac_try='test -z "$ac_cxx_werror_flag"
     12291                         || test ! -s conftest.err'
     12292  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     12293  (eval $ac_try) 2>&5
    1192812294  ac_status=$?
    1192912295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11930   (exit $ac_status); } &&
    11931         { ac_try='test -s conftest$ac_exeext'
     12296  (exit $ac_status); }; } &&
     12297        { ac_try='test -s conftest$ac_exeext'
    1193212298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1193312299  (eval $ac_try) 2>&5
     
    1194212308ac_cv_func_dlopen=no
    1194312309fi
    11944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     12310rm -f conftest.err conftest.$ac_objext \
     12311      conftest$ac_exeext conftest.$ac_ext
    1194512312fi
    1194612313echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
     
    1195712324LIBS="-ldl  $LIBS"
    1195812325cat >conftest.$ac_ext <<_ACEOF
    11959 #line $LINENO "configure"
    1196012326/* confdefs.h.  */
    1196112327_ACEOF
     
    1198112347rm -f conftest.$ac_objext conftest$ac_exeext
    1198212348if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11983   (eval $ac_link) 2>&5
     12349  (eval $ac_link) 2>conftest.er1
     12350  ac_status=$?
     12351  grep -v '^ *+' conftest.er1 >conftest.err
     12352  rm -f conftest.er1
     12353  cat conftest.err >&5
     12354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12355  (exit $ac_status); } &&
     12356         { ac_try='test -z "$ac_cxx_werror_flag"
     12357                         || test ! -s conftest.err'
     12358  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     12359  (eval $ac_try) 2>&5
    1198412360  ac_status=$?
    1198512361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11986   (exit $ac_status); } &&
    11987         { ac_try='test -s conftest$ac_exeext'
     12362  (exit $ac_status); }; } &&
     12363        { ac_try='test -s conftest$ac_exeext'
    1198812364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1198912365  (eval $ac_try) 2>&5
     
    1199812374ac_cv_lib_dl_dlopen=no
    1199912375fi
    12000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     12376rm -f conftest.err conftest.$ac_objext \
     12377      conftest$ac_exeext conftest.$ac_ext
    1200112378LIBS=$ac_check_lib_save_LIBS
    1200212379fi
     
    1201412391LIBS="-lsvld  $LIBS"
    1201512392cat >conftest.$ac_ext <<_ACEOF
    12016 #line $LINENO "configure"
    1201712393/* confdefs.h.  */
    1201812394_ACEOF
     
    1203812414rm -f conftest.$ac_objext conftest$ac_exeext
    1203912415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12040   (eval $ac_link) 2>&5
     12416  (eval $ac_link) 2>conftest.er1
     12417  ac_status=$?
     12418  grep -v '^ *+' conftest.er1 >conftest.err
     12419  rm -f conftest.er1
     12420  cat conftest.err >&5
     12421  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12422  (exit $ac_status); } &&
     12423         { ac_try='test -z "$ac_cxx_werror_flag"
     12424                         || test ! -s conftest.err'
     12425  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     12426  (eval $ac_try) 2>&5
    1204112427  ac_status=$?
    1204212428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12043   (exit $ac_status); } &&
    12044         { ac_try='test -s conftest$ac_exeext'
     12429  (exit $ac_status); }; } &&
     12430        { ac_try='test -s conftest$ac_exeext'
    1204512431  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1204612432  (eval $ac_try) 2>&5
     
    1205512441ac_cv_lib_svld_dlopen=no
    1205612442fi
    12057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     12443rm -f conftest.err conftest.$ac_objext \
     12444      conftest$ac_exeext conftest.$ac_ext
    1205812445LIBS=$ac_check_lib_save_LIBS
    1205912446fi
     
    1207112458LIBS="-ldld  $LIBS"
    1207212459cat >conftest.$ac_ext <<_ACEOF
    12073 #line $LINENO "configure"
    1207412460/* confdefs.h.  */
    1207512461_ACEOF
     
    1209512481rm -f conftest.$ac_objext conftest$ac_exeext
    1209612482if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    12097   (eval $ac_link) 2>&5
     12483  (eval $ac_link) 2>conftest.er1
     12484  ac_status=$?
     12485  grep -v '^ *+' conftest.er1 >conftest.err
     12486  rm -f conftest.er1
     12487  cat conftest.err >&5
     12488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12489  (exit $ac_status); } &&
     12490         { ac_try='test -z "$ac_cxx_werror_flag"
     12491                         || test ! -s conftest.err'
     12492  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     12493  (eval $ac_try) 2>&5
    1209812494  ac_status=$?
    1209912495  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12100   (exit $ac_status); } &&
    12101         { ac_try='test -s conftest$ac_exeext'
     12496  (exit $ac_status); }; } &&
     12497        { ac_try='test -s conftest$ac_exeext'
    1210212498  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1210312499  (eval $ac_try) 2>&5
     
    1211212508ac_cv_lib_dld_dld_link=no
    1211312509fi
    12114 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     12510rm -f conftest.err conftest.$ac_objext \
     12511      conftest$ac_exeext conftest.$ac_ext
    1211512512LIBS=$ac_check_lib_save_LIBS
    1211612513fi
     
    1216712564  lt_status=$lt_dlunknown
    1216812565  cat > conftest.$ac_ext <<EOF
    12169 #line 12169 "configure"
     12566#line 12566 "configure"
    1217012567#include "confdefs.h"
    1217112568
     
    1226512662  lt_status=$lt_dlunknown
    1226612663  cat > conftest.$ac_ext <<EOF
    12267 #line 12267 "configure"
     12664#line 12664 "configure"
    1226812665#include "confdefs.h"
    1226912666
     
    1310213499   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1310313500   -e 's:$: $lt_compiler_flag:'`
    13104    (eval echo "\"\$as_me:13104: $lt_compile\"" >&5)
     13501   (eval echo "\"\$as_me:13501: $lt_compile\"" >&5)
    1310513502   (eval "$lt_compile" 2>conftest.err)
    1310613503   ac_status=$?
    1310713504   cat conftest.err >&5
    13108    echo "$as_me:13108: \$? = $ac_status" >&5
     13505   echo "$as_me:13505: \$? = $ac_status" >&5
    1310913506   if (exit $ac_status) && test -s "$ac_outfile"; then
    1311013507     # The compiler can only warn and ignore the option if not recognized
     
    1316213559   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1316313560   -e 's:$: $lt_compiler_flag:'`
    13164    (eval echo "\"\$as_me:13164: $lt_compile\"" >&5)
     13561   (eval echo "\"\$as_me:13561: $lt_compile\"" >&5)
    1316513562   (eval "$lt_compile" 2>out/conftest.err)
    1316613563   ac_status=$?
    1316713564   cat out/conftest.err >&5
    13168    echo "$as_me:13168: \$? = $ac_status" >&5
     13565   echo "$as_me:13565: \$? = $ac_status" >&5
    1316913566   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1317013567   then
     
    1353613933rm -f conftest.$ac_objext conftest$ac_exeext
    1353713934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13538   (eval $ac_link) 2>&5
     13935  (eval $ac_link) 2>conftest.er1
     13936  ac_status=$?
     13937  grep -v '^ *+' conftest.er1 >conftest.err
     13938  rm -f conftest.er1
     13939  cat conftest.err >&5
     13940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13941  (exit $ac_status); } &&
     13942         { ac_try='test -z "$ac_f77_werror_flag"
     13943                         || test ! -s conftest.err'
     13944  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     13945  (eval $ac_try) 2>&5
    1353913946  ac_status=$?
    1354013947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13541   (exit $ac_status); } &&
    13542         { ac_try='test -s conftest$ac_exeext'
     13948  (exit $ac_status); }; } &&
     13949        { ac_try='test -s conftest$ac_exeext'
    1354313950  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1354413951  (eval $ac_try) 2>&5
     
    1355713964
    1355813965fi
    13559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     13966rm -f conftest.err conftest.$ac_objext \
     13967      conftest$ac_exeext conftest.$ac_ext
    1356013968if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    1356113969
     
    1357613984rm -f conftest.$ac_objext conftest$ac_exeext
    1357713985if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    13578   (eval $ac_link) 2>&5
     13986  (eval $ac_link) 2>conftest.er1
     13987  ac_status=$?
     13988  grep -v '^ *+' conftest.er1 >conftest.err
     13989  rm -f conftest.er1
     13990  cat conftest.err >&5
     13991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13992  (exit $ac_status); } &&
     13993         { ac_try='test -z "$ac_f77_werror_flag"
     13994                         || test ! -s conftest.err'
     13995  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     13996  (eval $ac_try) 2>&5
    1357913997  ac_status=$?
    1358013998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13581   (exit $ac_status); } &&
    13582         { ac_try='test -s conftest$ac_exeext'
     13999  (exit $ac_status); }; } &&
     14000        { ac_try='test -s conftest$ac_exeext'
    1358314001  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1358414002  (eval $ac_try) 2>&5
     
    1359714015
    1359814016fi
    13599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     14017rm -f conftest.err conftest.$ac_objext \
     14018      conftest$ac_exeext conftest.$ac_ext
    1360014019if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    1360114020
     
    1517515594   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1517615595   -e 's:$: $lt_compiler_flag:'`
    15177    (eval echo "\"\$as_me:15177: $lt_compile\"" >&5)
     15596   (eval echo "\"\$as_me:15596: $lt_compile\"" >&5)
    1517815597   (eval "$lt_compile" 2>conftest.err)
    1517915598   ac_status=$?
    1518015599   cat conftest.err >&5
    15181    echo "$as_me:15181: \$? = $ac_status" >&5
     15600   echo "$as_me:15600: \$? = $ac_status" >&5
    1518215601   if (exit $ac_status) && test -s "$ac_outfile"; then
    1518315602     # The compiler can only warn and ignore the option if not recognized
     
    1541815837   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1541915838   -e 's:$: $lt_compiler_flag:'`
    15420    (eval echo "\"\$as_me:15420: $lt_compile\"" >&5)
     15839   (eval echo "\"\$as_me:15839: $lt_compile\"" >&5)
    1542115840   (eval "$lt_compile" 2>conftest.err)
    1542215841   ac_status=$?
    1542315842   cat conftest.err >&5
    15424    echo "$as_me:15424: \$? = $ac_status" >&5
     15843   echo "$as_me:15843: \$? = $ac_status" >&5
    1542515844   if (exit $ac_status) && test -s "$ac_outfile"; then
    1542615845     # The compiler can only warn and ignore the option if not recognized
     
    1547815897   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1547915898   -e 's:$: $lt_compiler_flag:'`
    15480    (eval echo "\"\$as_me:15480: $lt_compile\"" >&5)
     15899   (eval echo "\"\$as_me:15899: $lt_compile\"" >&5)
    1548115900   (eval "$lt_compile" 2>out/conftest.err)
    1548215901   ac_status=$?
    1548315902   cat out/conftest.err >&5
    15484    echo "$as_me:15484: \$? = $ac_status" >&5
     15903   echo "$as_me:15903: \$? = $ac_status" >&5
    1548515904   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1548615905   then
     
    1584616265       # Determine the default libpath from the value encoded in an empty executable.
    1584716266       cat >conftest.$ac_ext <<_ACEOF
    15848 #line $LINENO "configure"
    1584916267/* confdefs.h.  */
    1585016268_ACEOF
     
    1586316281rm -f conftest.$ac_objext conftest$ac_exeext
    1586416282if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    15865   (eval $ac_link) 2>&5
     16283  (eval $ac_link) 2>conftest.er1
     16284  ac_status=$?
     16285  grep -v '^ *+' conftest.er1 >conftest.err
     16286  rm -f conftest.er1
     16287  cat conftest.err >&5
     16288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16289  (exit $ac_status); } &&
     16290         { ac_try='test -z "$ac_c_werror_flag"
     16291                         || test ! -s conftest.err'
     16292  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     16293  (eval $ac_try) 2>&5
    1586616294  ac_status=$?
    1586716295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15868   (exit $ac_status); } &&
    15869         { ac_try='test -s conftest$ac_exeext'
     16296  (exit $ac_status); }; } &&
     16297        { ac_try='test -s conftest$ac_exeext'
    1587016298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1587116299  (eval $ac_try) 2>&5
     
    1588416312
    1588516313fi
    15886 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     16314rm -f conftest.err conftest.$ac_objext \
     16315      conftest$ac_exeext conftest.$ac_ext
    1588716316if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    1588816317
     
    1589716326         # Determine the default libpath from the value encoded in an empty executable.
    1589816327         cat >conftest.$ac_ext <<_ACEOF
    15899 #line $LINENO "configure"
    1590016328/* confdefs.h.  */
    1590116329_ACEOF
     
    1591416342rm -f conftest.$ac_objext conftest$ac_exeext
    1591516343if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    15916   (eval $ac_link) 2>&5
     16344  (eval $ac_link) 2>conftest.er1
     16345  ac_status=$?
     16346  grep -v '^ *+' conftest.er1 >conftest.err
     16347  rm -f conftest.er1
     16348  cat conftest.err >&5
     16349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16350  (exit $ac_status); } &&
     16351         { ac_try='test -z "$ac_c_werror_flag"
     16352                         || test ! -s conftest.err'
     16353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     16354  (eval $ac_try) 2>&5
    1591716355  ac_status=$?
    1591816356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15919   (exit $ac_status); } &&
    15920         { ac_try='test -s conftest$ac_exeext'
     16357  (exit $ac_status); }; } &&
     16358        { ac_try='test -s conftest$ac_exeext'
    1592116359  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1592216360  (eval $ac_try) 2>&5
     
    1593516373
    1593616374fi
    15937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     16375rm -f conftest.err conftest.$ac_objext \
     16376      conftest$ac_exeext conftest.$ac_ext
    1593816377if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
    1593916378
     
    1707317512LIBS="-ldl  $LIBS"
    1707417513cat >conftest.$ac_ext <<_ACEOF
    17075 #line $LINENO "configure"
    1707617514/* confdefs.h.  */
    1707717515_ACEOF
     
    1709717535rm -f conftest.$ac_objext conftest$ac_exeext
    1709817536if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17099   (eval $ac_link) 2>&5
     17537  (eval $ac_link) 2>conftest.er1
     17538  ac_status=$?
     17539  grep -v '^ *+' conftest.er1 >conftest.err
     17540  rm -f conftest.er1
     17541  cat conftest.err >&5
     17542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17543  (exit $ac_status); } &&
     17544         { ac_try='test -z "$ac_c_werror_flag"
     17545                         || test ! -s conftest.err'
     17546  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     17547  (eval $ac_try) 2>&5
    1710017548  ac_status=$?
    1710117549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17102   (exit $ac_status); } &&
    17103         { ac_try='test -s conftest$ac_exeext'
     17550  (exit $ac_status); }; } &&
     17551        { ac_try='test -s conftest$ac_exeext'
    1710417552  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1710517553  (eval $ac_try) 2>&5
     
    1711417562ac_cv_lib_dl_dlopen=no
    1711517563fi
    17116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     17564rm -f conftest.err conftest.$ac_objext \
     17565      conftest$ac_exeext conftest.$ac_ext
    1711717566LIBS=$ac_check_lib_save_LIBS
    1711817567fi
     
    1713817587else
    1713917588  cat >conftest.$ac_ext <<_ACEOF
    17140 #line $LINENO "configure"
    1714117589/* confdefs.h.  */
    1714217590_ACEOF
     
    1714417592cat >>conftest.$ac_ext <<_ACEOF
    1714517593/* end confdefs.h.  */
     17594/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
     17595   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     17596#define shl_load innocuous_shl_load
     17597
    1714617598/* System header to define __stub macros and hopefully few prototypes,
    1714717599    which can conflict with char shl_load (); below.
    1714817600    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1714917601    <limits.h> exists even on freestanding compilers.  */
     17602
    1715017603#ifdef __STDC__
    1715117604# include <limits.h>
     
    1715317606# include <assert.h>
    1715417607#endif
     17608
     17609#undef shl_load
     17610
    1715517611/* Override any gcc2 internal prototype to avoid an error.  */
    1715617612#ifdef __cplusplus
     
    1718317639rm -f conftest.$ac_objext conftest$ac_exeext
    1718417640if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17185   (eval $ac_link) 2>&5
     17641  (eval $ac_link) 2>conftest.er1
     17642  ac_status=$?
     17643  grep -v '^ *+' conftest.er1 >conftest.err
     17644  rm -f conftest.er1
     17645  cat conftest.err >&5
     17646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17647  (exit $ac_status); } &&
     17648         { ac_try='test -z "$ac_c_werror_flag"
     17649                         || test ! -s conftest.err'
     17650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     17651  (eval $ac_try) 2>&5
    1718617652  ac_status=$?
    1718717653  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17188   (exit $ac_status); } &&
    17189         { ac_try='test -s conftest$ac_exeext'
     17654  (exit $ac_status); }; } &&
     17655        { ac_try='test -s conftest$ac_exeext'
    1719017656  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1719117657  (eval $ac_try) 2>&5
     
    1720017666ac_cv_func_shl_load=no
    1720117667fi
    17202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     17668rm -f conftest.err conftest.$ac_objext \
     17669      conftest$ac_exeext conftest.$ac_ext
    1720317670fi
    1720417671echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
     
    1721517682LIBS="-ldld  $LIBS"
    1721617683cat >conftest.$ac_ext <<_ACEOF
    17217 #line $LINENO "configure"
    1721817684/* confdefs.h.  */
    1721917685_ACEOF
     
    1723917705rm -f conftest.$ac_objext conftest$ac_exeext
    1724017706if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17241   (eval $ac_link) 2>&5
     17707  (eval $ac_link) 2>conftest.er1
     17708  ac_status=$?
     17709  grep -v '^ *+' conftest.er1 >conftest.err
     17710  rm -f conftest.er1
     17711  cat conftest.err >&5
     17712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17713  (exit $ac_status); } &&
     17714         { ac_try='test -z "$ac_c_werror_flag"
     17715                         || test ! -s conftest.err'
     17716  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     17717  (eval $ac_try) 2>&5
    1724217718  ac_status=$?
    1724317719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17244   (exit $ac_status); } &&
    17245         { ac_try='test -s conftest$ac_exeext'
     17720  (exit $ac_status); }; } &&
     17721        { ac_try='test -s conftest$ac_exeext'
    1724617722  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1724717723  (eval $ac_try) 2>&5
     
    1725617732ac_cv_lib_dld_shl_load=no
    1725717733fi
    17258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     17734rm -f conftest.err conftest.$ac_objext \
     17735      conftest$ac_exeext conftest.$ac_ext
    1725917736LIBS=$ac_check_lib_save_LIBS
    1726017737fi
     
    1727017747else
    1727117748  cat >conftest.$ac_ext <<_ACEOF
    17272 #line $LINENO "configure"
    1727317749/* confdefs.h.  */
    1727417750_ACEOF
     
    1727617752cat >>conftest.$ac_ext <<_ACEOF
    1727717753/* end confdefs.h.  */
     17754/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
     17755   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     17756#define dlopen innocuous_dlopen
     17757
    1727817758/* System header to define __stub macros and hopefully few prototypes,
    1727917759    which can conflict with char dlopen (); below.
    1728017760    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1728117761    <limits.h> exists even on freestanding compilers.  */
     17762
    1728217763#ifdef __STDC__
    1728317764# include <limits.h>
     
    1728517766# include <assert.h>
    1728617767#endif
     17768
     17769#undef dlopen
     17770
    1728717771/* Override any gcc2 internal prototype to avoid an error.  */
    1728817772#ifdef __cplusplus
     
    1731517799rm -f conftest.$ac_objext conftest$ac_exeext
    1731617800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17317   (eval $ac_link) 2>&5
     17801  (eval $ac_link) 2>conftest.er1
     17802  ac_status=$?
     17803  grep -v '^ *+' conftest.er1 >conftest.err
     17804  rm -f conftest.er1
     17805  cat conftest.err >&5
     17806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17807  (exit $ac_status); } &&
     17808         { ac_try='test -z "$ac_c_werror_flag"
     17809                         || test ! -s conftest.err'
     17810  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     17811  (eval $ac_try) 2>&5
    1731817812  ac_status=$?
    1731917813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17320   (exit $ac_status); } &&
    17321         { ac_try='test -s conftest$ac_exeext'
     17814  (exit $ac_status); }; } &&
     17815        { ac_try='test -s conftest$ac_exeext'
    1732217816  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1732317817  (eval $ac_try) 2>&5
     
    1733217826ac_cv_func_dlopen=no
    1733317827fi
    17334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     17828rm -f conftest.err conftest.$ac_objext \
     17829      conftest$ac_exeext conftest.$ac_ext
    1733517830fi
    1733617831echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
     
    1734717842LIBS="-ldl  $LIBS"
    1734817843cat >conftest.$ac_ext <<_ACEOF
    17349 #line $LINENO "configure"
    1735017844/* confdefs.h.  */
    1735117845_ACEOF
     
    1737117865rm -f conftest.$ac_objext conftest$ac_exeext
    1737217866if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17373   (eval $ac_link) 2>&5
     17867  (eval $ac_link) 2>conftest.er1
     17868  ac_status=$?
     17869  grep -v '^ *+' conftest.er1 >conftest.err
     17870  rm -f conftest.er1
     17871  cat conftest.err >&5
     17872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17873  (exit $ac_status); } &&
     17874         { ac_try='test -z "$ac_c_werror_flag"
     17875                         || test ! -s conftest.err'
     17876  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     17877  (eval $ac_try) 2>&5
    1737417878  ac_status=$?
    1737517879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17376   (exit $ac_status); } &&
    17377         { ac_try='test -s conftest$ac_exeext'
     17880  (exit $ac_status); }; } &&
     17881        { ac_try='test -s conftest$ac_exeext'
    1737817882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1737917883  (eval $ac_try) 2>&5
     
    1738817892ac_cv_lib_dl_dlopen=no
    1738917893fi
    17390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     17894rm -f conftest.err conftest.$ac_objext \
     17895      conftest$ac_exeext conftest.$ac_ext
    1739117896LIBS=$ac_check_lib_save_LIBS
    1739217897fi
     
    1740417909LIBS="-lsvld  $LIBS"
    1740517910cat >conftest.$ac_ext <<_ACEOF
    17406 #line $LINENO "configure"
    1740717911/* confdefs.h.  */
    1740817912_ACEOF
     
    1742817932rm -f conftest.$ac_objext conftest$ac_exeext
    1742917933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17430   (eval $ac_link) 2>&5
     17934  (eval $ac_link) 2>conftest.er1
     17935  ac_status=$?
     17936  grep -v '^ *+' conftest.er1 >conftest.err
     17937  rm -f conftest.er1
     17938  cat conftest.err >&5
     17939  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17940  (exit $ac_status); } &&
     17941         { ac_try='test -z "$ac_c_werror_flag"
     17942                         || test ! -s conftest.err'
     17943  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     17944  (eval $ac_try) 2>&5
    1743117945  ac_status=$?
    1743217946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17433   (exit $ac_status); } &&
    17434         { ac_try='test -s conftest$ac_exeext'
     17947  (exit $ac_status); }; } &&
     17948        { ac_try='test -s conftest$ac_exeext'
    1743517949  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1743617950  (eval $ac_try) 2>&5
     
    1744517959ac_cv_lib_svld_dlopen=no
    1744617960fi
    17447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     17961rm -f conftest.err conftest.$ac_objext \
     17962      conftest$ac_exeext conftest.$ac_ext
    1744817963LIBS=$ac_check_lib_save_LIBS
    1744917964fi
     
    1746117976LIBS="-ldld  $LIBS"
    1746217977cat >conftest.$ac_ext <<_ACEOF
    17463 #line $LINENO "configure"
    1746417978/* confdefs.h.  */
    1746517979_ACEOF
     
    1748517999rm -f conftest.$ac_objext conftest$ac_exeext
    1748618000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    17487   (eval $ac_link) 2>&5
     18001  (eval $ac_link) 2>conftest.er1
     18002  ac_status=$?
     18003  grep -v '^ *+' conftest.er1 >conftest.err
     18004  rm -f conftest.er1
     18005  cat conftest.err >&5
     18006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18007  (exit $ac_status); } &&
     18008         { ac_try='test -z "$ac_c_werror_flag"
     18009                         || test ! -s conftest.err'
     18010  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     18011  (eval $ac_try) 2>&5
    1748818012  ac_status=$?
    1748918013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17490   (exit $ac_status); } &&
    17491         { ac_try='test -s conftest$ac_exeext'
     18014  (exit $ac_status); }; } &&
     18015        { ac_try='test -s conftest$ac_exeext'
    1749218016  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1749318017  (eval $ac_try) 2>&5
     
    1750218026ac_cv_lib_dld_dld_link=no
    1750318027fi
    17504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     18028rm -f conftest.err conftest.$ac_objext \
     18029      conftest$ac_exeext conftest.$ac_ext
    1750518030LIBS=$ac_check_lib_save_LIBS
    1750618031fi
     
    1755718082  lt_status=$lt_dlunknown
    1755818083  cat > conftest.$ac_ext <<EOF
    17559 #line 17559 "configure"
     18084#line 18084 "configure"
    1756018085#include "confdefs.h"
    1756118086
     
    1765518180  lt_status=$lt_dlunknown
    1765618181  cat > conftest.$ac_ext <<EOF
    17657 #line 17657 "configure"
     18182#line 18182 "configure"
    1765818183#include "confdefs.h"
    1765918184
     
    1867119196
    1867219197
    18673 # Check whether --with-psLib or --without-psLib was given.
    18674 if test "${with_psLib+set}" = set; then
    18675   withval="$with_psLib"
    18676 
    18677 CFLAGS="${CFLAGS=} -I$withval/include"
    18678 LDFLAGS="${LDFLAGS=} -L$withval/lib"
    18679 
    18680 else
    18681 
    18682 CFLAGS="${CFLAGS=} -I$PSLIB_ROOT/include"
    18683 LDFLAGS="${LDFLAGS=} -L$PSLIB_ROOT/lib"
    18684 
     19198# Check whether --with-pslib-config or --without-pslib-config was given.
     19199if test "${with_pslib_config+set}" = set; then
     19200  withval="$with_pslib_config"
     19201  PSLIB_CONFIG=$withval
     19202else
     19203  PSLIB_CONFIG=`which pslib-config`
    1868519204fi;
    18686 
    18687 
    18688 # Check whether --with-sla or --without-sla was given.
    18689 if test "${with_sla+set}" = set; then
    18690   withval="$with_sla"
    18691 
    18692 CFLAGS="${CFLAGS=} -I$withval/include"
    18693 LDFLAGS="${LDFLAGS=} -L$withval/lib"
    18694 
    18695 fi;
    18696 
    18697 
    18698 # Check whether --with-cfitsio or --without-cfitsio was given.
    18699 if test "${with_cfitsio+set}" = set; then
    18700   withval="$with_cfitsio"
    18701 
    18702 CFLAGS="${CFLAGS=} -I$withval/include"
    18703 LDFLAGS="${LDFLAGS=} -L$withval/lib"
    18704 
    18705 fi;
    18706 
    18707 
    18708 # Check whether --with-fftw3 or --without-fftw3 was given.
    18709 if test "${with_fftw3+set}" = set; then
    18710   withval="$with_fftw3"
    18711 
    18712 CFLAGS="${CFLAGS=} -I$withval/include"
    18713 LDFLAGS="${LDFLAGS=} -L$withval/lib"
    18714 
    18715 fi;
    18716 
    18717 
    18718 # Check whether --with-gsl or --without-gsl was given.
    18719 if test "${with_gsl+set}" = set; then
    18720   withval="$with_gsl"
    18721 
    18722 # Extract the first word of "$withval/bin/gsl-config", so it can be a program name with args.
    18723 set dummy $withval/bin/gsl-config; ac_word=$2
    18724 echo "$as_me:$LINENO: checking for $ac_word" >&5
    18725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18726 if test "${ac_cv_prog_GSL_CONFIG+set}" = set; then
     19205as_ac_File=`echo "ac_cv_file_$PSLIB_CONFIG" | $as_tr_sh`
     19206echo "$as_me:$LINENO: checking for $PSLIB_CONFIG" >&5
     19207echo $ECHO_N "checking for $PSLIB_CONFIG... $ECHO_C" >&6
     19208if eval "test \"\${$as_ac_File+set}\" = set"; then
    1872719209  echo $ECHO_N "(cached) $ECHO_C" >&6
    1872819210else
    18729   if test -n "$GSL_CONFIG"; then
    18730   ac_cv_prog_GSL_CONFIG="$GSL_CONFIG" # Let the user override the test.
    18731 else
    18732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    18733 for as_dir in $PATH
    18734 do
    18735   IFS=$as_save_IFS
    18736   test -z "$as_dir" && as_dir=.
    18737   for ac_exec_ext in '' $ac_executable_extensions; do
    18738   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18739     ac_cv_prog_GSL_CONFIG="$withval/bin/gsl-config"
    18740     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18741     break 2
    18742   fi
    18743 done
    18744 done
    18745 
    18746 fi
    18747 fi
    18748 GSL_CONFIG=$ac_cv_prog_GSL_CONFIG
    18749 if test -n "$GSL_CONFIG"; then
    18750   echo "$as_me:$LINENO: result: $GSL_CONFIG" >&5
    18751 echo "${ECHO_T}$GSL_CONFIG" >&6
    18752 else
    18753   echo "$as_me:$LINENO: result: no" >&5
    18754 echo "${ECHO_T}no" >&6
    18755 fi
    18756 
    18757 
    18758 else
    18759 
    18760 # Extract the first word of "gsl-config", so it can be a program name with args.
    18761 set dummy gsl-config; ac_word=$2
    18762 echo "$as_me:$LINENO: checking for $ac_word" >&5
    18763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18764 if test "${ac_cv_prog_GSL_CONFIG+set}" = set; then
     19211  test "$cross_compiling" = yes &&
     19212  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     19213echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     19214   { (exit 1); exit 1; }; }
     19215if test -r "$PSLIB_CONFIG"; then
     19216  eval "$as_ac_File=yes"
     19217else
     19218  eval "$as_ac_File=no"
     19219fi
     19220fi
     19221echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     19222echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     19223if test `eval echo '${'$as_ac_File'}'` = yes; then
     19224  :
     19225else
     19226  { { echo "$as_me:$LINENO: error: psLib is required.  If not in path, use --with-pslib-config to specify pslib-config script location." >&5
     19227echo "$as_me: error: psLib is required.  If not in path, use --with-pslib-config to specify pslib-config script location." >&2;}
     19228   { (exit 1); exit 1; }; }
     19229fi
     19230
     19231echo "$as_me:$LINENO: checking PSLIB cflags" >&5
     19232echo $ECHO_N "checking PSLIB cflags... $ECHO_C" >&6
     19233PSLIB_CFLAGS="`${PSLIB_CONFIG} --cflags`"
     19234echo "$as_me:$LINENO: result: ${PSLIB_CFLAGS}" >&5
     19235echo "${ECHO_T}${PSLIB_CFLAGS}" >&6
     19236echo "$as_me:$LINENO: checking PSLIB libs" >&5
     19237echo $ECHO_N "checking PSLIB libs... $ECHO_C" >&6
     19238PSLIB_LIBS="`${PSLIB_CONFIG} --libs`"
     19239echo "$as_me:$LINENO: result: ${PSLIB_LIBS}" >&5
     19240echo "${ECHO_T}${PSLIB_LIBS}" >&6
     19241CFLAGS="${CFLAGS=} ${PSLIB_CFLAGS}"
     19242LDFLAGS="${LDFLAGS=} ${PSLIB_LIBS}"
     19243
     19244
     19245echo "$as_me:$LINENO: checking for main in -lpslib" >&5
     19246echo $ECHO_N "checking for main in -lpslib... $ECHO_C" >&6
     19247if test "${ac_cv_lib_pslib_main+set}" = set; then
    1876519248  echo $ECHO_N "(cached) $ECHO_C" >&6
    1876619249else
    18767   if test -n "$GSL_CONFIG"; then
    18768   ac_cv_prog_GSL_CONFIG="$GSL_CONFIG" # Let the user override the test.
    18769 else
    18770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    18771 for as_dir in $PATH
    18772 do
    18773   IFS=$as_save_IFS
    18774   test -z "$as_dir" && as_dir=.
    18775   for ac_exec_ext in '' $ac_executable_extensions; do
    18776   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18777     ac_cv_prog_GSL_CONFIG="`which gsl-config`"
    18778     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18779     break 2
    18780   fi
    18781 done
    18782 done
    18783 
    18784 fi
    18785 fi
    18786 GSL_CONFIG=$ac_cv_prog_GSL_CONFIG
    18787 if test -n "$GSL_CONFIG"; then
    18788   echo "$as_me:$LINENO: result: $GSL_CONFIG" >&5
    18789 echo "${ECHO_T}$GSL_CONFIG" >&6
    18790 else
    18791   echo "$as_me:$LINENO: result: no" >&5
    18792 echo "${ECHO_T}no" >&6
    18793 fi
    18794 
    18795 
    18796 fi;
    18797 if test "$GSL_CONFIG" != ""
    18798 then
    18799     GSL_PREFIX="`${GSL_CONFIG} --prefix`"
    18800     GSL_LIBS="`${GSL_CONFIG} --libs`"
    18801     LDFLAGS="${LDFLAGS=} -L$GSL_PREFIX/lib$GSL_LIBS"
    18802     CFLAGS="${CFLAGS=} -I$GSL_PREFIX/include"
    18803 fi
    18804 
    18805 
    18806 echo "$as_me:$LINENO: checking for main in -lsla" >&5
    18807 echo $ECHO_N "checking for main in -lsla... $ECHO_C" >&6
    18808 if test "${ac_cv_lib_sla_main+set}" = set; then
    18809   echo $ECHO_N "(cached) $ECHO_C" >&6
    18810 else
    1881119250  ac_check_lib_save_LIBS=$LIBS
    18812 LIBS="-lsla  $LIBS"
     19251LIBS="-lpslib  $LIBS"
    1881319252cat >conftest.$ac_ext <<_ACEOF
    18814 #line $LINENO "configure"
    1881519253/* confdefs.h.  */
    1881619254_ACEOF
     
    1883019268rm -f conftest.$ac_objext conftest$ac_exeext
    1883119269if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18832   (eval $ac_link) 2>&5
     19270  (eval $ac_link) 2>conftest.er1
    1883319271  ac_status=$?
     19272  grep -v '^ *+' conftest.er1 >conftest.err
     19273  rm -f conftest.er1
     19274  cat conftest.err >&5
    1883419275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1883519276  (exit $ac_status); } &&
    18836          { ac_try='test -s conftest$ac_exeext'
     19277         { ac_try='test -z "$ac_c_werror_flag"
     19278                         || test ! -s conftest.err'
    1883719279  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1883819280  (eval $ac_try) 2>&5
    1883919281  ac_status=$?
    1884019282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18841   (exit $ac_status); }; }; then
    18842   ac_cv_lib_sla_main=yes
    18843 else
    18844   echo "$as_me: failed program was:" >&5
    18845 sed 's/^/| /' conftest.$ac_ext >&5
    18846 
    18847 ac_cv_lib_sla_main=no
    18848 fi
    18849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    18850 LIBS=$ac_check_lib_save_LIBS
    18851 fi
    18852 echo "$as_me:$LINENO: result: $ac_cv_lib_sla_main" >&5
    18853 echo "${ECHO_T}$ac_cv_lib_sla_main" >&6
    18854 if test $ac_cv_lib_sla_main = yes; then
    18855   cat >>confdefs.h <<_ACEOF
    18856 #define HAVE_LIBSLA 1
    18857 _ACEOF
    18858 
    18859   LIBS="-lsla $LIBS"
    18860 
    18861 else
    18862   { { echo "$as_me:$LINENO: error: SLA library required" >&5
    18863 echo "$as_me: error: SLA library required" >&2;}
    18864    { (exit 1); exit 1; }; }
    18865 fi
    18866 
    18867 
    18868 echo "$as_me:$LINENO: checking for main in -lcfitsio" >&5
    18869 echo $ECHO_N "checking for main in -lcfitsio... $ECHO_C" >&6
    18870 if test "${ac_cv_lib_cfitsio_main+set}" = set; then
    18871   echo $ECHO_N "(cached) $ECHO_C" >&6
    18872 else
    18873   ac_check_lib_save_LIBS=$LIBS
    18874 LIBS="-lcfitsio  $LIBS"
    18875 cat >conftest.$ac_ext <<_ACEOF
    18876 #line $LINENO "configure"
    18877 /* confdefs.h.  */
    18878 _ACEOF
    18879 cat confdefs.h >>conftest.$ac_ext
    18880 cat >>conftest.$ac_ext <<_ACEOF
    18881 /* end confdefs.h.  */
    18882 
    18883 
    18884 int
    18885 main ()
    18886 {
    18887 main ();
    18888   ;
    18889   return 0;
    18890 }
    18891 _ACEOF
    18892 rm -f conftest.$ac_objext conftest$ac_exeext
    18893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18894   (eval $ac_link) 2>&5
    18895   ac_status=$?
    18896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18897   (exit $ac_status); } &&
    18898          { ac_try='test -s conftest$ac_exeext'
    18899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18900   (eval $ac_try) 2>&5
    18901   ac_status=$?
    18902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18903   (exit $ac_status); }; }; then
    18904   ac_cv_lib_cfitsio_main=yes
    18905 else
    18906   echo "$as_me: failed program was:" >&5
    18907 sed 's/^/| /' conftest.$ac_ext >&5
    18908 
    18909 ac_cv_lib_cfitsio_main=no
    18910 fi
    18911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    18912 LIBS=$ac_check_lib_save_LIBS
    18913 fi
    18914 echo "$as_me:$LINENO: result: $ac_cv_lib_cfitsio_main" >&5
    18915 echo "${ECHO_T}$ac_cv_lib_cfitsio_main" >&6
    18916 if test $ac_cv_lib_cfitsio_main = yes; then
    18917   cat >>confdefs.h <<_ACEOF
    18918 #define HAVE_LIBCFITSIO 1
    18919 _ACEOF
    18920 
    18921   LIBS="-lcfitsio $LIBS"
    18922 
    18923 else
    18924   { { echo "$as_me:$LINENO: error: CFITSIO library required" >&5
    18925 echo "$as_me: error: CFITSIO library required" >&2;}
    18926    { (exit 1); exit 1; }; }
    18927 fi
    18928 
    18929 
    18930 echo "$as_me:$LINENO: checking for main in -lfftw3f" >&5
    18931 echo $ECHO_N "checking for main in -lfftw3f... $ECHO_C" >&6
    18932 if test "${ac_cv_lib_fftw3f_main+set}" = set; then
    18933   echo $ECHO_N "(cached) $ECHO_C" >&6
    18934 else
    18935   ac_check_lib_save_LIBS=$LIBS
    18936 LIBS="-lfftw3f  $LIBS"
    18937 cat >conftest.$ac_ext <<_ACEOF
    18938 #line $LINENO "configure"
    18939 /* confdefs.h.  */
    18940 _ACEOF
    18941 cat confdefs.h >>conftest.$ac_ext
    18942 cat >>conftest.$ac_ext <<_ACEOF
    18943 /* end confdefs.h.  */
    18944 
    18945 
    18946 int
    18947 main ()
    18948 {
    18949 main ();
    18950   ;
    18951   return 0;
    18952 }
    18953 _ACEOF
    18954 rm -f conftest.$ac_objext conftest$ac_exeext
    18955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    18956   (eval $ac_link) 2>&5
    18957   ac_status=$?
    18958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18959   (exit $ac_status); } &&
    18960          { ac_try='test -s conftest$ac_exeext'
    18961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18962   (eval $ac_try) 2>&5
    18963   ac_status=$?
    18964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18965   (exit $ac_status); }; }; then
    18966   ac_cv_lib_fftw3f_main=yes
    18967 else
    18968   echo "$as_me: failed program was:" >&5
    18969 sed 's/^/| /' conftest.$ac_ext >&5
    18970 
    18971 ac_cv_lib_fftw3f_main=no
    18972 fi
    18973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    18974 LIBS=$ac_check_lib_save_LIBS
    18975 fi
    18976 echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3f_main" >&5
    18977 echo "${ECHO_T}$ac_cv_lib_fftw3f_main" >&6
    18978 if test $ac_cv_lib_fftw3f_main = yes; then
    18979   cat >>confdefs.h <<_ACEOF
    18980 #define HAVE_LIBFFTW3F 1
    18981 _ACEOF
    18982 
    18983   LIBS="-lfftw3f $LIBS"
    18984 
    18985 else
    18986   { { echo "$as_me:$LINENO: error: FFTW3 library required" >&5
    18987 echo "$as_me: error: FFTW3 library required" >&2;}
    18988    { (exit 1); exit 1; }; }
    18989 fi
    18990 
    18991 
    18992 echo "$as_me:$LINENO: checking for main in -lgsl" >&5
    18993 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6
    18994 if test "${ac_cv_lib_gsl_main+set}" = set; then
    18995   echo $ECHO_N "(cached) $ECHO_C" >&6
    18996 else
    18997   ac_check_lib_save_LIBS=$LIBS
    18998 LIBS="-lgsl  $LIBS"
    18999 cat >conftest.$ac_ext <<_ACEOF
    19000 #line $LINENO "configure"
    19001 /* confdefs.h.  */
    19002 _ACEOF
    19003 cat confdefs.h >>conftest.$ac_ext
    19004 cat >>conftest.$ac_ext <<_ACEOF
    19005 /* end confdefs.h.  */
    19006 
    19007 
    19008 int
    19009 main ()
    19010 {
    19011 main ();
    19012   ;
    19013   return 0;
    19014 }
    19015 _ACEOF
    19016 rm -f conftest.$ac_objext conftest$ac_exeext
    19017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19018   (eval $ac_link) 2>&5
    19019   ac_status=$?
    19020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19021   (exit $ac_status); } &&
    19022          { ac_try='test -s conftest$ac_exeext'
    19023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19024   (eval $ac_try) 2>&5
    19025   ac_status=$?
    19026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19027   (exit $ac_status); }; }; then
    19028   ac_cv_lib_gsl_main=yes
    19029 else
    19030   echo "$as_me: failed program was:" >&5
    19031 sed 's/^/| /' conftest.$ac_ext >&5
    19032 
    19033 ac_cv_lib_gsl_main=no
    19034 fi
    19035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    19036 LIBS=$ac_check_lib_save_LIBS
    19037 fi
    19038 echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
    19039 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6
    19040 if test $ac_cv_lib_gsl_main = yes; then
    19041   cat >>confdefs.h <<_ACEOF
    19042 #define HAVE_LIBGSL 1
    19043 _ACEOF
    19044 
    19045   LIBS="-lgsl $LIBS"
    19046 
    19047 else
    19048   { { echo "$as_me:$LINENO: error: GSL library required" >&5
    19049 echo "$as_me: error: GSL library required" >&2;}
    19050    { (exit 1); exit 1; }; }
    19051 fi
    19052 
    19053 
    19054 echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
    19055 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6
    19056 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
    19057   echo $ECHO_N "(cached) $ECHO_C" >&6
    19058 else
    19059   ac_check_lib_save_LIBS=$LIBS
    19060 LIBS="-lgslcblas  $LIBS"
    19061 cat >conftest.$ac_ext <<_ACEOF
    19062 #line $LINENO "configure"
    19063 /* confdefs.h.  */
    19064 _ACEOF
    19065 cat confdefs.h >>conftest.$ac_ext
    19066 cat >>conftest.$ac_ext <<_ACEOF
    19067 /* end confdefs.h.  */
    19068 
    19069 
    19070 int
    19071 main ()
    19072 {
    19073 main ();
    19074   ;
    19075   return 0;
    19076 }
    19077 _ACEOF
    19078 rm -f conftest.$ac_objext conftest$ac_exeext
    19079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19080   (eval $ac_link) 2>&5
    19081   ac_status=$?
    19082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19083   (exit $ac_status); } &&
    19084          { ac_try='test -s conftest$ac_exeext'
    19085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19086   (eval $ac_try) 2>&5
    19087   ac_status=$?
    19088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19089   (exit $ac_status); }; }; then
    19090   ac_cv_lib_gslcblas_main=yes
    19091 else
    19092   echo "$as_me: failed program was:" >&5
    19093 sed 's/^/| /' conftest.$ac_ext >&5
    19094 
    19095 ac_cv_lib_gslcblas_main=no
    19096 fi
    19097 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    19098 LIBS=$ac_check_lib_save_LIBS
    19099 fi
    19100 echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
    19101 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6
    19102 if test $ac_cv_lib_gslcblas_main = yes; then
    19103   cat >>confdefs.h <<_ACEOF
    19104 #define HAVE_LIBGSLCBLAS 1
    19105 _ACEOF
    19106 
    19107   LIBS="-lgslcblas $LIBS"
    19108 
    19109 else
    19110   { { echo "$as_me:$LINENO: error: GSL CBLAS library required" >&5
    19111 echo "$as_me: error: GSL CBLAS library required" >&2;}
    19112    { (exit 1); exit 1; }; }
    19113 fi
    19114 
    19115 
    19116 echo "$as_me:$LINENO: checking for main in -lpslib" >&5
    19117 echo $ECHO_N "checking for main in -lpslib... $ECHO_C" >&6
    19118 if test "${ac_cv_lib_pslib_main+set}" = set; then
    19119   echo $ECHO_N "(cached) $ECHO_C" >&6
    19120 else
    19121   ac_check_lib_save_LIBS=$LIBS
    19122 LIBS="-lpslib  $LIBS"
    19123 cat >conftest.$ac_ext <<_ACEOF
    19124 #line $LINENO "configure"
    19125 /* confdefs.h.  */
    19126 _ACEOF
    19127 cat confdefs.h >>conftest.$ac_ext
    19128 cat >>conftest.$ac_ext <<_ACEOF
    19129 /* end confdefs.h.  */
    19130 
    19131 
    19132 int
    19133 main ()
    19134 {
    19135 main ();
    19136   ;
    19137   return 0;
    19138 }
    19139 _ACEOF
    19140 rm -f conftest.$ac_objext conftest$ac_exeext
    19141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19142   (eval $ac_link) 2>&5
    19143   ac_status=$?
    19144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19145   (exit $ac_status); } &&
    19146          { ac_try='test -s conftest$ac_exeext'
     19283  (exit $ac_status); }; } &&
     19284         { ac_try='test -s conftest$ac_exeext'
    1914719285  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1914819286  (eval $ac_try) 2>&5
     
    1915719295ac_cv_lib_pslib_main=no
    1915819296fi
    19159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     19297rm -f conftest.err conftest.$ac_objext \
     19298      conftest$ac_exeext conftest.$ac_ext
    1916019299LIBS=$ac_check_lib_save_LIBS
    1916119300fi
     
    1917319312echo "$as_me: error: psLib library required" >&2;}
    1917419313   { (exit 1); exit 1; }; }
    19175 fi
    19176 
    19177 
    19178 
    19179 echo "$as_me:$LINENO: checking for sqrtf in -lmx" >&5
    19180 echo $ECHO_N "checking for sqrtf in -lmx... $ECHO_C" >&6
    19181 if test "${ac_cv_lib_mx_sqrtf+set}" = set; then
    19182   echo $ECHO_N "(cached) $ECHO_C" >&6
    19183 else
    19184   ac_check_lib_save_LIBS=$LIBS
    19185 LIBS="-lmx  $LIBS"
    19186 cat >conftest.$ac_ext <<_ACEOF
    19187 #line $LINENO "configure"
    19188 /* confdefs.h.  */
    19189 _ACEOF
    19190 cat confdefs.h >>conftest.$ac_ext
    19191 cat >>conftest.$ac_ext <<_ACEOF
    19192 /* end confdefs.h.  */
    19193 
    19194 /* Override any gcc2 internal prototype to avoid an error.  */
    19195 #ifdef __cplusplus
    19196 extern "C"
    19197 #endif
    19198 /* We use char because int might match the return type of a gcc2
    19199    builtin and then its argument prototype would still apply.  */
    19200 char sqrtf ();
    19201 int
    19202 main ()
    19203 {
    19204 sqrtf ();
    19205   ;
    19206   return 0;
    19207 }
    19208 _ACEOF
    19209 rm -f conftest.$ac_objext conftest$ac_exeext
    19210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    19211   (eval $ac_link) 2>&5
    19212   ac_status=$?
    19213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19214   (exit $ac_status); } &&
    19215          { ac_try='test -s conftest$ac_exeext'
    19216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19217   (eval $ac_try) 2>&5
    19218   ac_status=$?
    19219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19220   (exit $ac_status); }; }; then
    19221   ac_cv_lib_mx_sqrtf=yes
    19222 else
    19223   echo "$as_me: failed program was:" >&5
    19224 sed 's/^/| /' conftest.$ac_ext >&5
    19225 
    19226 ac_cv_lib_mx_sqrtf=no
    19227 fi
    19228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    19229 LIBS=$ac_check_lib_save_LIBS
    19230 fi
    19231 echo "$as_me:$LINENO: result: $ac_cv_lib_mx_sqrtf" >&5
    19232 echo "${ECHO_T}$ac_cv_lib_mx_sqrtf" >&6
    19233 if test $ac_cv_lib_mx_sqrtf = yes; then
    19234   cat >>confdefs.h <<_ACEOF
    19235 #define HAVE_LIBMX 1
    19236 _ACEOF
    19237 
    19238   LIBS="-lmx $LIBS"
    19239 
    1924019314fi
    1924119315
     
    1927019344      # substitution turns \\\\ into \\, and sed turns \\ into \).
    1927119345      sed -n \
    19272         "s/'/'\\\\''/g;
    19273           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     19346        "s/'/'\\\\''/g;
     19347          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    1927419348      ;;
    1927519349    *)
    1927619350      # `set' quotes correctly as required by POSIX, so do not add quotes.
    1927719351      sed -n \
    19278         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     19352        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1927919353      ;;
    1928019354    esac;
     
    1930619380# (actually we leave an empty line to preserve line numbers).
    1930719381if test "x$srcdir" = x.; then
    19308   ac_vpsub='/^[         ]*VPATH[        ]*=/{
     19382  ac_vpsub='/^[  ]*VPATH[        ]*=/{
    1930919383s/:*\$(srcdir):*/:/;
    1931019384s/:*\${srcdir}:*/:/;
    1931119385s/:*@srcdir@:*/:/;
    19312 s/^\([^=]*=[    ]*\):*/\1/;
     19386s/^\([^=]*=[     ]*\):*/\1/;
    1931319387s/:*$//;
    19314 s/^[^=]*=[      ]*$//;
     19388s/^[^=]*=[       ]*$//;
    1931519389}'
    1931619390fi
     
    1932319397  # 1. Remove the extension, and $U if already installed.
    1932419398  ac_i=`echo "$ac_i" |
    19325         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     19399        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    1932619400  # 2. Add them.
    1932719401  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     
    1938819462  set -o posix
    1938919463fi
     19464DUALCASE=1; export DUALCASE # for MKS sh
    1939019465
    1939119466# Support unset when possible.
    19392 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     19467if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    1939319468  as_unset=unset
    1939419469else
     
    1940919484  LC_TELEPHONE LC_TIME
    1941019485do
    19411   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     19486  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    1941219487    eval $as_var=C; export $as_var
    1941319488  else
     
    1958819663  as_mkdir_p=:
    1958919664else
     19665  test -d ./-p && rmdir ./-p
    1959019666  as_mkdir_p=false
    1959119667fi
     
    1959419670
    1959519671# Sed expression to map a string onto a valid CPP name.
    19596 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     19672as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    1959719673
    1959819674# Sed expression to map a string onto a valid variable name.
    19599 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     19675as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    1960019676
    1960119677
     
    1962419700
    1962519701This file was extended by $as_me, which was
    19626 generated by GNU Autoconf 2.57.  Invocation command line was
     19702generated by GNU Autoconf 2.59.  Invocation command line was
    1962719703
    1962819704  CONFIG_FILES    = $CONFIG_FILES
     
    1966819744      --recheck    update $as_me by reconfiguring in the same conditions
    1966919745  --file=FILE[:TEMPLATE]
    19670                    instantiate the configuration file FILE
     19746                   instantiate the configuration file FILE
    1967119747  --header=FILE[:TEMPLATE]
    19672                    instantiate the configuration header FILE
     19748                   instantiate the configuration header FILE
    1967319749
    1967419750Configuration files:
     
    1968719763ac_cs_version="\\
    1968819764config.status
    19689 configured by $0, generated by GNU Autoconf 2.57,
     19765configured by $0, generated by GNU Autoconf 2.59,
    1969019766  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    1969119767
    19692 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    19693 Free Software Foundation, Inc.
     19768Copyright (C) 2003 Free Software Foundation, Inc.
    1969419769This config.status script is free software; the Free Software Foundation
    1969519770gives unlimited permission to copy, distribute and modify it."
     
    1995220027s,@ac_ct_F77@,$ac_ct_F77,;t t
    1995320028s,@LIBTOOL@,$LIBTOOL,;t t
    19954 s,@GSL_CONFIG@,$GSL_CONFIG,;t t
    1995520029s,@LIBOBJS@,$LIBOBJS,;t t
    1995620030s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     
    1998420058  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    1998520059      if test -z "$ac_sed_cmds"; then
    19986         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     20060        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    1998720061      else
    19988         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     20062        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    1998920063      fi
    1999020064      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    2000420078  case $ac_file in
    2000520079  - | *:- | *:-:* ) # input from stdin
    20006         cat >$tmp/stdin
    20007         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20008         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20080        cat >$tmp/stdin
     20081        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     20082        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    2000920083  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20010         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20084        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    2001120085  * )   ac_file_in=$ac_file.in ;;
    2001220086  esac
     
    2001520089  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    2001620090$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20017         X"$ac_file" : 'X\(//\)[^/]' \| \
    20018         X"$ac_file" : 'X\(//\)$' \| \
    20019         X"$ac_file" : 'X\(/\)' \| \
    20020         .     : '\(.\)' 2>/dev/null ||
     20091        X"$ac_file" : 'X\(//\)[^/]' \| \
     20092        X"$ac_file" : 'X\(//\)$' \| \
     20093        X"$ac_file" : 'X\(/\)' \| \
     20094        .     : '\(.\)' 2>/dev/null ||
    2002120095echo X"$ac_file" |
    2002220096    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2003420108      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    2003520109$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20036         X"$as_dir" : 'X\(//\)[^/]' \| \
    20037         X"$as_dir" : 'X\(//\)$' \| \
    20038         X"$as_dir" : 'X\(/\)' \| \
    20039         .     : '\(.\)' 2>/dev/null ||
     20110        X"$as_dir" : 'X\(//\)[^/]' \| \
     20111        X"$as_dir" : 'X\(//\)$' \| \
     20112        X"$as_dir" : 'X\(/\)' \| \
     20113        .     : '\(.\)' 2>/dev/null ||
    2004020114echo X"$as_dir" |
    2004120115    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2007520149    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    2007620150esac
    20077 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    20078 # absolute.
    20079 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    20080 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    20081 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    20082 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     20151
     20152# Do not use `cd foo && pwd` to compute absolute paths, because
     20153# the directories may not exist.
     20154case `pwd` in
     20155.) ac_abs_builddir="$ac_dir";;
     20156*)
     20157  case "$ac_dir" in
     20158  .) ac_abs_builddir=`pwd`;;
     20159  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     20160  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     20161  esac;;
     20162esac
     20163case $ac_abs_builddir in
     20164.) ac_abs_top_builddir=${ac_top_builddir}.;;
     20165*)
     20166  case ${ac_top_builddir}. in
     20167  .) ac_abs_top_builddir=$ac_abs_builddir;;
     20168  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     20169  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     20170  esac;;
     20171esac
     20172case $ac_abs_builddir in
     20173.) ac_abs_srcdir=$ac_srcdir;;
     20174*)
     20175  case $ac_srcdir in
     20176  .) ac_abs_srcdir=$ac_abs_builddir;;
     20177  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     20178  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     20179  esac;;
     20180esac
     20181case $ac_abs_builddir in
     20182.) ac_abs_top_srcdir=$ac_top_srcdir;;
     20183*)
     20184  case $ac_top_srcdir in
     20185  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     20186  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     20187  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     20188  esac;;
     20189esac
    2008320190
    2008420191
     
    2010220209  fi
    2010320210  configure_input=$configure_input"Generated from `echo $ac_file_in |
    20104                                      sed 's,.*/,,'` by configure."
     20211                                     sed 's,.*/,,'` by configure."
    2010520212
    2010620213  # First look for the input files in the build tree, otherwise in the
     
    2011120218      -) echo $tmp/stdin ;;
    2011220219      [\\/$]*)
    20113         # Absolute (can't be DOS-style, as IFS=:)
    20114         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     20220        # Absolute (can't be DOS-style, as IFS=:)
     20221        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    2011520222echo "$as_me: error: cannot find input file: $f" >&2;}
    2011620223   { (exit 1); exit 1; }; }
    20117          echo $f;;
     20224         echo "$f";;
    2011820225      *) # Relative
    20119         if test -f "$f"; then
    20120            # Build tree
    20121            echo $f
    20122         elif test -f "$srcdir/$f"; then
    20123            # Source tree
    20124            echo $srcdir/$f
    20125         else
    20126            # /dev/null tree
    20127            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     20226        if test -f "$f"; then
     20227           # Build tree
     20228           echo "$f"
     20229        elif test -f "$srcdir/$f"; then
     20230           # Source tree
     20231           echo "$srcdir/$f"
     20232        else
     20233           # /dev/null tree
     20234           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    2012820235echo "$as_me: error: cannot find input file: $f" >&2;}
    2012920236   { (exit 1); exit 1; }; }
    20130         fi;;
     20237        fi;;
    2013120238      esac
    2013220239    done` || { (exit 1); exit 1; }
     
    2017020277#
    2017120278# ac_d sets the value in "#define NAME VALUE" lines.
    20172 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
    20173 ac_dB='[        ].*$,\1#\2'
     20279ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
     20280ac_dB='[         ].*$,\1#\2'
    2017420281ac_dC=' '
    2017520282ac_dD=',;t'
    2017620283# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    20177 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     20284ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    2017820285ac_uB='$,\1#\2define\3'
    2017920286ac_uC=' '
     
    2018420291  case $ac_file in
    2018520292  - | *:- | *:-:* ) # input from stdin
    20186         cat >$tmp/stdin
    20187         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20188         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20293        cat >$tmp/stdin
     20294        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     20295        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    2018920296  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    20190         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     20297        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    2019120298  * )   ac_file_in=$ac_file.in ;;
    2019220299  esac
     
    2020220309      -) echo $tmp/stdin ;;
    2020320310      [\\/$]*)
    20204         # Absolute (can't be DOS-style, as IFS=:)
    20205         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     20311        # Absolute (can't be DOS-style, as IFS=:)
     20312        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    2020620313echo "$as_me: error: cannot find input file: $f" >&2;}
    2020720314   { (exit 1); exit 1; }; }
    20208          echo $f;;
     20315         # Do quote $f, to prevent DOS paths from being IFS'd.
     20316         echo "$f";;
    2020920317      *) # Relative
    20210         if test -f "$f"; then
    20211            # Build tree
    20212            echo $f
    20213         elif test -f "$srcdir/$f"; then
    20214            # Source tree
    20215            echo $srcdir/$f
    20216         else
    20217            # /dev/null tree
    20218            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     20318        if test -f "$f"; then
     20319           # Build tree
     20320           echo "$f"
     20321        elif test -f "$srcdir/$f"; then
     20322           # Source tree
     20323           echo "$srcdir/$f"
     20324        else
     20325           # /dev/null tree
     20326           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    2021920327echo "$as_me: error: cannot find input file: $f" >&2;}
    2022020328   { (exit 1); exit 1; }; }
    20221         fi;;
     20329        fi;;
    2022220330      esac
    2022320331    done` || { (exit 1); exit 1; }
    2022420332  # Remove the trailing spaces.
    20225   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
     20333  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
    2022620334
    2022720335_ACEOF
     
    2024620354t clear
    2024720355: clear
    20248 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     20356s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    2024920357t end
    20250 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     20358s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    2025120359: end
    2025220360_ACEOF
     
    2026220370# on some systems where configure will not decide to define it.
    2026320371cat >>conftest.undefs <<\_ACEOF
    20264 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     20372s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    2026520373_ACEOF
    2026620374
     
    2026820376# of here documents, and old seds have small limits too (100 cmds).
    2026920377echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    20270 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     20378echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    2027120379echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    2027220380echo '  :' >>$CONFIG_STATUS
     
    2027720385  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    2027820386  # Speed up: don't consider the non `#define' lines.
    20279   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
     20387  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
    2028020388  # Work around the forget-to-reset-the-flag bug.
    2028120389  echo 't clr' >>$CONFIG_STATUS
     
    2030420412  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    2030520413  # Speed up: don't consider the non `#undef'
    20306   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     20414  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    2030720415  # Work around the forget-to-reset-the-flag bug.
    2030820416  echo 't clr' >>$CONFIG_STATUS
     
    2033820446      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    2033920447$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20340         X"$ac_file" : 'X\(//\)[^/]' \| \
    20341         X"$ac_file" : 'X\(//\)$' \| \
    20342         X"$ac_file" : 'X\(/\)' \| \
    20343         .     : '\(.\)' 2>/dev/null ||
     20448        X"$ac_file" : 'X\(//\)[^/]' \| \
     20449        X"$ac_file" : 'X\(//\)$' \| \
     20450        X"$ac_file" : 'X\(/\)' \| \
     20451        .     : '\(.\)' 2>/dev/null ||
    2034420452echo X"$ac_file" |
    2034520453    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2035720465      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    2035820466$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20359         X"$as_dir" : 'X\(//\)[^/]' \| \
    20360         X"$as_dir" : 'X\(//\)$' \| \
    20361         X"$as_dir" : 'X\(/\)' \| \
    20362         .     : '\(.\)' 2>/dev/null ||
     20467        X"$as_dir" : 'X\(//\)[^/]' \| \
     20468        X"$as_dir" : 'X\(//\)$' \| \
     20469        X"$as_dir" : 'X\(/\)' \| \
     20470        .     : '\(.\)' 2>/dev/null ||
    2036320471echo X"$as_dir" |
    2036420472    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2039220500echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
    2039320501$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20394         X$ac_file : 'X\(//\)[^/]' \| \
    20395         X$ac_file : 'X\(//\)$' \| \
    20396         X$ac_file : 'X\(/\)' \| \
    20397         .     : '\(.\)' 2>/dev/null ||
     20502        X$ac_file : 'X\(//\)[^/]' \| \
     20503        X$ac_file : 'X\(//\)$' \| \
     20504        X$ac_file : 'X\(/\)' \| \
     20505        .     : '\(.\)' 2>/dev/null ||
    2039820506echo X$ac_file |
    2039920507    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2041420522  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
    2041520523$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20416         X"$ac_dest" : 'X\(//\)[^/]' \| \
    20417         X"$ac_dest" : 'X\(//\)$' \| \
    20418         X"$ac_dest" : 'X\(/\)' \| \
    20419         .     : '\(.\)' 2>/dev/null ||
     20524        X"$ac_dest" : 'X\(//\)[^/]' \| \
     20525        X"$ac_dest" : 'X\(//\)$' \| \
     20526        X"$ac_dest" : 'X\(/\)' \| \
     20527        .     : '\(.\)' 2>/dev/null ||
    2042020528echo X"$ac_dest" |
    2042120529    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2042420532          /^X\(\/\).*/{ s//\1/; q; }
    2042520533          s/.*/./; q'`
     20534  { if $as_mkdir_p; then
     20535    mkdir -p "$ac_dir"
     20536  else
     20537    as_dir="$ac_dir"
     20538    as_dirs=
     20539    while test ! -d "$as_dir"; do
     20540      as_dirs="$as_dir $as_dirs"
     20541      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     20542$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     20543         X"$as_dir" : 'X\(//\)[^/]' \| \
     20544         X"$as_dir" : 'X\(//\)$' \| \
     20545         X"$as_dir" : 'X\(/\)' \| \
     20546         .     : '\(.\)' 2>/dev/null ||
     20547echo X"$as_dir" |
     20548    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     20549          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     20550          /^X\(\/\/\)$/{ s//\1/; q; }
     20551          /^X\(\/\).*/{ s//\1/; q; }
     20552          s/.*/./; q'`
     20553    done
     20554    test ! -n "$as_dirs" || mkdir $as_dirs
     20555  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     20556echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     20557   { (exit 1); exit 1; }; }; }
     20558
    2042620559  ac_builddir=.
    2042720560
     
    2044920582    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    2045020583esac
    20451 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    20452 # absolute.
    20453 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    20454 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    20455 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    20456 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     20584
     20585# Do not use `cd foo && pwd` to compute absolute paths, because
     20586# the directories may not exist.
     20587case `pwd` in
     20588.) ac_abs_builddir="$ac_dir";;
     20589*)
     20590  case "$ac_dir" in
     20591  .) ac_abs_builddir=`pwd`;;
     20592  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     20593  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     20594  esac;;
     20595esac
     20596case $ac_abs_builddir in
     20597.) ac_abs_top_builddir=${ac_top_builddir}.;;
     20598*)
     20599  case ${ac_top_builddir}. in
     20600  .) ac_abs_top_builddir=$ac_abs_builddir;;
     20601  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     20602  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     20603  esac;;
     20604esac
     20605case $ac_abs_builddir in
     20606.) ac_abs_srcdir=$ac_srcdir;;
     20607*)
     20608  case $ac_srcdir in
     20609  .) ac_abs_srcdir=$ac_abs_builddir;;
     20610  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     20611  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     20612  esac;;
     20613esac
     20614case $ac_abs_builddir in
     20615.) ac_abs_top_srcdir=$ac_top_srcdir;;
     20616*)
     20617  case $ac_top_srcdir in
     20618  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     20619  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     20620  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     20621  esac;;
     20622esac
    2045720623
    2045820624
     
    2047220638    dirpart=`(dirname "$mf") 2>/dev/null ||
    2047320639$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20474         X"$mf" : 'X\(//\)[^/]' \| \
    20475         X"$mf" : 'X\(//\)$' \| \
    20476         X"$mf" : 'X\(/\)' \| \
    20477         .     : '\(.\)' 2>/dev/null ||
     20640        X"$mf" : 'X\(//\)[^/]' \| \
     20641        X"$mf" : 'X\(//\)$' \| \
     20642        X"$mf" : 'X\(/\)' \| \
     20643        .     : '\(.\)' 2>/dev/null ||
    2047820644echo X"$mf" |
    2047920645    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2050520671    fdir=`(dirname "$file") 2>/dev/null ||
    2050620672$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20507         X"$file" : 'X\(//\)[^/]' \| \
    20508         X"$file" : 'X\(//\)$' \| \
    20509         X"$file" : 'X\(/\)' \| \
    20510         .     : '\(.\)' 2>/dev/null ||
     20673        X"$file" : 'X\(//\)[^/]' \| \
     20674        X"$file" : 'X\(//\)$' \| \
     20675        X"$file" : 'X\(/\)' \| \
     20676        .     : '\(.\)' 2>/dev/null ||
    2051120677echo X"$file" |
    2051220678    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    2052420690      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    2052520691$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20526         X"$as_dir" : 'X\(//\)[^/]' \| \
    20527         X"$as_dir" : 'X\(//\)$' \| \
    20528         X"$as_dir" : 'X\(/\)' \| \
    20529         .     : '\(.\)' 2>/dev/null ||
     20692        X"$as_dir" : 'X\(//\)[^/]' \| \
     20693        X"$as_dir" : 'X\(//\)$' \| \
     20694        X"$as_dir" : 'X\(/\)' \| \
     20695        .     : '\(.\)' 2>/dev/null ||
    2053020696echo X"$as_dir" |
    2053120697    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  • trunk/psModules/ltmain.sh

    r1777 r3228  
    22# NOTE: Changing this file will not affect anything until you rerun configure.
    33#
    4 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
     4# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
    55# Free Software Foundation, Inc.
    66# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
     
    2525# the same distribution terms that you use for the rest of that program.
    2626
     27basename="s,^.*/,,g"
     28
     29# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
     30# is ksh but when the shell is invoked as "sh" and the current value of
     31# the _XPG environment variable is not equal to 1 (one), the special
     32# positional parameter $0, within a function call, is the name of the
     33# function.
     34progpath="$0"
     35
     36# The name of this program:
     37progname=`echo "$progpath" | $SED $basename`
     38modename="$progname"
     39
     40# Global variables:
     41EXIT_SUCCESS=0
     42EXIT_FAILURE=1
     43
     44PROGRAM=ltmain.sh
     45PACKAGE=libtool
     46VERSION=1.5.8
     47TIMESTAMP=" (1.1220.2.118 2004/08/07 12:24:38)"
     48
     49# See if we are running on zsh, and set the options which allow our
     50# commands through without removal of \ escapes.
     51if test -n "${ZSH_VERSION+set}" ; then
     52  setopt NO_GLOB_SUBST
     53fi
     54
    2755# Check that we have a working $echo.
    2856if test "X$1" = X--no-reexec; then
     
    3765else
    3866  # Restart under the correct shell, and then maybe $echo will work.
    39   exec $SHELL "$0" --no-reexec ${1+"$@"}
     67  exec $SHELL "$progpath" --no-reexec ${1+"$@"}
    4068fi
    4169
     
    4674$*
    4775EOF
    48   exit 0
     76  exit $EXIT_SUCCESS
    4977fi
    50 
    51 # The name of this program.
    52 progname=`$echo "$0" | ${SED} 's%^.*/%%'`
    53 modename="$progname"
    54 
    55 # Constants.
    56 PROGRAM=ltmain.sh
    57 PACKAGE=libtool
    58 VERSION=1.5a
    59 TIMESTAMP=" (1.1240 2003/06/26 06:55:19)"
    6078
    6179default_mode=
     
    95113
    96114# Make sure IFS has a sensible default
    97 : ${IFS="       "}
     115: ${IFS="       
     116"}
    98117
    99118if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
    100119  $echo "$modename: not configured to build any kind of library" 1>&2
    101120  $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
    102   exit 1
     121  exit $EXIT_FAILURE
    103122fi
    104123
     
    119138# This seems to be the best place for them
    120139
     140# func_win32_libid arg
     141# return the library type of file 'arg'
     142#
    121143# Need a lot of goo to handle *both* DLLs and import libs
    122144# Has to be a shell function in order to 'eat' the argument
    123145# that is supplied when $file_magic_command is called.
    124 win32_libid () {
     146func_win32_libid () {
    125147  win32_libid_type="unknown"
    126148  win32_fileres=`file -L $1 2>/dev/null`
     
    131153  *ar\ archive*) # could be an import, or static
    132154    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
    133       grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
     155      $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
    134156      win32_nmres=`eval $NM -f posix -A $1 | \
    135157        sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
     
    141163    fi
    142164    ;;
    143   *DLL*) 
     165  *DLL*)
    144166    win32_libid_type="x86 DLL"
    145167    ;;
     
    155177}
    156178
     179
     180# func_infer_tag arg
     181# Infer tagged configuration to use if any are available and
     182# if one wasn't chosen via the "--tag" command line option.
     183# Only attempt this if the compiler in the base compile
     184# command doesn't match the default compiler.
     185# arg is usually of the form 'gcc ...'
     186func_infer_tag () {
     187    if test -n "$available_tags" && test -z "$tagname"; then
     188      CC_quoted=
     189      for arg in $CC; do
     190        case $arg in
     191          *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
     192          arg="\"$arg\""
     193          ;;
     194        esac
     195        CC_quoted="$CC_quoted $arg"
     196      done
     197      case $@ in
     198      # Blanks in the command may have been stripped by the calling shell,
     199      # but not from the CC environment variable when configure was run.
     200      " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
     201      # Blanks at the start of $base_compile will cause this to fail
     202      # if we don't check for them as well.
     203      *)
     204        for z in $available_tags; do
     205          if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
     206            # Evaluate the configuration.
     207            eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
     208            CC_quoted=
     209            for arg in $CC; do
     210            # Double-quote args containing other shell metacharacters.
     211            case $arg in
     212              *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
     213              arg="\"$arg\""
     214              ;;
     215            esac
     216            CC_quoted="$CC_quoted $arg"
     217          done
     218            case "$@ " in
     219              " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
     220              # The compiler in the base compile command matches
     221              # the one in the tagged configuration.
     222              # Assume this is the tagged configuration we want.
     223              tagname=$z
     224              break
     225              ;;
     226            esac
     227          fi
     228        done
     229        # If $tagname still isn't set, then no tagged configuration
     230        # was found and let the user know that the "--tag" command
     231        # line option must be used.
     232        if test -z "$tagname"; then
     233          $echo "$modename: unable to infer tagged configuration"
     234          $echo "$modename: specify a tag with \`--tag'" 1>&2
     235          exit $EXIT_FAILURE
     236#        else
     237#          $echo "$modename: using $tagname tagged configuration"
     238        fi
     239        ;;
     240      esac
     241    fi
     242}
     243
     244
     245# func_extract_archives gentop oldlib ...
     246func_extract_archives () {
     247    my_gentop="$1"; shift
     248    my_oldlibs=${1+"$@"}
     249    my_oldobjs=""
     250    my_xlib=""
     251    my_xabs=""
     252    my_xdir=""
     253    my_status=""
     254
     255    $show "${rm}r $my_gentop"
     256    $run ${rm}r "$my_gentop"
     257    $show "$mkdir $my_gentop"
     258    $run $mkdir "$my_gentop"
     259    my_status=$?
     260    if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
     261      exit $my_status
     262    fi
     263
     264    for my_xlib in $my_oldlibs; do
     265      # Extract the objects.
     266      case $my_xlib in
     267        [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
     268        *) my_xabs=`pwd`"/$my_xlib" ;;
     269      esac
     270      my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
     271      my_xdir="$my_gentop/$my_xlib"
     272
     273      $show "${rm}r $my_xdir"
     274      $run ${rm}r "$my_xdir"
     275      $show "$mkdir $my_xdir"
     276      $run $mkdir "$my_xdir"
     277      status=$?
     278      if test "$status" -ne 0 && test ! -d "$my_xdir"; then
     279        exit $status
     280      fi
     281      case $host in
     282      *-darwin*)
     283        $show "Extracting $my_xabs"
     284        # Do not bother doing anything if just a dry run
     285        if test -z "$run"; then
     286          darwin_orig_dir=`pwd`
     287          cd $my_xdir || exit $?
     288          darwin_archive=$my_xabs
     289          darwin_curdir=`pwd`
     290          darwin_base_archive=`basename $darwin_archive`
     291          darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
     292          if test -n "$darwin_arches"; then
     293            darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
     294            darwin_arch=
     295            $show "$darwin_base_archive has multiple architectures $darwin_arches"
     296            for darwin_arch in  $darwin_arches ; do
     297              mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
     298              lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
     299              # Remove the table of contents from the thin files.
     300              $AR -d "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" __.SYMDEF 2>/dev/null || true
     301              $AR -d "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" __.SYMDEF\ SORTED 2>/dev/null || true
     302              cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
     303              $AR -xo "${darwin_base_archive}"
     304              rm "${darwin_base_archive}"
     305              cd "$darwin_curdir"
     306            done # $darwin_arches
     307      ## Okay now we have a bunch of thin objects, gotta fatten them up :)
     308            darwin_filelist=`find unfat-$$ -type f | xargs basename | sort -u | $NL2SP`
     309            darwin_file=
     310            darwin_files=
     311            for darwin_file in $darwin_filelist; do
     312              darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
     313              lipo -create -output "$darwin_file" $darwin_files
     314            done # $darwin_filelist
     315            rm -rf unfat-$$
     316            cd "$darwin_orig_dir"
     317          else
     318            cd $darwin_orig_dir
     319            (cd $my_xdir && $AR x $my_xabs) || exit $?
     320          fi # $darwin_arches
     321        fi # $run
     322      ;;
     323      *)
     324        # We will extract separately just the conflicting names and we will
     325        # no longer touch any unique names. It is faster to leave these
     326        # extract automatically by $AR in one run.
     327        $show "(cd $my_xdir && $AR x $my_xabs)"
     328        $run eval "(cd \$my_xdir && $AR x \$my_xabs)" || exit $?
     329        if ($AR t "$my_xabs" | sort | sort -uc >/dev/null 2>&1); then
     330          :
     331        else
     332          $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
     333          $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
     334          $AR t "$my_xabs" | sort | uniq -cd | while read -r count name
     335          do
     336            i=1
     337            while test "$i" -le "$count"
     338            do
     339              # Put our $i before any first dot (extension)
     340              # Never overwrite any file
     341              name_to="$name"
     342              while test "X$name_to" = "X$name" || test -f "$my_xdir/$name_to"
     343              do
     344                name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
     345              done
     346              $show "(cd $my_xdir && $AR xN $i $my_xabs '$name' && $mv '$name' '$name_to')"
     347              $run eval "(cd \$my_xdir && $AR xN $i \$my_xabs '$name' && $mv '$name' '$name_to')" || exit $?
     348              i=`expr $i + 1`
     349            done
     350          done
     351        fi
     352        ;;
     353      esac
     354      my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
     355    done
     356
     357    func_extract_archives_result="$my_oldobjs"
     358}
    157359# End of Shell function definitions
    158360#####################################
     361
     362# Darwin sucks
     363eval std_shrext=\"$shrext_cmds\"
    159364
    160365# Parse our command line options once, thoroughly.
     
    177382    tag)
    178383      tagname="$arg"
     384      preserve_args="${preserve_args}=$arg"
    179385
    180386      # Check whether tagname contains only valid characters
     
    182388      *[!-_A-Za-z0-9,/]*)
    183389        $echo "$progname: invalid tag name: $tagname" 1>&2
    184         exit 1
     390        exit $EXIT_FAILURE
    185391        ;;
    186392      esac
     
    192398        ;;
    193399      *)
    194         if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
     400        if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
    195401          taglist="$taglist $tagname"
    196402          # Evaluate the configuration.
    197           eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
     403          eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
    198404        else
    199405          $echo "$progname: ignoring unknown tag $tagname" 1>&2
     
    224430    $echo "This is free software; see the source for copying conditions.  There is NO"
    225431    $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
    226     exit 0
     432    exit $EXIT_SUCCESS
    227433    ;;
    228434
    229435  --config)
    230     ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
     436    ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
    231437    # Now print the configurations for the tags.
    232438    for tagname in $taglist; do
    233       ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
     439      ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
    234440    done
    235     exit 0
     441    exit $EXIT_SUCCESS
    236442    ;;
    237443
     
    239445    $echo "$progname: enabling shell trace mode"
    240446    set -x
     447    preserve_args="$preserve_args $arg"
    241448    ;;
    242449
     
    257464      $echo "disable static libraries"
    258465    fi
    259     exit 0
     466    exit $EXIT_SUCCESS
    260467    ;;
    261468
     
    269476  --quiet | --silent)
    270477    show=:
     478    preserve_args="$preserve_args $arg"
    271479    ;;
    272480
     
    276484    shift
    277485    prev=tag
     486    preserve_args="$preserve_args --tag"
    278487    ;;
    279488
     
    286495    $echo "$modename: unrecognized option \`$arg'" 1>&2
    287496    $echo "$help" 1>&2
    288     exit 1
     497    exit $EXIT_FAILURE
    289498    ;;
    290499
     
    299508  $echo "$modename: option \`$prevopt' requires an argument" 1>&2
    300509  $echo "$help" 1>&2
    301   exit 1
     510  exit $EXIT_FAILURE
    302511fi
    303512
     
    355564    $echo "$modename: unrecognized option \`-dlopen'" 1>&2
    356565    $echo "$help" 1>&2
    357     exit 1
     566    exit $EXIT_FAILURE
    358567  fi
    359568
     
    370579    base_compile=
    371580    srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
     581    suppress_opt=yes
    372582    suppress_output=
    373583    arg_mode=normal
    374584    libobj=
     585    later=
    375586
    376587    for arg
     
    395606          if test -n "$libobj" ; then
    396607            $echo "$modename: you cannot specify \`-o' more than once" 1>&2
    397             exit 1
     608            exit $EXIT_FAILURE
    398609          fi
    399610          arg_mode=target
     
    401612          ;;
    402613
    403         -static)
    404           build_old_libs=yes
     614        -static | -prefer-pic | -prefer-non-pic)
     615          later="$later $arg"
    405616          continue
    406617          ;;
    407618
    408         -prefer-pic)
    409           pic_mode=yes
    410           continue
    411           ;;
    412 
    413         -prefer-non-pic)
    414           pic_mode=no
     619        -no-suppress)
     620          suppress_opt=no
    415621          continue
    416622          ;;
     
    425631          lastarg=
    426632          save_ifs="$IFS"; IFS=','
    427           for arg in $args; do
     633          for arg in $args; do
    428634            IFS="$save_ifs"
    429635
     
    475681    arg)
    476682      $echo "$modename: you must specify an argument for -Xcompile"
    477       exit 1
     683      exit $EXIT_FAILURE
    478684      ;;
    479685    target)
    480686      $echo "$modename: you must specify a target with \`-o'" 1>&2
    481       exit 1
     687      exit $EXIT_FAILURE
    482688      ;;
    483689    *)
     
    512718    *)
    513719      $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
    514       exit 1
     720      exit $EXIT_FAILURE
    515721      ;;
    516722    esac
    517723
    518     # Infer tagged configuration to use if any are available and
    519     # if one wasn't chosen via the "--tag" command line option.
    520     # Only attempt this if the compiler in the base compile
    521     # command doesn't match the default compiler.
    522     if test -n "$available_tags" && test -z "$tagname"; then
    523       case $base_compile in
    524       # Blanks in the command may have been stripped by the calling shell,
    525       # but not from the CC environment variable when configure was run.
    526       " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
    527       # Blanks at the start of $base_compile will cause this to fail
    528       # if we don't check for them as well.
    529       *)
    530         for z in $available_tags; do
    531           if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
    532             # Evaluate the configuration.
    533             eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
    534             case "$base_compile " in
    535             "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
    536               # The compiler in the base compile command matches
    537               # the one in the tagged configuration.
    538               # Assume this is the tagged configuration we want.
    539               tagname=$z
    540               break
    541               ;;
    542             esac
    543           fi
    544         done
    545         # If $tagname still isn't set, then no tagged configuration
    546         # was found and let the user know that the "--tag" command
    547         # line option must be used.
    548         if test -z "$tagname"; then
    549           $echo "$modename: unable to infer tagged configuration"
    550           $echo "$modename: specify a tag with \`--tag'" 1>&2
    551           exit 1
    552 #        else
    553 #          $echo "$modename: using $tagname tagged configuration"
    554         fi
     724    func_infer_tag $base_compile
     725
     726    for arg in $later; do
     727      case $arg in
     728      -static)
     729        build_old_libs=yes
     730        continue
     731        ;;
     732
     733      -prefer-pic)
     734        pic_mode=yes
     735        continue
     736        ;;
     737
     738      -prefer-non-pic)
     739        pic_mode=no
     740        continue
    555741        ;;
    556742      esac
    557     fi
     743    done
    558744
    559745    objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
     
    569755      $echo "$modename: you must specify a compilation command" 1>&2
    570756      $echo "$help" 1>&2
    571       exit 1
     757      exit $EXIT_FAILURE
    572758    fi
    573759
     
    580766
    581767    $run $rm $removelist
    582     trap "$run $rm $removelist; exit 1" 1 2 15
     768    trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
    583769
    584770    # On Cygwin there's no "real" PIC flag so we must build both object types
     
    599785      lockfile="$output_obj.lock"
    600786      removelist="$removelist $output_obj $lockfile"
    601       trap "$run $rm $removelist; exit 1" 1 2 15
     787      trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
    602788    else
    603789      output_obj=
     
    609795    # We use this script file to make the link, it avoids creating a new file
    610796    if test "$need_locks" = yes; then
    611       until $run ln "$0" "$lockfile" 2>/dev/null; do
     797      until $run ln "$progpath" "$lockfile" 2>/dev/null; do
    612798        $show "Waiting for $lockfile to be removed"
    613799        sleep 2
     
    627813
    628814        $run $rm $removelist
    629         exit 1
     815        exit $EXIT_FAILURE
    630816      fi
    631817      $echo $srcfile > "$lockfile"
     
    682868      else
    683869        test -n "$output_obj" && $run $rm $removelist
    684         exit 1
     870        exit $EXIT_FAILURE
    685871      fi
    686872
     
    702888
    703889        $run $rm $removelist
    704         exit 1
     890        exit $EXIT_FAILURE
    705891      fi
    706892
     
    723909
    724910      # Allow error messages only from the first compilation.
    725       suppress_output=' >/dev/null 2>&1'
     911      if test "$suppress_opt" = yes; then
     912        suppress_output=' >/dev/null 2>&1'
     913      fi
    726914    else
    727915      # No PIC object so indicate it doesn't exist in the libtool
     
    752940      else
    753941        $run $rm $removelist
    754         exit 1
     942        exit $EXIT_FAILURE
    755943      fi
    756944
     
    772960
    773961        $run $rm $removelist
    774         exit 1
     962        exit $EXIT_FAILURE
    775963      fi
    776964
     
    810998    fi
    811999
    812     exit 0
     1000    exit $EXIT_SUCCESS
    8131001    ;;
    8141002
     
    8361024    esac
    8371025    libtool_args="$nonopt"
    838     base_compile="$nonopt"
     1026    base_compile="$nonopt $@"
    8391027    compile_command="$nonopt"
    8401028    finalize_command="$nonopt"
     
    8481036    deplibs=
    8491037    old_deplibs=
    850     add_flags=
    8511038    compiler_flags=
    8521039    linker_flags=
     
    8691056    objs=
    8701057    non_pic_objects=
     1058    precious_files_regex=
    8711059    prefer_static_libs=no
    8721060    preload=no
     
    8821070    vinfo_number=no
    8831071
     1072    func_infer_tag $base_compile
     1073
    8841074    # We need to know -static, to get the right output filenames.
    8851075    for arg
     
    9131103    while test "$#" -gt 0; do
    9141104      arg="$1"
    915       base_compile="$base_compile $arg"
    9161105      shift
    9171106      case $arg in
     
    9771166          if test ! -f "$arg"; then
    9781167            $echo "$modename: symbol file \`$arg' does not exist"
    979             exit 1
     1168            exit $EXIT_FAILURE
    9801169          fi
    9811170          prev=
     
    9891178        inst_prefix)
    9901179          inst_prefix_dir="$arg"
     1180          prev=
     1181          continue
     1182          ;;
     1183        precious_regex)
     1184          precious_files_regex="$arg"
    9911185          prev=
    9921186          continue
     
    10241218                   test "$non_pic_object" = none; then
    10251219                  $echo "$modename: cannot find name of object for \`$arg'" 1>&2
    1026                   exit 1
     1220                  exit $EXIT_FAILURE
    10271221                fi
    10281222
     
    10771271                if test -z "$run"; then
    10781272                  $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
    1079                   exit 1
     1273                  exit $EXIT_FAILURE
    10801274                else
    10811275                  # Dry-run case.
     
    10981292          else
    10991293            $echo "$modename: link input file \`$save_arg' does not exist"
    1100             exit 1
     1294            exit $EXIT_FAILURE
    11011295          fi
    11021296          arg=$save_arg
     
    11101304          *)
    11111305            $echo "$modename: only absolute run-paths are allowed" 1>&2
    1112             exit 1
     1306            exit $EXIT_FAILURE
    11131307            ;;
    11141308          esac
     
    11501344          continue
    11511345          ;;
     1346        shrext)
     1347          shrext_cmds="$arg"
     1348          prev=
     1349          continue
     1350          ;;
    11521351        *)
    11531352          eval "$prev=\"\$arg\""
     
    11981397        if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
    11991398          $echo "$modename: more than one -exported-symbols argument is not allowed"
    1200           exit 1
     1399          exit $EXIT_FAILURE
    12011400        fi
    12021401        if test "X$arg" = "X-export-symbols"; then
     
    12341433          if test -z "$absdir"; then
    12351434            $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
    1236             exit 1
     1435            exit $EXIT_FAILURE
    12371436          fi
    12381437          dir="$absdir"
     
    12631462            # These systems don't actually have a C or math library (as such)
    12641463            continue
    1265             ;;
    1266           *-*-freebsd*-gnu*)
    1267             # prevent being parsed by the freebsd regexp below
    12681464            ;;
    12691465          *-*-mingw* | *-*-os2*)
     
    12821478        elif test "X$arg" = "X-lc_r"; then
    12831479         case $host in
    1284          *-*-freebsd*-gnu*)
    1285            # prevent being parsed by the freebsd regexp below
    1286            ;;
    1287          *-*-openbsd*)
     1480         *-*-openbsd* | *-*-freebsd*)
    12881481           # Do not include libc_r directly, use -pthread flag.
    12891482           continue
     
    12911484         esac
    12921485        fi
     1486        deplibs="$deplibs $arg"
     1487        continue
     1488        ;;
     1489
     1490     -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
    12931491        deplibs="$deplibs $arg"
    12941492        continue
     
    13591557      -o) prev=output ;;
    13601558
     1559      -precious-files-regex)
     1560        prev=precious_regex
     1561        continue
     1562        ;;
     1563
    13611564      -release)
    13621565        prev=release
     
    13811584        *)
    13821585          $echo "$modename: only absolute run-paths are allowed" 1>&2
    1383           exit 1
     1586          exit $EXIT_FAILURE
    13841587          ;;
    13851588        esac
     
    14771680          ;;
    14781681        esac
    1479         add_flags="$add_flags $arg"
    14801682        ;;
    14811683
     
    15051707             test "$non_pic_object" = none; then
    15061708            $echo "$modename: cannot find name of object for \`$arg'" 1>&2
    1507             exit 1
     1709            exit $EXIT_FAILURE
    15081710          fi
    15091711
     
    15581760          if test -z "$run"; then
    15591761            $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
    1560             exit 1
     1762            exit $EXIT_FAILURE
    15611763          else
    15621764            # Dry-run case.
     
    16121814          ;;
    16131815        esac
    1614         add_flags="$add_flags $arg"
    16151816        ;;
    16161817      esac # arg
     
    16261827      $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
    16271828      $echo "$help" 1>&2
    1628       exit 1
    1629     fi
    1630 
    1631     # Infer tagged configuration to use if any are available and
    1632     # if one wasn't chosen via the "--tag" command line option.
    1633     # Only attempt this if the compiler in the base link
    1634     # command doesn't match the default compiler.
    1635     if test -n "$available_tags" && test -z "$tagname"; then
    1636       case $base_compile in
    1637       # Blanks in the command may have been stripped by the calling shell,
    1638       # but not from the CC environment variable when configure was run.
    1639       "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;;
    1640       # Blanks at the start of $base_compile will cause this to fail
    1641       # if we don't check for them as well.
    1642       *)
    1643         for z in $available_tags; do
    1644           if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
    1645             # Evaluate the configuration.
    1646             eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
    1647             case $base_compile in
    1648             "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
    1649               # The compiler in $compile_command matches
    1650               # the one in the tagged configuration.
    1651               # Assume this is the tagged configuration we want.
    1652               tagname=$z
    1653               break
    1654               ;;
    1655             esac
    1656           fi
    1657         done
    1658         # If $tagname still isn't set, then no tagged configuration
    1659         # was found and let the user know that the "--tag" command
    1660         # line option must be used.
    1661         if test -z "$tagname"; then
    1662           $echo "$modename: unable to infer tagged configuration"
    1663           $echo "$modename: specify a tag with \`--tag'" 1>&2
    1664           exit 1
    1665 #       else
    1666 #         $echo "$modename: using $tagname tagged configuration"
    1667         fi
    1668         ;;
    1669       esac
     1829      exit $EXIT_FAILURE
    16701830    fi
    16711831
     
    17111871      $echo "$modename: you must specify an output file" 1>&2
    17121872      $echo "$help" 1>&2
    1713       exit 1
     1873      exit $EXIT_FAILURE
    17141874      ;;
    17151875    *.$libext) linkmode=oldlib ;;
     
    17211881    case $host in
    17221882    *cygwin* | *mingw* | *pw32*)
    1723       # don't eliminate duplcations in $postdeps and $predeps
     1883      # don't eliminate duplications in $postdeps and $predeps
    17241884      duplicate_compiler_generated_deps=yes
    17251885      ;;
     
    17741934          *)
    17751935            $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
    1776             exit 1
     1936            exit $EXIT_FAILURE
    17771937            ;;
    17781938          esac
     
    18121972        found=no
    18131973        case $deplib in
     1974        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
     1975          if test "$linkmode,$pass" = "prog,link"; then
     1976            compile_deplibs="$deplib $compile_deplibs"
     1977            finalize_deplibs="$deplib $finalize_deplibs"
     1978          else
     1979            deplibs="$deplib $deplibs"
     1980          fi
     1981          continue
     1982          ;;
    18141983        -l*)
    18151984          if test "$linkmode" != lib && test "$linkmode" != prog; then
     
    18171986            continue
    18181987          fi
    1819           if test "$pass" = conv && test "$allow_undefined" = yes; then
     1988          if test "$pass" = conv; then
    18201989            deplibs="$deplib $deplibs"
    18211990            continue
     
    18231992          name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
    18241993          for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
    1825             for search_ext in .la $shrext .so .a; do
     1994            for search_ext in .la $std_shrext .so .a; do
    18261995              # Search the libtool library
    18271996              lib="$searchdir/lib${name}${search_ext}"
     
    18992068            if test "$pass" = scan; then
    19002069              deplibs="$deplib $deplibs"
    1901               newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
    19022070            else
    19032071              compile_deplibs="$deplib $compile_deplibs"
    19042072              finalize_deplibs="$deplib $finalize_deplibs"
    19052073            fi
     2074            newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
    19062075            ;;
    19072076          *)
     
    19312100          case $linkmode in
    19322101          lib)
    1933             if test "$deplibs_check_method" != pass_all; then
     2102            valid_a_lib=no
     2103            case $deplibs_check_method in
     2104              match_pattern*)
     2105                set dummy $deplibs_check_method
     2106                match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
     2107                if eval $echo \"$deplib\" 2>/dev/null \
     2108                    | $SED 10q \
     2109                    | $EGREP "$match_pattern_regex" > /dev/null; then
     2110                  valid_a_lib=yes
     2111                fi
     2112                ;;
     2113              pass_all)
     2114                valid_a_lib=yes
     2115                ;;
     2116            esac
     2117            if test "$valid_a_lib" != yes; then
    19342118              $echo
    19352119              $echo "*** Warning: Trying to link with static lib archive $deplib."
     
    19822166        else
    19832167          $echo "$modename: cannot find the library \`$lib'" 1>&2
    1984           exit 1
     2168          exit $EXIT_FAILURE
    19852169        fi
    19862170
     
    19892173        else
    19902174          $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
    1991           exit 1
     2175          exit $EXIT_FAILURE
    19922176        fi
    19932177
     
    20222206          # Only check for convenience libraries
    20232207          deplibs="$lib $deplibs"
    2024           tmp_libs=
    2025           for deplib in $dependency_libs; do
    2026             #echo "Adding $deplib to \$deplibs"
    2027             deplibs="$deplib $deplibs"
    2028             if test "X$duplicate_deps" = "Xyes" ; then
    2029               case "$tmp_libs " in
    2030               *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
    2031               esac
    2032             fi
    2033             tmp_libs="$tmp_libs $deplib"
    2034           done
    20352208          if test -z "$libdir"; then
    20362209            if test -z "$old_library"; then
    20372210              $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
    2038               exit 1
     2211              exit $EXIT_FAILURE
    20392212            fi
    20402213            # It is a libtool convenience library, so add in its objects.
    20412214            convenience="$convenience $ladir/$objdir/$old_library"
    20422215            old_convenience="$old_convenience $ladir/$objdir/$old_library"
     2216            tmp_libs=
     2217            for deplib in $dependency_libs; do
     2218              deplibs="$deplib $deplibs"
     2219              if test "X$duplicate_deps" = "Xyes" ; then
     2220                case "$tmp_libs " in
     2221                *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
     2222                esac
     2223              fi
     2224              tmp_libs="$tmp_libs $deplib"
     2225            done
    20432226          elif test "$linkmode" != prog && test "$linkmode" != lib; then
    20442227            $echo "$modename: \`$lib' is not a convenience library" 1>&2
    2045             exit 1
     2228            exit $EXIT_FAILURE
    20462229          fi
    20472230          continue
    20482231        fi # $pass = conv
    20492232
    2050    
     2233
    20512234        # Get the name of the library we link against.
    20522235        linklib=
     
    20562239        if test -z "$linklib"; then
    20572240          $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
    2058           exit 1
     2241          exit $EXIT_FAILURE
    20592242        fi
    20602243
     
    20632246          if test -z "$libdir"; then
    20642247            $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
    2065             exit 1
    2066           fi
    2067           if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
     2248            exit $EXIT_FAILURE
     2249          fi
     2250          if test -z "$dlname" ||
     2251             test "$dlopen_support" != yes ||
     2252             test "$build_libtool_libs" = no; then
    20682253            # If there is no dlname, no dlopen support or we're linking
    20692254            # statically, we need to preload.  We also need to preload any
     
    21032288          fi
    21042289        else
    2105           dir="$ladir/$objdir"
    2106           absdir="$abs_ladir/$objdir"
    2107           # Remove this search path later
    2108           notinst_path="$notinst_path $abs_ladir"
     2290          if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
     2291            dir="$ladir"
     2292            absdir="$abs_ladir"
     2293            # Remove this search path later
     2294            notinst_path="$notinst_path $abs_ladir"
     2295          else
     2296            dir="$ladir/$objdir"
     2297            absdir="$abs_ladir/$objdir"
     2298            # Remove this search path later
     2299            notinst_path="$notinst_path $abs_ladir"
     2300          fi
    21092301        fi # $installed = yes
    21102302        name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
     
    21142306          if test -z "$libdir"; then
    21152307            $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
    2116             exit 1
     2308            exit $EXIT_FAILURE
    21172309          fi
    21182310          # Prefer using a static library (so that no silly _DYNAMIC symbols
     
    21412333        fi
    21422334
    2143    
     2335
    21442336        if test "$linkmode" = prog && test "$pass" != link; then
    21452337          newlib_search_path="$newlib_search_path $ladir"
     
    22282420          fi
    22292421          # This is a shared library
    2230        
    2231       # Warn about portability, can't link against -module's on some systems (darwin)
    2232       if test "$shouldnotlink" = yes && test "$pass" = link ; then
     2422
     2423          # Warn about portability, can't link against -module's on
     2424          # some systems (darwin)
     2425          if test "$shouldnotlink" = yes && test "$pass" = link ; then
    22332426            $echo
    22342427            if test "$linkmode" = prog; then
     
    22372430              $echo "*** Warning: Linking the shared library $output against the loadable module"
    22382431            fi
    2239             $echo "*** $linklib is not portable!"   
    2240       fi         
     2432            $echo "*** $linklib is not portable!"
     2433          fi
    22412434          if test "$linkmode" = lib &&
    22422435             test "$hardcode_into_libs" = yes; then
     
    22962489              $show "extracting exported symbol list from \`$soname'"
    22972490              save_ifs="$IFS"; IFS='~'
    2298               eval cmds=\"$extract_expsyms_cmds\"
     2491              cmds=$extract_expsyms_cmds
    22992492              for cmd in $cmds; do
    23002493                IFS="$save_ifs"
     2494                eval cmd=\"$cmd\"
    23012495                $show "$cmd"
    23022496                $run eval "$cmd" || exit $?
     
    23092503              $show "generating import library for \`$soname'"
    23102504              save_ifs="$IFS"; IFS='~'
    2311               eval cmds=\"$old_archive_from_expsyms_cmds\"
     2505              cmds=$old_archive_from_expsyms_cmds
    23122506              for cmd in $cmds; do
    23132507                IFS="$save_ifs"
     2508                eval cmd=\"$cmd\"
    23142509                $show "$cmd"
    23152510                $run eval "$cmd" || exit $?
     
    23342529                  *-*-sco3.2v5* ) add_dir="-L$dir" ;;
    23352530                  *-*-darwin* )
    2336                     # if the lib is a module then we can not link against it, someone
    2337                     # is ignoring the new warnings I added
    2338                     if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then
     2531                    # if the lib is a module then we can not link against
     2532                    # it, someone is ignoring the new warnings I added
     2533                    if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
    23392534                      $echo "** Warning, lib $linklib is a module, not a shared library"
    23402535                      if test -z "$old_library" ; then
     
    23442539                      else
    23452540                        add="$dir/$old_library"
    2346                       fi 
     2541                      fi
    23472542                    fi
    23482543                esac
     
    23692564                  case "$libdir" in
    23702565                    [\\/]*)
    2371                       add_dir="-L$inst_prefix_dir$libdir $add_dir"
     2566                      add_dir="$add_dir -L$inst_prefix_dir$libdir"
    23722567                      ;;
    23732568                  esac
     
    23862581            if test "$lib_linked" != yes; then
    23872582              $echo "$modename: configuration error: unsupported hardcode properties"
    2388               exit 1
     2583              exit $EXIT_FAILURE
    23892584            fi
    23902585
     
    24292624              add="-l$name"
    24302625            elif test "$hardcode_automatic" = yes; then
    2431               if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then
     2626              if test -n "$inst_prefix_dir" &&
     2627                 test -f "$inst_prefix_dir$libdir/$linklib" ; then
    24322628                add="$inst_prefix_dir$libdir/$linklib"
    24332629              else
     
    24412637                case "$libdir" in
    24422638                  [\\/]*)
    2443                     add_dir="-L$inst_prefix_dir$libdir $add_dir"
     2639                    add_dir="$add_dir -L$inst_prefix_dir$libdir"
    24442640                    ;;
    24452641                esac
     
    25082704
    25092705        if test "$linkmode" = lib; then
    2510           #if test -n "$dependency_libs" &&
    2511           #   { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
    2512           #     test "$link_static" = yes; }; then
     2706          if test -n "$dependency_libs" &&
     2707             { test "$hardcode_into_libs" != yes ||
     2708               test "$build_old_libs" = yes ||
     2709               test "$link_static" = yes; }; then
    25132710            # Extract -R from dependency_libs
    25142711            temp_deplibs=
     
    25242721            done
    25252722            dependency_libs="$temp_deplibs"
    2526           #fi
     2723          fi
    25272724
    25282725          newlib_search_path="$newlib_search_path $absdir"
     
    25662763                  if test -z "$libdir"; then
    25672764                    $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
    2568                     exit 1
     2765                    exit $EXIT_FAILURE
    25692766                  fi
    25702767                  if test "$absdir" != "$libdir"; then
    2571                     # Sure, some shells/systems don't implement the -ef.
    2572                     # Those will have to live with the warning.
    2573                     test "$absdir" -ef "$libdir" > /dev/null 2>&1 ||
    2574                       $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
     2768                    $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
    25752769                  fi
    25762770                  path="$absdir"
     
    25792773                case $host in
    25802774                *-*-darwin*)
    2581                   # we do not want to link against static libs, but need to link against shared
     2775                  # we do not want to link against static libs,
     2776                  # but need to link against shared
    25822777                  eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
    25832778                  if test -n "$deplibrary_names" ; then
     
    25872782                    if test -f "$path/$depdepl" ; then
    25882783                      depdepl="$path/$depdepl"
    2589                    fi
     2784                    fi
    25902785                    # do not add paths which are already there
    25912786                    case " $newlib_search_path " in
     
    25932788                    *) newlib_search_path="$newlib_search_path $path";;
    25942789                    esac
    2595                     path=""
    25962790                  fi
     2791                  path=""
    25972792                  ;;
    25982793                *)
    2599                 path="-L$path"
     2794                  path="-L$path"
     2795                  ;;
     2796                esac
    26002797                ;;
    2601                 esac
    2602                
    2603                 ;;
    2604                   -l*)
     2798              -l*)
    26052799                case $host in
    26062800                *-*-darwin*)
    2607                  # Again, we only want to link against shared libraries
    2608                  eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
    2609                  for tmp in $newlib_search_path ; do
    2610                      if test -f "$tmp/lib$tmp_libs.dylib" ; then
    2611                        eval depdepl="$tmp/lib$tmp_libs.dylib"
    2612                        break
    2613                      fi 
    2614          done
    2615          path=""
     2801                  # Again, we only want to link against shared libraries
     2802                  eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
     2803                  for tmp in $newlib_search_path ; do
     2804                    if test -f "$tmp/lib$tmp_libs.dylib" ; then
     2805                      eval depdepl="$tmp/lib$tmp_libs.dylib"
     2806                      break
     2807                    fi
     2808                  done
     2809                  path=""
    26162810                  ;;
    26172811                *) continue ;;
    2618                 esac             
     2812                esac
    26192813                ;;
    26202814              *) continue ;;
     
    26222816              case " $deplibs " in
    26232817              *" $depdepl "*) ;;
    2624               *) deplibs="$deplibs $depdepl" ;;
    2625               esac           
     2818              *) deplibs="$depdepl $deplibs" ;;
     2819              esac
    26262820              case " $deplibs " in
    26272821              *" $path "*) ;;
     
    27132907        done # for var
    27142908      fi
    2715       # Last step: remove runtime libs from dependency_libs (they stay in deplibs)
     2909      # Last step: remove runtime libs from dependency_libs
     2910      # (they stay in deplibs)
    27162911      tmp_libs=
    27172912      for i in $dependency_libs ; do
     
    27732968      lib*)
    27742969        name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
    2775         eval shared_ext=\"$shrext\"
     2970        eval shared_ext=\"$shrext_cmds\"
    27762971        eval libname=\"$libname_spec\"
    27772972        ;;
     
    27802975          $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
    27812976          $echo "$help" 1>&2
    2782           exit 1
     2977          exit $EXIT_FAILURE
    27832978        fi
    27842979        if test "$need_lib_prefix" != no; then
    27852980          # Add the "lib" prefix for modules if required
    27862981          name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
    2787           eval shared_ext=\"$shrext\"
     2982          eval shared_ext=\"$shrext_cmds\"
    27882983          eval libname=\"$libname_spec\"
    27892984        else
     
    27962991        if test "$deplibs_check_method" != pass_all; then
    27972992          $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
    2798           exit 1
     2993          exit $EXIT_FAILURE
    27992994        else
    28002995          $echo
     
    28443039          $echo "$modename: too many parameters to \`-version-info'" 1>&2
    28453040          $echo "$help" 1>&2
    2846           exit 1
     3041          exit $EXIT_FAILURE
    28473042        fi
    28483043
     
    28503045        # this retains compatibility with .la files and attempts
    28513046        # to make the code below a bit more comprehensible
    2852        
     3047
    28533048        case $vinfo_number in
    28543049        yes)
     
    28943089          $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
    28953090          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
    2896           exit 1
     3091          exit $EXIT_FAILURE
    28973092          ;;
    28983093        esac
     
    29033098          $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
    29043099          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
    2905           exit 1
     3100          exit $EXIT_FAILURE
    29063101          ;;
    29073102        esac
     
    29123107          $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
    29133108          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
    2914           exit 1
     3109          exit $EXIT_FAILURE
    29153110          ;;
    29163111        esac
     
    29193114          $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
    29203115          $echo "$modename: \`$vinfo' is not valid version information" 1>&2
    2921           exit 1
     3116          exit $EXIT_FAILURE
    29223117        fi
    29233118
     
    29363131          # Darwin ld doesn't like 0 for these options...
    29373132          minor_current=`expr $current + 1`
    2938           verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
     3133          verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
    29393134          ;;
    29403135
     
    30083203          $echo "$modename: unknown library version type \`$version_type'" 1>&2
    30093204          $echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
    3010           exit 1
     3205          exit $EXIT_FAILURE
    30113206          ;;
    30123207        esac
     
    30623257               ;;
    30633258            $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
     3259               if test "X$precious_files_regex" != "X"; then
     3260                 if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
     3261                 then
     3262                   continue
     3263                 fi
     3264               fi
    30643265               removelist="$removelist $p"
    30653266               ;;
     
    30983299          esac
    30993300        done
    3100         if true || test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
     3301        if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
    31013302          dependency_libs="$temp_xrpath $dependency_libs"
    31023303        fi
     
    31353336          *-*-netbsd*)
    31363337            # Don't link with libc until the a.out ld.so is fixed.
    3137             ;;
    3138           *-*-freebsd*-gnu*)
    3139             # Prevent $arg from being parsed by the freebsd regexp below.
    3140             if test "$build_libtool_need_lc" = "yes"; then
    3141               deplibs="$deplibs -lc"
    3142             fi
    31433338            ;;
    31443339          *-*-openbsd* | *-*-freebsd*)
     
    34923687          dep_rpath=
    34933688          rpath="$finalize_rpath"
    3494           test "$mode" != relink && test "$fast_install" = no && rpath="$compile_rpath$rpath"
     3689          test "$mode" != relink && rpath="$compile_rpath$rpath"
    34953690          for libdir in $rpath; do
    34963691            if test -n "$hardcode_libdir_flag_spec"; then
     
    35473742
    35483743        # Get the real and link names of the library.
    3549         eval shared_ext=\"$shrext\"
     3744        eval shared_ext=\"$shrext_cmds\"
    35503745        eval library_names=\"$library_names_spec\"
    35513746        set dummy $library_names
     
    35773772            export_symbols="$output_objdir/$libname.exp"
    35783773            $run $rm $export_symbols
    3579             eval cmds=\"$export_symbols_cmds\"
     3774            cmds=$export_symbols_cmds
    35803775            save_ifs="$IFS"; IFS='~'
    35813776            for cmd in $cmds; do
    35823777              IFS="$save_ifs"
     3778              eval cmd=\"$cmd\"
    35833779              if len=`expr "X$cmd" : ".*"` &&
    35843780               test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
     
    36103806                case " $convenience " in
    36113807                *" $test_deplib "*) ;;
    3612                 *) 
     3808                *)
    36133809                        tmp_deplibs="$tmp_deplibs $test_deplib"
    36143810                        ;;
    36153811                esac
    36163812        done
    3617         deplibs="$tmp_deplibs" 
     3813        deplibs="$tmp_deplibs"
    36183814
    36193815        if test -n "$convenience"; then
     
    36233819          else
    36243820            gentop="$output_objdir/${outputname}x"
    3625             $show "${rm}r $gentop"
    3626             $run ${rm}r "$gentop"
    3627             $show "$mkdir $gentop"
    3628             $run $mkdir "$gentop"
    3629             status=$?
    3630             if test "$status" -ne 0 && test ! -d "$gentop"; then
    3631               exit $status
    3632             fi
    36333821            generated="$generated $gentop"
    36343822
    3635             for xlib in $convenience; do
    3636               # Extract the objects.
    3637               case $xlib in
    3638               [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
    3639               *) xabs=`pwd`"/$xlib" ;;
    3640               esac
    3641               xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
    3642               xdir="$gentop/$xlib"
    3643 
    3644               $show "${rm}r $xdir"
    3645               $run ${rm}r "$xdir"
    3646               $show "$mkdir $xdir"
    3647               $run $mkdir "$xdir"
    3648               status=$?
    3649               if test "$status" -ne 0 && test ! -d "$xdir"; then
    3650                 exit $status
    3651               fi
    3652               # We will extract separately just the conflicting names and we will no
    3653               # longer touch any unique names. It is faster to leave these extract
    3654               # automatically by $AR in one run.
    3655               $show "(cd $xdir && $AR x $xabs)"
    3656               $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
    3657               if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
    3658                 :
    3659               else
    3660                 $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
    3661                 $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
    3662                 $AR t "$xabs" | sort | uniq -cd | while read -r count name
    3663                 do
    3664                   i=1
    3665                   while test "$i" -le "$count"
    3666                   do
    3667                    # Put our $i before any first dot (extension)
    3668                    # Never overwrite any file
    3669                    name_to="$name"
    3670                    while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
    3671                    do
    3672                      name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
    3673                    done
    3674                    $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
    3675                    $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
    3676                    i=`expr $i + 1`
    3677                   done
    3678                 done
    3679               fi
    3680 
    3681               libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
    3682             done
    3683           fi
    3684         fi
    3685 
     3823            func_extract_archives $gentop $convenience
     3824            libobjs="$libobjs $func_extract_archives_result"
     3825          fi
     3826        fi
     3827       
    36863828        if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
    36873829          eval flag=\"$thread_safe_flag_spec\"
     
    36943836        fi
    36953837
    3696         # Add all flags from the command line.  We here create a library,
    3697         # but those flags were only added to compile_command and
    3698         # finalize_command, which are only used when creating executables.
    3699         # So do it by hand here.
    3700         compiler_flags="$compiler_flags $add_flags"
    3701         # Only add it to commands which use CC, instead of LD, i.e.
    3702         # only to $compiler_flags
    3703         #linker_flags="$linker_flags $add_flags"
    3704 
    37053838        # Do each of the archive commands.
    37063839        if test "$module" = yes && test -n "$module_cmds" ; then
    37073840          if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
    3708             eval cmds=\"$module_expsym_cmds\"
     3841            eval test_cmds=\"$module_expsym_cmds\"
     3842            cmds=$module_expsym_cmds
    37093843          else
    3710             eval cmds=\"$module_cmds\"
     3844            eval test_cmds=\"$module_cmds\"
     3845            cmds=$module_cmds
    37113846          fi
    37123847        else
    37133848        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
    3714           eval cmds=\"$archive_expsym_cmds\"
     3849          eval test_cmds=\"$archive_expsym_cmds\"
     3850          cmds=$archive_expsym_cmds
    37153851        else
    3716           eval cmds=\"$archive_cmds\"
    3717           fi
    3718         fi
    3719 
    3720         if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
     3852          eval test_cmds=\"$archive_cmds\"
     3853          cmds=$archive_cmds
     3854          fi
     3855        fi
     3856
     3857        if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
    37213858           test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
    37223859          :
     
    38193956
    38203957          # Do each of the archive commands.
     3958          if test "$module" = yes && test -n "$module_cmds" ; then
     3959            if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
     3960              cmds=$module_expsym_cmds
     3961            else
     3962              cmds=$module_cmds
     3963            fi
     3964          else
    38213965          if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
    3822             eval cmds=\"$archive_expsym_cmds\"
     3966            cmds=$archive_expsym_cmds
    38233967          else
    3824             eval cmds=\"$archive_cmds\"
     3968            cmds=$archive_cmds
     3969            fi
    38253970          fi
    38263971
    38273972          # Append the command to remove the reloadable object files
    38283973          # to the just-reset $cmds.
    3829           eval cmds=\"\$cmds~$rm $delfiles\"
     3974          eval cmds=\"\$cmds~\$rm $delfiles\"
    38303975        fi
    38313976        save_ifs="$IFS"; IFS='~'
    38323977        for cmd in $cmds; do
    38333978          IFS="$save_ifs"
     3979          eval cmd=\"$cmd\"
    38343980          $show "$cmd"
    38353981          $run eval "$cmd" || exit $?
     
    38403986        if test "$mode" = relink; then
    38413987          $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
    3842           exit 0
     3988          exit $EXIT_SUCCESS
    38433989        fi
    38443990
     
    38884034        if test -n "$objs$old_deplibs"; then
    38894035          $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
    3890           exit 1
     4036          exit $EXIT_FAILURE
    38914037        fi
    38924038        libobj="$output"
     
    39174063        else
    39184064          gentop="$output_objdir/${obj}x"
    3919           $show "${rm}r $gentop"
    3920           $run ${rm}r "$gentop"
    3921           $show "$mkdir $gentop"
    3922           $run $mkdir "$gentop"
    3923           status=$?
    3924           if test "$status" -ne 0 && test ! -d "$gentop"; then
    3925             exit $status
    3926           fi
    39274065          generated="$generated $gentop"
    39284066
    3929           for xlib in $convenience; do
    3930             # Extract the objects.
    3931             case $xlib in
    3932             [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
    3933             *) xabs=`pwd`"/$xlib" ;;
    3934             esac
    3935             xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
    3936             xdir="$gentop/$xlib"
    3937 
    3938             $show "${rm}r $xdir"
    3939             $run ${rm}r "$xdir"
    3940             $show "$mkdir $xdir"
    3941             $run $mkdir "$xdir"
    3942             status=$?
    3943             if test "$status" -ne 0 && test ! -d "$xdir"; then
    3944               exit $status
    3945             fi
    3946             # We will extract separately just the conflicting names and we will no
    3947             # longer touch any unique names. It is faster to leave these extract
    3948             # automatically by $AR in one run.
    3949             $show "(cd $xdir && $AR x $xabs)"
    3950             $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
    3951             if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
    3952               :
    3953             else
    3954               $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
    3955               $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
    3956               $AR t "$xabs" | sort | uniq -cd | while read -r count name
    3957               do
    3958                 i=1
    3959                 while test "$i" -le "$count"
    3960                 do
    3961                  # Put our $i before any first dot (extension)
    3962                  # Never overwrite any file
    3963                  name_to="$name"
    3964                  while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
    3965                  do
    3966                    name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
    3967                  done
    3968                  $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
    3969                  $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
    3970                  i=`expr $i + 1`
    3971                 done
    3972               done
    3973             fi
    3974 
    3975             reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
    3976           done
     4067          func_extract_archives $gentop $convenience
     4068          reload_conv_objs="$reload_objs $func_extract_archives_result"
    39774069        fi
    39784070      fi
     
    39824074
    39834075      output="$obj"
    3984       eval cmds=\"$reload_cmds\"
     4076      cmds=$reload_cmds
    39854077      save_ifs="$IFS"; IFS='~'
    39864078      for cmd in $cmds; do
    39874079        IFS="$save_ifs"
     4080        eval cmd=\"$cmd\"
    39884081        $show "$cmd"
    39894082        $run eval "$cmd" || exit $?
     
    39984091        fi
    39994092
    4000         exit 0
     4093        exit $EXIT_SUCCESS
    40014094      fi
    40024095
     
    40114104        # $show "echo timestamp > $libobj"
    40124105        # $run eval "echo timestamp > $libobj" || exit $?
    4013         exit 0
     4106        exit $EXIT_SUCCESS
    40144107      fi
    40154108
     
    40184111        reload_objs="$libobjs $reload_conv_objs"
    40194112        output="$libobj"
    4020         eval cmds=\"$reload_cmds\"
     4113        cmds=$reload_cmds
    40214114        save_ifs="$IFS"; IFS='~'
    40224115        for cmd in $cmds; do
    40234116          IFS="$save_ifs"
     4117          eval cmd=\"$cmd\"
    40244118          $show "$cmd"
    40254119          $run eval "$cmd" || exit $?
     
    40334127      fi
    40344128
    4035       exit 0
     4129      exit $EXIT_SUCCESS
    40364130      ;;
    40374131
     
    43514445        *)
    43524446          $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
    4353           exit 1
     4447          exit $EXIT_FAILURE
    43544448          ;;
    43554449        esac
     
    43634457        finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
    43644458      fi
    4365 
    4366       # AIX runtime linking requires linking programs with -Wl,-brtl and libs with -Wl,-G
    4367       # Also add -bnolibpath to the beginning of the link line, to clear the hardcoded runpath.
    4368       # Otherwise, things like the -L path to libgcc.a are accidentally hardcoded by ld.
    4369       # This does not apply on AIX for ia64, which uses a SysV linker.
    4370       case "$host" in
    4371         ia64-*-aix5*) ;;
    4372         *-*-aix4* | *-*-aix5*)
    4373                    compile_command=`$echo "X$compile_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"`
    4374                    finalize_command=`$echo "X$finalize_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` ;;
    4375       esac
    43764459
    43774460      if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
     
    44504533        $show "$link_command"
    44514534        $run eval "$link_command" || exit $?
    4452         exit 0
     4535        exit $EXIT_SUCCESS
    44534536      fi
    44544537
     
    45054588
    45064589      # Quote $echo for shipping.
    4507       if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
    4508         case $0 in
    4509         [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
    4510         *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
     4590      if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
     4591        case $progpath in
     4592        [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
     4593        *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
    45114594        esac
    45124595        qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
     
    45344617            cwrapper=`$echo ${output}.exe`
    45354618            $rm $cwrappersource $cwrapper
    4536             trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15
     4619            trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
    45374620
    45384621            cat > $cwrappersource <<EOF
     
    45434626   The $output program cannot be directly executed until all the libtool
    45444627   libraries that it depends on are installed.
    4545    
     4628
    45464629   This wrapper executable should never be moved out of the build directory.
    45474630   If it is, it will not operate correctly.
     
    45754658  defined (__OS2__)
    45764659#define HAVE_DOS_BASED_FILE_SYSTEM
    4577 #ifndef DIR_SEPARATOR_2 
     4660#ifndef DIR_SEPARATOR_2
    45784661#define DIR_SEPARATOR_2 '\\'
    45794662#endif
     
    46064689  char **newargz;
    46074690  int i;
    4608  
     4691
    46094692  program_name = (char *) xstrdup ((char *) basename (argv[0]));
    46104693  newargz = XMALLOC(char *, argc+2);
     
    46194702  /* we know the script has the same name, without the .exe */
    46204703  /* so make sure newargz[1] doesn't end in .exe */
    4621   strendzap(newargz[1],".exe"); 
     4704  strendzap(newargz[1],".exe");
    46224705  for (i = 1; i < argc; i++)
    46234706    newargz[i+1] = xstrdup(argv[i]);
     
    46424725}
    46434726
    4644 char * 
     4727char *
    46454728xstrdup (const char *string)
    46464729{
     
    46564739#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
    46574740  /* Skip over the disk name in MSDOS pathnames. */
    4658   if (isalpha (name[0]) && name[1] == ':') 
     4741  if (isalpha (name[0]) && name[1] == ':')
    46594742    name += 2;
    46604743#endif
     
    46664749}
    46674750
    4668 char * 
     4751char *
    46694752fnqualify(const char *path)
    46704753{
     
    46944777
    46954778char *
    4696 strendzap(char *str, const char *pat) 
     4779strendzap(char *str, const char *pat)
    46974780{
    46984781  size_t len, patlen;
     
    47144797
    47154798static void
    4716 lt_error_core (int exit_status, const char * mode, 
     4799lt_error_core (int exit_status, const char * mode,
    47174800          const char * message, va_list ap)
    47184801{
     
    47434826        esac
    47444827        $rm $output
    4745         trap "$rm $output; exit 1" 1 2 15
     4828        trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
    47464829
    47474830        $echo > $output "\
     
    47644847# The HP-UX ksh and POSIX shell print the target directory to stdout
    47654848# if CDPATH is set.
    4766 if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
     4849(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    47674850
    47684851relink_command=\"$relink_command\"
     
    48434926        $echo \"\$relink_command_output\" >&2
    48444927        $rm \"\$progdir/\$file\"
    4845         exit 1
     4928        exit $EXIT_FAILURE
    48464929      fi
    48474930    fi
     
    49054988        $echo >> $output "\
    49064989      \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
    4907       exit 1
     4990      exit $EXIT_FAILURE
    49084991    fi
    49094992  else
     
    49124995    \$echo \"This script is just a wrapper for \$program.\" 1>&2
    49134996    $echo \"See the $PACKAGE documentation for more information.\" 1>&2
    4914     exit 1
     4997    exit $EXIT_FAILURE
    49154998  fi
    49164999fi\
     
    49185001        chmod +x $output
    49195002      fi
    4920       exit 0
     5003      exit $EXIT_SUCCESS
    49215004      ;;
    49225005    esac
     
    49415024      if test -n "$addlibs"; then
    49425025        gentop="$output_objdir/${outputname}x"
    4943         $show "${rm}r $gentop"
    4944         $run ${rm}r "$gentop"
    4945         $show "$mkdir $gentop"
    4946         $run $mkdir "$gentop"
    4947         status=$?
    4948         if test "$status" -ne 0 && test ! -d "$gentop"; then
    4949           exit $status
    4950         fi
    49515026        generated="$generated $gentop"
    49525027
    4953         # Add in members from convenience archives.
    4954         for xlib in $addlibs; do
    4955           # Extract the objects.
    4956           case $xlib in
    4957           [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
    4958           *) xabs=`pwd`"/$xlib" ;;
    4959           esac
    4960           xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
    4961           xdir="$gentop/$xlib"
    4962 
    4963           $show "${rm}r $xdir"
    4964           $run ${rm}r "$xdir"
    4965           $show "$mkdir $xdir"
    4966           $run $mkdir "$xdir"
    4967           status=$?
    4968           if test "$status" -ne 0 && test ! -d "$xdir"; then
    4969             exit $status
    4970           fi
    4971           # We will extract separately just the conflicting names and we will no
    4972           # longer touch any unique names. It is faster to leave these extract
    4973           # automatically by $AR in one run.
    4974           $show "(cd $xdir && $AR x $xabs)"
    4975           $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
    4976           if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
    4977             :
    4978           else
    4979             $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
    4980             $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
    4981             $AR t "$xabs" | sort | uniq -cd | while read -r count name
    4982             do
    4983               i=1
    4984               while test "$i" -le "$count"
    4985               do
    4986                # Put our $i before any first dot (extension)
    4987                # Never overwrite any file
    4988                name_to="$name"
    4989                while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
    4990                do
    4991                  name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
    4992                done
    4993                $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
    4994                $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
    4995                i=`expr $i + 1`
    4996               done
    4997             done
    4998           fi
    4999 
    5000           oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
    5001         done
    5002       fi
    5003 
    5004       compiler_flags="$compiler_flags $add_flags"
     5028        func_extract_archives $gentop $addlibs
     5029        oldobjs="$oldobjs $func_extract_archives_result"
     5030      fi
    50055031
    50065032      # Do each command in the archive commands.
    50075033      if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
    5008         eval cmds=\"$old_archive_from_new_cmds\"
     5034       cmds=$old_archive_from_new_cmds
    50095035      else
    50105036        eval cmds=\"$old_archive_cmds\"
     
    50125038        if len=`expr "X$cmds" : ".*"` &&
    50135039             test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
    5014           :
     5040          cmds=$old_archive_cmds
    50155041        else
    50165042          # the command line is too long to link in one step, link in parts
     
    50395065          do
    50405066            last_oldobj=$obj
    5041           done 
     5067          done
    50425068          for obj in $save_oldobjs
    50435069          do
     
    50535079              if test "$obj" = "$last_oldobj" ; then
    50545080                RANLIB=$save_RANLIB
    5055               fi 
     5081              fi
    50565082              test -z "$concat_cmds" || concat_cmds=$concat_cmds~
    50575083              eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
     
    50645090            eval cmds=\"\$concat_cmds\"
    50655091          else
    5066             eval cmds=\"\$concat_cmds~$old_archive_cmds\"
     5092            eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
    50675093          fi
    50685094        fi
     
    50705096      save_ifs="$IFS"; IFS='~'
    50715097      for cmd in $cmds; do
     5098        eval cmd=\"$cmd\"
    50725099        IFS="$save_ifs"
    50735100        $show "$cmd"
     
    51015128      done
    51025129      # Quote the link command for shipping.
    5103       relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
     5130      relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
    51045131      relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
    51055132      if test "$hardcode_automatic" = yes ; then
    5106         relink_command=
    5107       fi 
     5133        relink_command=
     5134      fi
     5135
     5136
    51085137      # Only create the output if not a dry run.
    51095138      if test -z "$run"; then
     
    51235152                if test -z "$libdir"; then
    51245153                  $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
    5125                   exit 1
     5154                  exit $EXIT_FAILURE
    51265155                fi
    51275156                newdependency_libs="$newdependency_libs $libdir/$name"
     
    51375166              if test -z "$libdir"; then
    51385167                $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
    5139                 exit 1
     5168                exit $EXIT_FAILURE
    51405169              fi
    51415170              newdlfiles="$newdlfiles $libdir/$name"
     
    51485177              if test -z "$libdir"; then
    51495178                $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
    5150                 exit 1
     5179                exit $EXIT_FAILURE
    51515180              fi
    51525181              newdlprefiles="$newdlprefiles $libdir/$name"
     5182            done
     5183            dlprefiles="$newdlprefiles"
     5184          else
     5185            newdlfiles=
     5186            for lib in $dlfiles; do
     5187              case $lib in
     5188                [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
     5189                *) abs=`pwd`"/$lib" ;;
     5190              esac
     5191              newdlfiles="$newdlfiles $abs"
     5192            done
     5193            dlfiles="$newdlfiles"
     5194            newdlprefiles=
     5195            for lib in $dlprefiles; do
     5196              case $lib in
     5197                [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
     5198                *) abs=`pwd`"/$lib" ;;
     5199              esac
     5200              newdlprefiles="$newdlprefiles $abs"
    51535201            done
    51545202            dlprefiles="$newdlprefiles"
     
    51965244# Directory that this library needs to be installed in:
    51975245libdir='$install_libdir'"
    5198           if test "$installed" = no && test "$need_relink" = yes && test "$fast_install" = no; then
     5246          if test "$installed" = no && test "$need_relink" = yes; then
    51995247            $echo >> $output "\
    52005248relink_command=\"$relink_command\""
     
    52095257      ;;
    52105258    esac
    5211     exit 0
     5259    exit $EXIT_SUCCESS
    52125260    ;;
    52135261
     
    52985346      $echo "$modename: you must specify an install program" 1>&2
    52995347      $echo "$help" 1>&2
    5300       exit 1
     5348      exit $EXIT_FAILURE
    53015349    fi
    53025350
     
    53045352      $echo "$modename: the \`$prev' option requires an argument" 1>&2
    53055353      $echo "$help" 1>&2
    5306       exit 1
     5354      exit $EXIT_FAILURE
    53075355    fi
    53085356
     
    53145362      fi
    53155363      $echo "$help" 1>&2
    5316       exit 1
     5364      exit $EXIT_FAILURE
    53175365    fi
    53185366
     
    53355383        $echo "$modename: \`$dest' is not a directory" 1>&2
    53365384        $echo "$help" 1>&2
    5337         exit 1
     5385        exit $EXIT_FAILURE
    53385386      fi
    53395387    fi
     
    53475395          $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
    53485396          $echo "$help" 1>&2
    5349           exit 1
     5397          exit $EXIT_FAILURE
    53505398          ;;
    53515399        esac
     
    53765424          $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
    53775425          $echo "$help" 1>&2
    5378           exit 1
     5426          exit $EXIT_FAILURE
    53795427        fi
    53805428
     
    54185466          if test "$inst_prefix_dir" = "$destdir"; then
    54195467            $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
    5420             exit 1
     5468            exit $EXIT_FAILURE
    54215469          fi
    54225470
     
    54335481          else
    54345482            $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
    5435             exit 1
     5483            exit $EXIT_FAILURE
    54365484          fi
    54375485        fi
     
    54685516          # Do each command in the postinstall commands.
    54695517          lib="$destdir/$realname"
    5470           eval cmds=\"$postinstall_cmds\"
     5518          cmds=$postinstall_cmds
    54715519          save_ifs="$IFS"; IFS='~'
    54725520          for cmd in $cmds; do
    54735521            IFS="$save_ifs"
     5522            eval cmd=\"$cmd\"
    54745523            $show "$cmd"
    54755524            $run eval "$cmd" || exit $?
     
    55115560          $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
    55125561          $echo "$help" 1>&2
    5513           exit 1
     5562          exit $EXIT_FAILURE
    55145563          ;;
    55155564        esac
     
    55295578          $run eval "$install_prog \$staticobj \$staticdest" || exit $?
    55305579        fi
    5531         exit 0
     5580        exit $EXIT_SUCCESS
    55325581        ;;
    55335582
     
    55835632          if test -z "$notinst_deplibs"; then
    55845633            $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
    5585             exit 1
     5634            exit $EXIT_FAILURE
    55865635          fi
    55875636
     
    56245673              test -n "$TMPDIR" && tmpdir="$TMPDIR"
    56255674              tmpdir="$tmpdir/libtool-$$"
    5626               if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
     5675              save_umask=`umask`
     5676              umask 0077
     5677              if $mkdir "$tmpdir"; then
     5678                umask $save_umask
    56275679              else
     5680                umask $save_umask
    56285681                $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
    56295682                continue
     
    56845737      $run eval "$install_prog \$file \$oldlib" || exit $?
    56855738
    5686       if test -n "$stripme" && test -n "$striplib"; then
     5739      if test -n "$stripme" && test -n "$old_striplib"; then
    56875740        $show "$old_striplib $oldlib"
    56885741        $run eval "$old_striplib $oldlib" || exit $?
     
    56905743
    56915744      # Do each command in the postinstall commands.
    5692       eval cmds=\"$old_postinstall_cmds\"
     5745      cmds=$old_postinstall_cmds
    56935746      save_ifs="$IFS"; IFS='~'
    56945747      for cmd in $cmds; do
    56955748        IFS="$save_ifs"
     5749        eval cmd=\"$cmd\"
    56965750        $show "$cmd"
    56975751        $run eval "$cmd" || exit $?
     
    57075761      # Maybe just do a dry run.
    57085762      test -n "$run" && current_libdirs=" -n$current_libdirs"
    5709       exec_cmd='$SHELL $0 --finish$current_libdirs'
     5763      exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
    57105764    else
    5711       exit 0
     5765      exit $EXIT_SUCCESS
    57125766    fi
    57135767    ;;
     
    57285782        if test -n "$finish_cmds"; then
    57295783          # Do each command in the finish commands.
    5730           eval cmds=\"$finish_cmds\"
     5784          cmds=$finish_cmds
    57315785          save_ifs="$IFS"; IFS='~'
    57325786          for cmd in $cmds; do
    57335787            IFS="$save_ifs"
     5788            eval cmd=\"$cmd\"
    57345789            $show "$cmd"
    57355790            $run eval "$cmd" || admincmds="$admincmds
     
    57485803
    57495804    # Exit here if they wanted silent mode.
    5750     exit 0
     5805    test "$show" = : && exit $EXIT_SUCCESS
    57515806
    57525807    $echo "----------------------------------------------------------------------"
     
    57845839    $echo "more information, such as the ld(1) and ld.so(8) manual pages."
    57855840    $echo "----------------------------------------------------------------------"
    5786     exit 0
     5841    exit $EXIT_SUCCESS
    57875842    ;;
    57885843
     
    57965851      $echo "$modename: you must specify a COMMAND" 1>&2
    57975852      $echo "$help"
    5798       exit 1
     5853      exit $EXIT_FAILURE
    57995854    fi
    58005855
     
    58045859        $echo "$modename: \`$file' is not a file" 1>&2
    58055860        $echo "$help" 1>&2
    5806         exit 1
     5861        exit $EXIT_FAILURE
    58075862      fi
    58085863
     
    58155870          $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
    58165871          $echo "$help" 1>&2
    5817           exit 1
     5872          exit $EXIT_FAILURE
    58185873        fi
    58195874
     
    58425897        else
    58435898          $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
    5844           exit 1
     5899          exit $EXIT_FAILURE
    58455900        fi
    58465901        ;;
     
    59145969
    59155970      # Now prepare to actually exec the command.
    5916       exec_cmd="\$cmd$args"
     5971      exec_cmd="\"\$cmd\"$args"
    59175972    else
    59185973      # Display what would be done.
     
    59215976        $echo "export $shlibpath_var"
    59225977      fi
    5923       $echo "$cmd$args"
    5924       exit 0
     5978      eval \$echo \"\$cmd\"$args
     5979      exit $EXIT_SUCCESS
    59255980    fi
    59265981    ;;
     
    59506005      $echo "$modename: you must specify an RM program" 1>&2
    59516006      $echo "$help" 1>&2
    5952       exit 1
     6007      exit $EXIT_FAILURE
    59536008    fi
    59546009
     
    60056060            if test -n "$library_names"; then
    60066061              # Do each command in the postuninstall commands.
    6007               eval cmds=\"$postuninstall_cmds\"
     6062              cmds=$postuninstall_cmds
    60086063              save_ifs="$IFS"; IFS='~'
    60096064              for cmd in $cmds; do
    60106065                IFS="$save_ifs"
     6066                eval cmd=\"$cmd\"
    60116067                $show "$cmd"
    60126068                $run eval "$cmd"
     
    60206076            if test -n "$old_library"; then
    60216077              # Do each command in the old_postuninstall commands.
    6022               eval cmds=\"$old_postuninstall_cmds\"
     6078              cmds=$old_postuninstall_cmds
    60236079              save_ifs="$IFS"; IFS='~'
    60246080              for cmd in $cmds; do
    60256081                IFS="$save_ifs"
     6082                eval cmd=\"$cmd\"
    60266083                $show "$cmd"
    60276084                $run eval "$cmd"
     
    60626119          noexename=$name
    60636120          case $file in
    6064           *.exe) 
     6121          *.exe)
    60656122            file=`$echo $file|${SED} 's,.exe$,,'`
    60666123            noexename=`$echo $name|${SED} 's,.exe$,,'`
     
    61076164    $echo "$modename: you must specify a MODE" 1>&2
    61086165    $echo "$generic_help" 1>&2
    6109     exit 1
     6166    exit $EXIT_FAILURE
    61106167    ;;
    61116168  esac
     
    61146171    $echo "$modename: invalid operation mode \`$mode'" 1>&2
    61156172    $echo "$generic_help" 1>&2
    6116     exit 1
     6173    exit $EXIT_FAILURE
    61176174  fi
    61186175fi # test -z "$show_help"
     
    61206177if test -n "$exec_cmd"; then
    61216178  eval exec $exec_cmd
    6122   exit 1
     6179  exit $EXIT_FAILURE
    61236180fi
    61246181
     
    61566213
    61576214Report bugs to <bug-libtool@gnu.org>."
    6158   exit 0
     6215  exit $EXIT_SUCCESS
    61596216  ;;
    61606217
     
    62686325  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
    62696326  -objectlist FILE  Use a list of object files found in FILE to specify objects
     6327  -precious-files-regex REGEX
     6328                    don't remove output files matching REGEX
    62706329  -release RELEASE  specify package release information
    62716330  -rpath LIBDIR     the created library will eventually be installed in LIBDIR
     
    63096368  $echo "$modename: invalid operation mode \`$mode'" 1>&2
    63106369  $echo "$help" 1>&2
    6311   exit 1
     6370  exit $EXIT_FAILURE
    63126371  ;;
    63136372esac
     
    63166375$echo "Try \`$modename --help' for more information about other modes."
    63176376
    6318 exit 0
     6377exit $EXIT_SUCCESS
    63196378
    63206379# The TAGs below are defined such that we never get into a situation
  • trunk/psModules/src/Makefile.in

    r3080 r3228  
    4444        $(srcdir)/Makefile.in $(srcdir)/config.h.in
    4545ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    46 am__aclocal_m4_deps = $(top_srcdir)/configure.in
     46am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    4747am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    4848        $(ACLOCAL_M4)
     
    116116F77 = @F77@
    117117FFLAGS = @FFLAGS@
    118 GSL_CONFIG = @GSL_CONFIG@
    119118INSTALL_DATA = @INSTALL_DATA@
    120119INSTALL_PROGRAM = @INSTALL_PROGRAM@
  • trunk/psModules/src/config.h.in

    r2164 r3228  
    1 /* src/config.h.in.  Generated from configure.in by autoheader.  */
     1/* src/config.h.in.  Generated from configure.ac by autoheader.  */
    22
    33/* Define to 1 if you have the <dlfcn.h> header file. */
     
    77#undef HAVE_INTTYPES_H
    88
    9 /* Define to 1 if you have the `cfitsio' library (-lcfitsio). */
    10 #undef HAVE_LIBCFITSIO
    11 
    12 /* Define to 1 if you have the `fftw3f' library (-lfftw3f). */
    13 #undef HAVE_LIBFFTW3F
    14 
    15 /* Define to 1 if you have the `gsl' library (-lgsl). */
    16 #undef HAVE_LIBGSL
    17 
    18 /* Define to 1 if you have the `gslcblas' library (-lgslcblas). */
    19 #undef HAVE_LIBGSLCBLAS
    20 
    21 /* Define to 1 if you have the `mx' library (-lmx). */
    22 #undef HAVE_LIBMX
    23 
    249/* Define to 1 if you have the `pslib' library (-lpslib). */
    2510#undef HAVE_LIBPSLIB
    26 
    27 /* Define to 1 if you have the `sla' library (-lsla). */
    28 #undef HAVE_LIBSLA
    2911
    3012/* Define to 1 if you have the <memory.h> header file. */
  • trunk/psModules/test/Makefile.in

    r3080 r3228  
    4545DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
    4646ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    47 am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    4848am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    4949        $(ACLOCAL_M4)
     
    122122F77 = @F77@
    123123FFLAGS = @FFLAGS@
    124 GSL_CONFIG = @GSL_CONFIG@
    125124INSTALL_DATA = @INSTALL_DATA@
    126125INSTALL_PROGRAM = @INSTALL_PROGRAM@
Note: See TracChangeset for help on using the changeset viewer.