Changeset 708


Ignore:
Timestamp:
May 7, 2007, 11:07:32 AM (17 years ago)
Author:
dkearney
Message:

updateing build system for rappture and language bindings.
librappture now includes a static version of libscew.
this means librappture needs to be linked directly against libexpat.
removed references to libscew from language bindings' makefiles.
corrected matlab and octave makefiles to only compile when dependencies are updated.
added --libdir flag so you can install platform dependent files into lib64 on 64-bit systems.
adjusted the rappture.env file to add lib64 directories to search paths incase they exist.

Location:
trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r664 r708  
     1
     2prefix          = @prefix@
     3exec_prefix     = @exec_prefix@
     4bindir          = @bindir@
     5libdir          = @libdir@
     6includedir      = @includedir@
     7mandir          = @mandir@
     8
     9INSTALL                 = @INSTALL@
     10INSTALL_PROGRAM = ${INSTALL} -m 755
     11INSTALL_DATA    = ${INSTALL} -m 644
     12INSTALL_SCRIPT  = ${INSTALL} -m 644
     13
    114
    215build_date := $(shell date +%Y%m%d)
    316machine := $(shell uname -m | sed 's/\ //')
    417os := $(shell uname -s)
    5 bn := $(shell basename @prefix@)
     18bn := $(shell basename $(prefix))
    619TarfileBasename=rappture-$(os)-$(machine)-$(build_date)
    720
    8 all: rplib build_bindings
    9 install: rp_gui install_rplib install_bindings install_examples
    10         chmod 755 gui/apps/rappture
    11         chmod 755 gui/apps/simsim
    12         cp gui/apps/rappture @prefix@/bin
    13         cp gui/apps/rappture.env @prefix@/bin
    14         cp gui/apps/driver @prefix@/bin
    15         cp gui/apps/nanovis-test @prefix@/bin
    16         cp gui/apps/rerun @prefix@/bin
    17         cp gui/apps/simsim @prefix@/bin
    18         cp gui/apps/simsim.py @prefix@/bin
    19         find @prefix@ -name .svn | xargs rm -rf
     21# fix this before commiting
     22all: rplib build_bindings build_gui
     23install: install_rplib install_bindings install_gui install_examples
     24        ${INSTALL_PROGRAM}  gui/apps/rappture      $(bindir)/rappture
     25        ${INSTALL_DATA}  gui/apps/rappture.env  $(bindir)/rappture.env
     26        ${INSTALL_PROGRAM}  gui/apps/driver        $(bindir)/driver
     27        ${INSTALL_PROGRAM}  gui/apps/nanovis-test  $(bindir)/nanovis-test
     28        ${INSTALL_PROGRAM}  gui/apps/rerun         $(bindir)/rerun
     29        ${INSTALL_PROGRAM}  gui/apps/simsim        $(bindir)/simsim
     30        ${INSTALL_PROGRAM}  gui/apps/simsim.tcl    $(bindir)/simsim.tcl
     31        find $(prefix) -name .svn | xargs rm -rf
    2032
    2133###########################################################################
    2234# Makefile - build and install all Rappture libraries
    23 #############################################################################
     35###########################################################################
    2436
    2537
    26 rp_gui:
    27         set -x;
    28         cd gui; \
    29         make all; \
    30         make install;
     38build_gui:
     39        make -C gui
    3140
    32 #       ./configure --prefix=@prefix@ --with-blt=@prefix@/include; \
    33 #       make all >& $(basedir)/output.gui 2>&1; \
    34 #       make install >> $(basedir)/output.gui 2>&1
     41install_gui:
     42        make -C gui install
    3543
    3644rplib:
    37         set -x;
    38         cd src2/core; make clean; make librappture2.a; make librappture2.so.0.0
    39         cd src; make clean; make librappture;
     45        make -C src2/core librappture2.a librappture2.so.0.0
     46        make -C src librappture;
    4047
    4148install_rplib:
    4249        set -x;
    43         cd src2/core; make install;
    44         cd src; make install_rappture;
     50        make -C src2/core install;
     51        make -C src install_rappture;
    4552
    4653build_bindings: build_matlab build_octave build_python build_perl
     
    5461#############################################################################
    5562build_examples:
    56         set -x;
    57         cd examples/app-fermi/fortran; make clean; make; cd -
    58         cd examples/app-fermi/cee; make clean; make; cd -
    59         cd examples/app-fermi/wrapper/cee; make clean; make; cd -
    60         cd examples/c-example; make clean; make; cd -
     63        make -C examples/app-fermi/fortran
     64        make -C examples/app-fermi/cee
     65        make -C examples/app-fermi/wrapper/cee
     66        make -C examples/c-example
    6167
    6268install_examples: build_examples
    63         set -x;
    64         cp -r examples @prefix@
    65         rm -f @prefix@/examples/demo.bash.in
     69        cp -r examples $(prefix)
     70        rm -f $(prefix)/examples/demo.bash.in
     71        find $(prefix)/exmaples -name .svn | xargs rm -rf
    6672
    6773
     
    7177#tcl bindings
    7278install_tcl:
    73         cd tcl; @prefix@/bin/tclsh install.tcl
     79        cd tcl; $(bindir)/tclsh install.tcl
    7480#       cd tcl; @TCLSH@ install.tcl
    75         cd src/tcl; make install; cd -
     81        make -C src/tcl install
    7682
    7783# matlab bindings
    7884build_matlab:
    79         if test "x@MEX@" != "x" ; then \
    80                 cd src/matlab; make clean; make RpMatlab; cd -; \
     85        @if test "x@MEX@" != "x" ; then \
     86                make -C src/matlab; \
    8187        fi
    8288
    8389install_matlab: build_matlab
    84         if test "x@MEX@" != "x" ; then \
    85                 cd src/matlab; make install; cd -; \
     90        @if test "x@MEX@" != "x" ; then \
     91                make -C src/matlab install; \
    8692        fi
    8793
    8894# octave bindings
    8995build_octave:
    90         if test "x@MKOCTFILE@" != "x" ; then \
    91                 cd src/octave; make clean; make RpOctave; cd -; \
     96        @if test "x@MKOCTFILE@" != "x" ; then \
     97                make -C src/octave; \
    9298        fi
    9399
    94100install_octave: build_octave
    95         if test "x@MKOCTFILE@" != "x" ; then \
    96                 cd src/octave; make install; cd -; \
     101        @if test "x@MKOCTFILE@" != "x" ; then \
     102                make -C src/octave install; \
    97103        fi
    98104
    99105build_python:
    100         if test "x@PYTHON@" != "x" ; then \
     106        @if test "x@PYTHON@" != "x" ; then \
    101107                set -x; \
    102108                cd python; \
    103109                @PYTHON@ setup.py \
    104110                        build_ext \
    105                         --library-dirs=@prefix@/lib \
    106                         --include-dirs=@prefix@/include \
     111                        --library-dirs=$(libdir):../src \
     112                        --include-dirs=$(includedir) \
    107113                        build; \
    108114        fi
    109115
    110116install_python: build_python
    111         if test "x@PYTHON@" != "x" ; then \
     117        @if test "x@PYTHON@" != "x" ; then \
    112118                set -x; \
    113119                cd python; \
    114                 @PYTHON@ setup.py install --prefix=@prefix@; \
     120                @PYTHON@ setup.py install --prefix=$(prefix); \
    115121        fi
    116122
    117123build_perl:
    118         if test "x@PERL@" != "x" ; then \
     124        @if test "x@PERL@" != "x" ; then \
    119125                set -x; \
    120126                cd perl; \
    121                 @PERL@ Makefile.PL INSTALLSITELIB=@prefix@/lib/perl5 INSTALLSITEMAN3DIR=@prefix@/man/man3; \
    122                 make; make test; \
     127                @PERL@ Makefile.PL INSTALLSITELIB=$(libdir)/perl5 INSTALLSITEARCH=$(libdir)/perl5 INSTALLSITEMAN3DIR=$(mandir)/man3; \
     128                make; LD_LIBRARY_PATH=$(libdir):../src make test; \
    123129        fi
    124130
    125131install_perl: build_perl
    126         if test "x@PERL@" != "x" ; then \
    127                 set -x; \
    128                 cd perl; make install; \
     132        @if test "x@PERL@" != "x" ; then \
     133                make -C perl install; \
    129134        fi
    130135
    131136build_pkgs:
    132137        set -x;
    133         if ! test -d "bin"; then \
     138        @if ! test -d "bin"; then \
    134139                mkdir bin;\
    135140        fi
    136141        # building rappture binary package
    137         cd @prefix@/..; tar czf @RP_BASE@/bin/$(TarfileBasename).tar.gz $(bn)
     142        cd $(prefix)/..; tar czf @RP_BASE@/bin/$(TarfileBasename).tar.gz $(bn)
    138143
    139144clean:
    140         cd examples/app-fermi/cee; make clean; cd -;
    141         cd examples/app-fermi/fortran; make clean; cd -;
    142         cd examples/app-fermi/wrapper/cee; make clean; cd -
    143         cd examples/c-example; make clean; cd -;
    144         cd gui; make clean; cd -;
    145         cd perl; make clean; cd -;
    146         cd python; rm -rf build; cd -;
    147         cd src; make clean; cd -;
    148         cd src/matlab; make clean; cd -;
    149         cd src/octave; make clean; cd -;
    150         cd src/tcl; make distclean; cd -;
     145        make -C examples/app-fermi/cee clean
     146        make -C examples/app-fermi/fortran clean
     147        make -C examples/app-fermi/wrapper/cee clean
     148        make -C examples/c-example clean
     149        make -C gui clean
     150        make -C perl clean
     151        rm -rf python/build
     152        make -C src clean
     153        make -C src/matlab clean
     154        make -C src/octave clean
     155        make -C src/tcl distclean
     156        make -C src2/core clean
    151157
    152158distclean:
    153         cd examples; rm demo.bash
    154         cd examples/app-fermi/cee; make distclean; cd -;
    155         cd examples/app-fermi/fortran; make distclean; cd -;
    156         cd examples/app-fermi/wrapper/cee; make distclean; cd -
    157         cd examples/c-example; make distclean; cd -;
    158         cd gui; make distclean; cd -;
    159         cd perl; make clean; rm Makefile.PL; cd -;
    160         cd python; rm -rf build; rm setup.py; cd -;
    161         cd src; make distclean; cd -;
    162         cd src/matlab; make distclean; cd -;
    163         cd src/octave; make distclean; cd -;
    164         cd src/tcl; make distclean; cd -;
    165         cd test; make distclean; cd -;
    166         rm gui/apps/rappture;
     159        rm examples/demo.bash
     160        make -C examples/app-fermi/cee distclean
     161        make -C examples/app-fermi/fortran distclean
     162        make -C examples/app-fermi/wrapper/cee distclean
     163        make -C examples/c-example distclean
     164        make -C gui distclean
     165        make -C perl clean; rm perl/Makefile.PL
     166        rm -rf python/build python/setup.py
     167        make -C src distclean
     168        make -C src/matlab distclean
     169        make -C src/octave distclean
     170        make -C src/tcl distclean
     171        make -C src2/core distclean
     172        make -C test distclean
     173        rm gui/apps/rappture gui/apps/simsim gui/apps/rappture.env;
    167174        rm -rf Makefile config.status config.log bin;
  • trunk/configure

    r634 r708  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61 for rappture 1.1.
     3# Generated by GNU Autoconf 2.59 for rappture 1.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     7# Copyright (C) 2003 Free Software Foundation, Inc.
    98# This configure script is free software; the Free Software Foundation
    109# gives unlimited permission to copy, distribute and modify it.
     
    1312## --------------------- ##
    1413
    15 # Be more Bourne compatible
    16 DUALCASE=1; export DUALCASE # for MKS sh
     14# Be Bourne compatible
    1715if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1816  emulate sh
     
    2119  # is contrary to our usage.  Disable this feature.
    2220  alias -g '${1+"$@"}'='"$@"'
    23   setopt NO_GLOB_SUBST
    24 else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
    27 esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
     21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22  set -o posix
     23fi
     24DUALCASE=1; export DUALCASE # for MKS sh
     25
     26# Support unset when possible.
     27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28  as_unset=unset
     29else
     30  as_unset=false
     31fi
     32
     33
     34# Work around bugs in pre-3.0 UWIN ksh.
     35$as_unset ENV MAIL MAILPATH
     36PS1='$ '
     37PS2='> '
     38PS4='+ '
     39
     40# NLS nuisances.
     41for as_var in \
     42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44  LC_TELEPHONE LC_TIME
     45do
     46  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47    eval $as_var=C; export $as_var
     48  else
     49    $as_unset $as_var
     50  fi
     51done
     52
     53# Required to use basename.
     54if expr a : '\(a\)' >/dev/null 2>&1; then
     55  as_expr=expr
     56else
     57  as_expr=false
     58fi
     59
     60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61  as_basename=basename
     62else
     63  as_basename=false
     64fi
     65
     66
     67# Name of the executable.
     68as_me=`$as_basename "$0" ||
     69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70         X"$0" : 'X\(//\)$' \| \
     71         X"$0" : 'X\(/\)$' \| \
     72         .     : '\(.\)' 2>/dev/null ||
     73echo X/"$0" |
     74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75          /^X\/\(\/\/\)$/{ s//\1/; q; }
     76          /^X\/\(\/\).*/{ s//\1/; q; }
     77          s/.*/./; q'`
     78
     79
     80# PATH needs CR, and LINENO needs CR and PATH.
    3581# Avoid depending upon Character Ranges.
    3682as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    5399fi
    54100
    55 # Support unset when possible.
    56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    57   as_unset=unset
    58 else
    59   as_unset=false
    60 fi
    61 
    62 
    63 # IFS
    64 # We need space, tab and new line, in precisely that order.  Quoting is
    65 # there to prevent editors from complaining about space-tab.
    66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    67 # splitting by setting IFS to empty value.)
    68 as_nl='
    69 '
    70 IFS=" ""        $as_nl"
    71 
    72 # Find who we are.  Look in the path if we contain no directory separator.
    73 case $0 in
    74   *[\\/]* ) as_myself=$0 ;;
    75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     101
     102  as_lineno_1=$LINENO
     103  as_lineno_2=$LINENO
     104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     105  test "x$as_lineno_1" != "x$as_lineno_2" &&
     106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     107  # Find who we are.  Look in the path if we contain no path at all
     108  # relative or not.
     109  case $0 in
     110    *[\\/]* ) as_myself=$0 ;;
     111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    76112for as_dir in $PATH
    77113do
     
    80116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    81117done
    82 IFS=$as_save_IFS
    83 
    84      ;;
    85 esac
    86 # We did not find ourselves, most probably we were run as `sh COMMAND'
    87 # in which case we are not to be found in the path.
    88 if test "x$as_myself" = x; then
    89   as_myself=$0
    90 fi
    91 if test ! -f "$as_myself"; then
    92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    93   { (exit 1); exit 1; }
    94 fi
    95 
    96 # Work around bugs in pre-3.0 UWIN ksh.
    97 for as_var in ENV MAIL MAILPATH
    98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     118
     119       ;;
     120  esac
     121  # We did not find ourselves, most probably we were run as `sh COMMAND'
     122  # in which case we are not to be found in the path.
     123  if test "x$as_myself" = x; then
     124    as_myself=$0
    114125  fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135          X"$0" : 'X\(//\)$' \| \
    136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139             s//\1/
    140             q
    141           }
    142           /^X\/\(\/\/\)$/{
    143             s//\1/
    144             q
    145           }
    146           /^X\/\(\/\).*/{
    147             s//\1/
    148             q
    149           }
    150           s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes &&     (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
     126  if test ! -f "$as_myself"; then
     127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     128   { (exit 1); exit 1; }; }
     129  fi
     130  case $CONFIG_SHELL in
     131  '')
    223132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    226135  IFS=$as_save_IFS
    227136  test -z "$as_dir" && as_dir=.
    228   case $as_dir in
     137  for as_base in sh bash ksh sh5; do
     138         case $as_dir in
    229139         /*)
    230            for as_base in sh bash ksh sh5; do
    231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232            done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239          # Try only shells that exist, to save several forks.
    240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261                as_have_required=yes
    262                if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
     140           if ("$as_dir/$as_base" -c '
    330141  as_lineno_1=$LINENO
    331142  as_lineno_2=$LINENO
     143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    332144  test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     146             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     147             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     148             CONFIG_SHELL=$as_dir/$as_base
     149             export CONFIG_SHELL
     150             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     151           fi;;
     152         esac
     153       done
     154done
     155;;
     156  esac
    429157
    430158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431159  # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
     160  # line-number line before each line; the second 'sed' does the real
     161  # work.  The second script uses 'N' to pair each line-number line
     162  # with the numbered line, and appends trailing '-' during
     163  # substitution so that $LINENO is not a special case at line end.
    437164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
     165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     166  sed '=' <$as_myself |
    444167    sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449168      N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     169      s,$,-,
     170      : loop
     171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    452172      t loop
    453       s/-\n.*//
     173      s,-$,,
     174      s,^['$as_cr_digits']*\n,,
    454175    ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
     176  chmod +x $as_me.lineno ||
    456177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457178   { (exit 1); exit 1; }; }
     
    459180  # Don't try to exec as it changes $[0], causing all sort of problems
    460181  # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
     182  # original and so on.  Autoconf is especially sensible to this).
     183  . ./$as_me.lineno
    463184  # Exit status is that of the last command.
    464185  exit
     
    466187
    467188
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
     189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     190  *c*,-n*) ECHO_N= ECHO_C='
     191' ECHO_T='      ' ;;
     192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    483194esac
    484195
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     196if expr a : '\(a\)' >/dev/null 2>&1; then
    487197  as_expr=expr
    488198else
     
    491201
    492202rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499203echo >conf$$.file
    500204if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     205  # We could just check for DJGPP; but this test a) works b) is more generic
     206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     207  if test -f conf$$.exe; then
     208    # Don't use ln at all; we don't have any links
    507209    as_ln_s='cp -p'
     210  else
     211    as_ln_s='ln -s'
     212  fi
    508213elif ln conf$$.file conf$$ 2>/dev/null; then
    509214  as_ln_s=ln
     
    511216  as_ln_s='cp -p'
    512217fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
     218rm -f conf$$ conf$$.exe conf$$.file
    515219
    516220if mkdir -p . 2>/dev/null; then
     
    521225fi
    522226
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536         case $1 in
    537         -*)set "./$1";;
    538         esac;
    539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540         ???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
     227as_executable_p="test -f"
    545228
    546229# Sed expression to map a string onto a valid CPP name.
     
    551234
    552235
    553 
    554 exec 7<&0 </dev/null 6>&1
     236# IFS
     237# We need space, tab and new line, in precisely that order.
     238as_nl='
     239'
     240IFS="   $as_nl"
     241
     242# CDPATH.
     243$as_unset CDPATH
     244
    555245
    556246# Name of the host.
     
    559249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    560250
     251exec 6>&1
     252
    561253#
    562254# Initializations.
    563255#
    564256ac_default_prefix=/usr/local
    565 ac_clean_files=
    566257ac_config_libobj_dir=.
    567 LIBOBJS=
    568258cross_compiling=no
    569259subdirs=
     
    571261MAKEFLAGS=
    572262SHELL=${CONFIG_SHELL-/bin/sh}
     263
     264# Maximum number of lines to put in a shell here document.
     265# This variable seems obsolete.  It should probably be removed, and
     266# only ac_max_sed_lines should be used.
     267: ${ac_max_here_lines=38}
    573268
    574269# Identity of this package.
     
    582277ac_includes_default="\
    583278#include <stdio.h>
    584 #ifdef HAVE_SYS_TYPES_H
     279#if HAVE_SYS_TYPES_H
    585280# include <sys/types.h>
    586281#endif
    587 #ifdef HAVE_SYS_STAT_H
     282#if HAVE_SYS_STAT_H
    588283# include <sys/stat.h>
    589284#endif
    590 #ifdef STDC_HEADERS
     285#if STDC_HEADERS
    591286# include <stdlib.h>
    592287# include <stddef.h>
    593288#else
    594 # ifdef HAVE_STDLIB_H
     289# if HAVE_STDLIB_H
    595290#  include <stdlib.h>
    596291# endif
    597292#endif
    598 #ifdef HAVE_STRING_H
    599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     293#if HAVE_STRING_H
     294# if !STDC_HEADERS && HAVE_MEMORY_H
    600295#  include <memory.h>
    601296# endif
    602297# include <string.h>
    603298#endif
    604 #ifdef HAVE_STRINGS_H
     299#if HAVE_STRINGS_H
    605300# include <strings.h>
    606301#endif
    607 #ifdef HAVE_INTTYPES_H
     302#if HAVE_INTTYPES_H
    608303# include <inttypes.h>
     304#else
     305# if HAVE_STDINT_H
     306#  include <stdint.h>
     307# endif
    609308#endif
    610 #ifdef HAVE_STDINT_H
    611 # include <stdint.h>
    612 #endif
    613 #ifdef HAVE_UNISTD_H
     309#if HAVE_UNISTD_H
    614310# include <unistd.h>
    615311#endif"
    616312
    617 ac_subst_vars='SHELL
    618 PATH_SEPARATOR
    619 PACKAGE_NAME
    620 PACKAGE_TARNAME
    621 PACKAGE_VERSION
    622 PACKAGE_STRING
    623 PACKAGE_BUGREPORT
    624 exec_prefix
    625 prefix
    626 program_transform_name
    627 bindir
    628 sbindir
    629 libexecdir
    630 datarootdir
    631 datadir
    632 sysconfdir
    633 sharedstatedir
    634 localstatedir
    635 includedir
    636 oldincludedir
    637 docdir
    638 infodir
    639 htmldir
    640 dvidir
    641 pdfdir
    642 psdir
    643 libdir
    644 localedir
    645 mandir
    646 DEFS
    647 ECHO_C
    648 ECHO_N
    649 ECHO_T
    650 LIBS
    651 build_alias
    652 host_alias
    653 target_alias
    654 SET_MAKE
    655 CC
    656 CFLAGS
    657 LDFLAGS
    658 CPPFLAGS
    659 ac_ct_CC
    660 EXEEXT
    661 OBJEXT
    662 CPP
    663 GREP
    664 EGREP
    665 CXX
    666 CXXFLAGS
    667 ac_ct_CXX
    668 CXXCPP
    669 F77
    670 FFLAGS
    671 ac_ct_F77
    672 MEX
    673 MKOCTFILE
    674 PERL
    675 PYTHON
    676 pythondir
    677 MEX_ARCH
    678 PERL_INCLUDES
    679 PYTHON_VERSION
    680 PYTHON_INCLUDES
    681 PYTHON_SITE_PACKAGES
    682 VERSION
    683 RP_BASE
    684 subdirs
    685 LIBOBJS
    686 LTLIBOBJS'
     313ac_subdirs_all="$ac_subdirs_all gui"
     314ac_subdirs_all="$ac_subdirs_all src/tcl"
     315ac_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 SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 MEX MKOCTFILE PERL PYTHON pythondir MEX_ARCH MEXEXT PERL_INCLUDES PERL_SITE_PACKAGES PYTHON_VERSION PYTHON_INCLUDES PYTHON_SITE_PACKAGES LIB_SEARCH_DIRS VERSION RP_BASE subdirs LIBOBJS LTLIBOBJS'
    687316ac_subst_files=''
    688       ac_precious_vars='build_alias
    689 host_alias
    690 target_alias
    691 CC
    692 CFLAGS
    693 LDFLAGS
    694 LIBS
    695 CPPFLAGS
    696 CPP
    697 CXX
    698 CXXFLAGS
    699 CCC
    700 CXXCPP
    701 F77
    702 FFLAGS'
    703 ac_subdirs_all='gui
    704 src/tcl '
    705317
    706318# Initialize some variables set by options.
     
    729341# by default will actually change.
    730342# Use braces instead of parens because sh, perl, etc. also accept them.
    731 # (The list follows the same order as the GNU Coding Standards.)
    732343bindir='${exec_prefix}/bin'
    733344sbindir='${exec_prefix}/sbin'
    734345libexecdir='${exec_prefix}/libexec'
    735 datarootdir='${prefix}/share'
    736 datadir='${datarootdir}'
     346datadir='${prefix}/share'
    737347sysconfdir='${prefix}/etc'
    738348sharedstatedir='${prefix}/com'
    739349localstatedir='${prefix}/var'
     350libdir='${exec_prefix}/lib'
    740351includedir='${prefix}/include'
    741352oldincludedir='/usr/include'
    742 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    743 infodir='${datarootdir}/info'
    744 htmldir='${docdir}'
    745 dvidir='${docdir}'
    746 pdfdir='${docdir}'
    747 psdir='${docdir}'
    748 libdir='${exec_prefix}/lib'
    749 localedir='${datarootdir}/locale'
    750 mandir='${datarootdir}/man'
     353infodir='${prefix}/info'
     354mandir='${prefix}/man'
    751355
    752356ac_prev=
    753 ac_dashdash=
    754357for ac_option
    755358do
    756359  # If the previous option needs an argument, assign it.
    757360  if test -n "$ac_prev"; then
    758     eval $ac_prev=\$ac_option
     361    eval "$ac_prev=\$ac_option"
    759362    ac_prev=
    760363    continue
    761364  fi
    762365
     366  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     367
     368  # Accept the important Cygnus configure options, so we can diagnose typos.
     369
    763370  case $ac_option in
    764   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    765   *)    ac_optarg=yes ;;
    766   esac
    767 
    768   # Accept the important Cygnus configure options, so we can diagnose typos.
    769 
    770   case $ac_dashdash$ac_option in
    771   --)
    772     ac_dashdash=yes ;;
    773371
    774372  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    792390    cache_file=config.cache ;;
    793391
    794   -datadir | --datadir | --datadi | --datad)
     392  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    795393    ac_prev=datadir ;;
    796   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     394  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     395  | --da=*)
    797396    datadir=$ac_optarg ;;
    798 
    799   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    800   | --dataroo | --dataro | --datar)
    801     ac_prev=datarootdir ;;
    802   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    803   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    804     datarootdir=$ac_optarg ;;
    805397
    806398  -disable-* | --disable-*)
    807399    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    808400    # Reject names that are not valid shell variable names.
    809     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     401    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    810402      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    811403   { (exit 1); exit 1; }; }
    812     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    813     eval enable_$ac_feature=no ;;
    814 
    815   -docdir | --docdir | --docdi | --doc | --do)
    816     ac_prev=docdir ;;
    817   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    818     docdir=$ac_optarg ;;
    819 
    820   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    821     ac_prev=dvidir ;;
    822   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    823     dvidir=$ac_optarg ;;
     404    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     405    eval "enable_$ac_feature=no" ;;
    824406
    825407  -enable-* | --enable-*)
    826408    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    827409    # Reject names that are not valid shell variable names.
    828     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     410    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    829411      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    830412   { (exit 1); exit 1; }; }
    831     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    832     eval enable_$ac_feature=\$ac_optarg ;;
     413    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     414    case $ac_option in
     415      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     416      *) ac_optarg=yes ;;
     417    esac
     418    eval "enable_$ac_feature='$ac_optarg'" ;;
    833419
    834420  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    857443    host_alias=$ac_optarg ;;
    858444
    859   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    860     ac_prev=htmldir ;;
    861   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    862   | --ht=*)
    863     htmldir=$ac_optarg ;;
    864 
    865445  -includedir | --includedir | --includedi | --included | --include \
    866446  | --includ | --inclu | --incl | --inc)
     
    887467    libexecdir=$ac_optarg ;;
    888468
    889   -localedir | --localedir | --localedi | --localed | --locale)
    890     ac_prev=localedir ;;
    891   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    892     localedir=$ac_optarg ;;
    893 
    894469  -localstatedir | --localstatedir | --localstatedi | --localstated \
    895   | --localstate | --localstat | --localsta | --localst | --locals)
     470  | --localstate | --localstat | --localsta | --localst \
     471  | --locals | --local | --loca | --loc | --lo)
    896472    ac_prev=localstatedir ;;
    897473  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    898   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     474  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     475  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    899476    localstatedir=$ac_optarg ;;
    900477
     
    961538    program_transform_name=$ac_optarg ;;
    962539
    963   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    964     ac_prev=pdfdir ;;
    965   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    966     pdfdir=$ac_optarg ;;
    967 
    968   -psdir | --psdir | --psdi | --psd | --ps)
    969     ac_prev=psdir ;;
    970   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    971     psdir=$ac_optarg ;;
    972 
    973540  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    974541  | -silent | --silent | --silen | --sile | --sil)
     
    1023590    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1024591    # Reject names that are not valid shell variable names.
    1025     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     592    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1026593      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1027594   { (exit 1); exit 1; }; }
    1028     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1029     eval with_$ac_package=\$ac_optarg ;;
     595    ac_package=`echo $ac_package| sed 's/-/_/g'`
     596    case $ac_option in
     597      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     598      *) ac_optarg=yes ;;
     599    esac
     600    eval "with_$ac_package='$ac_optarg'" ;;
    1030601
    1031602  -without-* | --without-*)
    1032603    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1033604    # Reject names that are not valid shell variable names.
    1034     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     605    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1035606      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1036607   { (exit 1); exit 1; }; }
    1037     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1038     eval with_$ac_package=no ;;
     608    ac_package=`echo $ac_package | sed 's/-/_/g'`
     609    eval "with_$ac_package=no" ;;
    1039610
    1040611  --x)
     
    1067638      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1068639   { (exit 1); exit 1; }; }
    1069     eval $ac_envvar=\$ac_optarg
     640    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     641    eval "$ac_envvar='$ac_optarg'"
    1070642    export $ac_envvar ;;
    1071643
     
    1087659fi
    1088660
    1089 # Be sure to have absolute directory names.
    1090 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1091                 datadir sysconfdir sharedstatedir localstatedir includedir \
    1092                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1093                 libdir localedir mandir
     661# Be sure to have absolute paths.
     662for ac_var in exec_prefix prefix
    1094663do
    1095   eval ac_val=\$$ac_var
     664  eval ac_val=$`echo $ac_var`
    1096665  case $ac_val in
    1097     [\\/$]* | ?:[\\/]* )  continue;;
    1098     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
     666    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     667    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     668   { (exit 1); exit 1; }; };;
    1099669  esac
    1100   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1101    { (exit 1); exit 1; }; }
     670done
     671
     672# Be sure to have absolute paths.
     673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     674              localstatedir libdir includedir oldincludedir infodir mandir
     675do
     676  eval ac_val=$`echo $ac_var`
     677  case $ac_val in
     678    [\\/$]* | ?:[\\/]* ) ;;
     679    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     680   { (exit 1); exit 1; }; };;
     681  esac
    1102682done
    1103683
     
    1126706
    1127707
    1128 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1129 ac_ls_di=`ls -di .` &&
    1130 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1131   { echo "$as_me: error: Working directory cannot be determined" >&2
    1132    { (exit 1); exit 1; }; }
    1133 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1134   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1135    { (exit 1); exit 1; }; }
    1136 
    1137 
    1138708# Find the source files, if location was not specified.
    1139709if test -z "$srcdir"; then
    1140710  ac_srcdir_defaulted=yes
    1141   # Try the directory containing this script, then the parent directory.
    1142   ac_confdir=`$as_dirname -- "$0" ||
     711  # Try the directory containing this script, then its parent.
     712  ac_confdir=`(dirname "$0") 2>/dev/null ||
    1143713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1144714         X"$0" : 'X\(//\)[^/]' \| \
    1145715         X"$0" : 'X\(//\)$' \| \
    1146          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     716         X"$0" : 'X\(/\)' \| \
     717         .     : '\(.\)' 2>/dev/null ||
    1147718echo X"$0" |
    1148     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1149             s//\1/
    1150             q
    1151           }
    1152           /^X\(\/\/\)[^/].*/{
    1153             s//\1/
    1154             q
    1155           }
    1156           /^X\(\/\/\)$/{
    1157             s//\1/
    1158             q
    1159           }
    1160           /^X\(\/\).*/{
    1161             s//\1/
    1162             q
    1163           }
    1164           s/.*/./; q'`
     719    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     720          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     721          /^X\(\/\/\)$/{ s//\1/; q; }
     722          /^X\(\/\).*/{ s//\1/; q; }
     723          s/.*/./; q'`
    1165724  srcdir=$ac_confdir
    1166   if test ! -r "$srcdir/$ac_unique_file"; then
     725  if test ! -r $srcdir/$ac_unique_file; then
    1167726    srcdir=..
    1168727  fi
     
    1170729  ac_srcdir_defaulted=no
    1171730fi
    1172 if test ! -r "$srcdir/$ac_unique_file"; then
    1173   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1174   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     731if test ! -r $srcdir/$ac_unique_file; then
     732  if test "$ac_srcdir_defaulted" = yes; then
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    1175734   { (exit 1); exit 1; }; }
    1176 fi
    1177 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1178 ac_abs_confdir=`(
    1179         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
     735  else
     736    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1180737   { (exit 1); exit 1; }; }
    1181         pwd)`
    1182 # When building in place, set srcdir=.
    1183 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1184   srcdir=.
    1185 fi
    1186 # Remove unnecessary trailing slashes from srcdir.
    1187 # Double slashes in file names in object file debugging info
    1188 # mess up M-x gdb in Emacs.
    1189 case $srcdir in
    1190 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1191 esac
    1192 for ac_var in $ac_precious_vars; do
    1193   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1194   eval ac_env_${ac_var}_value=\$${ac_var}
    1195   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1196   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1197 done
     738  fi
     739fi
     740(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     741  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     742   { (exit 1); exit 1; }; }
     743srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     744ac_env_build_alias_set=${build_alias+set}
     745ac_env_build_alias_value=$build_alias
     746ac_cv_env_build_alias_set=${build_alias+set}
     747ac_cv_env_build_alias_value=$build_alias
     748ac_env_host_alias_set=${host_alias+set}
     749ac_env_host_alias_value=$host_alias
     750ac_cv_env_host_alias_set=${host_alias+set}
     751ac_cv_env_host_alias_value=$host_alias
     752ac_env_target_alias_set=${target_alias+set}
     753ac_env_target_alias_value=$target_alias
     754ac_cv_env_target_alias_set=${target_alias+set}
     755ac_cv_env_target_alias_value=$target_alias
     756ac_env_CC_set=${CC+set}
     757ac_env_CC_value=$CC
     758ac_cv_env_CC_set=${CC+set}
     759ac_cv_env_CC_value=$CC
     760ac_env_CFLAGS_set=${CFLAGS+set}
     761ac_env_CFLAGS_value=$CFLAGS
     762ac_cv_env_CFLAGS_set=${CFLAGS+set}
     763ac_cv_env_CFLAGS_value=$CFLAGS
     764ac_env_LDFLAGS_set=${LDFLAGS+set}
     765ac_env_LDFLAGS_value=$LDFLAGS
     766ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     767ac_cv_env_LDFLAGS_value=$LDFLAGS
     768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     769ac_env_CPPFLAGS_value=$CPPFLAGS
     770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     772ac_env_CPP_set=${CPP+set}
     773ac_env_CPP_value=$CPP
     774ac_cv_env_CPP_set=${CPP+set}
     775ac_cv_env_CPP_value=$CPP
     776ac_env_CXX_set=${CXX+set}
     777ac_env_CXX_value=$CXX
     778ac_cv_env_CXX_set=${CXX+set}
     779ac_cv_env_CXX_value=$CXX
     780ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     781ac_env_CXXFLAGS_value=$CXXFLAGS
     782ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     783ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     784ac_env_CXXCPP_set=${CXXCPP+set}
     785ac_env_CXXCPP_value=$CXXCPP
     786ac_cv_env_CXXCPP_set=${CXXCPP+set}
     787ac_cv_env_CXXCPP_value=$CXXCPP
     788ac_env_F77_set=${F77+set}
     789ac_env_F77_value=$F77
     790ac_cv_env_F77_set=${F77+set}
     791ac_cv_env_F77_value=$F77
     792ac_env_FFLAGS_set=${FFLAGS+set}
     793ac_env_FFLAGS_value=$FFLAGS
     794ac_cv_env_FFLAGS_set=${FFLAGS+set}
     795ac_cv_env_FFLAGS_value=$FFLAGS
    1198796
    1199797#
     
    1224822      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1225823
     824_ACEOF
     825
     826  cat <<_ACEOF
    1226827Installation directories:
    1227828  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    1241842  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1242843  --libexecdir=DIR       program executables [EPREFIX/libexec]
     844  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1243845  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1244846  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    1247849  --includedir=DIR       C header files [PREFIX/include]
    1248850  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1249   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1250   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1251   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1252   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1253   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1254   --docdir=DIR           documentation root [DATAROOTDIR/doc/rappture]
    1255   --htmldir=DIR          html documentation [DOCDIR]
    1256   --dvidir=DIR           dvi documentation [DOCDIR]
    1257   --pdfdir=DIR           pdf documentation [DOCDIR]
    1258   --psdir=DIR            ps documentation [DOCDIR]
     851  --infodir=DIR          info documentation [PREFIX/info]
     852  --mandir=DIR           man documentation [PREFIX/man]
    1259853_ACEOF
    1260854
     
    1274868  --with-matlab=DIR         Build Matlab bindings if MEX compiler is found
    1275869  --with-matlab-arch=ARCH         Build Matlab bindings for ARCH architecture
     870  --with-mexext=ARCH         Suggest an extension for building mex files
    1276871  --with-octave=DIR         Build Octave bindings if MKOCTFILE compiler is found
    1277872  --with-perl=DIR         Build Perl bindings if found
     
    1283878  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1284879              nonstandard directory <lib dir>
    1285   LIBS        libraries to pass to the linker, e.g. -l<library>
    1286   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    1287               you have headers in a nonstandard directory <include dir>
     880  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     881              headers in a nonstandard directory <include dir>
    1288882  CPP         C preprocessor
    1289883  CXX         C++ compiler command
     
    1298892Report bugs to <rappture@nanohub.org>.
    1299893_ACEOF
    1300 ac_status=$?
    1301894fi
    1302895
    1303896if test "$ac_init_help" = "recursive"; then
    1304897  # If there are subdirs, report their specific --help.
     898  ac_popdir=`pwd`
    1305899  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1306     test -d "$ac_dir" || continue
     900    test -d $ac_dir || continue
    1307901    ac_builddir=.
    1308902
    1309 case "$ac_dir" in
    1310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     903if test "$ac_dir" != .; then
     904  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     905  # A "../" for each directory in $ac_dir_suffix.
     906  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     907else
     908  ac_dir_suffix= ac_top_builddir=
     909fi
     910
     911case $srcdir in
     912  .)  # No --srcdir option.  We are building in place.
     913    ac_srcdir=.
     914    if test -z "$ac_top_builddir"; then
     915       ac_top_srcdir=.
     916    else
     917       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     918    fi ;;
     919  [\\/]* | ?:[\\/]* )  # Absolute path.
     920    ac_srcdir=$srcdir$ac_dir_suffix;
     921    ac_top_srcdir=$srcdir ;;
     922  *) # Relative path.
     923    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     924    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     925esac
     926
     927# Do not use `cd foo && pwd` to compute absolute paths, because
     928# the directories may not exist.
     929case `pwd` in
     930.) ac_abs_builddir="$ac_dir";;
    1311931*)
    1312   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1313   # A ".." for each directory in $ac_dir_suffix.
    1314   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    1315   case $ac_top_builddir_sub in
    1316   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1317   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1318   esac ;;
     932  case "$ac_dir" in
     933  .) ac_abs_builddir=`pwd`;;
     934  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     935  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     936  esac;;
    1319937esac
    1320 ac_abs_top_builddir=$ac_pwd
    1321 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1322 # for backward compatibility:
    1323 ac_top_builddir=$ac_top_build_prefix
    1324 
    1325 case $srcdir in
    1326   .)  # We are building in place.
    1327     ac_srcdir=.
    1328     ac_top_srcdir=$ac_top_builddir_sub
    1329     ac_abs_top_srcdir=$ac_pwd ;;
    1330   [\\/]* | ?:[\\/]* )  # Absolute name.
    1331     ac_srcdir=$srcdir$ac_dir_suffix;
    1332     ac_top_srcdir=$srcdir
    1333     ac_abs_top_srcdir=$srcdir ;;
    1334   *) # Relative name.
    1335     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1336     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1337     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     938case $ac_abs_builddir in
     939.) ac_abs_top_builddir=${ac_top_builddir}.;;
     940*)
     941  case ${ac_top_builddir}. in
     942  .) ac_abs_top_builddir=$ac_abs_builddir;;
     943  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     944  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     945  esac;;
    1338946esac
    1339 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1340 
    1341     cd "$ac_dir" || { ac_status=$?; continue; }
    1342     # Check for guested configure.
    1343     if test -f "$ac_srcdir/configure.gnu"; then
    1344       echo &&
    1345       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1346     elif test -f "$ac_srcdir/configure"; then
    1347       echo &&
    1348       $SHELL "$ac_srcdir/configure" --help=recursive
     947case $ac_abs_builddir in
     948.) ac_abs_srcdir=$ac_srcdir;;
     949*)
     950  case $ac_srcdir in
     951  .) ac_abs_srcdir=$ac_abs_builddir;;
     952  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     953  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     954  esac;;
     955esac
     956case $ac_abs_builddir in
     957.) ac_abs_top_srcdir=$ac_top_srcdir;;
     958*)
     959  case $ac_top_srcdir in
     960  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     961  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     962  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     963  esac;;
     964esac
     965
     966    cd $ac_dir
     967    # Check for guested configure; otherwise get Cygnus style configure.
     968    if test -f $ac_srcdir/configure.gnu; then
     969      echo
     970      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     971    elif test -f $ac_srcdir/configure; then
     972      echo
     973      $SHELL $ac_srcdir/configure  --help=recursive
     974    elif test -f $ac_srcdir/configure.ac ||
     975           test -f $ac_srcdir/configure.in; then
     976      echo
     977      $ac_configure --help
    1349978    else
    1350979      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1351     fi || ac_status=$?
    1352     cd "$ac_pwd" || { ac_status=$?; break; }
     980    fi
     981    cd "$ac_popdir"
    1353982  done
    1354983fi
    1355984
    1356 test -n "$ac_init_help" && exit $ac_status
     985test -n "$ac_init_help" && exit 0
    1357986if $ac_init_version; then
    1358987  cat <<\_ACEOF
    1359988rappture configure 1.1
    1360 generated by GNU Autoconf 2.61
    1361 
    1362 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1363 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     989generated by GNU Autoconf 2.59
     990
     991Copyright (C) 2003 Free Software Foundation, Inc.
    1364992This configure script is free software; the Free Software Foundation
    1365993gives unlimited permission to copy, distribute and modify it.
    1366994_ACEOF
    1367   exit
    1368 fi
    1369 cat >config.log <<_ACEOF
     995  exit 0
     996fi
     997exec 5>config.log
     998cat >&5 <<_ACEOF
    1370999This file contains any messages produced by compilers while
    13711000running configure, to aid debugging if configure makes a mistake.
    13721001
    13731002It was created by rappture $as_me 1.1, which was
    1374 generated by GNU Autoconf 2.61.  Invocation command line was
     1003generated by GNU Autoconf 2.59.  Invocation command line was
    13751004
    13761005  $ $0 $@
    13771006
    13781007_ACEOF
    1379 exec 5>>config.log
    13801008{
    13811009cat <<_ASUNAME
     
    13961024/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    13971025/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1398 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1026hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    13991027/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    14001028/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    14101038  echo "PATH: $as_dir"
    14111039done
    1412 IFS=$as_save_IFS
    14131040
    14141041} >&5
     
    14321059ac_configure_args0=
    14331060ac_configure_args1=
     1061ac_sep=
    14341062ac_must_keep_next=false
    14351063for ac_pass in 1 2
     
    14421070    | -silent | --silent | --silen | --sile | --sil)
    14431071      continue ;;
    1444     *\'*)
     1072    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    14451073      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    14461074    esac
     
    14641092        esac
    14651093      fi
    1466       ac_configure_args="$ac_configure_args '$ac_arg'"
     1094      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1095      # Get rid of the leading space.
     1096      ac_sep=" "
    14671097      ;;
    14681098    esac
     
    14751105# config.log.  We remove comments because anyway the quotes in there
    14761106# would cause problems or look ugly.
    1477 # WARNING: Use '\'' to represent an apostrophe within the trap.
    1478 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1107# WARNING: Be sure not to use single quotes in there, as some shells,
     1108# such as our DU 5.0 friend, will then `close' the trap.
    14791109trap 'exit_status=$?
    14801110  # Save into config.log some information that might help in debugging.
     
    14891119    echo
    14901120    # The following way of writing the cache mishandles newlines in values,
    1491 (
    1492   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    1493     eval ac_val=\$$ac_var
    1494     case $ac_val in #(
    1495     *${as_nl}*)
    1496       case $ac_var in #(
    1497       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1498 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    1499       esac
    1500       case $ac_var in #(
    1501       _ | IFS | as_nl) ;; #(
    1502       *) $as_unset $ac_var ;;
    1503       esac ;;
    1504     esac
    1505   done
     1121{
    15061122  (set) 2>&1 |
    1507     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    1508     *${as_nl}ac_space=\ *)
     1123    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1124    *ac_space=\ *)
    15091125      sed -n \
    1510         "s/'\''/'\''\\\\'\'''\''/g;
    1511           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    1512       ;; #(
     1126        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1127          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1128      ;;
    15131129    *)
    1514       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1130      sed -n \
     1131        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    15151132      ;;
    1516     esac |
    1517     sort
    1518 )
     1133    esac;
     1134}
    15191135    echo
    15201136
     
    15271143    for ac_var in $ac_subst_vars
    15281144    do
    1529       eval ac_val=\$$ac_var
    1530       case $ac_val in
    1531       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1532       esac
    1533       echo "$ac_var='\''$ac_val'\''"
     1145      eval ac_val=$`echo $ac_var`
     1146      echo "$ac_var='"'"'$ac_val'"'"'"
    15341147    done | sort
    15351148    echo
     
    15371150    if test -n "$ac_subst_files"; then
    15381151      cat <<\_ASBOX
    1539 ## ------------------- ##
    1540 ## File substitutions. ##
    1541 ## ------------------- ##
     1152## ------------- ##
     1153## Output files. ##
     1154## ------------- ##
    15421155_ASBOX
    15431156      echo
    15441157      for ac_var in $ac_subst_files
    15451158      do
    1546         eval ac_val=\$$ac_var
    1547         case $ac_val in
    1548         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1549         esac
    1550         echo "$ac_var='\''$ac_val'\''"
     1159        eval ac_val=$`echo $ac_var`
     1160        echo "$ac_var='"'"'$ac_val'"'"'"
    15511161      done | sort
    15521162      echo
     
    15601170_ASBOX
    15611171      echo
    1562       cat confdefs.h
     1172      sed "/^$/d" confdefs.h | sort
    15631173      echo
    15641174    fi
     
    15671177    echo "$as_me: exit $exit_status"
    15681178  } >&5
    1569   rm -f core *.core core.conftest.* &&
    1570     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1179  rm -f core *.core &&
     1180  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    15711181    exit $exit_status
    1572 ' 0
     1182     ' 0
    15731183for ac_signal in 1 2 13 15; do
    15741184  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    15771187
    15781188# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1579 rm -f -r conftest* confdefs.h
     1189rm -rf conftest* confdefs.h
     1190# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1191echo >confdefs.h
    15801192
    15811193# Predefined preprocessor variables.
     
    16081220# Let the site file select an alternate cache file if it wants to.
    16091221# Prefer explicitly selected file to automatically selected ones.
    1610 if test -n "$CONFIG_SITE"; then
    1611   set x "$CONFIG_SITE"
    1612 elif test "x$prefix" != xNONE; then
    1613   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1614 else
    1615   set x "$ac_default_prefix/share/config.site" \
    1616         "$ac_default_prefix/etc/config.site"
    1617 fi
    1618 shift
    1619 for ac_site_file
    1620 do
     1222if test -z "$CONFIG_SITE"; then
     1223  if test "x$prefix" != xNONE; then
     1224    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1225  else
     1226    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1227  fi
     1228fi
     1229for ac_site_file in $CONFIG_SITE; do
    16211230  if test -r "$ac_site_file"; then
    16221231    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    16341243echo "$as_me: loading cache $cache_file" >&6;}
    16351244    case $cache_file in
    1636       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    1637       *)                      . "./$cache_file";;
     1245      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1246      *)                      . ./$cache_file;;
    16381247    esac
    16391248  fi
     
    16471256# value.
    16481257ac_cache_corrupted=false
    1649 for ac_var in $ac_precious_vars; do
     1258for ac_var in `(set) 2>&1 |
     1259               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    16501260  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    16511261  eval ac_new_set=\$ac_env_${ac_var}_set
    1652   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    1653   eval ac_new_val=\$ac_env_${ac_var}_value
     1262  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1263  eval ac_new_val="\$ac_env_${ac_var}_value"
    16541264  case $ac_old_set,$ac_new_set in
    16551265    set,)
     
    16761286  if test "$ac_new_set" = set; then
    16771287    case $ac_new_val in
    1678     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1288    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1289      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    16791290    *) ac_arg=$ac_var=$ac_new_val ;;
    16801291    esac
     
    16931304fi
    16941305
    1695 
    1696 
    1697 
    1698 
    1699 
    1700 
    1701 
    1702 
    1703 
    1704 
    1705 
    1706 
    1707 
    1708 
    1709 
    1710 
    1711 
    1712 
    1713 
    1714 
    1715 
    1716 
    1717 
    1718 
    17191306ac_ext=c
    17201307ac_cpp='$CPP $CPPFLAGS'
     
    17251312
    17261313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324
     1325
     1326
     1327
     1328
     1329
     1330
     1331
     1332
     1333
     1334
     1335
     1336
     1337
     1338
    17271339VERSION=0.0.1
    17281340
     
    17381350fi
    17391351
    1740 # AC_PROG_INSTALL
    1741 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    1742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
    1743 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    1744 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     1352if test "${libdir}" != "${prefix}/lib"; then
     1353    LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"
     1354else
     1355    LIB_SEARCH_DIRS="-L ${libdir}"
     1356fi
     1357
     1358ac_aux_dir=
     1359for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     1360  if test -f $ac_dir/install-sh; then
     1361    ac_aux_dir=$ac_dir
     1362    ac_install_sh="$ac_aux_dir/install-sh -c"
     1363    break
     1364  elif test -f $ac_dir/install.sh; then
     1365    ac_aux_dir=$ac_dir
     1366    ac_install_sh="$ac_aux_dir/install.sh -c"
     1367    break
     1368  elif test -f $ac_dir/shtool; then
     1369    ac_aux_dir=$ac_dir
     1370    ac_install_sh="$ac_aux_dir/shtool install -c"
     1371    break
     1372  fi
     1373done
     1374if test -z "$ac_aux_dir"; then
     1375  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     1376echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1377   { (exit 1); exit 1; }; }
     1378fi
     1379ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1380ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1381ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1382
     1383# Find a good install program.  We prefer a C program (faster),
     1384# so one script is as good as another.  But avoid the broken or
     1385# incompatible versions:
     1386# SysV /etc/install, /usr/sbin/install
     1387# SunOS /usr/etc/install
     1388# IRIX /sbin/install
     1389# AIX /bin/install
     1390# AmigaOS /C/install, which installs bootblocks on floppy discs
     1391# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     1392# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     1393# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1394# OS/2's system install, which has a completely different semantic
     1395# ./install, which can be erroneously created by make from ./install.sh.
     1396echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     1397echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     1398if test -z "$INSTALL"; then
     1399if test "${ac_cv_path_install+set}" = set; then
    17451400  echo $ECHO_N "(cached) $ECHO_C" >&6
    17461401else
     1402  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1403for as_dir in $PATH
     1404do
     1405  IFS=$as_save_IFS
     1406  test -z "$as_dir" && as_dir=.
     1407  # Account for people who put trailing slashes in PATH elements.
     1408case $as_dir/ in
     1409  ./ | .// | /cC/* | \
     1410  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1411  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     1412  /usr/ucb/* ) ;;
     1413  *)
     1414    # OSF1 and SCO ODT 3.0 have their own names for install.
     1415    # Don't use installbsd from OSF since it installs stuff as root
     1416    # by default.
     1417    for ac_prog in ginstall scoinst install; do
     1418      for ac_exec_ext in '' $ac_executable_extensions; do
     1419        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1420          if test $ac_prog = install &&
     1421            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1422            # AIX install.  It has an incompatible calling convention.
     1423            :
     1424          elif test $ac_prog = install &&
     1425            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1426            # program-specific install script used by HP pwplus--don't use.
     1427            :
     1428          else
     1429            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1430            break 3
     1431          fi
     1432        fi
     1433      done
     1434    done
     1435    ;;
     1436esac
     1437done
     1438
     1439
     1440fi
     1441  if test "${ac_cv_path_install+set}" = set; then
     1442    INSTALL=$ac_cv_path_install
     1443  else
     1444    # As a last resort, use the slow shell script.  We don't cache a
     1445    # path for INSTALL within a source directory, because that will
     1446    # break other packages using the cache if that directory is
     1447    # removed, or if the path is relative.
     1448    INSTALL=$ac_install_sh
     1449  fi
     1450fi
     1451echo "$as_me:$LINENO: result: $INSTALL" >&5
     1452echo "${ECHO_T}$INSTALL" >&6
     1453
     1454# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     1455# It thinks the first close brace ends the variable substitution.
     1456test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     1457
     1458test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     1459
     1460test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     1461
     1462echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     1463echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     1464set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     1465if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     1466  echo $ECHO_N "(cached) $ECHO_C" >&6
     1467else
    17471468  cat >conftest.make <<\_ACEOF
    1748 SHELL = /bin/sh
    17491469all:
    1750         @echo '@@@%%%=$(MAKE)=@@@%%%'
     1470        @echo 'ac_maketemp="$(MAKE)"'
    17511471_ACEOF
    17521472# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    1753 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    1754   *@@@%%%=?*=@@@%%%*)
    1755     eval ac_cv_prog_make_${ac_make}_set=yes;;
    1756   *)
    1757     eval ac_cv_prog_make_${ac_make}_set=no;;
    1758 esac
     1473eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     1474if test -n "$ac_maketemp"; then
     1475  eval ac_cv_prog_make_${ac_make}_set=yes
     1476else
     1477  eval ac_cv_prog_make_${ac_make}_set=no
     1478fi
    17591479rm -f conftest.make
    17601480fi
    1761 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    1762   { echo "$as_me:$LINENO: result: yes" >&5
    1763 echo "${ECHO_T}yes" >&6; }
     1481if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     1482  echo "$as_me:$LINENO: result: yes" >&5
     1483echo "${ECHO_T}yes" >&6
    17641484  SET_MAKE=
    17651485else
    1766   { echo "$as_me:$LINENO: result: no" >&5
    1767 echo "${ECHO_T}no" >&6; }
     1486  echo "$as_me:$LINENO: result: no" >&5
     1487echo "${ECHO_T}no" >&6
    17681488  SET_MAKE="MAKE=${MAKE-make}"
    17691489fi
     
    17781498  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    17791499set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1500echo "$as_me:$LINENO: checking for $ac_word" >&5
     1501echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    17821502if test "${ac_cv_prog_CC+set}" = set; then
    17831503  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17921512  test -z "$as_dir" && as_dir=.
    17931513  for ac_exec_ext in '' $ac_executable_extensions; do
    1794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1514  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    17951515    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    17961516    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17991519done
    18001520done
    1801 IFS=$as_save_IFS
    18021521
    18031522fi
     
    18051524CC=$ac_cv_prog_CC
    18061525if test -n "$CC"; then
    1807   { echo "$as_me:$LINENO: result: $CC" >&5
    1808 echo "${ECHO_T}$CC" >&6; }
    1809 else
    1810   { echo "$as_me:$LINENO: result: no" >&5
    1811 echo "${ECHO_T}no" >&6; }
    1812 fi
    1813 
     1526  echo "$as_me:$LINENO: result: $CC" >&5
     1527echo "${ECHO_T}$CC" >&6
     1528else
     1529  echo "$as_me:$LINENO: result: no" >&5
     1530echo "${ECHO_T}no" >&6
     1531fi
    18141532
    18151533fi
     
    18181536  # Extract the first word of "gcc", so it can be a program name with args.
    18191537set dummy gcc; ac_word=$2
    1820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1538echo "$as_me:$LINENO: checking for $ac_word" >&5
     1539echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18221540if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    18231541  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18321550  test -z "$as_dir" && as_dir=.
    18331551  for ac_exec_ext in '' $ac_executable_extensions; do
    1834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1552  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18351553    ac_cv_prog_ac_ct_CC="gcc"
    18361554    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    18391557done
    18401558done
    1841 IFS=$as_save_IFS
    18421559
    18431560fi
     
    18451562ac_ct_CC=$ac_cv_prog_ac_ct_CC
    18461563if test -n "$ac_ct_CC"; then
    1847   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1848 echo "${ECHO_T}$ac_ct_CC" >&6; }
    1849 else
    1850   { echo "$as_me:$LINENO: result: no" >&5
    1851 echo "${ECHO_T}no" >&6; }
    1852 fi
    1853 
    1854   if test "x$ac_ct_CC" = x; then
    1855     CC=""
    1856   else
    1857     case $cross_compiling:$ac_tool_warned in
    1858 yes:)
    1859 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    1860 whose name does not start with the host triplet.  If you think this
    1861 configuration is useful to you, please write to autoconf@gnu.org." >&5
    1862 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    1863 whose name does not start with the host triplet.  If you think this
    1864 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    1865 ac_tool_warned=yes ;;
    1866 esac
    1867     CC=$ac_ct_CC
    1868   fi
     1564  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1565echo "${ECHO_T}$ac_ct_CC" >&6
     1566else
     1567  echo "$as_me:$LINENO: result: no" >&5
     1568echo "${ECHO_T}no" >&6
     1569fi
     1570
     1571  CC=$ac_ct_CC
    18691572else
    18701573  CC="$ac_cv_prog_CC"
     
    18721575
    18731576if test -z "$CC"; then
    1874           if test -n "$ac_tool_prefix"; then
    1875     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1577  if test -n "$ac_tool_prefix"; then
     1578  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    18761579set dummy ${ac_tool_prefix}cc; ac_word=$2
    1877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1580echo "$as_me:$LINENO: checking for $ac_word" >&5
     1581echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18791582if test "${ac_cv_prog_CC+set}" = set; then
    18801583  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18891592  test -z "$as_dir" && as_dir=.
    18901593  for ac_exec_ext in '' $ac_executable_extensions; do
    1891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1594  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18921595    ac_cv_prog_CC="${ac_tool_prefix}cc"
    18931596    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    18961599done
    18971600done
    1898 IFS=$as_save_IFS
    18991601
    19001602fi
     
    19021604CC=$ac_cv_prog_CC
    19031605if test -n "$CC"; then
    1904   { echo "$as_me:$LINENO: result: $CC" >&5
    1905 echo "${ECHO_T}$CC" >&6; }
    1906 else
    1907   { echo "$as_me:$LINENO: result: no" >&5
    1908 echo "${ECHO_T}no" >&6; }
    1909 fi
    1910 
    1911 
     1606  echo "$as_me:$LINENO: result: $CC" >&5
     1607echo "${ECHO_T}$CC" >&6
     1608else
     1609  echo "$as_me:$LINENO: result: no" >&5
     1610echo "${ECHO_T}no" >&6
     1611fi
     1612
     1613fi
     1614if test -z "$ac_cv_prog_CC"; then
     1615  ac_ct_CC=$CC
     1616  # Extract the first word of "cc", so it can be a program name with args.
     1617set dummy cc; ac_word=$2
     1618echo "$as_me:$LINENO: checking for $ac_word" >&5
     1619echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1620if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1621  echo $ECHO_N "(cached) $ECHO_C" >&6
     1622else
     1623  if test -n "$ac_ct_CC"; then
     1624  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1625else
     1626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1627for as_dir in $PATH
     1628do
     1629  IFS=$as_save_IFS
     1630  test -z "$as_dir" && as_dir=.
     1631  for ac_exec_ext in '' $ac_executable_extensions; do
     1632  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1633    ac_cv_prog_ac_ct_CC="cc"
     1634    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1635    break 2
    19121636  fi
     1637done
     1638done
     1639
     1640fi
     1641fi
     1642ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1643if test -n "$ac_ct_CC"; then
     1644  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1645echo "${ECHO_T}$ac_ct_CC" >&6
     1646else
     1647  echo "$as_me:$LINENO: result: no" >&5
     1648echo "${ECHO_T}no" >&6
     1649fi
     1650
     1651  CC=$ac_ct_CC
     1652else
     1653  CC="$ac_cv_prog_CC"
     1654fi
     1655
    19131656fi
    19141657if test -z "$CC"; then
    19151658  # Extract the first word of "cc", so it can be a program name with args.
    19161659set dummy cc; ac_word=$2
    1917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1660echo "$as_me:$LINENO: checking for $ac_word" >&5
     1661echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19191662if test "${ac_cv_prog_CC+set}" = set; then
    19201663  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19301673  test -z "$as_dir" && as_dir=.
    19311674  for ac_exec_ext in '' $ac_executable_extensions; do
    1932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1675  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19331676    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    19341677       ac_prog_rejected=yes
     
    19411684done
    19421685done
    1943 IFS=$as_save_IFS
    19441686
    19451687if test $ac_prog_rejected = yes; then
     
    19591701CC=$ac_cv_prog_CC
    19601702if test -n "$CC"; then
    1961   { echo "$as_me:$LINENO: result: $CC" >&5
    1962 echo "${ECHO_T}$CC" >&6; }
    1963 else
    1964   { echo "$as_me:$LINENO: result: no" >&5
    1965 echo "${ECHO_T}no" >&6; }
    1966 fi
    1967 
     1703  echo "$as_me:$LINENO: result: $CC" >&5
     1704echo "${ECHO_T}$CC" >&6
     1705else
     1706  echo "$as_me:$LINENO: result: no" >&5
     1707echo "${ECHO_T}no" >&6
     1708fi
    19681709
    19691710fi
    19701711if test -z "$CC"; then
    19711712  if test -n "$ac_tool_prefix"; then
    1972   for ac_prog in cl.exe
     1713  for ac_prog in cl
    19731714  do
    19741715    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    19751716set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1717echo "$as_me:$LINENO: checking for $ac_word" >&5
     1718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19781719if test "${ac_cv_prog_CC+set}" = set; then
    19791720  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19881729  test -z "$as_dir" && as_dir=.
    19891730  for ac_exec_ext in '' $ac_executable_extensions; do
    1990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1731  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19911732    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    19921733    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19951736done
    19961737done
    1997 IFS=$as_save_IFS
    19981738
    19991739fi
     
    20011741CC=$ac_cv_prog_CC
    20021742if test -n "$CC"; then
    2003   { echo "$as_me:$LINENO: result: $CC" >&5
    2004 echo "${ECHO_T}$CC" >&6; }
    2005 else
    2006   { echo "$as_me:$LINENO: result: no" >&5
    2007 echo "${ECHO_T}no" >&6; }
    2008 fi
    2009 
     1743  echo "$as_me:$LINENO: result: $CC" >&5
     1744echo "${ECHO_T}$CC" >&6
     1745else
     1746  echo "$as_me:$LINENO: result: no" >&5
     1747echo "${ECHO_T}no" >&6
     1748fi
    20101749
    20111750    test -n "$CC" && break
     
    20141753if test -z "$CC"; then
    20151754  ac_ct_CC=$CC
    2016   for ac_prog in cl.exe
     1755  for ac_prog in cl
    20171756do
    20181757  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20191758set dummy $ac_prog; ac_word=$2
    2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1759echo "$as_me:$LINENO: checking for $ac_word" >&5
     1760echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20221761if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    20231762  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20321771  test -z "$as_dir" && as_dir=.
    20331772  for ac_exec_ext in '' $ac_executable_extensions; do
    2034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1773  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20351774    ac_cv_prog_ac_ct_CC="$ac_prog"
    20361775    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20391778done
    20401779done
    2041 IFS=$as_save_IFS
    20421780
    20431781fi
     
    20451783ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20461784if test -n "$ac_ct_CC"; then
    2047   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2048 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2049 else
    2050   { echo "$as_me:$LINENO: result: no" >&5
    2051 echo "${ECHO_T}no" >&6; }
    2052 fi
    2053 
     1785  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1786echo "${ECHO_T}$ac_ct_CC" >&6
     1787else
     1788  echo "$as_me:$LINENO: result: no" >&5
     1789echo "${ECHO_T}no" >&6
     1790fi
    20541791
    20551792  test -n "$ac_ct_CC" && break
    20561793done
    20571794
    2058   if test "x$ac_ct_CC" = x; then
    2059     CC=""
    2060   else
    2061     case $cross_compiling:$ac_tool_warned in
    2062 yes:)
    2063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2064 whose name does not start with the host triplet.  If you think this
    2065 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2067 whose name does not start with the host triplet.  If you think this
    2068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2069 ac_tool_warned=yes ;;
    2070 esac
    2071     CC=$ac_ct_CC
    2072   fi
     1795  CC=$ac_ct_CC
    20731796fi
    20741797
     
    20831806
    20841807# Provide some information about the compiler.
    2085 echo "$as_me:$LINENO: checking for C compiler version" >&5
     1808echo "$as_me:$LINENO:" \
     1809     "checking for C compiler version" >&5
    20861810ac_compiler=`set X $ac_compile; echo $2`
    2087 { (ac_try="$ac_compiler --version >&5"
    2088 case "(($ac_try" in
    2089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2090   *) ac_try_echo=$ac_try;;
    2091 esac
    2092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2093   (eval "$ac_compiler --version >&5") 2>&5
     1811{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1812  (eval $ac_compiler --version </dev/null >&5) 2>&5
    20941813  ac_status=$?
    20951814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20961815  (exit $ac_status); }
    2097 { (ac_try="$ac_compiler -v >&5"
    2098 case "(($ac_try" in
    2099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2100   *) ac_try_echo=$ac_try;;
    2101 esac
    2102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2103   (eval "$ac_compiler -v >&5") 2>&5
     1816{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1817  (eval $ac_compiler -v </dev/null >&5) 2>&5
    21041818  ac_status=$?
    21051819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21061820  (exit $ac_status); }
    2107 { (ac_try="$ac_compiler -V >&5"
    2108 case "(($ac_try" in
    2109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2110   *) ac_try_echo=$ac_try;;
    2111 esac
    2112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2113   (eval "$ac_compiler -V >&5") 2>&5
     1821{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1822  (eval $ac_compiler -V </dev/null >&5) 2>&5
    21141823  ac_status=$?
    21151824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    21361845# It will help us diagnose broken compilers, and finding out an intuition
    21371846# of exeext.
    2138 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2139 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
     1847echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1848echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    21401849ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2141 #
    2142 # List of possible output files, starting from the most likely.
    2143 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2144 # only as a last resort.  b.out is created by i960 compilers.
    2145 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2146 #
    2147 # The IRIX 6 linker writes into existing files which may not be
    2148 # executable, retaining their permissions.  Remove them first so a
    2149 # subsequent execution test works.
    2150 ac_rmfiles=
    2151 for ac_file in $ac_files
    2152 do
    2153   case $ac_file in
    2154     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2155     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2156   esac
    2157 done
    2158 rm -f $ac_rmfiles
    2159 
    2160 if { (ac_try="$ac_link_default"
    2161 case "(($ac_try" in
    2162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2163   *) ac_try_echo=$ac_try;;
    2164 esac
    2165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2166   (eval "$ac_link_default") 2>&5
     1850if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1851  (eval $ac_link_default) 2>&5
    21671852  ac_status=$?
    21681853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21691854  (exit $ac_status); }; then
    2170   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2171 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2172 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2173 # so that the user can short-circuit this test for compilers unknown to
    2174 # Autoconf.
    2175 for ac_file in $ac_files ''
     1855  # Find the output, starting from the most likely.  This scheme is
     1856# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1857# resort.
     1858
     1859# Be careful to initialize this variable, since it used to be cached.
     1860# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1861ac_cv_exeext=
     1862# b.out is created by i960 compilers.
     1863for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    21761864do
    21771865  test -f "$ac_file" || continue
    21781866  case $ac_file in
    2179     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     1867    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1868        ;;
     1869    conftest.$ac_ext )
     1870        # This is the source file.
    21801871        ;;
    21811872    [ab].out )
     
    21841875        break;;
    21851876    *.* )
    2186         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2187         then :; else
    2188            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2189         fi
    2190         # We set ac_cv_exeext here because the later test for it is not
    2191         # safe: cross compilers may not add the suffix if given an `-o'
    2192         # argument, so we may need to know it at that point already.
    2193         # Even if this section looks crufty: it has the advantage of
    2194         # actually working.
     1877        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1878        # FIXME: I believe we export ac_cv_exeext for Libtool,
     1879        # but it would be cool to find out if it's true.  Does anybody
     1880        # maintain Libtool? --akim.
     1881        export ac_cv_exeext
    21951882        break;;
    21961883    * )
     
    21981885  esac
    21991886done
    2200 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2201 
    2202 else
    2203   ac_file=''
    2204 fi
    2205 
    2206 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2207 echo "${ECHO_T}$ac_file" >&6; }
    2208 if test -z "$ac_file"; then
     1887else
    22091888  echo "$as_me: failed program was:" >&5
    22101889sed 's/^/| /' conftest.$ac_ext >&5
     
    22181897
    22191898ac_exeext=$ac_cv_exeext
    2220 
    2221 # Check that the compiler produces executables we can run.  If not, either
     1899echo "$as_me:$LINENO: result: $ac_file" >&5
     1900echo "${ECHO_T}$ac_file" >&6
     1901
     1902# Check the compiler produces executables we can run.  If not, either
    22221903# the compiler is broken, or we cross compile.
    2223 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2224 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
     1904echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1905echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    22251906# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    22261907# If not cross compiling, check that we can run a simple program.
    22271908if test "$cross_compiling" != yes; then
    22281909  if { ac_try='./$ac_file'
    2229   { (case "(($ac_try" in
    2230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2231   *) ac_try_echo=$ac_try;;
    2232 esac
    2233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2234   (eval "$ac_try") 2>&5
     1910  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1911  (eval $ac_try) 2>&5
    22351912  ac_status=$?
    22361913  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    22511928  fi
    22521929fi
    2253 { echo "$as_me:$LINENO: result: yes" >&5
    2254 echo "${ECHO_T}yes" >&6; }
     1930echo "$as_me:$LINENO: result: yes" >&5
     1931echo "${ECHO_T}yes" >&6
    22551932
    22561933rm -f a.out a.exe conftest$ac_cv_exeext b.out
    22571934ac_clean_files=$ac_clean_files_save
    2258 # Check that the compiler produces executables we can run.  If not, either
     1935# Check the compiler produces executables we can run.  If not, either
    22591936# the compiler is broken, or we cross compile.
    2260 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2261 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2262 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2263 echo "${ECHO_T}$cross_compiling" >&6; }
    2264 
    2265 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2266 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2267 if { (ac_try="$ac_link"
    2268 case "(($ac_try" in
    2269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2270   *) ac_try_echo=$ac_try;;
    2271 esac
    2272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2273   (eval "$ac_link") 2>&5
     1937echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1938echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1939echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1940echo "${ECHO_T}$cross_compiling" >&6
     1941
     1942echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1943echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1944if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1945  (eval $ac_link) 2>&5
    22741946  ac_status=$?
    22751947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    22821954  test -f "$ac_file" || continue
    22831955  case $ac_file in
    2284     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     1956    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    22851957    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1958          export ac_cv_exeext
    22861959          break;;
    22871960    * ) break;;
     
    22971970
    22981971rm -f conftest$ac_cv_exeext
    2299 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2300 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     1972echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1973echo "${ECHO_T}$ac_cv_exeext" >&6
    23011974
    23021975rm -f conftest.$ac_ext
    23031976EXEEXT=$ac_cv_exeext
    23041977ac_exeext=$EXEEXT
    2305 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
     1978echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1979echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    23071980if test "${ac_cv_objext+set}" = set; then
    23081981  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23241997_ACEOF
    23251998rm -f conftest.o conftest.obj
    2326 if { (ac_try="$ac_compile"
    2327 case "(($ac_try" in
    2328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2329   *) ac_try_echo=$ac_try;;
    2330 esac
    2331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2332   (eval "$ac_compile") 2>&5
     1999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2000  (eval $ac_compile) 2>&5
    23332001  ac_status=$?
    23342002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23352003  (exit $ac_status); }; then
    2336   for ac_file in conftest.o conftest.obj conftest.*; do
    2337   test -f "$ac_file" || continue;
     2004  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    23382005  case $ac_file in
    2339     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     2006    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    23402007    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    23412008       break;;
     
    23552022rm -f conftest.$ac_cv_objext conftest.$ac_ext
    23562023fi
    2357 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2358 echo "${ECHO_T}$ac_cv_objext" >&6; }
     2024echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2025echo "${ECHO_T}$ac_cv_objext" >&6
    23592026OBJEXT=$ac_cv_objext
    23602027ac_objext=$OBJEXT
    2361 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2362 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
     2028echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2029echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    23632030if test "${ac_cv_c_compiler_gnu+set}" = set; then
    23642031  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23832050_ACEOF
    23842051rm -f conftest.$ac_objext
    2385 if { (ac_try="$ac_compile"
    2386 case "(($ac_try" in
    2387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2388   *) ac_try_echo=$ac_try;;
    2389 esac
    2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2391   (eval "$ac_compile") 2>conftest.er1
     2052if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2053  (eval $ac_compile) 2>conftest.er1
    23922054  ac_status=$?
    23932055  grep -v '^ *+' conftest.er1 >conftest.err
     
    23952057  cat conftest.err >&5
    23962058  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2397   (exit $ac_status); } && {
    2398          test -z "$ac_c_werror_flag" ||
    2399          test ! -s conftest.err
    2400        } && test -s conftest.$ac_objext; then
     2059  (exit $ac_status); } &&
     2060         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2061  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2062  (eval $ac_try) 2>&5
     2063  ac_status=$?
     2064  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2065  (exit $ac_status); }; } &&
     2066         { ac_try='test -s conftest.$ac_objext'
     2067  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2068  (eval $ac_try) 2>&5
     2069  ac_status=$?
     2070  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2071  (exit $ac_status); }; }; then
    24012072  ac_compiler_gnu=yes
    24022073else
     
    24042075sed 's/^/| /' conftest.$ac_ext >&5
    24052076
    2406         ac_compiler_gnu=no
    2407 fi
    2408 
    2409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2077ac_compiler_gnu=no
     2078fi
     2079rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    24102080ac_cv_c_compiler_gnu=$ac_compiler_gnu
    24112081
    24122082fi
    2413 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2414 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
     2083echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2084echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    24152085GCC=`test $ac_compiler_gnu = yes && echo yes`
    24162086ac_test_CFLAGS=${CFLAGS+set}
    24172087ac_save_CFLAGS=$CFLAGS
    2418 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2419 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
     2088CFLAGS="-g"
     2089echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2090echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    24202091if test "${ac_cv_prog_cc_g+set}" = set; then
    24212092  echo $ECHO_N "(cached) $ECHO_C" >&6
    24222093else
    2423   ac_save_c_werror_flag=$ac_c_werror_flag
    2424    ac_c_werror_flag=yes
    2425    ac_cv_prog_cc_g=no
    2426    CFLAGS="-g"
    2427    cat >conftest.$ac_ext <<_ACEOF
     2094  cat >conftest.$ac_ext <<_ACEOF
    24282095/* confdefs.h.  */
    24292096_ACEOF
     
    24412108_ACEOF
    24422109rm -f conftest.$ac_objext
    2443 if { (ac_try="$ac_compile"
    2444 case "(($ac_try" in
    2445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2446   *) ac_try_echo=$ac_try;;
    2447 esac
    2448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2449   (eval "$ac_compile") 2>conftest.er1
     2110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2111  (eval $ac_compile) 2>conftest.er1
    24502112  ac_status=$?
    24512113  grep -v '^ *+' conftest.er1 >conftest.err
     
    24532115  cat conftest.err >&5
    24542116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2455   (exit $ac_status); } && {
    2456          test -z "$ac_c_werror_flag" ||
    2457          test ! -s conftest.err
    2458        } && test -s conftest.$ac_objext; then
     2117  (exit $ac_status); } &&
     2118         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2119  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2120  (eval $ac_try) 2>&5
     2121  ac_status=$?
     2122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2123  (exit $ac_status); }; } &&
     2124         { ac_try='test -s conftest.$ac_objext'
     2125  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2126  (eval $ac_try) 2>&5
     2127  ac_status=$?
     2128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2129  (exit $ac_status); }; }; then
    24592130  ac_cv_prog_cc_g=yes
    24602131else
     
    24622133sed 's/^/| /' conftest.$ac_ext >&5
    24632134
    2464         CFLAGS=""
    2465       cat >conftest.$ac_ext <<_ACEOF
    2466 /* confdefs.h.  */
    2467 _ACEOF
    2468 cat confdefs.h >>conftest.$ac_ext
    2469 cat >>conftest.$ac_ext <<_ACEOF
    2470 /* end confdefs.h.  */
    2471 
    2472 int
    2473 main ()
    2474 {
    2475 
    2476   ;
    2477   return 0;
    2478 }
    2479 _ACEOF
    2480 rm -f conftest.$ac_objext
    2481 if { (ac_try="$ac_compile"
    2482 case "(($ac_try" in
    2483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2484   *) ac_try_echo=$ac_try;;
    2485 esac
    2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2487   (eval "$ac_compile") 2>conftest.er1
    2488   ac_status=$?
    2489   grep -v '^ *+' conftest.er1 >conftest.err
    2490   rm -f conftest.er1
    2491   cat conftest.err >&5
    2492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2493   (exit $ac_status); } && {
    2494          test -z "$ac_c_werror_flag" ||
    2495          test ! -s conftest.err
    2496        } && test -s conftest.$ac_objext; then
    2497   :
    2498 else
    2499   echo "$as_me: failed program was:" >&5
    2500 sed 's/^/| /' conftest.$ac_ext >&5
    2501 
    2502         ac_c_werror_flag=$ac_save_c_werror_flag
    2503          CFLAGS="-g"
    2504          cat >conftest.$ac_ext <<_ACEOF
    2505 /* confdefs.h.  */
    2506 _ACEOF
    2507 cat confdefs.h >>conftest.$ac_ext
    2508 cat >>conftest.$ac_ext <<_ACEOF
    2509 /* end confdefs.h.  */
    2510 
    2511 int
    2512 main ()
    2513 {
    2514 
    2515   ;
    2516   return 0;
    2517 }
    2518 _ACEOF
    2519 rm -f conftest.$ac_objext
    2520 if { (ac_try="$ac_compile"
    2521 case "(($ac_try" in
    2522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2523   *) ac_try_echo=$ac_try;;
    2524 esac
    2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2526   (eval "$ac_compile") 2>conftest.er1
    2527   ac_status=$?
    2528   grep -v '^ *+' conftest.er1 >conftest.err
    2529   rm -f conftest.er1
    2530   cat conftest.err >&5
    2531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2532   (exit $ac_status); } && {
    2533          test -z "$ac_c_werror_flag" ||
    2534          test ! -s conftest.err
    2535        } && test -s conftest.$ac_objext; then
    2536   ac_cv_prog_cc_g=yes
    2537 else
    2538   echo "$as_me: failed program was:" >&5
    2539 sed 's/^/| /' conftest.$ac_ext >&5
    2540 
    2541 
    2542 fi
    2543 
    2544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2545 fi
    2546 
    2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2548 fi
    2549 
    2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2551    ac_c_werror_flag=$ac_save_c_werror_flag
    2552 fi
    2553 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2554 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     2135ac_cv_prog_cc_g=no
     2136fi
     2137rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2138fi
     2139echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2140echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    25552141if test "$ac_test_CFLAGS" = set; then
    25562142  CFLAGS=$ac_save_CFLAGS
     
    25682154  fi
    25692155fi
    2570 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2571 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2572 if test "${ac_cv_prog_cc_c89+set}" = set; then
     2156echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2157echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2158if test "${ac_cv_prog_cc_stdc+set}" = set; then
    25732159  echo $ECHO_N "(cached) $ECHO_C" >&6
    25742160else
    2575   ac_cv_prog_cc_c89=no
     2161  ac_cv_prog_cc_stdc=no
    25762162ac_save_CC=$CC
    25772163cat >conftest.$ac_ext <<_ACEOF
     
    26072193   function prototypes and stuff, but not '\xHH' hex character constants.
    26082194   These don't provoke an error unfortunately, instead are silently treated
    2609    as 'x'.  The following induces an error, until -std is added to get
     2195   as 'x'.  The following induces an error, until -std1 is added to get
    26102196   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    26112197   array size at least.  It's necessary to write '\x00'==0 to get something
    2612    that's true only with -std.  */
     2198   that's true only with -std1.  */
    26132199int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2614 
    2615 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    2616    inside strings and character constants.  */
    2617 #define FOO(x) 'x'
    2618 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    26192200
    26202201int test (int i, double x);
     
    26322213}
    26332214_ACEOF
    2634 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    2635         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2215# Don't try gcc -ansi; that turns off useful extensions and
     2216# breaks some systems' header files.
     2217# AIX                   -qlanglvl=ansi
     2218# Ultrix and OSF/1      -std1
     2219# HP-UX 10.20 and later -Ae
     2220# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2221# SVR4                  -Xc -D__EXTENSIONS__
     2222for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    26362223do
    26372224  CC="$ac_save_CC $ac_arg"
    26382225  rm -f conftest.$ac_objext
    2639 if { (ac_try="$ac_compile"
    2640 case "(($ac_try" in
    2641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2642   *) ac_try_echo=$ac_try;;
    2643 esac
    2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2645   (eval "$ac_compile") 2>conftest.er1
     2226if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2227  (eval $ac_compile) 2>conftest.er1
    26462228  ac_status=$?
    26472229  grep -v '^ *+' conftest.er1 >conftest.err
     
    26492231  cat conftest.err >&5
    26502232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2651   (exit $ac_status); } && {
    2652          test -z "$ac_c_werror_flag" ||
    2653          test ! -s conftest.err
    2654        } && test -s conftest.$ac_objext; then
    2655   ac_cv_prog_cc_c89=$ac_arg
     2233  (exit $ac_status); } &&
     2234         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2236  (eval $ac_try) 2>&5
     2237  ac_status=$?
     2238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2239  (exit $ac_status); }; } &&
     2240         { ac_try='test -s conftest.$ac_objext'
     2241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2242  (eval $ac_try) 2>&5
     2243  ac_status=$?
     2244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2245  (exit $ac_status); }; }; then
     2246  ac_cv_prog_cc_stdc=$ac_arg
     2247break
    26562248else
    26572249  echo "$as_me: failed program was:" >&5
    26582250sed 's/^/| /' conftest.$ac_ext >&5
    26592251
    2660 
    2661 fi
    2662 
    2663 rm -f core conftest.err conftest.$ac_objext
    2664   test "x$ac_cv_prog_cc_c89" != "xno" && break
    2665 done
    2666 rm -f conftest.$ac_ext
     2252fi
     2253rm -f conftest.err conftest.$ac_objext
     2254done
     2255rm -f conftest.$ac_ext conftest.$ac_objext
    26672256CC=$ac_save_CC
    26682257
    26692258fi
    2670 # AC_CACHE_VAL
    2671 case "x$ac_cv_prog_cc_c89" in
    2672   x)
    2673     { echo "$as_me:$LINENO: result: none needed" >&5
    2674 echo "${ECHO_T}none needed" >&6; } ;;
    2675   xno)
    2676     { echo "$as_me:$LINENO: result: unsupported" >&5
    2677 echo "${ECHO_T}unsupported" >&6; } ;;
     2259
     2260case "x$ac_cv_prog_cc_stdc" in
     2261  x|xno)
     2262    echo "$as_me:$LINENO: result: none needed" >&5
     2263echo "${ECHO_T}none needed" >&6 ;;
    26782264  *)
    2679     CC="$CC $ac_cv_prog_cc_c89"
    2680     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2681 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2265    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2266echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2267    CC="$CC $ac_cv_prog_cc_stdc" ;;
    26822268esac
    26832269
    2684 
     2270# Some people use a C++ compiler to compile C.  Since we use `exit',
     2271# in C++ we need to declare it.  In case someone uses the same compiler
     2272# for both compiling C and C++ we need to have the C++ compiler decide
     2273# the declaration of exit, since it's the most demanding environment.
     2274cat >conftest.$ac_ext <<_ACEOF
     2275#ifndef __cplusplus
     2276  choke me
     2277#endif
     2278_ACEOF
     2279rm -f conftest.$ac_objext
     2280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2281  (eval $ac_compile) 2>conftest.er1
     2282  ac_status=$?
     2283  grep -v '^ *+' conftest.er1 >conftest.err
     2284  rm -f conftest.er1
     2285  cat conftest.err >&5
     2286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2287  (exit $ac_status); } &&
     2288         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2289  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2290  (eval $ac_try) 2>&5
     2291  ac_status=$?
     2292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2293  (exit $ac_status); }; } &&
     2294         { ac_try='test -s conftest.$ac_objext'
     2295  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2296  (eval $ac_try) 2>&5
     2297  ac_status=$?
     2298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2299  (exit $ac_status); }; }; then
     2300  for ac_declaration in \
     2301   '' \
     2302   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2303   'extern "C" void std::exit (int); using std::exit;' \
     2304   'extern "C" void exit (int) throw ();' \
     2305   'extern "C" void exit (int);' \
     2306   'void exit (int);'
     2307do
     2308  cat >conftest.$ac_ext <<_ACEOF
     2309/* confdefs.h.  */
     2310_ACEOF
     2311cat confdefs.h >>conftest.$ac_ext
     2312cat >>conftest.$ac_ext <<_ACEOF
     2313/* end confdefs.h.  */
     2314$ac_declaration
     2315#include <stdlib.h>
     2316int
     2317main ()
     2318{
     2319exit (42);
     2320  ;
     2321  return 0;
     2322}
     2323_ACEOF
     2324rm -f conftest.$ac_objext
     2325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2326  (eval $ac_compile) 2>conftest.er1
     2327  ac_status=$?
     2328  grep -v '^ *+' conftest.er1 >conftest.err
     2329  rm -f conftest.er1
     2330  cat conftest.err >&5
     2331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2332  (exit $ac_status); } &&
     2333         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2334  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2335  (eval $ac_try) 2>&5
     2336  ac_status=$?
     2337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2338  (exit $ac_status); }; } &&
     2339         { ac_try='test -s conftest.$ac_objext'
     2340  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2341  (eval $ac_try) 2>&5
     2342  ac_status=$?
     2343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2344  (exit $ac_status); }; }; then
     2345  :
     2346else
     2347  echo "$as_me: failed program was:" >&5
     2348sed 's/^/| /' conftest.$ac_ext >&5
     2349
     2350continue
     2351fi
     2352rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2353  cat >conftest.$ac_ext <<_ACEOF
     2354/* confdefs.h.  */
     2355_ACEOF
     2356cat confdefs.h >>conftest.$ac_ext
     2357cat >>conftest.$ac_ext <<_ACEOF
     2358/* end confdefs.h.  */
     2359$ac_declaration
     2360int
     2361main ()
     2362{
     2363exit (42);
     2364  ;
     2365  return 0;
     2366}
     2367_ACEOF
     2368rm -f conftest.$ac_objext
     2369if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2370  (eval $ac_compile) 2>conftest.er1
     2371  ac_status=$?
     2372  grep -v '^ *+' conftest.er1 >conftest.err
     2373  rm -f conftest.er1
     2374  cat conftest.err >&5
     2375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2376  (exit $ac_status); } &&
     2377         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2378  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2379  (eval $ac_try) 2>&5
     2380  ac_status=$?
     2381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2382  (exit $ac_status); }; } &&
     2383         { ac_try='test -s conftest.$ac_objext'
     2384  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2385  (eval $ac_try) 2>&5
     2386  ac_status=$?
     2387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2388  (exit $ac_status); }; }; then
     2389  break
     2390else
     2391  echo "$as_me: failed program was:" >&5
     2392sed 's/^/| /' conftest.$ac_ext >&5
     2393
     2394fi
     2395rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2396done
     2397rm -f conftest*
     2398if test -n "$ac_declaration"; then
     2399  echo '#ifdef __cplusplus' >>confdefs.h
     2400  echo $ac_declaration      >>confdefs.h
     2401  echo '#endif'             >>confdefs.h
     2402fi
     2403
     2404else
     2405  echo "$as_me: failed program was:" >&5
     2406sed 's/^/| /' conftest.$ac_ext >&5
     2407
     2408fi
     2409rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    26852410ac_ext=c
    26862411ac_cpp='$CPP $CPPFLAGS'
     
    27022427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    27032428ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2704 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2705 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     2429echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     2430echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    27062431# On Suns, sometimes $CPP names a directory.
    27072432if test -n "$CPP" && test -d "$CPP"; then
     
    27372462                     Syntax error
    27382463_ACEOF
    2739 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2740 case "(($ac_try" in
    2741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2742   *) ac_try_echo=$ac_try;;
    2743 esac
    2744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2745   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2464if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2465  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    27462466  ac_status=$?
    27472467  grep -v '^ *+' conftest.er1 >conftest.err
     
    27492469  cat conftest.err >&5
    27502470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2751   (exit $ac_status); } >/dev/null && {
    2752          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2753          test ! -s conftest.err
    2754        }; then
     2471  (exit $ac_status); } >/dev/null; then
     2472  if test -s conftest.err; then
     2473    ac_cpp_err=$ac_c_preproc_warn_flag
     2474    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     2475  else
     2476    ac_cpp_err=
     2477  fi
     2478else
     2479  ac_cpp_err=yes
     2480fi
     2481if test -z "$ac_cpp_err"; then
    27552482  :
    27562483else
     
    27612488continue
    27622489fi
    2763 
    27642490rm -f conftest.err conftest.$ac_ext
    27652491
    2766   # OK, works on sane cases.  Now check whether nonexistent headers
     2492  # OK, works on sane cases.  Now check whether non-existent headers
    27672493  # can be detected and how.
    27682494  cat >conftest.$ac_ext <<_ACEOF
     
    27742500#include <ac_nonexistent.h>
    27752501_ACEOF
    2776 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2777 case "(($ac_try" in
    2778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2779   *) ac_try_echo=$ac_try;;
    2780 esac
    2781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2782   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2502if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2503  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    27832504  ac_status=$?
    27842505  grep -v '^ *+' conftest.er1 >conftest.err
     
    27862507  cat conftest.err >&5
    27872508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2788   (exit $ac_status); } >/dev/null && {
    2789          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2790          test ! -s conftest.err
    2791        }; then
     2509  (exit $ac_status); } >/dev/null; then
     2510  if test -s conftest.err; then
     2511    ac_cpp_err=$ac_c_preproc_warn_flag
     2512    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     2513  else
     2514    ac_cpp_err=
     2515  fi
     2516else
     2517  ac_cpp_err=yes
     2518fi
     2519if test -z "$ac_cpp_err"; then
    27922520  # Broken: success on invalid input.
    27932521continue
     
    28002528break
    28012529fi
    2802 
    28032530rm -f conftest.err conftest.$ac_ext
    28042531
     
    28182545  ac_cv_prog_CPP=$CPP
    28192546fi
    2820 { echo "$as_me:$LINENO: result: $CPP" >&5
    2821 echo "${ECHO_T}$CPP" >&6; }
     2547echo "$as_me:$LINENO: result: $CPP" >&5
     2548echo "${ECHO_T}$CPP" >&6
    28222549ac_preproc_ok=false
    28232550for ac_c_preproc_warn_flag in '' yes
     
    28422569                     Syntax error
    28432570_ACEOF
    2844 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2845 case "(($ac_try" in
    2846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2847   *) ac_try_echo=$ac_try;;
    2848 esac
    2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2850   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2571if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2572  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    28512573  ac_status=$?
    28522574  grep -v '^ *+' conftest.er1 >conftest.err
     
    28542576  cat conftest.err >&5
    28552577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2856   (exit $ac_status); } >/dev/null && {
    2857          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2858          test ! -s conftest.err
    2859        }; then
     2578  (exit $ac_status); } >/dev/null; then
     2579  if test -s conftest.err; then
     2580    ac_cpp_err=$ac_c_preproc_warn_flag
     2581    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     2582  else
     2583    ac_cpp_err=
     2584  fi
     2585else
     2586  ac_cpp_err=yes
     2587fi
     2588if test -z "$ac_cpp_err"; then
    28602589  :
    28612590else
     
    28662595continue
    28672596fi
    2868 
    28692597rm -f conftest.err conftest.$ac_ext
    28702598
    2871   # OK, works on sane cases.  Now check whether nonexistent headers
     2599  # OK, works on sane cases.  Now check whether non-existent headers
    28722600  # can be detected and how.
    28732601  cat >conftest.$ac_ext <<_ACEOF
     
    28792607#include <ac_nonexistent.h>
    28802608_ACEOF
    2881 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2882 case "(($ac_try" in
    2883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2884   *) ac_try_echo=$ac_try;;
    2885 esac
    2886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2887   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2609if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2610  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    28882611  ac_status=$?
    28892612  grep -v '^ *+' conftest.er1 >conftest.err
     
    28912614  cat conftest.err >&5
    28922615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2893   (exit $ac_status); } >/dev/null && {
    2894          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2895          test ! -s conftest.err
    2896        }; then
     2616  (exit $ac_status); } >/dev/null; then
     2617  if test -s conftest.err; then
     2618    ac_cpp_err=$ac_c_preproc_warn_flag
     2619    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     2620  else
     2621    ac_cpp_err=
     2622  fi
     2623else
     2624  ac_cpp_err=yes
     2625fi
     2626if test -z "$ac_cpp_err"; then
    28972627  # Broken: success on invalid input.
    28982628continue
     
    29052635break
    29062636fi
    2907 
    29082637rm -f conftest.err conftest.$ac_ext
    29092638
     
    29282657
    29292658
    2930 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    2931 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    2932 if test "${ac_cv_path_GREP+set}" = set; then
     2659echo "$as_me:$LINENO: checking for egrep" >&5
     2660echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     2661if test "${ac_cv_prog_egrep+set}" = set; then
    29332662  echo $ECHO_N "(cached) $ECHO_C" >&6
    29342663else
    2935   # Extract the first word of "grep ggrep" to use in msg output
    2936 if test -z "$GREP"; then
    2937 set dummy grep ggrep; ac_prog_name=$2
    2938 if test "${ac_cv_path_GREP+set}" = set; then
    2939   echo $ECHO_N "(cached) $ECHO_C" >&6
    2940 else
    2941   ac_path_GREP_found=false
    2942 # Loop through the user's path and test for each of PROGNAME-LIST
    2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2944 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    2945 do
    2946   IFS=$as_save_IFS
    2947   test -z "$as_dir" && as_dir=.
    2948   for ac_prog in grep ggrep; do
    2949   for ac_exec_ext in '' $ac_executable_extensions; do
    2950     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    2951     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    2952     # Check for GNU ac_path_GREP and select it if it is found.
    2953   # Check for GNU $ac_path_GREP
    2954 case `"$ac_path_GREP" --version 2>&1` in
    2955 *GNU*)
    2956   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    2957 *)
    2958   ac_count=0
    2959   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    2960   while :
    2961   do
    2962     cat "conftest.in" "conftest.in" >"conftest.tmp"
    2963     mv "conftest.tmp" "conftest.in"
    2964     cp "conftest.in" "conftest.nl"
    2965     echo 'GREP' >> "conftest.nl"
    2966     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    2967     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    2968     ac_count=`expr $ac_count + 1`
    2969     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    2970       # Best one so far, save it but keep looking for a better one
    2971       ac_cv_path_GREP="$ac_path_GREP"
    2972       ac_path_GREP_max=$ac_count
     2664  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     2665    then ac_cv_prog_egrep='grep -E'
     2666    else ac_cv_prog_egrep='egrep'
    29732667    fi
    2974     # 10*(2^10) chars as input seems more than enough
    2975     test $ac_count -gt 10 && break
    2976   done
    2977   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    2978 esac
    2979 
    2980 
    2981     $ac_path_GREP_found && break 3
    2982   done
    2983 done
    2984 
    2985 done
    2986 IFS=$as_save_IFS
    2987 
    2988 
    2989 fi
    2990 
    2991 GREP="$ac_cv_path_GREP"
    2992 if test -z "$GREP"; then
    2993   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    2994 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    2995    { (exit 1); exit 1; }; }
    2996 fi
    2997 
    2998 else
    2999   ac_cv_path_GREP=$GREP
    3000 fi
    3001 
    3002 
    3003 fi
    3004 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    3005 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
    3006  GREP="$ac_cv_path_GREP"
    3007 
    3008 
    3009 { echo "$as_me:$LINENO: checking for egrep" >&5
    3010 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    3011 if test "${ac_cv_path_EGREP+set}" = set; then
    3012   echo $ECHO_N "(cached) $ECHO_C" >&6
    3013 else
    3014   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    3015    then ac_cv_path_EGREP="$GREP -E"
    3016    else
    3017      # Extract the first word of "egrep" to use in msg output
    3018 if test -z "$EGREP"; then
    3019 set dummy egrep; ac_prog_name=$2
    3020 if test "${ac_cv_path_EGREP+set}" = set; then
    3021   echo $ECHO_N "(cached) $ECHO_C" >&6
    3022 else
    3023   ac_path_EGREP_found=false
    3024 # Loop through the user's path and test for each of PROGNAME-LIST
    3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3027 do
    3028   IFS=$as_save_IFS
    3029   test -z "$as_dir" && as_dir=.
    3030   for ac_prog in egrep; do
    3031   for ac_exec_ext in '' $ac_executable_extensions; do
    3032     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3033     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    3034     # Check for GNU ac_path_EGREP and select it if it is found.
    3035   # Check for GNU $ac_path_EGREP
    3036 case `"$ac_path_EGREP" --version 2>&1` in
    3037 *GNU*)
    3038   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    3039 *)
    3040   ac_count=0
    3041   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    3042   while :
    3043   do
    3044     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3045     mv "conftest.tmp" "conftest.in"
    3046     cp "conftest.in" "conftest.nl"
    3047     echo 'EGREP' >> "conftest.nl"
    3048     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3049     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3050     ac_count=`expr $ac_count + 1`
    3051     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    3052       # Best one so far, save it but keep looking for a better one
    3053       ac_cv_path_EGREP="$ac_path_EGREP"
    3054       ac_path_EGREP_max=$ac_count
    3055     fi
    3056     # 10*(2^10) chars as input seems more than enough
    3057     test $ac_count -gt 10 && break
    3058   done
    3059   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3060 esac
    3061 
    3062 
    3063     $ac_path_EGREP_found && break 3
    3064   done
    3065 done
    3066 
    3067 done
    3068 IFS=$as_save_IFS
    3069 
    3070 
    3071 fi
    3072 
    3073 EGREP="$ac_cv_path_EGREP"
    3074 if test -z "$EGREP"; then
    3075   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3076 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3077    { (exit 1); exit 1; }; }
    3078 fi
    3079 
    3080 else
    3081   ac_cv_path_EGREP=$EGREP
    3082 fi
    3083 
    3084 
    3085    fi
    3086 fi
    3087 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    3088 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
    3089  EGREP="$ac_cv_path_EGREP"
    3090 
    3091 
    3092 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3093 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     2668fi
     2669echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     2670echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     2671 EGREP=$ac_cv_prog_egrep
     2672
     2673
     2674echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     2675echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    30942676if test "${ac_cv_header_stdc+set}" = set; then
    30952677  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31152697_ACEOF
    31162698rm -f conftest.$ac_objext
    3117 if { (ac_try="$ac_compile"
    3118 case "(($ac_try" in
    3119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3120   *) ac_try_echo=$ac_try;;
    3121 esac
    3122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3123   (eval "$ac_compile") 2>conftest.er1
     2699if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2700  (eval $ac_compile) 2>conftest.er1
    31242701  ac_status=$?
    31252702  grep -v '^ *+' conftest.er1 >conftest.err
     
    31272704  cat conftest.err >&5
    31282705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3129   (exit $ac_status); } && {
    3130          test -z "$ac_c_werror_flag" ||
    3131          test ! -s conftest.err
    3132        } && test -s conftest.$ac_objext; then
     2706  (exit $ac_status); } &&
     2707         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2708  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2709  (eval $ac_try) 2>&5
     2710  ac_status=$?
     2711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2712  (exit $ac_status); }; } &&
     2713         { ac_try='test -s conftest.$ac_objext'
     2714  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2715  (eval $ac_try) 2>&5
     2716  ac_status=$?
     2717  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2718  (exit $ac_status); }; }; then
    31332719  ac_cv_header_stdc=yes
    31342720else
     
    31362722sed 's/^/| /' conftest.$ac_ext >&5
    31372723
    3138         ac_cv_header_stdc=no
    3139 fi
    3140 
    3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2724ac_cv_header_stdc=no
     2725fi
     2726rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    31422727
    31432728if test $ac_cv_header_stdc = yes; then
     
    31952780/* end confdefs.h.  */
    31962781#include <ctype.h>
    3197 #include <stdlib.h>
    31982782#if ((' ' & 0x0FF) == 0x020)
    31992783# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    32152799    if (XOR (islower (i), ISLOWER (i))
    32162800        || toupper (i) != TOUPPER (i))
    3217       return 2;
    3218   return 0;
     2801      exit(2);
     2802  exit (0);
    32192803}
    32202804_ACEOF
    32212805rm -f conftest$ac_exeext
    3222 if { (ac_try="$ac_link"
    3223 case "(($ac_try" in
    3224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3225   *) ac_try_echo=$ac_try;;
    3226 esac
    3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3228   (eval "$ac_link") 2>&5
     2806if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2807  (eval $ac_link) 2>&5
    32292808  ac_status=$?
    32302809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32312810  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3232   { (case "(($ac_try" in
    3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3234   *) ac_try_echo=$ac_try;;
    3235 esac
    3236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3237   (eval "$ac_try") 2>&5
     2811  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2812  (eval $ac_try) 2>&5
    32382813  ac_status=$?
    32392814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    32482823ac_cv_header_stdc=no
    32492824fi
    3250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3251 fi
    3252 
    3253 
    3254 fi
    3255 fi
    3256 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3257 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     2825rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     2826fi
     2827fi
     2828fi
     2829echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     2830echo "${ECHO_T}$ac_cv_header_stdc" >&6
    32582831if test $ac_cv_header_stdc = yes; then
    32592832
     
    32642837fi
    32652838
    3266 { echo "$as_me:$LINENO: checking for atol" >&5
    3267 echo $ECHO_N "checking for atol... $ECHO_C" >&6; }
     2839echo "$as_me:$LINENO: checking for atol" >&5
     2840echo $ECHO_N "checking for atol... $ECHO_C" >&6
    32682841if test "${ac_cv_func_atol+set}" = set; then
    32692842  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    32922865#undef atol
    32932866
    3294 /* Override any GCC internal prototype to avoid an error.
    3295    Use char because int might match the return type of a GCC
    3296    builtin and then its argument prototype would still apply.  */
     2867/* Override any gcc2 internal prototype to avoid an error.  */
    32972868#ifdef __cplusplus
    32982869extern "C"
     2870{
    32992871#endif
     2872/* We use char because int might match the return type of a gcc2
     2873   builtin and then its argument prototype would still apply.  */
    33002874char atol ();
    33012875/* The GNU C library defines this for functions which it implements
    33022876    to always fail with ENOSYS.  Some functions are actually named
    33032877    something starting with __ and the normal name is an alias.  */
    3304 #if defined __stub_atol || defined __stub___atol
     2878#if defined (__stub_atol) || defined (__stub___atol)
    33052879choke me
     2880#else
     2881char (*f) () = atol;
     2882#endif
     2883#ifdef __cplusplus
     2884}
    33062885#endif
    33072886
     
    33092888main ()
    33102889{
    3311 return atol ();
     2890return f != atol;
    33122891  ;
    33132892  return 0;
     
    33152894_ACEOF
    33162895rm -f conftest.$ac_objext conftest$ac_exeext
    3317 if { (ac_try="$ac_link"
    3318 case "(($ac_try" in
    3319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3320   *) ac_try_echo=$ac_try;;
    3321 esac
    3322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3323   (eval "$ac_link") 2>conftest.er1
     2896if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2897  (eval $ac_link) 2>conftest.er1
    33242898  ac_status=$?
    33252899  grep -v '^ *+' conftest.er1 >conftest.err
     
    33272901  cat conftest.err >&5
    33282902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3329   (exit $ac_status); } && {
    3330          test -z "$ac_c_werror_flag" ||
    3331          test ! -s conftest.err
    3332        } && test -s conftest$ac_exeext &&
    3333        $as_test_x conftest$ac_exeext; then
     2903  (exit $ac_status); } &&
     2904         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2905  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2906  (eval $ac_try) 2>&5
     2907  ac_status=$?
     2908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2909  (exit $ac_status); }; } &&
     2910         { ac_try='test -s conftest$ac_exeext'
     2911  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2912  (eval $ac_try) 2>&5
     2913  ac_status=$?
     2914  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2915  (exit $ac_status); }; }; then
    33342916  ac_cv_func_atol=yes
    33352917else
     
    33372919sed 's/^/| /' conftest.$ac_ext >&5
    33382920
    3339         ac_cv_func_atol=no
    3340 fi
    3341 
    3342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     2921ac_cv_func_atol=no
     2922fi
     2923rm -f conftest.err conftest.$ac_objext \
    33432924      conftest$ac_exeext conftest.$ac_ext
    33442925fi
    3345 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    3346 echo "${ECHO_T}$ac_cv_func_atol" >&6; }
     2926echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
     2927echo "${ECHO_T}$ac_cv_func_atol" >&6
    33472928if test $ac_cv_func_atol = yes; then
    33482929  :
     
    33542935
    33552936
    3356 ac_ext=cpp
     2937ac_ext=cc
    33572938ac_cpp='$CXXCPP $CPPFLAGS'
    33582939ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    33592940ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    33602941ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3361 if test -z "$CXX"; then
    3362   if test -n "$CCC"; then
    3363     CXX=$CCC
    3364   else
    3365     if test -n "$ac_tool_prefix"; then
    3366   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2942if test -n "$ac_tool_prefix"; then
     2943  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    33672944  do
    33682945    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33692946set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2947echo "$as_me:$LINENO: checking for $ac_word" >&5
     2948echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    33722949if test "${ac_cv_prog_CXX+set}" = set; then
    33732950  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    33822959  test -z "$as_dir" && as_dir=.
    33832960  for ac_exec_ext in '' $ac_executable_extensions; do
    3384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2961  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33852962    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    33862963    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    33892966done
    33902967done
    3391 IFS=$as_save_IFS
    33922968
    33932969fi
     
    33952971CXX=$ac_cv_prog_CXX
    33962972if test -n "$CXX"; then
    3397   { echo "$as_me:$LINENO: result: $CXX" >&5
    3398 echo "${ECHO_T}$CXX" >&6; }
    3399 else
    3400   { echo "$as_me:$LINENO: result: no" >&5
    3401 echo "${ECHO_T}no" >&6; }
    3402 fi
    3403 
     2973  echo "$as_me:$LINENO: result: $CXX" >&5
     2974echo "${ECHO_T}$CXX" >&6
     2975else
     2976  echo "$as_me:$LINENO: result: no" >&5
     2977echo "${ECHO_T}no" >&6
     2978fi
    34042979
    34052980    test -n "$CXX" && break
     
    34082983if test -z "$CXX"; then
    34092984  ac_ct_CXX=$CXX
    3410   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2985  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    34112986do
    34122987  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34132988set dummy $ac_prog; ac_word=$2
    3414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2989echo "$as_me:$LINENO: checking for $ac_word" >&5
     2990echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    34162991if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    34172992  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    34263001  test -z "$as_dir" && as_dir=.
    34273002  for ac_exec_ext in '' $ac_executable_extensions; do
    3428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3003  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34293004    ac_cv_prog_ac_ct_CXX="$ac_prog"
    34303005    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    34333008done
    34343009done
    3435 IFS=$as_save_IFS
    34363010
    34373011fi
     
    34393013ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34403014if test -n "$ac_ct_CXX"; then
    3441   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3442 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    3443 else
    3444   { echo "$as_me:$LINENO: result: no" >&5
    3445 echo "${ECHO_T}no" >&6; }
    3446 fi
    3447 
     3015  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3016echo "${ECHO_T}$ac_ct_CXX" >&6
     3017else
     3018  echo "$as_me:$LINENO: result: no" >&5
     3019echo "${ECHO_T}no" >&6
     3020fi
    34483021
    34493022  test -n "$ac_ct_CXX" && break
    34503023done
    3451 
    3452   if test "x$ac_ct_CXX" = x; then
    3453     CXX="g++"
    3454   else
    3455     case $cross_compiling:$ac_tool_warned in
    3456 yes:)
    3457 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3458 whose name does not start with the host triplet.  If you think this
    3459 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3460 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3461 whose name does not start with the host triplet.  If you think this
    3462 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    3463 ac_tool_warned=yes ;;
    3464 esac
    3465     CXX=$ac_ct_CXX
    3466   fi
    3467 fi
    3468 
    3469   fi
    3470 fi
     3024test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     3025
     3026  CXX=$ac_ct_CXX
     3027fi
     3028
     3029
    34713030# Provide some information about the compiler.
    3472 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3031echo "$as_me:$LINENO:" \
     3032     "checking for C++ compiler version" >&5
    34733033ac_compiler=`set X $ac_compile; echo $2`
    3474 { (ac_try="$ac_compiler --version >&5"
    3475 case "(($ac_try" in
    3476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3477   *) ac_try_echo=$ac_try;;
    3478 esac
    3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3480   (eval "$ac_compiler --version >&5") 2>&5
     3034{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     3035  (eval $ac_compiler --version </dev/null >&5) 2>&5
    34813036  ac_status=$?
    34823037  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34833038  (exit $ac_status); }
    3484 { (ac_try="$ac_compiler -v >&5"
    3485 case "(($ac_try" in
    3486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3487   *) ac_try_echo=$ac_try;;
    3488 esac
    3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3490   (eval "$ac_compiler -v >&5") 2>&5
     3039{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     3040  (eval $ac_compiler -v </dev/null >&5) 2>&5
    34913041  ac_status=$?
    34923042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34933043  (exit $ac_status); }
    3494 { (ac_try="$ac_compiler -V >&5"
    3495 case "(($ac_try" in
    3496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3497   *) ac_try_echo=$ac_try;;
    3498 esac
    3499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3500   (eval "$ac_compiler -V >&5") 2>&5
     3044{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     3045  (eval $ac_compiler -V </dev/null >&5) 2>&5
    35013046  ac_status=$?
    35023047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    35033048  (exit $ac_status); }
    35043049
    3505 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3506 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
     3050echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3051echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    35073052if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    35083053  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35273072_ACEOF
    35283073rm -f conftest.$ac_objext
    3529 if { (ac_try="$ac_compile"
    3530 case "(($ac_try" in
    3531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3532   *) ac_try_echo=$ac_try;;
    3533 esac
    3534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3535   (eval "$ac_compile") 2>conftest.er1
     3074if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3075  (eval $ac_compile) 2>conftest.er1
    35363076  ac_status=$?
    35373077  grep -v '^ *+' conftest.er1 >conftest.err
     
    35393079  cat conftest.err >&5
    35403080  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3541   (exit $ac_status); } && {
    3542          test -z "$ac_cxx_werror_flag" ||
    3543          test ! -s conftest.err
    3544        } && test -s conftest.$ac_objext; then
     3081  (exit $ac_status); } &&
     3082         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3083  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3084  (eval $ac_try) 2>&5
     3085  ac_status=$?
     3086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3087  (exit $ac_status); }; } &&
     3088         { ac_try='test -s conftest.$ac_objext'
     3089  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3090  (eval $ac_try) 2>&5
     3091  ac_status=$?
     3092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3093  (exit $ac_status); }; }; then
    35453094  ac_compiler_gnu=yes
    35463095else
     
    35483097sed 's/^/| /' conftest.$ac_ext >&5
    35493098
    3550         ac_compiler_gnu=no
    3551 fi
    3552 
    3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3099ac_compiler_gnu=no
     3100fi
     3101rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    35543102ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35553103
    35563104fi
    3557 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3558 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
     3105echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3106echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    35593107GXX=`test $ac_compiler_gnu = yes && echo yes`
    35603108ac_test_CXXFLAGS=${CXXFLAGS+set}
    35613109ac_save_CXXFLAGS=$CXXFLAGS
    3562 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3563 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
     3110CXXFLAGS="-g"
     3111echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3112echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    35643113if test "${ac_cv_prog_cxx_g+set}" = set; then
    35653114  echo $ECHO_N "(cached) $ECHO_C" >&6
    35663115else
    3567   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3568    ac_cxx_werror_flag=yes
    3569    ac_cv_prog_cxx_g=no
    3570    CXXFLAGS="-g"
    3571    cat >conftest.$ac_ext <<_ACEOF
     3116  cat >conftest.$ac_ext <<_ACEOF
    35723117/* confdefs.h.  */
    35733118_ACEOF
     
    35853130_ACEOF
    35863131rm -f conftest.$ac_objext
    3587 if { (ac_try="$ac_compile"
    3588 case "(($ac_try" in
    3589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3590   *) ac_try_echo=$ac_try;;
    3591 esac
    3592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3593   (eval "$ac_compile") 2>conftest.er1
     3132if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3133  (eval $ac_compile) 2>conftest.er1
    35943134  ac_status=$?
    35953135  grep -v '^ *+' conftest.er1 >conftest.err
     
    35973137  cat conftest.err >&5
    35983138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3599   (exit $ac_status); } && {
    3600          test -z "$ac_cxx_werror_flag" ||
    3601          test ! -s conftest.err
    3602        } && test -s conftest.$ac_objext; then
     3139  (exit $ac_status); } &&
     3140         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3142  (eval $ac_try) 2>&5
     3143  ac_status=$?
     3144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3145  (exit $ac_status); }; } &&
     3146         { ac_try='test -s conftest.$ac_objext'
     3147  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3148  (eval $ac_try) 2>&5
     3149  ac_status=$?
     3150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3151  (exit $ac_status); }; }; then
    36033152  ac_cv_prog_cxx_g=yes
    36043153else
     
    36063155sed 's/^/| /' conftest.$ac_ext >&5
    36073156
    3608         CXXFLAGS=""
    3609       cat >conftest.$ac_ext <<_ACEOF
    3610 /* confdefs.h.  */
    3611 _ACEOF
    3612 cat confdefs.h >>conftest.$ac_ext
    3613 cat >>conftest.$ac_ext <<_ACEOF
    3614 /* end confdefs.h.  */
    3615 
    3616 int
    3617 main ()
    3618 {
    3619 
    3620   ;
    3621   return 0;
    3622 }
    3623 _ACEOF
    3624 rm -f conftest.$ac_objext
    3625 if { (ac_try="$ac_compile"
    3626 case "(($ac_try" in
    3627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3628   *) ac_try_echo=$ac_try;;
    3629 esac
    3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3631   (eval "$ac_compile") 2>conftest.er1
    3632   ac_status=$?
    3633   grep -v '^ *+' conftest.er1 >conftest.err
    3634   rm -f conftest.er1
    3635   cat conftest.err >&5
    3636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3637   (exit $ac_status); } && {
    3638          test -z "$ac_cxx_werror_flag" ||
    3639          test ! -s conftest.err
    3640        } && test -s conftest.$ac_objext; then
    3641   :
    3642 else
    3643   echo "$as_me: failed program was:" >&5
    3644 sed 's/^/| /' conftest.$ac_ext >&5
    3645 
    3646         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3647          CXXFLAGS="-g"
    3648          cat >conftest.$ac_ext <<_ACEOF
    3649 /* confdefs.h.  */
    3650 _ACEOF
    3651 cat confdefs.h >>conftest.$ac_ext
    3652 cat >>conftest.$ac_ext <<_ACEOF
    3653 /* end confdefs.h.  */
    3654 
    3655 int
    3656 main ()
    3657 {
    3658 
    3659   ;
    3660   return 0;
    3661 }
    3662 _ACEOF
    3663 rm -f conftest.$ac_objext
    3664 if { (ac_try="$ac_compile"
    3665 case "(($ac_try" in
    3666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3667   *) ac_try_echo=$ac_try;;
    3668 esac
    3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3670   (eval "$ac_compile") 2>conftest.er1
    3671   ac_status=$?
    3672   grep -v '^ *+' conftest.er1 >conftest.err
    3673   rm -f conftest.er1
    3674   cat conftest.err >&5
    3675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3676   (exit $ac_status); } && {
    3677          test -z "$ac_cxx_werror_flag" ||
    3678          test ! -s conftest.err
    3679        } && test -s conftest.$ac_objext; then
    3680   ac_cv_prog_cxx_g=yes
    3681 else
    3682   echo "$as_me: failed program was:" >&5
    3683 sed 's/^/| /' conftest.$ac_ext >&5
    3684 
    3685 
    3686 fi
    3687 
    3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3689 fi
    3690 
    3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3692 fi
    3693 
    3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3695    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3696 fi
    3697 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3698 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     3157ac_cv_prog_cxx_g=no
     3158fi
     3159rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3160fi
     3161echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3162echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    36993163if test "$ac_test_CXXFLAGS" = set; then
    37003164  CXXFLAGS=$ac_save_CXXFLAGS
     
    37123176  fi
    37133177fi
     3178for ac_declaration in \
     3179   '' \
     3180   'extern "C" void std::exit (int) throw (); using std::exit;' \
     3181   'extern "C" void std::exit (int); using std::exit;' \
     3182   'extern "C" void exit (int) throw ();' \
     3183   'extern "C" void exit (int);' \
     3184   'void exit (int);'
     3185do
     3186  cat >conftest.$ac_ext <<_ACEOF
     3187/* confdefs.h.  */
     3188_ACEOF
     3189cat confdefs.h >>conftest.$ac_ext
     3190cat >>conftest.$ac_ext <<_ACEOF
     3191/* end confdefs.h.  */
     3192$ac_declaration
     3193#include <stdlib.h>
     3194int
     3195main ()
     3196{
     3197exit (42);
     3198  ;
     3199  return 0;
     3200}
     3201_ACEOF
     3202rm -f conftest.$ac_objext
     3203if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3204  (eval $ac_compile) 2>conftest.er1
     3205  ac_status=$?
     3206  grep -v '^ *+' conftest.er1 >conftest.err
     3207  rm -f conftest.er1
     3208  cat conftest.err >&5
     3209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3210  (exit $ac_status); } &&
     3211         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3212  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3213  (eval $ac_try) 2>&5
     3214  ac_status=$?
     3215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3216  (exit $ac_status); }; } &&
     3217         { ac_try='test -s conftest.$ac_objext'
     3218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3219  (eval $ac_try) 2>&5
     3220  ac_status=$?
     3221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3222  (exit $ac_status); }; }; then
     3223  :
     3224else
     3225  echo "$as_me: failed program was:" >&5
     3226sed 's/^/| /' conftest.$ac_ext >&5
     3227
     3228continue
     3229fi
     3230rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3231  cat >conftest.$ac_ext <<_ACEOF
     3232/* confdefs.h.  */
     3233_ACEOF
     3234cat confdefs.h >>conftest.$ac_ext
     3235cat >>conftest.$ac_ext <<_ACEOF
     3236/* end confdefs.h.  */
     3237$ac_declaration
     3238int
     3239main ()
     3240{
     3241exit (42);
     3242  ;
     3243  return 0;
     3244}
     3245_ACEOF
     3246rm -f conftest.$ac_objext
     3247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3248  (eval $ac_compile) 2>conftest.er1
     3249  ac_status=$?
     3250  grep -v '^ *+' conftest.er1 >conftest.err
     3251  rm -f conftest.er1
     3252  cat conftest.err >&5
     3253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3254  (exit $ac_status); } &&
     3255         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3256  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3257  (eval $ac_try) 2>&5
     3258  ac_status=$?
     3259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3260  (exit $ac_status); }; } &&
     3261         { ac_try='test -s conftest.$ac_objext'
     3262  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3263  (eval $ac_try) 2>&5
     3264  ac_status=$?
     3265  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3266  (exit $ac_status); }; }; then
     3267  break
     3268else
     3269  echo "$as_me: failed program was:" >&5
     3270sed 's/^/| /' conftest.$ac_ext >&5
     3271
     3272fi
     3273rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3274done
     3275rm -f conftest*
     3276if test -n "$ac_declaration"; then
     3277  echo '#ifdef __cplusplus' >>confdefs.h
     3278  echo $ac_declaration      >>confdefs.h
     3279  echo '#endif'             >>confdefs.h
     3280fi
     3281
    37143282ac_ext=c
    37153283ac_cpp='$CPP $CPPFLAGS'
     
    37183286ac_compiler_gnu=$ac_cv_c_compiler_gnu
    37193287
    3720 ac_ext=cpp
     3288ac_ext=cc
    37213289ac_cpp='$CXXCPP $CPPFLAGS'
    37223290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    37273295
    37283296
    3729 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    3730 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
     3297echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     3298echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
    37313299if test "${ac_cv_lib_stdcpp_main+set}" = set; then
    37323300  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    37453313main ()
    37463314{
    3747 return main ();
     3315main ();
    37483316  ;
    37493317  return 0;
     
    37513319_ACEOF
    37523320rm -f conftest.$ac_objext conftest$ac_exeext
    3753 if { (ac_try="$ac_link"
    3754 case "(($ac_try" in
    3755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3756   *) ac_try_echo=$ac_try;;
    3757 esac
    3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3759   (eval "$ac_link") 2>conftest.er1
     3321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3322  (eval $ac_link) 2>conftest.er1
    37603323  ac_status=$?
    37613324  grep -v '^ *+' conftest.er1 >conftest.err
     
    37633326  cat conftest.err >&5
    37643327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3765   (exit $ac_status); } && {
    3766          test -z "$ac_cxx_werror_flag" ||
    3767          test ! -s conftest.err
    3768        } && test -s conftest$ac_exeext &&
    3769        $as_test_x conftest$ac_exeext; then
     3328  (exit $ac_status); } &&
     3329         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3330  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3331  (eval $ac_try) 2>&5
     3332  ac_status=$?
     3333  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3334  (exit $ac_status); }; } &&
     3335         { ac_try='test -s conftest$ac_exeext'
     3336  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3337  (eval $ac_try) 2>&5
     3338  ac_status=$?
     3339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3340  (exit $ac_status); }; }; then
    37703341  ac_cv_lib_stdcpp_main=yes
    37713342else
     
    37733344sed 's/^/| /' conftest.$ac_ext >&5
    37743345
    3775         ac_cv_lib_stdcpp_main=no
    3776 fi
    3777 
    3778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     3346ac_cv_lib_stdcpp_main=no
     3347fi
     3348rm -f conftest.err conftest.$ac_objext \
    37793349      conftest$ac_exeext conftest.$ac_ext
    37803350LIBS=$ac_check_lib_save_LIBS
    37813351fi
    3782 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    3783 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
     3352echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     3353echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
    37843354if test $ac_cv_lib_stdcpp_main = yes; then
    37853355  cat >>confdefs.h <<_ACEOF
     
    38093379do
    38103380as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    3812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    3813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3381echo "$as_me:$LINENO: checking for $ac_header" >&5
     3382echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3383if eval "test \"\${$as_ac_Header+set}\" = set"; then
    38143384  echo $ECHO_N "(cached) $ECHO_C" >&6
    38153385else
     
    38253395_ACEOF
    38263396rm -f conftest.$ac_objext
    3827 if { (ac_try="$ac_compile"
    3828 case "(($ac_try" in
    3829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3830   *) ac_try_echo=$ac_try;;
    3831 esac
    3832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3833   (eval "$ac_compile") 2>conftest.er1
     3397if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3398  (eval $ac_compile) 2>conftest.er1
    38343399  ac_status=$?
    38353400  grep -v '^ *+' conftest.er1 >conftest.err
     
    38373402  cat conftest.err >&5
    38383403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3839   (exit $ac_status); } && {
    3840          test -z "$ac_cxx_werror_flag" ||
    3841          test ! -s conftest.err
    3842        } && test -s conftest.$ac_objext; then
     3404  (exit $ac_status); } &&
     3405         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3407  (eval $ac_try) 2>&5
     3408  ac_status=$?
     3409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3410  (exit $ac_status); }; } &&
     3411         { ac_try='test -s conftest.$ac_objext'
     3412  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3413  (eval $ac_try) 2>&5
     3414  ac_status=$?
     3415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3416  (exit $ac_status); }; }; then
    38433417  eval "$as_ac_Header=yes"
    38443418else
     
    38463420sed 's/^/| /' conftest.$ac_ext >&5
    38473421
    3848         eval "$as_ac_Header=no"
    3849 fi
    3850 
    3851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3852 fi
    3853 ac_res=`eval echo '${'$as_ac_Header'}'`
    3854                { echo "$as_me:$LINENO: result: $ac_res" >&5
    3855 echo "${ECHO_T}$ac_res" >&6; }
     3422eval "$as_ac_Header=no"
     3423fi
     3424rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3425fi
     3426echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3427echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    38563428if test `eval echo '${'$as_ac_Header'}'` = yes; then
    38573429  cat >>confdefs.h <<_ACEOF
     
    38643436
    38653437
    3866 ac_ext=cpp
     3438ac_ext=cc
    38673439ac_cpp='$CXXCPP $CPPFLAGS'
    38683440ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    38693441ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    38703442ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3871 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    3872 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
     3443echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     3444echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    38733445if test -z "$CXXCPP"; then
    38743446  if test "${ac_cv_prog_CXXCPP+set}" = set; then
     
    39003472                     Syntax error
    39013473_ACEOF
    3902 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3903 case "(($ac_try" in
    3904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3905   *) ac_try_echo=$ac_try;;
    3906 esac
    3907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3908   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3474if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3475  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    39093476  ac_status=$?
    39103477  grep -v '^ *+' conftest.er1 >conftest.err
     
    39123479  cat conftest.err >&5
    39133480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3914   (exit $ac_status); } >/dev/null && {
    3915          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    3916          test ! -s conftest.err
    3917        }; then
     3481  (exit $ac_status); } >/dev/null; then
     3482  if test -s conftest.err; then
     3483    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3484    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3485  else
     3486    ac_cpp_err=
     3487  fi
     3488else
     3489  ac_cpp_err=yes
     3490fi
     3491if test -z "$ac_cpp_err"; then
    39183492  :
    39193493else
     
    39243498continue
    39253499fi
    3926 
    39273500rm -f conftest.err conftest.$ac_ext
    39283501
    3929   # OK, works on sane cases.  Now check whether nonexistent headers
     3502  # OK, works on sane cases.  Now check whether non-existent headers
    39303503  # can be detected and how.
    39313504  cat >conftest.$ac_ext <<_ACEOF
     
    39373510#include <ac_nonexistent.h>
    39383511_ACEOF
    3939 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3940 case "(($ac_try" in
    3941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3942   *) ac_try_echo=$ac_try;;
    3943 esac
    3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3945   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3512if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3513  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    39463514  ac_status=$?
    39473515  grep -v '^ *+' conftest.er1 >conftest.err
     
    39493517  cat conftest.err >&5
    39503518  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3951   (exit $ac_status); } >/dev/null && {
    3952          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    3953          test ! -s conftest.err
    3954        }; then
     3519  (exit $ac_status); } >/dev/null; then
     3520  if test -s conftest.err; then
     3521    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3522    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3523  else
     3524    ac_cpp_err=
     3525  fi
     3526else
     3527  ac_cpp_err=yes
     3528fi
     3529if test -z "$ac_cpp_err"; then
    39553530  # Broken: success on invalid input.
    39563531continue
     
    39633538break
    39643539fi
    3965 
    39663540rm -f conftest.err conftest.$ac_ext
    39673541
     
    39813555  ac_cv_prog_CXXCPP=$CXXCPP
    39823556fi
    3983 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
    3984 echo "${ECHO_T}$CXXCPP" >&6; }
     3557echo "$as_me:$LINENO: result: $CXXCPP" >&5
     3558echo "${ECHO_T}$CXXCPP" >&6
    39853559ac_preproc_ok=false
    39863560for ac_cxx_preproc_warn_flag in '' yes
     
    40053579                     Syntax error
    40063580_ACEOF
    4007 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4008 case "(($ac_try" in
    4009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4010   *) ac_try_echo=$ac_try;;
    4011 esac
    4012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4013   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3581if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3582  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    40143583  ac_status=$?
    40153584  grep -v '^ *+' conftest.er1 >conftest.err
     
    40173586  cat conftest.err >&5
    40183587  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4019   (exit $ac_status); } >/dev/null && {
    4020          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4021          test ! -s conftest.err
    4022        }; then
     3588  (exit $ac_status); } >/dev/null; then
     3589  if test -s conftest.err; then
     3590    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3591    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3592  else
     3593    ac_cpp_err=
     3594  fi
     3595else
     3596  ac_cpp_err=yes
     3597fi
     3598if test -z "$ac_cpp_err"; then
    40233599  :
    40243600else
     
    40293605continue
    40303606fi
    4031 
    40323607rm -f conftest.err conftest.$ac_ext
    40333608
    4034   # OK, works on sane cases.  Now check whether nonexistent headers
     3609  # OK, works on sane cases.  Now check whether non-existent headers
    40353610  # can be detected and how.
    40363611  cat >conftest.$ac_ext <<_ACEOF
     
    40423617#include <ac_nonexistent.h>
    40433618_ACEOF
    4044 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4045 case "(($ac_try" in
    4046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4047   *) ac_try_echo=$ac_try;;
    4048 esac
    4049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4050   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3619if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3620  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    40513621  ac_status=$?
    40523622  grep -v '^ *+' conftest.er1 >conftest.err
     
    40543624  cat conftest.err >&5
    40553625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4056   (exit $ac_status); } >/dev/null && {
    4057          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4058          test ! -s conftest.err
    4059        }; then
     3626  (exit $ac_status); } >/dev/null; then
     3627  if test -s conftest.err; then
     3628    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3629    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3630  else
     3631    ac_cpp_err=
     3632  fi
     3633else
     3634  ac_cpp_err=yes
     3635fi
     3636if test -z "$ac_cpp_err"; then
    40603637  # Broken: success on invalid input.
    40613638continue
     
    40683645break
    40693646fi
    4070 
    40713647rm -f conftest.err conftest.$ac_ext
    40723648
     
    40843660fi
    40853661
    4086 ac_ext=cpp
     3662ac_ext=cc
    40873663ac_cpp='$CXXCPP $CPPFLAGS'
    40883664ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    40953671do
    40963672as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4098   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3673if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3674  echo "$as_me:$LINENO: checking for $ac_header" >&5
     3675echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3676if eval "test \"\${$as_ac_Header+set}\" = set"; then
    41013677  echo $ECHO_N "(cached) $ECHO_C" >&6
    41023678fi
    4103 ac_res=`eval echo '${'$as_ac_Header'}'`
    4104                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4105 echo "${ECHO_T}$ac_res" >&6; }
     3679echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3680echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    41063681else
    41073682  # Is the header compilable?
    4108 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     3683echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3684echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    41103685cat >conftest.$ac_ext <<_ACEOF
    41113686/* confdefs.h.  */
     
    41183693_ACEOF
    41193694rm -f conftest.$ac_objext
    4120 if { (ac_try="$ac_compile"
    4121 case "(($ac_try" in
    4122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4123   *) ac_try_echo=$ac_try;;
    4124 esac
    4125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4126   (eval "$ac_compile") 2>conftest.er1
     3695if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3696  (eval $ac_compile) 2>conftest.er1
    41273697  ac_status=$?
    41283698  grep -v '^ *+' conftest.er1 >conftest.err
     
    41303700  cat conftest.err >&5
    41313701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4132   (exit $ac_status); } && {
    4133          test -z "$ac_cxx_werror_flag" ||
    4134          test ! -s conftest.err
    4135        } && test -s conftest.$ac_objext; then
     3702  (exit $ac_status); } &&
     3703         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3705  (eval $ac_try) 2>&5
     3706  ac_status=$?
     3707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3708  (exit $ac_status); }; } &&
     3709         { ac_try='test -s conftest.$ac_objext'
     3710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3711  (eval $ac_try) 2>&5
     3712  ac_status=$?
     3713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3714  (exit $ac_status); }; }; then
    41363715  ac_header_compiler=yes
    41373716else
     
    41393718sed 's/^/| /' conftest.$ac_ext >&5
    41403719
    4141         ac_header_compiler=no
    4142 fi
    4143 
    4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4145 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4146 echo "${ECHO_T}$ac_header_compiler" >&6; }
     3720ac_header_compiler=no
     3721fi
     3722rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3723echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3724echo "${ECHO_T}$ac_header_compiler" >&6
    41473725
    41483726# Is the header present?
    4149 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     3727echo "$as_me:$LINENO: checking $ac_header presence" >&5
     3728echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    41513729cat >conftest.$ac_ext <<_ACEOF
    41523730/* confdefs.h.  */
     
    41573735#include <$ac_header>
    41583736_ACEOF
    4159 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4160 case "(($ac_try" in
    4161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4162   *) ac_try_echo=$ac_try;;
    4163 esac
    4164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4165   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3737if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3738  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    41663739  ac_status=$?
    41673740  grep -v '^ *+' conftest.er1 >conftest.err
     
    41693742  cat conftest.err >&5
    41703743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4171   (exit $ac_status); } >/dev/null && {
    4172          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4173          test ! -s conftest.err
    4174        }; then
     3744  (exit $ac_status); } >/dev/null; then
     3745  if test -s conftest.err; then
     3746    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3747    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3748  else
     3749    ac_cpp_err=
     3750  fi
     3751else
     3752  ac_cpp_err=yes
     3753fi
     3754if test -z "$ac_cpp_err"; then
    41753755  ac_header_preproc=yes
    41763756else
     
    41803760  ac_header_preproc=no
    41813761fi
    4182 
    41833762rm -f conftest.err conftest.$ac_ext
    4184 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4185 echo "${ECHO_T}$ac_header_preproc" >&6; }
     3763echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3764echo "${ECHO_T}$ac_header_preproc" >&6
    41863765
    41873766# So?  What about this header?
     
    42073786    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    42083787echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4209     ( cat <<\_ASBOX
     3788    (
     3789      cat <<\_ASBOX
    42103790## ----------------------------------- ##
    42113791## Report this to rappture@nanohub.org ##
    42123792## ----------------------------------- ##
    42133793_ASBOX
    4214      ) | sed "s/^/$as_me: WARNING:     /" >&2
     3794    ) |
     3795      sed "s/^/$as_me: WARNING:     /" >&2
    42153796    ;;
    42163797esac
    4217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3798echo "$as_me:$LINENO: checking for $ac_header" >&5
     3799echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3800if eval "test \"\${$as_ac_Header+set}\" = set"; then
    42203801  echo $ECHO_N "(cached) $ECHO_C" >&6
    42213802else
    42223803  eval "$as_ac_Header=\$ac_header_preproc"
    42233804fi
    4224 ac_res=`eval echo '${'$as_ac_Header'}'`
    4225                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4226 echo "${ECHO_T}$ac_res" >&6; }
     3805echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3806echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    42273807
    42283808fi
     
    42433823do
    42443824as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4246   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3825if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3826  echo "$as_me:$LINENO: checking for $ac_header" >&5
     3827echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3828if eval "test \"\${$as_ac_Header+set}\" = set"; then
    42493829  echo $ECHO_N "(cached) $ECHO_C" >&6
    42503830fi
    4251 ac_res=`eval echo '${'$as_ac_Header'}'`
    4252                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4253 echo "${ECHO_T}$ac_res" >&6; }
     3831echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3832echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    42543833else
    42553834  # Is the header compilable?
    4256 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     3835echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3836echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    42583837cat >conftest.$ac_ext <<_ACEOF
    42593838/* confdefs.h.  */
     
    42663845_ACEOF
    42673846rm -f conftest.$ac_objext
    4268 if { (ac_try="$ac_compile"
    4269 case "(($ac_try" in
    4270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4271   *) ac_try_echo=$ac_try;;
    4272 esac
    4273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4274   (eval "$ac_compile") 2>conftest.er1
     3847if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3848  (eval $ac_compile) 2>conftest.er1
    42753849  ac_status=$?
    42763850  grep -v '^ *+' conftest.er1 >conftest.err
     
    42783852  cat conftest.err >&5
    42793853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4280   (exit $ac_status); } && {
    4281          test -z "$ac_cxx_werror_flag" ||
    4282          test ! -s conftest.err
    4283        } && test -s conftest.$ac_objext; then
     3854  (exit $ac_status); } &&
     3855         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     3856  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3857  (eval $ac_try) 2>&5
     3858  ac_status=$?
     3859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3860  (exit $ac_status); }; } &&
     3861         { ac_try='test -s conftest.$ac_objext'
     3862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3863  (eval $ac_try) 2>&5
     3864  ac_status=$?
     3865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3866  (exit $ac_status); }; }; then
    42843867  ac_header_compiler=yes
    42853868else
     
    42873870sed 's/^/| /' conftest.$ac_ext >&5
    42883871
    4289         ac_header_compiler=no
    4290 fi
    4291 
    4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4293 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4294 echo "${ECHO_T}$ac_header_compiler" >&6; }
     3872ac_header_compiler=no
     3873fi
     3874rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3875echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3876echo "${ECHO_T}$ac_header_compiler" >&6
    42953877
    42963878# Is the header present?
    4297 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     3879echo "$as_me:$LINENO: checking $ac_header presence" >&5
     3880echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    42993881cat >conftest.$ac_ext <<_ACEOF
    43003882/* confdefs.h.  */
     
    43053887#include <$ac_header>
    43063888_ACEOF
    4307 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4308 case "(($ac_try" in
    4309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4310   *) ac_try_echo=$ac_try;;
    4311 esac
    4312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4313   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3889if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3890  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    43143891  ac_status=$?
    43153892  grep -v '^ *+' conftest.er1 >conftest.err
     
    43173894  cat conftest.err >&5
    43183895  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4319   (exit $ac_status); } >/dev/null && {
    4320          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4321          test ! -s conftest.err
    4322        }; then
     3896  (exit $ac_status); } >/dev/null; then
     3897  if test -s conftest.err; then
     3898    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3899    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     3900  else
     3901    ac_cpp_err=
     3902  fi
     3903else
     3904  ac_cpp_err=yes
     3905fi
     3906if test -z "$ac_cpp_err"; then
    43233907  ac_header_preproc=yes
    43243908else
     
    43283912  ac_header_preproc=no
    43293913fi
    4330 
    43313914rm -f conftest.err conftest.$ac_ext
    4332 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4333 echo "${ECHO_T}$ac_header_preproc" >&6; }
     3915echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3916echo "${ECHO_T}$ac_header_preproc" >&6
    43343917
    43353918# So?  What about this header?
     
    43553938    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    43563939echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4357     ( cat <<\_ASBOX
     3940    (
     3941      cat <<\_ASBOX
    43583942## ----------------------------------- ##
    43593943## Report this to rappture@nanohub.org ##
    43603944## ----------------------------------- ##
    43613945_ASBOX
    4362      ) | sed "s/^/$as_me: WARNING:     /" >&2
     3946    ) |
     3947      sed "s/^/$as_me: WARNING:     /" >&2
    43633948    ;;
    43643949esac
    4365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3950echo "$as_me:$LINENO: checking for $ac_header" >&5
     3951echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3952if eval "test \"\${$as_ac_Header+set}\" = set"; then
    43683953  echo $ECHO_N "(cached) $ECHO_C" >&6
    43693954else
    43703955  eval "$as_ac_Header=\$ac_header_preproc"
    43713956fi
    4372 ac_res=`eval echo '${'$as_ac_Header'}'`
    4373                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4374 echo "${ECHO_T}$ac_res" >&6; }
     3957echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3958echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    43753959
    43763960fi
     
    43913975do
    43923976as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4394   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3977if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3978  echo "$as_me:$LINENO: checking for $ac_header" >&5
     3979echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3980if eval "test \"\${$as_ac_Header+set}\" = set"; then
    43973981  echo $ECHO_N "(cached) $ECHO_C" >&6
    43983982fi
    4399 ac_res=`eval echo '${'$as_ac_Header'}'`
    4400                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4401 echo "${ECHO_T}$ac_res" >&6; }
     3983echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3984echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    44023985else
    44033986  # Is the header compilable?
    4404 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     3987echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3988echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    44063989cat >conftest.$ac_ext <<_ACEOF
    44073990/* confdefs.h.  */
     
    44143997_ACEOF
    44153998rm -f conftest.$ac_objext
    4416 if { (ac_try="$ac_compile"
    4417 case "(($ac_try" in
    4418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4419   *) ac_try_echo=$ac_try;;
    4420 esac
    4421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4422   (eval "$ac_compile") 2>conftest.er1
     3999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4000  (eval $ac_compile) 2>conftest.er1
    44234001  ac_status=$?
    44244002  grep -v '^ *+' conftest.er1 >conftest.err
     
    44264004  cat conftest.err >&5
    44274005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4428   (exit $ac_status); } && {
    4429          test -z "$ac_cxx_werror_flag" ||
    4430          test ! -s conftest.err
    4431        } && test -s conftest.$ac_objext; then
     4006  (exit $ac_status); } &&
     4007         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     4008  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4009  (eval $ac_try) 2>&5
     4010  ac_status=$?
     4011  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4012  (exit $ac_status); }; } &&
     4013         { ac_try='test -s conftest.$ac_objext'
     4014  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4015  (eval $ac_try) 2>&5
     4016  ac_status=$?
     4017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4018  (exit $ac_status); }; }; then
    44324019  ac_header_compiler=yes
    44334020else
     
    44354022sed 's/^/| /' conftest.$ac_ext >&5
    44364023
    4437         ac_header_compiler=no
    4438 fi
    4439 
    4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4441 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4442 echo "${ECHO_T}$ac_header_compiler" >&6; }
     4024ac_header_compiler=no
     4025fi
     4026rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4027echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4028echo "${ECHO_T}$ac_header_compiler" >&6
    44434029
    44444030# Is the header present?
    4445 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     4031echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4032echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    44474033cat >conftest.$ac_ext <<_ACEOF
    44484034/* confdefs.h.  */
     
    44534039#include <$ac_header>
    44544040_ACEOF
    4455 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4456 case "(($ac_try" in
    4457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4458   *) ac_try_echo=$ac_try;;
    4459 esac
    4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4461   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4041if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4042  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    44624043  ac_status=$?
    44634044  grep -v '^ *+' conftest.er1 >conftest.err
     
    44654046  cat conftest.err >&5
    44664047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4467   (exit $ac_status); } >/dev/null && {
    4468          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4469          test ! -s conftest.err
    4470        }; then
     4048  (exit $ac_status); } >/dev/null; then
     4049  if test -s conftest.err; then
     4050    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4051    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4052  else
     4053    ac_cpp_err=
     4054  fi
     4055else
     4056  ac_cpp_err=yes
     4057fi
     4058if test -z "$ac_cpp_err"; then
    44714059  ac_header_preproc=yes
    44724060else
     
    44764064  ac_header_preproc=no
    44774065fi
    4478 
    44794066rm -f conftest.err conftest.$ac_ext
    4480 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4481 echo "${ECHO_T}$ac_header_preproc" >&6; }
     4067echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4068echo "${ECHO_T}$ac_header_preproc" >&6
    44824069
    44834070# So?  What about this header?
     
    45034090    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    45044091echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4505     ( cat <<\_ASBOX
     4092    (
     4093      cat <<\_ASBOX
    45064094## ----------------------------------- ##
    45074095## Report this to rappture@nanohub.org ##
    45084096## ----------------------------------- ##
    45094097_ASBOX
    4510      ) | sed "s/^/$as_me: WARNING:     /" >&2
     4098    ) |
     4099      sed "s/^/$as_me: WARNING:     /" >&2
    45114100    ;;
    45124101esac
    4513 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4102echo "$as_me:$LINENO: checking for $ac_header" >&5
     4103echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4104if eval "test \"\${$as_ac_Header+set}\" = set"; then
    45164105  echo $ECHO_N "(cached) $ECHO_C" >&6
    45174106else
    45184107  eval "$as_ac_Header=\$ac_header_preproc"
    45194108fi
    4520 ac_res=`eval echo '${'$as_ac_Header'}'`
    4521                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4522 echo "${ECHO_T}$ac_res" >&6; }
     4109echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4110echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    45234111
    45244112fi
     
    45394127do
    45404128as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4542   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4129if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4130  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4131echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4132if eval "test \"\${$as_ac_Header+set}\" = set"; then
    45454133  echo $ECHO_N "(cached) $ECHO_C" >&6
    45464134fi
    4547 ac_res=`eval echo '${'$as_ac_Header'}'`
    4548                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4549 echo "${ECHO_T}$ac_res" >&6; }
     4135echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4136echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    45504137else
    45514138  # Is the header compilable?
    4552 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     4139echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4140echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    45544141cat >conftest.$ac_ext <<_ACEOF
    45554142/* confdefs.h.  */
     
    45624149_ACEOF
    45634150rm -f conftest.$ac_objext
    4564 if { (ac_try="$ac_compile"
    4565 case "(($ac_try" in
    4566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4567   *) ac_try_echo=$ac_try;;
    4568 esac
    4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4570   (eval "$ac_compile") 2>conftest.er1
     4151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4152  (eval $ac_compile) 2>conftest.er1
    45714153  ac_status=$?
    45724154  grep -v '^ *+' conftest.er1 >conftest.err
     
    45744156  cat conftest.err >&5
    45754157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4576   (exit $ac_status); } && {
    4577          test -z "$ac_cxx_werror_flag" ||
    4578          test ! -s conftest.err
    4579        } && test -s conftest.$ac_objext; then
     4158  (exit $ac_status); } &&
     4159         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
     4160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4161  (eval $ac_try) 2>&5
     4162  ac_status=$?
     4163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4164  (exit $ac_status); }; } &&
     4165         { ac_try='test -s conftest.$ac_objext'
     4166  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4167  (eval $ac_try) 2>&5
     4168  ac_status=$?
     4169  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4170  (exit $ac_status); }; }; then
    45804171  ac_header_compiler=yes
    45814172else
     
    45834174sed 's/^/| /' conftest.$ac_ext >&5
    45844175
    4585         ac_header_compiler=no
    4586 fi
    4587 
    4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4589 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4590 echo "${ECHO_T}$ac_header_compiler" >&6; }
     4176ac_header_compiler=no
     4177fi
     4178rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4179echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4180echo "${ECHO_T}$ac_header_compiler" >&6
    45914181
    45924182# Is the header present?
    4593 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     4183echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4184echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    45954185cat >conftest.$ac_ext <<_ACEOF
    45964186/* confdefs.h.  */
     
    46014191#include <$ac_header>
    46024192_ACEOF
    4603 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4604 case "(($ac_try" in
    4605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4606   *) ac_try_echo=$ac_try;;
    4607 esac
    4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4609   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4193if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4194  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    46104195  ac_status=$?
    46114196  grep -v '^ *+' conftest.er1 >conftest.err
     
    46134198  cat conftest.err >&5
    46144199  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4615   (exit $ac_status); } >/dev/null && {
    4616          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4617          test ! -s conftest.err
    4618        }; then
     4200  (exit $ac_status); } >/dev/null; then
     4201  if test -s conftest.err; then
     4202    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4203    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
     4204  else
     4205    ac_cpp_err=
     4206  fi
     4207else
     4208  ac_cpp_err=yes
     4209fi
     4210if test -z "$ac_cpp_err"; then
    46194211  ac_header_preproc=yes
    46204212else
     
    46244216  ac_header_preproc=no
    46254217fi
    4626 
    46274218rm -f conftest.err conftest.$ac_ext
    4628 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4629 echo "${ECHO_T}$ac_header_preproc" >&6; }
     4219echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4220echo "${ECHO_T}$ac_header_preproc" >&6
    46304221
    46314222# So?  What about this header?
     
    46514242    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    46524243echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4653     ( cat <<\_ASBOX
     4244    (
     4245      cat <<\_ASBOX
    46544246## ----------------------------------- ##
    46554247## Report this to rappture@nanohub.org ##
    46564248## ----------------------------------- ##
    46574249_ASBOX
    4658      ) | sed "s/^/$as_me: WARNING:     /" >&2
     4250    ) |
     4251      sed "s/^/$as_me: WARNING:     /" >&2
    46594252    ;;
    46604253esac
    4661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4254echo "$as_me:$LINENO: checking for $ac_header" >&5
     4255echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4256if eval "test \"\${$as_ac_Header+set}\" = set"; then
    46644257  echo $ECHO_N "(cached) $ECHO_C" >&6
    46654258else
    46664259  eval "$as_ac_Header=\$ac_header_preproc"
    46674260fi
    4668 ac_res=`eval echo '${'$as_ac_Header'}'`
    4669                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4670 echo "${ECHO_T}$ac_res" >&6; }
     4261echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4262echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    46714263
    46724264fi
     
    46934285    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    46944286set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     4287echo "$as_me:$LINENO: checking for $ac_word" >&5
     4288echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    46974289if test "${ac_cv_prog_F77+set}" = set; then
    46984290  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47074299  test -z "$as_dir" && as_dir=.
    47084300  for ac_exec_ext in '' $ac_executable_extensions; do
    4709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4301  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    47104302    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    47114303    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    47144306done
    47154307done
    4716 IFS=$as_save_IFS
    47174308
    47184309fi
     
    47204311F77=$ac_cv_prog_F77
    47214312if test -n "$F77"; then
    4722   { echo "$as_me:$LINENO: result: $F77" >&5
    4723 echo "${ECHO_T}$F77" >&6; }
    4724 else
    4725   { echo "$as_me:$LINENO: result: no" >&5
    4726 echo "${ECHO_T}no" >&6; }
    4727 fi
    4728 
     4313  echo "$as_me:$LINENO: result: $F77" >&5
     4314echo "${ECHO_T}$F77" >&6
     4315else
     4316  echo "$as_me:$LINENO: result: no" >&5
     4317echo "${ECHO_T}no" >&6
     4318fi
    47294319
    47304320    test -n "$F77" && break
     
    47374327  # Extract the first word of "$ac_prog", so it can be a program name with args.
    47384328set dummy $ac_prog; ac_word=$2
    4739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     4329echo "$as_me:$LINENO: checking for $ac_word" >&5
     4330echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    47414331if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    47424332  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47514341  test -z "$as_dir" && as_dir=.
    47524342  for ac_exec_ext in '' $ac_executable_extensions; do
    4753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4343  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    47544344    ac_cv_prog_ac_ct_F77="$ac_prog"
    47554345    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    47584348done
    47594349done
    4760 IFS=$as_save_IFS
    47614350
    47624351fi
     
    47644353ac_ct_F77=$ac_cv_prog_ac_ct_F77
    47654354if test -n "$ac_ct_F77"; then
    4766   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    4767 echo "${ECHO_T}$ac_ct_F77" >&6; }
    4768 else
    4769   { echo "$as_me:$LINENO: result: no" >&5
    4770 echo "${ECHO_T}no" >&6; }
    4771 fi
    4772 
     4355  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4356echo "${ECHO_T}$ac_ct_F77" >&6
     4357else
     4358  echo "$as_me:$LINENO: result: no" >&5
     4359echo "${ECHO_T}no" >&6
     4360fi
    47734361
    47744362  test -n "$ac_ct_F77" && break
    47754363done
    47764364
    4777   if test "x$ac_ct_F77" = x; then
    4778     F77=""
    4779   else
    4780     case $cross_compiling:$ac_tool_warned in
    4781 yes:)
    4782 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    4783 whose name does not start with the host triplet.  If you think this
    4784 configuration is useful to you, please write to autoconf@gnu.org." >&5
    4785 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    4786 whose name does not start with the host triplet.  If you think this
    4787 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    4788 ac_tool_warned=yes ;;
    4789 esac
    4790     F77=$ac_ct_F77
    4791   fi
     4365  F77=$ac_ct_F77
    47924366fi
    47934367
    47944368
    47954369# Provide some information about the compiler.
    4796 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
     4370echo "$as_me:4370:" \
     4371     "checking for Fortran 77 compiler version" >&5
    47974372ac_compiler=`set X $ac_compile; echo $2`
    4798 { (ac_try="$ac_compiler --version >&5"
    4799 case "(($ac_try" in
    4800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4801   *) ac_try_echo=$ac_try;;
    4802 esac
    4803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4804   (eval "$ac_compiler --version >&5") 2>&5
     4373{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     4374  (eval $ac_compiler --version </dev/null >&5) 2>&5
    48054375  ac_status=$?
    48064376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48074377  (exit $ac_status); }
    4808 { (ac_try="$ac_compiler -v >&5"
    4809 case "(($ac_try" in
    4810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4811   *) ac_try_echo=$ac_try;;
    4812 esac
    4813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4814   (eval "$ac_compiler -v >&5") 2>&5
     4378{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     4379  (eval $ac_compiler -v </dev/null >&5) 2>&5
    48154380  ac_status=$?
    48164381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48174382  (exit $ac_status); }
    4818 { (ac_try="$ac_compiler -V >&5"
    4819 case "(($ac_try" in
    4820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4821   *) ac_try_echo=$ac_try;;
    4822 esac
    4823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4824   (eval "$ac_compiler -V >&5") 2>&5
     4383{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     4384  (eval $ac_compiler -V </dev/null >&5) 2>&5
    48254385  ac_status=$?
    48264386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    48324392ac_save_ext=$ac_ext
    48334393ac_ext=F
    4834 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    4835 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
     4394echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     4395echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
    48364396if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    48374397  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48464406_ACEOF
    48474407rm -f conftest.$ac_objext
    4848 if { (ac_try="$ac_compile"
    4849 case "(($ac_try" in
    4850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4851   *) ac_try_echo=$ac_try;;
    4852 esac
    4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4854   (eval "$ac_compile") 2>conftest.er1
     4408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4409  (eval $ac_compile) 2>conftest.er1
    48554410  ac_status=$?
    48564411  grep -v '^ *+' conftest.er1 >conftest.err
     
    48584413  cat conftest.err >&5
    48594414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4860   (exit $ac_status); } && {
    4861          test -z "$ac_f77_werror_flag" ||
    4862          test ! -s conftest.err
    4863        } && test -s conftest.$ac_objext; then
     4415  (exit $ac_status); } &&
     4416         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
     4417  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4418  (eval $ac_try) 2>&5
     4419  ac_status=$?
     4420  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4421  (exit $ac_status); }; } &&
     4422         { ac_try='test -s conftest.$ac_objext'
     4423  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4424  (eval $ac_try) 2>&5
     4425  ac_status=$?
     4426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4427  (exit $ac_status); }; }; then
    48644428  ac_compiler_gnu=yes
    48654429else
     
    48674431sed 's/^/| /' conftest.$ac_ext >&5
    48684432
    4869         ac_compiler_gnu=no
    4870 fi
    4871 
    4872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4433ac_compiler_gnu=no
     4434fi
     4435rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    48734436ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    48744437
    48754438fi
    4876 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    4877 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
     4439echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     4440echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
    48784441ac_ext=$ac_save_ext
    48794442ac_test_FFLAGS=${FFLAGS+set}
    48804443ac_save_FFLAGS=$FFLAGS
    48814444FFLAGS=
    4882 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    4883 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
     4445echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     4446echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
    48844447if test "${ac_cv_prog_f77_g+set}" = set; then
    48854448  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48924455_ACEOF
    48934456rm -f conftest.$ac_objext
    4894 if { (ac_try="$ac_compile"
    4895 case "(($ac_try" in
    4896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4897   *) ac_try_echo=$ac_try;;
    4898 esac
    4899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4900   (eval "$ac_compile") 2>conftest.er1
     4457if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4458  (eval $ac_compile) 2>conftest.er1
    49014459  ac_status=$?
    49024460  grep -v '^ *+' conftest.er1 >conftest.err
     
    49044462  cat conftest.err >&5
    49054463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4906   (exit $ac_status); } && {
    4907          test -z "$ac_f77_werror_flag" ||
    4908          test ! -s conftest.err
    4909        } && test -s conftest.$ac_objext; then
     4464  (exit $ac_status); } &&
     4465         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
     4466  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4467  (eval $ac_try) 2>&5
     4468  ac_status=$?
     4469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4470  (exit $ac_status); }; } &&
     4471         { ac_try='test -s conftest.$ac_objext'
     4472  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4473  (eval $ac_try) 2>&5
     4474  ac_status=$?
     4475  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4476  (exit $ac_status); }; }; then
    49104477  ac_cv_prog_f77_g=yes
    49114478else
     
    49134480sed 's/^/| /' conftest.$ac_ext >&5
    49144481
    4915         ac_cv_prog_f77_g=no
    4916 fi
    4917 
    4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4919 
    4920 fi
    4921 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    4922 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
     4482ac_cv_prog_f77_g=no
     4483fi
     4484rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4485
     4486fi
     4487echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     4488echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
    49234489if test "$ac_test_FFLAGS" = set; then
    49244490  FFLAGS=$ac_save_FFLAGS
     
    49384504
    49394505G77=`test $ac_compiler_gnu = yes && echo yes`
    4940 ac_ext=cpp
     4506ac_ext=cc
    49414507ac_cpp='$CXXCPP $CPPFLAGS'
    49424508ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    49464512
    49474513
    4948 # Check whether --with-matlab was given.
     4514# Check whether --with-matlab or --without-matlab was given.
    49494515if test "${with_matlab+set}" = set; then
    4950   withval=$with_matlab;
    4951 fi
    4952 
    4953 
    4954 # Check whether --with-matlab_arch was given.
     4516  withval="$with_matlab"
     4517
     4518fi;
     4519
     4520# Check whether --with-matlab_arch or --without-matlab_arch was given.
    49554521if test "${with_matlab_arch+set}" = set; then
    4956   withval=$with_matlab_arch;
    4957 fi
    4958 
     4522  withval="$with_matlab_arch"
     4523
     4524fi;
     4525
     4526# Check whether --with-mexext or --without-mexext was given.
     4527if test "${with_mexext+set}" = set; then
     4528  withval="$with_mexext"
     4529
     4530fi;
    49594531MEX=
    49604532MEX_ARCH=
     4533MEXEXT=
    49614534if test "$with_matlab" != "no" ; then
    49624535        if test -x "$with_matlab/bin/mex"
    49634536    then
    4964         echo Found matlab in $with_matlab/bin/mex
     4537        echo Found mex in $with_matlab/bin/mex
    49654538        MEX="$with_matlab/bin/mex"
    49664539    else
     
    49724545            # Extract the first word of "mex", so it can be a program name with args.
    49734546set dummy mex; ac_word=$2
    4974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     4547echo "$as_me:$LINENO: checking for $ac_word" >&5
     4548echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    49764549if test "${ac_cv_path_MEX+set}" = set; then
    49774550  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49884561  test -z "$as_dir" && as_dir=.
    49894562  for ac_exec_ext in '' $ac_executable_extensions; do
    4990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4563  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    49914564    ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"
    49924565    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    49954568done
    49964569done
    4997 IFS=$as_save_IFS
    49984570
    49994571  ;;
     
    50014573fi
    50024574MEX=$ac_cv_path_MEX
     4575
    50034576if test -n "$MEX"; then
    5004   { echo "$as_me:$LINENO: result: $MEX" >&5
    5005 echo "${ECHO_T}$MEX" >&6; }
    5006 else
    5007   { echo "$as_me:$LINENO: result: no" >&5
    5008 echo "${ECHO_T}no" >&6; }
    5009 fi
    5010 
     4577  echo "$as_me:$LINENO: result: $MEX" >&5
     4578echo "${ECHO_T}$MEX" >&6
     4579else
     4580  echo "$as_me:$LINENO: result: no" >&5
     4581echo "${ECHO_T}no" >&6
     4582fi
    50114583
    50124584        fi
    50134585    fi
     4586    if test "x$MEX" != "x" ; then
     4587        mexext_fxn=`dirname $MEX`/mexext
     4588        if test "x$mexext_fxn" != "x"; then
     4589            MEXEXT=`$mexext_fxn`
     4590            if test "x${MEXEXT}" = "x" ; then
     4591                MEXEXT="mexglx"
     4592            fi
     4593            echo Using extension $MEXEXT
     4594        fi
     4595    fi
    50144596fi
    50154597if test "x$with_matlab_arch" != "x" ; then
     
    50184600
    50194601
    5020 # Check whether --with-octave was given.
     4602
     4603# Check whether --with-octave or --without-octave was given.
    50214604if test "${with_octave+set}" = set; then
    5022   withval=$with_octave;
    5023 fi
    5024 
     4605  withval="$with_octave"
     4606
     4607fi;
    50254608MKOCTFILE=
    50264609if test "$with_octave" != "no" ; then
     
    50374620            # Extract the first word of "mkoctfile", so it can be a program name with args.
    50384621set dummy mkoctfile; ac_word=$2
    5039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    5040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     4622echo "$as_me:$LINENO: checking for $ac_word" >&5
     4623echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    50414624if test "${ac_cv_path_MKOCTFILE+set}" = set; then
    50424625  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    50534636  test -z "$as_dir" && as_dir=.
    50544637  for ac_exec_ext in '' $ac_executable_extensions; do
    5055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4638  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    50564639    ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    50574640    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    50604643done
    50614644done
    5062 IFS=$as_save_IFS
    50634645
    50644646  ;;
     
    50664648fi
    50674649MKOCTFILE=$ac_cv_path_MKOCTFILE
     4650
    50684651if test -n "$MKOCTFILE"; then
    5069   { echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
    5070 echo "${ECHO_T}$MKOCTFILE" >&6; }
    5071 else
    5072   { echo "$as_me:$LINENO: result: no" >&5
    5073 echo "${ECHO_T}no" >&6; }
    5074 fi
    5075 
     4652  echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
     4653echo "${ECHO_T}$MKOCTFILE" >&6
     4654else
     4655  echo "$as_me:$LINENO: result: no" >&5
     4656echo "${ECHO_T}no" >&6
     4657fi
    50764658
    50774659        fi
     
    50824664
    50834665
    5084 # Check whether --with-perl was given.
     4666# Check whether --with-perl or --without-perl was given.
    50854667if test "${with_perl+set}" = set; then
    5086   withval=$with_perl;
    5087 fi
    5088 
     4668  withval="$with_perl"
     4669
     4670fi;
    50894671PERL=
    50904672PERL_INCLUDES=
     4673PERL_SITE_PACKAGES=
    50914674if test "$with_perl" != "no" ; then
    50924675    if test -x "$with_perl/bin/perl"
     
    51024685            # Extract the first word of "perl", so it can be a program name with args.
    51034686set dummy perl; ac_word=$2
    5104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    5105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     4687echo "$as_me:$LINENO: checking for $ac_word" >&5
     4688echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    51064689if test "${ac_cv_path_PERL+set}" = set; then
    51074690  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51184701  test -z "$as_dir" && as_dir=.
    51194702  for ac_exec_ext in '' $ac_executable_extensions; do
    5120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4703  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    51214704    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    51224705    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    51254708done
    51264709done
    5127 IFS=$as_save_IFS
    51284710
    51294711  ;;
     
    51314713fi
    51324714PERL=$ac_cv_path_PERL
     4715
    51334716if test -n "$PERL"; then
    5134   { echo "$as_me:$LINENO: result: $PERL" >&5
    5135 echo "${ECHO_T}$PERL" >&6; }
    5136 else
    5137   { echo "$as_me:$LINENO: result: no" >&5
    5138 echo "${ECHO_T}no" >&6; }
    5139 fi
    5140 
     4717  echo "$as_me:$LINENO: result: $PERL" >&5
     4718echo "${ECHO_T}$PERL" >&6
     4719else
     4720  echo "$as_me:$LINENO: result: no" >&5
     4721echo "${ECHO_T}no" >&6
     4722fi
    51414723
    51424724        fi
    51434725    fi
     4726    PERL_SITE_PACKAGES='$(libdir)/perl5'
    51444727fi
    51454728
     
    51514734pythondir=
    51524735
    5153 # Check whether --with-python was given.
     4736# Check whether --with-python or --without-python was given.
    51544737if test "${with_python+set}" = set; then
    5155   withval=$with_python;
    5156 fi
    5157 
     4738  withval="$with_python"
     4739
     4740fi;
    51584741if test "$with_python" != "no" ; then
    51594742    if test -x "$with_python/bin/python"
     
    51674750            PYTHON="$with_python"
    51684751        else
    5169             # Extract the first word of "python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
    5170 set dummy python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    5171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    5172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     4752            # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
     4753set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
     4754echo "$as_me:$LINENO: checking for $ac_word" >&5
     4755echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    51734756if test "${ac_cv_path_PYTHON+set}" = set; then
    51744757  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51854768  test -z "$as_dir" && as_dir=.
    51864769  for ac_exec_ext in '' $ac_executable_extensions; do
    5187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4770  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    51884771    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    51894772    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    51924775done
    51934776done
    5194 IFS=$as_save_IFS
    51954777
    51964778  ;;
     
    51984780fi
    51994781PYTHON=$ac_cv_path_PYTHON
     4782
    52004783if test -n "$PYTHON"; then
    5201   { echo "$as_me:$LINENO: result: $PYTHON" >&5
    5202 echo "${ECHO_T}$PYTHON" >&6; }
    5203 else
    5204   { echo "$as_me:$LINENO: result: no" >&5
    5205 echo "${ECHO_T}no" >&6; }
    5206 fi
    5207 
     4784  echo "$as_me:$LINENO: result: $PYTHON" >&5
     4785echo "${ECHO_T}$PYTHON" >&6
     4786else
     4787  echo "$as_me:$LINENO: result: no" >&5
     4788echo "${ECHO_T}no" >&6
     4789fi
    52084790
    52094791        fi
     
    52634845
    52644846
     4847
     4848
     4849
    52654850RP_BASE=`pwd`
    52664851
    52674852
    5268 ac_aux_dir=
    5269 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    5270   if test -f "$ac_dir/install-sh"; then
    5271     ac_aux_dir=$ac_dir
    5272     ac_install_sh="$ac_aux_dir/install-sh -c"
    5273     break
    5274   elif test -f "$ac_dir/install.sh"; then
    5275     ac_aux_dir=$ac_dir
    5276     ac_install_sh="$ac_aux_dir/install.sh -c"
    5277     break
    5278   elif test -f "$ac_dir/shtool"; then
    5279     ac_aux_dir=$ac_dir
    5280     ac_install_sh="$ac_aux_dir/shtool install -c"
    5281     break
    5282   fi
    5283 done
    5284 if test -z "$ac_aux_dir"; then
    5285   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    5286 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    5287    { (exit 1); exit 1; }; }
    5288 fi
    5289 
    5290 # These three variables are undocumented and unsupported,
    5291 # and are intended to be withdrawn in a future Autoconf release.
    5292 # They can cause serious problems if a builder's source tree is in a directory
    5293 # whose full name contains unusual characters.
    5294 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    5295 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    5296 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    5297 
    5298 
    5299 subdirs="$subdirs gui"
    5300 
    5301 subdirs="$subdirs src/tcl"
    5302 
    5303 
    5304 ac_config_files="$ac_config_files Makefile examples/demo.bash examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/wrapper/cee/Makefile examples/c-example/Makefile perl/Makefile.PL python/setup.py src/Makefile src/matlab/Makefile src/octave/Makefile src2/core/Makefile test/Makefile gui/apps/simsim gui/apps/rappture gui/apps/rappture.env"
    5305 
     4853
     4854
     4855subdirs="$subdirs gui "
     4856
     4857
     4858
     4859subdirs="$subdirs src/tcl "
     4860
     4861
     4862                                                                                                                                                                ac_config_files="$ac_config_files Makefile examples/demo.bash examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/wrapper/cee/Makefile examples/c-example/Makefile perl/Makefile.PL python/setup.py src/Makefile src/matlab/Makefile src/octave/Makefile src2/core/Makefile test/Makefile gui/apps/simsim gui/apps/rappture gui/apps/rappture.env"
    53064863cat >confcache <<\_ACEOF
    53074864# This file is a shell script that caches the results of configure
     
    53224879# The following way of writing the cache mishandles newlines in values,
    53234880# but we know of no workaround that is simple, portable, and efficient.
    5324 # So, we kill variables containing newlines.
     4881# So, don't put newlines in cache variables' values.
    53254882# Ultrix sh set writes to stderr and can't be redirected directly,
    53264883# and sets the high bit in the cache file unless we assign to the vars.
    5327 (
    5328   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    5329     eval ac_val=\$$ac_var
    5330     case $ac_val in #(
    5331     *${as_nl}*)
    5332       case $ac_var in #(
    5333       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    5334 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    5335       esac
    5336       case $ac_var in #(
    5337       _ | IFS | as_nl) ;; #(
    5338       *) $as_unset $ac_var ;;
    5339       esac ;;
    5340     esac
    5341   done
    5342 
     4884{
    53434885  (set) 2>&1 |
    5344     case $as_nl`(ac_space=' '; set) 2>&1` in #(
    5345     *${as_nl}ac_space=\ *)
     4886    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     4887    *ac_space=\ *)
    53464888      # `set' does not quote correctly, so add quotes (double-quote
    53474889      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    53494891        "s/'/'\\\\''/g;
    53504892          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    5351       ;; #(
     4893      ;;
    53524894    *)
    53534895      # `set' quotes correctly as required by POSIX, so do not add quotes.
    5354       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     4896      sed -n \
     4897        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    53554898      ;;
    5356     esac |
    5357     sort
    5358 ) |
     4899    esac;
     4900} |
    53594901  sed '
    5360      /^ac_cv_env_/b end
    53614902     t clear
    5362      :clear
     4903     : clear
    53634904     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    53644905     t end
    5365      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    5366      :end' >>confcache
    5367 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    5368   if test -w "$cache_file"; then
    5369     test "x$cache_file" != "x/dev/null" &&
    5370       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    5371 echo "$as_me: updating cache $cache_file" >&6;}
     4906     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     4907     : end' >>confcache
     4908if diff $cache_file confcache >/dev/null 2>&1; then :; else
     4909  if test -w $cache_file; then
     4910    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    53724911    cat confcache >$cache_file
    53734912  else
    5374     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    5375 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     4913    echo "not updating unwritable cache $cache_file"
    53764914  fi
    53774915fi
     
    53814919# Let make expand exec_prefix.
    53824920test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     4921
     4922# VPATH may cause trouble with some makes, so we remove $(srcdir),
     4923# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     4924# trailing colons and then remove the whole line if VPATH becomes empty
     4925# (actually we leave an empty line to preserve line numbers).
     4926if test "x$srcdir" = x.; then
     4927  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     4928s/:*\$(srcdir):*/:/;
     4929s/:*\${srcdir}:*/:/;
     4930s/:*@srcdir@:*/:/;
     4931s/^\([^=]*=[     ]*\):*/\1/;
     4932s/:*$//;
     4933s/^[^=]*=[       ]*$//;
     4934}'
     4935fi
    53834936
    53844937# Transform confdefs.h into DEFS.
     
    53874940#
    53884941# If the first sed substitution is executed (which looks for macros that
    5389 # take arguments), then branch to the quote section.  Otherwise,
     4942# take arguments), then we branch to the quote section.  Otherwise,
    53904943# look for a macro that doesn't take arguments.
    5391 ac_script='
     4944cat >confdef2opt.sed <<\_ACEOF
    53924945t clear
    5393 :clear
    5394 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
     4946: clear
     4947s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
    53954948t quote
    5396 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
     4949s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
    53974950t quote
    5398 b any
    5399 :quote
    5400 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
    5401 s/\[/\\&/g
    5402 s/\]/\\&/g
    5403 s/\$/$$/g
    5404 H
    5405 :any
    5406 ${
    5407         g
    5408         s/^\n//
    5409         s/\n/ /g
    5410         p
    5411 }
    5412 '
    5413 DEFS=`sed -n "$ac_script" confdefs.h`
     4951d
     4952: quote
     4953s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
     4954s,\[,\\&,g
     4955s,\],\\&,g
     4956s,\$,$$,g
     4957p
     4958_ACEOF
     4959# We use echo to avoid assuming a particular line-breaking character.
     4960# The extra dot is to prevent the shell from consuming trailing
     4961# line-breaks from the sub-command output.  A line-break within
     4962# single-quotes doesn't work because, if this script is created in a
     4963# platform that uses two characters for line-breaks (e.g., DOS), tr
     4964# would break.
     4965ac_LF_and_DOT=`echo; echo .`
     4966DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
     4967rm -f confdef2opt.sed
    54144968
    54154969
     
    54184972for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    54194973  # 1. Remove the extension, and $U if already installed.
    5420   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    5421   ac_i=`echo "$ac_i" | sed "$ac_script"`
    5422   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    5423   #    will be set to the directory where LIBOBJS objects are built.
    5424   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    5425   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     4974  ac_i=`echo "$ac_i" |
     4975         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     4976  # 2. Add them.
     4977  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     4978  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    54264979done
    54274980LIBOBJS=$ac_libobjs
     
    54545007## --------------------- ##
    54555008
    5456 # Be more Bourne compatible
    5457 DUALCASE=1; export DUALCASE # for MKS sh
     5009# Be Bourne compatible
    54585010if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    54595011  emulate sh
     
    54625014  # is contrary to our usage.  Disable this feature.
    54635015  alias -g '${1+"$@"}'='"$@"'
    5464   setopt NO_GLOB_SUBST
    5465 else
    5466   case `(set -o) 2>/dev/null` in
    5467   *posix*) set -o posix ;;
    5468 esac
    5469 
    5470 fi
    5471 
    5472 
    5473 
    5474 
    5475 # PATH needs CR
     5016elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     5017  set -o posix
     5018fi
     5019DUALCASE=1; export DUALCASE # for MKS sh
     5020
     5021# Support unset when possible.
     5022if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     5023  as_unset=unset
     5024else
     5025  as_unset=false
     5026fi
     5027
     5028
     5029# Work around bugs in pre-3.0 UWIN ksh.
     5030$as_unset ENV MAIL MAILPATH
     5031PS1='$ '
     5032PS2='> '
     5033PS4='+ '
     5034
     5035# NLS nuisances.
     5036for as_var in \
     5037  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     5038  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     5039  LC_TELEPHONE LC_TIME
     5040do
     5041  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     5042    eval $as_var=C; export $as_var
     5043  else
     5044    $as_unset $as_var
     5045  fi
     5046done
     5047
     5048# Required to use basename.
     5049if expr a : '\(a\)' >/dev/null 2>&1; then
     5050  as_expr=expr
     5051else
     5052  as_expr=false
     5053fi
     5054
     5055if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     5056  as_basename=basename
     5057else
     5058  as_basename=false
     5059fi
     5060
     5061
     5062# Name of the executable.
     5063as_me=`$as_basename "$0" ||
     5064$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     5065         X"$0" : 'X\(//\)$' \| \
     5066         X"$0" : 'X\(/\)$' \| \
     5067         .     : '\(.\)' 2>/dev/null ||
     5068echo X/"$0" |
     5069    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     5070          /^X\/\(\/\/\)$/{ s//\1/; q; }
     5071          /^X\/\(\/\).*/{ s//\1/; q; }
     5072          s/.*/./; q'`
     5073
     5074
     5075# PATH needs CR, and LINENO needs CR and PATH.
    54765076# Avoid depending upon Character Ranges.
    54775077as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    54945094fi
    54955095
    5496 # Support unset when possible.
    5497 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    5498   as_unset=unset
    5499 else
    5500   as_unset=false
    5501 fi
    5502 
    5503 
    5504 # IFS
    5505 # We need space, tab and new line, in precisely that order.  Quoting is
    5506 # there to prevent editors from complaining about space-tab.
    5507 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    5508 # splitting by setting IFS to empty value.)
    5509 as_nl='
    5510 '
    5511 IFS=" ""        $as_nl"
    5512 
    5513 # Find who we are.  Look in the path if we contain no directory separator.
    5514 case $0 in
    5515   *[\\/]* ) as_myself=$0 ;;
    5516   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5096
     5097  as_lineno_1=$LINENO
     5098  as_lineno_2=$LINENO
     5099  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     5100  test "x$as_lineno_1" != "x$as_lineno_2" &&
     5101  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     5102  # Find who we are.  Look in the path if we contain no path at all
     5103  # relative or not.
     5104  case $0 in
     5105    *[\\/]* ) as_myself=$0 ;;
     5106    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    55175107for as_dir in $PATH
    55185108do
     
    55215111  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    55225112done
    5523 IFS=$as_save_IFS
    5524 
    5525      ;;
    5526 esac
    5527 # We did not find ourselves, most probably we were run as `sh COMMAND'
    5528 # in which case we are not to be found in the path.
    5529 if test "x$as_myself" = x; then
    5530   as_myself=$0
    5531 fi
    5532 if test ! -f "$as_myself"; then
    5533   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    5534   { (exit 1); exit 1; }
    5535 fi
    5536 
    5537 # Work around bugs in pre-3.0 UWIN ksh.
    5538 for as_var in ENV MAIL MAILPATH
    5539 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    5540 done
    5541 PS1='$ '
    5542 PS2='> '
    5543 PS4='+ '
    5544 
    5545 # NLS nuisances.
    5546 for as_var in \
    5547   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    5548   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    5549   LC_TELEPHONE LC_TIME
     5113
     5114       ;;
     5115  esac
     5116  # We did not find ourselves, most probably we were run as `sh COMMAND'
     5117  # in which case we are not to be found in the path.
     5118  if test "x$as_myself" = x; then
     5119    as_myself=$0
     5120  fi
     5121  if test ! -f "$as_myself"; then
     5122    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     5123echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     5124   { (exit 1); exit 1; }; }
     5125  fi
     5126  case $CONFIG_SHELL in
     5127  '')
     5128    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5129for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    55505130do
    5551   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    5552     eval $as_var=C; export $as_var
    5553   else
    5554     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    5555   fi
    5556 done
    5557 
    5558 # Required to use basename.
    5559 if expr a : '\(a\)' >/dev/null 2>&1 &&
    5560    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    5561   as_expr=expr
    5562 else
    5563   as_expr=false
    5564 fi
    5565 
    5566 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    5567   as_basename=basename
    5568 else
    5569   as_basename=false
    5570 fi
    5571 
    5572 
    5573 # Name of the executable.
    5574 as_me=`$as_basename -- "$0" ||
    5575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    5576          X"$0" : 'X\(//\)$' \| \
    5577          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    5578 echo X/"$0" |
    5579     sed '/^.*\/\([^/][^/]*\)\/*$/{
    5580             s//\1/
    5581             q
    5582           }
    5583           /^X\/\(\/\/\)$/{
    5584             s//\1/
    5585             q
    5586           }
    5587           /^X\/\(\/\).*/{
    5588             s//\1/
    5589             q
    5590           }
    5591           s/.*/./; q'`
    5592 
    5593 # CDPATH.
    5594 $as_unset CDPATH
    5595 
    5596 
    5597 
     5131  IFS=$as_save_IFS
     5132  test -z "$as_dir" && as_dir=.
     5133  for as_base in sh bash ksh sh5; do
     5134         case $as_dir in
     5135         /*)
     5136           if ("$as_dir/$as_base" -c '
    55985137  as_lineno_1=$LINENO
    55995138  as_lineno_2=$LINENO
     5139  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    56005140  test "x$as_lineno_1" != "x$as_lineno_2" &&
    5601   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     5141  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     5142             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     5143             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     5144             CONFIG_SHELL=$as_dir/$as_base
     5145             export CONFIG_SHELL
     5146             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     5147           fi;;
     5148         esac
     5149       done
     5150done
     5151;;
     5152  esac
    56025153
    56035154  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    56045155  # uniformly replaced by the line number.  The first 'sed' inserts a
    5605   # line-number line after each line using $LINENO; the second 'sed'
    5606   # does the real work.  The second script uses 'N' to pair each
    5607   # line-number line with the line containing $LINENO, and appends
    5608   # trailing '-' during substitution so that $LINENO is not a special
    5609   # case at line end.
     5156  # line-number line before each line; the second 'sed' does the real
     5157  # work.  The second script uses 'N' to pair each line-number line
     5158  # with the numbered line, and appends trailing '-' during
     5159  # substitution so that $LINENO is not a special case at line end.
    56105160  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    5611   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    5612   # E. McMahon (1931-1989) for sed's syntax.  :-)
    5613   sed -n '
    5614     p
    5615     /[$]LINENO/=
    5616   ' <$as_myself |
     5161  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     5162  sed '=' <$as_myself |
    56175163    sed '
    5618       s/[$]LINENO.*/&-/
    5619       t lineno
    5620       b
    5621       :lineno
    56225164      N
    5623       :loop
    5624       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     5165      s,$,-,
     5166      : loop
     5167      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    56255168      t loop
    5626       s/-\n.*//
     5169      s,-$,,
     5170      s,^['$as_cr_digits']*\n,,
    56275171    ' >$as_me.lineno &&
    5628   chmod +x "$as_me.lineno" ||
    5629     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     5172  chmod +x $as_me.lineno ||
     5173    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     5174echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    56305175   { (exit 1); exit 1; }; }
    56315176
    56325177  # Don't try to exec as it changes $[0], causing all sort of problems
    56335178  # (the dirname of $[0] is not the place where we might find the
    5634   # original and so on.  Autoconf is especially sensitive to this).
    5635   . "./$as_me.lineno"
     5179  # original and so on.  Autoconf is especially sensible to this).
     5180  . ./$as_me.lineno
    56365181  # Exit status is that of the last command.
    56375182  exit
     
    56395184
    56405185
    5641 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    5642   as_dirname=dirname
    5643 else
    5644   as_dirname=false
    5645 fi
    5646 
    5647 ECHO_C= ECHO_N= ECHO_T=
    5648 case `echo -n x` in
    5649 -n*)
    5650   case `echo 'x\c'` in
    5651   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    5652   *)   ECHO_C='\c';;
    5653   esac;;
    5654 *)
    5655   ECHO_N='-n';;
     5186case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     5187  *c*,-n*) ECHO_N= ECHO_C='
     5188' ECHO_T='      ' ;;
     5189  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     5190  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    56565191esac
    56575192
    5658 if expr a : '\(a\)' >/dev/null 2>&1 &&
    5659    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     5193if expr a : '\(a\)' >/dev/null 2>&1; then
    56605194  as_expr=expr
    56615195else
     
    56645198
    56655199rm -f conf$$ conf$$.exe conf$$.file
    5666 if test -d conf$$.dir; then
    5667   rm -f conf$$.dir/conf$$.file
    5668 else
    5669   rm -f conf$$.dir
    5670   mkdir conf$$.dir
    5671 fi
    56725200echo >conf$$.file
    56735201if ln -s conf$$.file conf$$ 2>/dev/null; then
    5674   as_ln_s='ln -s'
    5675   # ... but there are two gotchas:
    5676   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    5677   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    5678   # In both cases, we have to default to `cp -p'.
    5679   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     5202  # We could just check for DJGPP; but this test a) works b) is more generic
     5203  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     5204  if test -f conf$$.exe; then
     5205    # Don't use ln at all; we don't have any links
    56805206    as_ln_s='cp -p'
     5207  else
     5208    as_ln_s='ln -s'
     5209  fi
    56815210elif ln conf$$.file conf$$ 2>/dev/null; then
    56825211  as_ln_s=ln
     
    56845213  as_ln_s='cp -p'
    56855214fi
    5686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    5687 rmdir conf$$.dir 2>/dev/null
     5215rm -f conf$$ conf$$.exe conf$$.file
    56885216
    56895217if mkdir -p . 2>/dev/null; then
     
    56945222fi
    56955223
    5696 if test -x / >/dev/null 2>&1; then
    5697   as_test_x='test -x'
    5698 else
    5699   if ls -dL / >/dev/null 2>&1; then
    5700     as_ls_L_option=L
    5701   else
    5702     as_ls_L_option=
    5703   fi
    5704   as_test_x='
    5705     eval sh -c '\''
    5706       if test -d "$1"; then
    5707         test -d "$1/.";
    5708       else
    5709         case $1 in
    5710         -*)set "./$1";;
    5711         esac;
    5712         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    5713         ???[sx]*):;;*)false;;esac;fi
    5714     '\'' sh
    5715   '
    5716 fi
    5717 as_executable_p=$as_test_x
     5224as_executable_p="test -f"
    57185225
    57195226# Sed expression to map a string onto a valid CPP name.
     
    57245231
    57255232
     5233# IFS
     5234# We need space, tab and new line, in precisely that order.
     5235as_nl='
     5236'
     5237IFS="   $as_nl"
     5238
     5239# CDPATH.
     5240$as_unset CDPATH
     5241
    57265242exec 6>&1
    57275243
    5728 # Save the log message, to keep $[0] and so on meaningful, and to
     5244# Open the log real soon, to keep \$[0] and so on meaningful, and to
    57295245# report actual input values of CONFIG_FILES etc. instead of their
    5730 # values after options handling.
    5731 ac_log="
     5246# values after options handling.  Logging --version etc. is OK.
     5247exec 5>>config.log
     5248{
     5249  echo
     5250  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     5251## Running $as_me. ##
     5252_ASBOX
     5253} >&5
     5254cat >&5 <<_CSEOF
     5255
    57325256This file was extended by rappture $as_me 1.1, which was
    5733 generated by GNU Autoconf 2.61.  Invocation command line was
     5257generated by GNU Autoconf 2.59.  Invocation command line was
    57345258
    57355259  CONFIG_FILES    = $CONFIG_FILES
     
    57395263  $ $0 $@
    57405264
    5741 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    5742 "
    5743 
    5744 _ACEOF
    5745 
    5746 cat >>$CONFIG_STATUS <<_ACEOF
     5265_CSEOF
     5266echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     5267echo >&5
     5268_ACEOF
     5269
    57475270# Files that config.status was made for.
    5748 config_files="$ac_config_files"
    5749 
    5750 _ACEOF
     5271if test -n "$ac_config_files"; then
     5272  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     5273fi
     5274
     5275if test -n "$ac_config_headers"; then
     5276  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     5277fi
     5278
     5279if test -n "$ac_config_links"; then
     5280  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     5281fi
     5282
     5283if test -n "$ac_config_commands"; then
     5284  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     5285fi
    57515286
    57525287cat >>$CONFIG_STATUS <<\_ACEOF
     5288
    57535289ac_cs_usage="\
    57545290\`$as_me' instantiates files from templates according to the
     
    57585294
    57595295  -h, --help       print this help, then exit
    5760   -V, --version    print version number and configuration settings, then exit
     5296  -V, --version    print version number, then exit
    57615297  -q, --quiet      do not print progress messages
    57625298  -d, --debug      don't remove temporary files
     
    57695305
    57705306Report bugs to <bug-autoconf@gnu.org>."
    5771 
    5772 _ACEOF
     5307_ACEOF
     5308
    57735309cat >>$CONFIG_STATUS <<_ACEOF
    57745310ac_cs_version="\\
    57755311rappture config.status 1.1
    5776 configured by $0, generated by GNU Autoconf 2.61,
    5777   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    5778 
    5779 Copyright (C) 2006 Free Software Foundation, Inc.
     5312configured by $0, generated by GNU Autoconf 2.59,
     5313  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     5314
     5315Copyright (C) 2003 Free Software Foundation, Inc.
    57805316This config.status script is free software; the Free Software Foundation
    57815317gives unlimited permission to copy, distribute and modify it."
    5782 
    5783 ac_pwd='$ac_pwd'
    5784 srcdir='$srcdir'
     5318srcdir=$srcdir
     5319INSTALL="$INSTALL"
    57855320_ACEOF
    57865321
     
    57935328  case $1 in
    57945329  --*=*)
    5795     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    5796     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     5330    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     5331    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    57975332    ac_shift=:
    57985333    ;;
    5799   *)
     5334  -*)
    58005335    ac_option=$1
    58015336    ac_optarg=$2
    58025337    ac_shift=shift
    58035338    ;;
     5339  *) # This is not an option, so the user has probably given explicit
     5340     # arguments.
     5341     ac_option=$1
     5342     ac_need_defaults=false;;
    58045343  esac
    58055344
    58065345  case $ac_option in
    58075346  # Handling of the options.
     5347_ACEOF
     5348cat >>$CONFIG_STATUS <<\_ACEOF
    58085349  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    58095350    ac_cs_recheck=: ;;
    5810   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    5811     echo "$ac_cs_version"; exit ;;
    5812   --debug | --debu | --deb | --de | --d | -d )
     5351  --version | --vers* | -V )
     5352    echo "$ac_cs_version"; exit 0 ;;
     5353  --he | --h)
     5354    # Conflict between --help and --header
     5355    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     5356Try \`$0 --help' for more information." >&5
     5357echo "$as_me: error: ambiguous option: $1
     5358Try \`$0 --help' for more information." >&2;}
     5359   { (exit 1); exit 1; }; };;
     5360  --help | --hel | -h )
     5361    echo "$ac_cs_usage"; exit 0 ;;
     5362  --debug | --d* | -d )
    58135363    debug=: ;;
    58145364  --file | --fil | --fi | --f )
     
    58165366    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    58175367    ac_need_defaults=false;;
    5818   --he | --h |  --help | --hel | -h )
    5819     echo "$ac_cs_usage"; exit ;;
     5368  --header | --heade | --head | --hea )
     5369    $ac_shift
     5370    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     5371    ac_need_defaults=false;;
    58205372  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    58215373  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    58235375
    58245376  # This is an error.
    5825   -*) { echo "$as_me: error: unrecognized option: $1
    5826 Try \`$0 --help' for more information." >&2
     5377  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     5378Try \`$0 --help' for more information." >&5
     5379echo "$as_me: error: unrecognized option: $1
     5380Try \`$0 --help' for more information." >&2;}
    58275381   { (exit 1); exit 1; }; } ;;
    58285382
    5829   *) ac_config_targets="$ac_config_targets $1"
    5830      ac_need_defaults=false ;;
     5383  *) ac_config_targets="$ac_config_targets $1" ;;
    58315384
    58325385  esac
     
    58445397cat >>$CONFIG_STATUS <<_ACEOF
    58455398if \$ac_cs_recheck; then
    5846   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    5847   CONFIG_SHELL=$SHELL
    5848   export CONFIG_SHELL
    5849   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    5850 fi
    5851 
    5852 _ACEOF
     5399  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     5400  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     5401fi
     5402
     5403_ACEOF
     5404
     5405
     5406
     5407
     5408
    58535409cat >>$CONFIG_STATUS <<\_ACEOF
    5854 exec 5>>config.log
    5855 {
    5856   echo
    5857   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    5858 ## Running $as_me. ##
    5859 _ASBOX
    5860   echo "$ac_log"
    5861 } >&5
    5862 
    5863 _ACEOF
    5864 cat >>$CONFIG_STATUS <<_ACEOF
    5865 _ACEOF
    5866 
    5867 cat >>$CONFIG_STATUS <<\_ACEOF
    5868 
    5869 # Handling of arguments.
    58705410for ac_config_target in $ac_config_targets
    58715411do
    5872   case $ac_config_target in
    5873     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    5874     "examples/demo.bash") CONFIG_FILES="$CONFIG_FILES examples/demo.bash" ;;
    5875     "examples/app-fermi/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/cee/Makefile" ;;
    5876     "examples/app-fermi/fortran/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/fortran/Makefile" ;;
    5877     "examples/app-fermi/wrapper/cee/Makefile") CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/cee/Makefile" ;;
    5878     "examples/c-example/Makefile") CONFIG_FILES="$CONFIG_FILES examples/c-example/Makefile" ;;
    5879     "perl/Makefile.PL") CONFIG_FILES="$CONFIG_FILES perl/Makefile.PL" ;;
    5880     "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
    5881     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    5882     "src/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES src/matlab/Makefile" ;;
    5883     "src/octave/Makefile") CONFIG_FILES="$CONFIG_FILES src/octave/Makefile" ;;
    5884     "src2/core/Makefile") CONFIG_FILES="$CONFIG_FILES src2/core/Makefile" ;;
    5885     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
    5886     "gui/apps/simsim") CONFIG_FILES="$CONFIG_FILES gui/apps/simsim" ;;
    5887     "gui/apps/rappture") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture" ;;
    5888     "gui/apps/rappture.env") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture.env" ;;
    5889 
     5412  case "$ac_config_target" in
     5413  # Handling of arguments.
     5414  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     5415  "examples/demo.bash" ) CONFIG_FILES="$CONFIG_FILES examples/demo.bash" ;;
     5416  "examples/app-fermi/cee/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/app-fermi/cee/Makefile" ;;
     5417  "examples/app-fermi/fortran/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/app-fermi/fortran/Makefile" ;;
     5418  "examples/app-fermi/wrapper/cee/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/app-fermi/wrapper/cee/Makefile" ;;
     5419  "examples/c-example/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/c-example/Makefile" ;;
     5420  "perl/Makefile.PL" ) CONFIG_FILES="$CONFIG_FILES perl/Makefile.PL" ;;
     5421  "python/setup.py" ) CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
     5422  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     5423  "src/matlab/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/matlab/Makefile" ;;
     5424  "src/octave/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/octave/Makefile" ;;
     5425  "src2/core/Makefile" ) CONFIG_FILES="$CONFIG_FILES src2/core/Makefile" ;;
     5426  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
     5427  "gui/apps/simsim" ) CONFIG_FILES="$CONFIG_FILES gui/apps/simsim" ;;
     5428  "gui/apps/rappture" ) CONFIG_FILES="$CONFIG_FILES gui/apps/rappture" ;;
     5429  "gui/apps/rappture.env" ) CONFIG_FILES="$CONFIG_FILES gui/apps/rappture.env" ;;
    58905430  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    58915431echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    58935433  esac
    58945434done
    5895 
    58965435
    58975436# If the user did not use the arguments to specify the items to instantiate,
     
    59045443
    59055444# Have a temporary directory for convenience.  Make it in the build tree
    5906 # simply because there is no reason against having it here, and in addition,
     5445# simply because there is no reason to put it here, and in addition,
    59075446# creating and moving files from /tmp can sometimes cause problems.
    5908 # Hook for its removal unless debugging.
    5909 # Note that there is a small window in which the directory will not be cleaned:
    5910 # after its creation but before its name has been assigned to `$tmp'.
     5447# Create a temporary directory, and hook for its removal unless debugging.
    59115448$debug ||
    59125449{
    5913   tmp=
    5914   trap 'exit_status=$?
    5915   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    5916 ' 0
     5450  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    59175451  trap '{ (exit 1); exit 1; }' 1 2 13 15
    59185452}
     5453
    59195454# Create a (secure) tmp directory for tmp files.
    59205455
    59215456{
    5922   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     5457  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    59235458  test -n "$tmp" && test -d "$tmp"
    59245459}  ||
    59255460{
    5926   tmp=./conf$$-$RANDOM
    5927   (umask 077 && mkdir "$tmp")
     5461  tmp=./confstat$$-$RANDOM
     5462  (umask 077 && mkdir $tmp)
    59285463} ||
    59295464{
     
    59325467}
    59335468
     5469_ACEOF
     5470
     5471cat >>$CONFIG_STATUS <<_ACEOF
     5472
    59345473#
    5935 # Set up the sed scripts for CONFIG_FILES section.
     5474# CONFIG_FILES section.
    59365475#
    59375476
    59385477# No need to generate the scripts if there are no CONFIG_FILES.
    59395478# This happens for instance when ./config.status config.h
    5940 if test -n "$CONFIG_FILES"; then
    5941 
    5942 _ACEOF
    5943 
    5944 
    5945 
    5946 ac_delim='%!_!# '
    5947 for ac_last_try in false false false false false :; do
    5948   cat >conf$$subs.sed <<_ACEOF
    5949 SHELL!$SHELL$ac_delim
    5950 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    5951 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    5952 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    5953 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    5954 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    5955 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    5956 exec_prefix!$exec_prefix$ac_delim
    5957 prefix!$prefix$ac_delim
    5958 program_transform_name!$program_transform_name$ac_delim
    5959 bindir!$bindir$ac_delim
    5960 sbindir!$sbindir$ac_delim
    5961 libexecdir!$libexecdir$ac_delim
    5962 datarootdir!$datarootdir$ac_delim
    5963 datadir!$datadir$ac_delim
    5964 sysconfdir!$sysconfdir$ac_delim
    5965 sharedstatedir!$sharedstatedir$ac_delim
    5966 localstatedir!$localstatedir$ac_delim
    5967 includedir!$includedir$ac_delim
    5968 oldincludedir!$oldincludedir$ac_delim
    5969 docdir!$docdir$ac_delim
    5970 infodir!$infodir$ac_delim
    5971 htmldir!$htmldir$ac_delim
    5972 dvidir!$dvidir$ac_delim
    5973 pdfdir!$pdfdir$ac_delim
    5974 psdir!$psdir$ac_delim
    5975 libdir!$libdir$ac_delim
    5976 localedir!$localedir$ac_delim
    5977 mandir!$mandir$ac_delim
    5978 DEFS!$DEFS$ac_delim
    5979 ECHO_C!$ECHO_C$ac_delim
    5980 ECHO_N!$ECHO_N$ac_delim
    5981 ECHO_T!$ECHO_T$ac_delim
    5982 LIBS!$LIBS$ac_delim
    5983 build_alias!$build_alias$ac_delim
    5984 host_alias!$host_alias$ac_delim
    5985 target_alias!$target_alias$ac_delim
    5986 SET_MAKE!$SET_MAKE$ac_delim
    5987 CC!$CC$ac_delim
    5988 CFLAGS!$CFLAGS$ac_delim
    5989 LDFLAGS!$LDFLAGS$ac_delim
    5990 CPPFLAGS!$CPPFLAGS$ac_delim
    5991 ac_ct_CC!$ac_ct_CC$ac_delim
    5992 EXEEXT!$EXEEXT$ac_delim
    5993 OBJEXT!$OBJEXT$ac_delim
    5994 CPP!$CPP$ac_delim
    5995 GREP!$GREP$ac_delim
    5996 EGREP!$EGREP$ac_delim
    5997 CXX!$CXX$ac_delim
    5998 CXXFLAGS!$CXXFLAGS$ac_delim
    5999 ac_ct_CXX!$ac_ct_CXX$ac_delim
    6000 CXXCPP!$CXXCPP$ac_delim
    6001 F77!$F77$ac_delim
    6002 FFLAGS!$FFLAGS$ac_delim
    6003 ac_ct_F77!$ac_ct_F77$ac_delim
    6004 MEX!$MEX$ac_delim
    6005 MKOCTFILE!$MKOCTFILE$ac_delim
    6006 PERL!$PERL$ac_delim
    6007 PYTHON!$PYTHON$ac_delim
    6008 pythondir!$pythondir$ac_delim
    6009 MEX_ARCH!$MEX_ARCH$ac_delim
    6010 PERL_INCLUDES!$PERL_INCLUDES$ac_delim
    6011 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
    6012 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
    6013 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim
    6014 VERSION!$VERSION$ac_delim
    6015 RP_BASE!$RP_BASE$ac_delim
    6016 subdirs!$subdirs$ac_delim
    6017 LIBOBJS!$LIBOBJS$ac_delim
    6018 LTLIBOBJS!$LTLIBOBJS$ac_delim
    6019 _ACEOF
    6020 
    6021   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
    6022     break
    6023   elif $ac_last_try; then
    6024     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    6025 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    6026    { (exit 1); exit 1; }; }
    6027   else
    6028     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     5479if test -n "\$CONFIG_FILES"; then
     5480  # Protect against being on the right side of a sed subst in config.status.
     5481  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     5482   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     5483s,@SHELL@,$SHELL,;t t
     5484s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     5485s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     5486s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     5487s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     5488s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     5489s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     5490s,@exec_prefix@,$exec_prefix,;t t
     5491s,@prefix@,$prefix,;t t
     5492s,@program_transform_name@,$program_transform_name,;t t
     5493s,@bindir@,$bindir,;t t
     5494s,@sbindir@,$sbindir,;t t
     5495s,@libexecdir@,$libexecdir,;t t
     5496s,@datadir@,$datadir,;t t
     5497s,@sysconfdir@,$sysconfdir,;t t
     5498s,@sharedstatedir@,$sharedstatedir,;t t
     5499s,@localstatedir@,$localstatedir,;t t
     5500s,@libdir@,$libdir,;t t
     5501s,@includedir@,$includedir,;t t
     5502s,@oldincludedir@,$oldincludedir,;t t
     5503s,@infodir@,$infodir,;t t
     5504s,@mandir@,$mandir,;t t
     5505s,@build_alias@,$build_alias,;t t
     5506s,@host_alias@,$host_alias,;t t
     5507s,@target_alias@,$target_alias,;t t
     5508s,@DEFS@,$DEFS,;t t
     5509s,@ECHO_C@,$ECHO_C,;t t
     5510s,@ECHO_N@,$ECHO_N,;t t
     5511s,@ECHO_T@,$ECHO_T,;t t
     5512s,@LIBS@,$LIBS,;t t
     5513s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     5514s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     5515s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     5516s,@SET_MAKE@,$SET_MAKE,;t t
     5517s,@CC@,$CC,;t t
     5518s,@CFLAGS@,$CFLAGS,;t t
     5519s,@LDFLAGS@,$LDFLAGS,;t t
     5520s,@CPPFLAGS@,$CPPFLAGS,;t t
     5521s,@ac_ct_CC@,$ac_ct_CC,;t t
     5522s,@EXEEXT@,$EXEEXT,;t t
     5523s,@OBJEXT@,$OBJEXT,;t t
     5524s,@CPP@,$CPP,;t t
     5525s,@EGREP@,$EGREP,;t t
     5526s,@CXX@,$CXX,;t t
     5527s,@CXXFLAGS@,$CXXFLAGS,;t t
     5528s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     5529s,@CXXCPP@,$CXXCPP,;t t
     5530s,@F77@,$F77,;t t
     5531s,@FFLAGS@,$FFLAGS,;t t
     5532s,@ac_ct_F77@,$ac_ct_F77,;t t
     5533s,@MEX@,$MEX,;t t
     5534s,@MKOCTFILE@,$MKOCTFILE,;t t
     5535s,@PERL@,$PERL,;t t
     5536s,@PYTHON@,$PYTHON,;t t
     5537s,@pythondir@,$pythondir,;t t
     5538s,@MEX_ARCH@,$MEX_ARCH,;t t
     5539s,@MEXEXT@,$MEXEXT,;t t
     5540s,@PERL_INCLUDES@,$PERL_INCLUDES,;t t
     5541s,@PERL_SITE_PACKAGES@,$PERL_SITE_PACKAGES,;t t
     5542s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
     5543s,@PYTHON_INCLUDES@,$PYTHON_INCLUDES,;t t
     5544s,@PYTHON_SITE_PACKAGES@,$PYTHON_SITE_PACKAGES,;t t
     5545s,@LIB_SEARCH_DIRS@,$LIB_SEARCH_DIRS,;t t
     5546s,@VERSION@,$VERSION,;t t
     5547s,@RP_BASE@,$RP_BASE,;t t
     5548s,@subdirs@,$subdirs,;t t
     5549s,@LIBOBJS@,$LIBOBJS,;t t
     5550s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     5551CEOF
     5552
     5553_ACEOF
     5554
     5555  cat >>$CONFIG_STATUS <<\_ACEOF
     5556  # Split the substitutions into bite-sized pieces for seds with
     5557  # small command number limits, like on Digital OSF/1 and HP-UX.
     5558  ac_max_sed_lines=48
     5559  ac_sed_frag=1 # Number of current file.
     5560  ac_beg=1 # First line for current file.
     5561  ac_end=$ac_max_sed_lines # Line after last line for current file.
     5562  ac_more_lines=:
     5563  ac_sed_cmds=
     5564  while $ac_more_lines; do
     5565    if test $ac_beg -gt 1; then
     5566      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     5567    else
     5568      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     5569    fi
     5570    if test ! -s $tmp/subs.frag; then
     5571      ac_more_lines=false
     5572    else
     5573      # The purpose of the label and of the branching condition is to
     5574      # speed up the sed processing (if there are no `@' at all, there
     5575      # is no need to browse any of the substitutions).
     5576      # These are the two extra sed commands mentioned above.
     5577      (echo ':t
     5578  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     5579      if test -z "$ac_sed_cmds"; then
     5580        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     5581      else
     5582        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     5583      fi
     5584      ac_sed_frag=`expr $ac_sed_frag + 1`
     5585      ac_beg=$ac_end
     5586      ac_end=`expr $ac_end + $ac_max_sed_lines`
     5587    fi
     5588  done
     5589  if test -z "$ac_sed_cmds"; then
     5590    ac_sed_cmds=cat
    60295591  fi
    6030 done
    6031 
    6032 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    6033 if test -n "$ac_eof"; then
    6034   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    6035   ac_eof=`expr $ac_eof + 1`
    6036 fi
    6037 
    6038 cat >>$CONFIG_STATUS <<_ACEOF
    6039 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    6040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
    6041 _ACEOF
    6042 sed '
    6043 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    6044 s/^/s,@/; s/!/@,|#_!!_#|/
    6045 :n
    6046 t n
    6047 s/'"$ac_delim"'$/,g/; t
    6048 s/$/\\/; p
    6049 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    6050 ' >>$CONFIG_STATUS <conf$$subs.sed
    6051 rm -f conf$$subs.sed
    6052 cat >>$CONFIG_STATUS <<_ACEOF
    6053 :end
    6054 s/|#_!!_#|//g
    6055 CEOF$ac_eof
    6056 _ACEOF
    6057 
    6058 
    6059 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    6060 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    6061 # trailing colons and then remove the whole line if VPATH becomes empty
    6062 # (actually we leave an empty line to preserve line numbers).
    6063 if test "x$srcdir" = x.; then
    6064   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    6065 s/:*\$(srcdir):*/:/
    6066 s/:*\${srcdir}:*/:/
    6067 s/:*@srcdir@:*/:/
    6068 s/^\([^=]*=[     ]*\):*/\1/
    6069 s/:*$//
    6070 s/^[^=]*=[       ]*$//
    6071 }'
    6072 fi
    6073 
     5592fi # test -n "$CONFIG_FILES"
     5593
     5594_ACEOF
    60745595cat >>$CONFIG_STATUS <<\_ACEOF
    6075 fi # test -n "$CONFIG_FILES"
    6076 
    6077 
    6078 for ac_tag in  :F $CONFIG_FILES
    6079 do
    6080   case $ac_tag in
    6081   :[FHLC]) ac_mode=$ac_tag; continue;;
     5596for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     5597  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     5598  case $ac_file in
     5599  - | *:- | *:-:* ) # input from stdin
     5600        cat >$tmp/stdin
     5601        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5602        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5603  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5604        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5605  * )   ac_file_in=$ac_file.in ;;
    60825606  esac
    6083   case $ac_mode$ac_tag in
    6084   :[FHL]*:*);;
    6085   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    6086 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    6087    { (exit 1); exit 1; }; };;
    6088   :[FH]-) ac_tag=-:-;;
    6089   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    6090   esac
    6091   ac_save_IFS=$IFS
    6092   IFS=:
    6093   set x $ac_tag
    6094   IFS=$ac_save_IFS
    6095   shift
    6096   ac_file=$1
    6097   shift
    6098 
    6099   case $ac_mode in
    6100   :L) ac_source=$1;;
    6101   :[FH])
    6102     ac_file_inputs=
    6103     for ac_f
    6104     do
    6105       case $ac_f in
    6106       -) ac_f="$tmp/stdin";;
    6107       *) # Look for the file first in the build tree, then in the source tree
    6108          # (if the path is not absolute).  The absolute path cannot be DOS-style,
    6109          # because $ac_f cannot contain `:'.
    6110          test -f "$ac_f" ||
    6111            case $ac_f in
    6112            [\\/$]*) false;;
    6113            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    6114            esac ||
    6115            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    6116 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    6117    { (exit 1); exit 1; }; };;
    6118       esac
    6119       ac_file_inputs="$ac_file_inputs $ac_f"
    6120     done
    6121 
    6122     # Let's still pretend it is `configure' which instantiates (i.e., don't
    6123     # use $as_me), people would be surprised to read:
    6124     #    /* config.h.  Generated by config.status.  */
    6125     configure_input="Generated from "`IFS=:
    6126           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    6127     if test x"$ac_file" != x-; then
    6128       configure_input="$ac_file.  $configure_input"
    6129       { echo "$as_me:$LINENO: creating $ac_file" >&5
    6130 echo "$as_me: creating $ac_file" >&6;}
    6131     fi
    6132 
    6133     case $ac_tag in
    6134     *:-:* | *:-) cat >"$tmp/stdin";;
    6135     esac
    6136     ;;
    6137   esac
    6138 
    6139   ac_dir=`$as_dirname -- "$ac_file" ||
     5607
     5608  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     5609  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    61405610$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    61415611         X"$ac_file" : 'X\(//\)[^/]' \| \
    61425612         X"$ac_file" : 'X\(//\)$' \| \
    6143          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     5613         X"$ac_file" : 'X\(/\)' \| \
     5614         .     : '\(.\)' 2>/dev/null ||
    61445615echo X"$ac_file" |
    6145     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    6146             s//\1/
    6147             q
    6148           }
    6149           /^X\(\/\/\)[^/].*/{
    6150             s//\1/
    6151             q
    6152           }
    6153           /^X\(\/\/\)$/{
    6154             s//\1/
    6155             q
    6156           }
    6157           /^X\(\/\).*/{
    6158             s//\1/
    6159             q
    6160           }
    6161           s/.*/./; q'`
    6162   { as_dir="$ac_dir"
    6163   case $as_dir in #(
    6164   -*) as_dir=./$as_dir;;
    6165   esac
    6166   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     5616    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5617          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5618          /^X\(\/\/\)$/{ s//\1/; q; }
     5619          /^X\(\/\).*/{ s//\1/; q; }
     5620          s/.*/./; q'`
     5621  { if $as_mkdir_p; then
     5622    mkdir -p "$ac_dir"
     5623  else
     5624    as_dir="$ac_dir"
    61675625    as_dirs=
    6168     while :; do
    6169       case $as_dir in #(
    6170       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    6171       *) as_qdir=$as_dir;;
    6172       esac
    6173       as_dirs="'$as_qdir' $as_dirs"
    6174       as_dir=`$as_dirname -- "$as_dir" ||
     5626    while test ! -d "$as_dir"; do
     5627      as_dirs="$as_dir $as_dirs"
     5628      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    61755629$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    61765630         X"$as_dir" : 'X\(//\)[^/]' \| \
    61775631         X"$as_dir" : 'X\(//\)$' \| \
    6178          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     5632         X"$as_dir" : 'X\(/\)' \| \
     5633         .     : '\(.\)' 2>/dev/null ||
    61795634echo X"$as_dir" |
    6180     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    6181             s//\1/
    6182             q
    6183           }
    6184           /^X\(\/\/\)[^/].*/{
    6185             s//\1/
    6186             q
    6187           }
    6188           /^X\(\/\/\)$/{
    6189             s//\1/
    6190             q
    6191           }
    6192           /^X\(\/\).*/{
    6193             s//\1/
    6194             q
    6195           }
    6196           s/.*/./; q'`
    6197       test -d "$as_dir" && break
     5635    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5636          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5637          /^X\(\/\/\)$/{ s//\1/; q; }
     5638          /^X\(\/\).*/{ s//\1/; q; }
     5639          s/.*/./; q'`
    61985640    done
    6199     test -z "$as_dirs" || eval "mkdir $as_dirs"
    6200   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    6201 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     5641    test ! -n "$as_dirs" || mkdir $as_dirs
     5642  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     5643echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    62025644   { (exit 1); exit 1; }; }; }
     5645
    62035646  ac_builddir=.
    62045647
    6205 case "$ac_dir" in
    6206 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5648if test "$ac_dir" != .; then
     5649  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     5650  # A "../" for each directory in $ac_dir_suffix.
     5651  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     5652else
     5653  ac_dir_suffix= ac_top_builddir=
     5654fi
     5655
     5656case $srcdir in
     5657  .)  # No --srcdir option.  We are building in place.
     5658    ac_srcdir=.
     5659    if test -z "$ac_top_builddir"; then
     5660       ac_top_srcdir=.
     5661    else
     5662       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     5663    fi ;;
     5664  [\\/]* | ?:[\\/]* )  # Absolute path.
     5665    ac_srcdir=$srcdir$ac_dir_suffix;
     5666    ac_top_srcdir=$srcdir ;;
     5667  *) # Relative path.
     5668    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     5669    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     5670esac
     5671
     5672# Do not use `cd foo && pwd` to compute absolute paths, because
     5673# the directories may not exist.
     5674case `pwd` in
     5675.) ac_abs_builddir="$ac_dir";;
    62075676*)
    6208   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    6209   # A ".." for each directory in $ac_dir_suffix.
    6210   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    6211   case $ac_top_builddir_sub in
    6212   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    6213   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    6214   esac ;;
     5677  case "$ac_dir" in
     5678  .) ac_abs_builddir=`pwd`;;
     5679  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     5680  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     5681  esac;;
    62155682esac
    6216 ac_abs_top_builddir=$ac_pwd
    6217 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    6218 # for backward compatibility:
    6219 ac_top_builddir=$ac_top_build_prefix
    6220 
    6221 case $srcdir in
    6222   .)  # We are building in place.
    6223     ac_srcdir=.
    6224     ac_top_srcdir=$ac_top_builddir_sub
    6225     ac_abs_top_srcdir=$ac_pwd ;;
    6226   [\\/]* | ?:[\\/]* )  # Absolute name.
    6227     ac_srcdir=$srcdir$ac_dir_suffix;
    6228     ac_top_srcdir=$srcdir
    6229     ac_abs_top_srcdir=$srcdir ;;
    6230   *) # Relative name.
    6231     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    6232     ac_top_srcdir=$ac_top_build_prefix$srcdir
    6233     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     5683case $ac_abs_builddir in
     5684.) ac_abs_top_builddir=${ac_top_builddir}.;;
     5685*)
     5686  case ${ac_top_builddir}. in
     5687  .) ac_abs_top_builddir=$ac_abs_builddir;;
     5688  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     5689  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     5690  esac;;
    62345691esac
    6235 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    6236 
    6237 
    6238   case $ac_mode in
    6239   :F)
    6240   #
    6241   # CONFIG_FILE
    6242   #
    6243 
    6244 _ACEOF
    6245 
    6246 cat >>$CONFIG_STATUS <<\_ACEOF
    6247 # If the template does not know about datarootdir, expand it.
    6248 # FIXME: This hack should be removed a few years after 2.60.
    6249 ac_datarootdir_hack=; ac_datarootdir_seen=
    6250 
    6251 case `sed -n '/datarootdir/ {
    6252   p
    6253   q
    6254 }
    6255 /@datadir@/p
    6256 /@docdir@/p
    6257 /@infodir@/p
    6258 /@localedir@/p
    6259 /@mandir@/p
    6260 ' $ac_file_inputs` in
    6261 *datarootdir*) ac_datarootdir_seen=yes;;
    6262 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    6263   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    6264 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    6265 _ACEOF
    6266 cat >>$CONFIG_STATUS <<_ACEOF
    6267   ac_datarootdir_hack='
    6268   s&@datadir@&$datadir&g
    6269   s&@docdir@&$docdir&g
    6270   s&@infodir@&$infodir&g
    6271   s&@localedir@&$localedir&g
    6272   s&@mandir@&$mandir&g
    6273     s&\\\${datarootdir}&$datarootdir&g' ;;
     5692case $ac_abs_builddir in
     5693.) ac_abs_srcdir=$ac_srcdir;;
     5694*)
     5695  case $ac_srcdir in
     5696  .) ac_abs_srcdir=$ac_abs_builddir;;
     5697  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     5698  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     5699  esac;;
    62745700esac
    6275 _ACEOF
    6276 
    6277 # Neutralize VPATH when `$srcdir' = `.'.
    6278 # Shell code in configure.ac might set extrasub.
    6279 # FIXME: do we really want to maintain this feature?
     5701case $ac_abs_builddir in
     5702.) ac_abs_top_srcdir=$ac_top_srcdir;;
     5703*)
     5704  case $ac_top_srcdir in
     5705  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     5706  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     5707  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     5708  esac;;
     5709esac
     5710
     5711
     5712  case $INSTALL in
     5713  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     5714  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     5715  esac
     5716
     5717  # Let's still pretend it is `configure' which instantiates (i.e., don't
     5718  # use $as_me), people would be surprised to read:
     5719  #    /* config.h.  Generated by config.status.  */
     5720  if test x"$ac_file" = x-; then
     5721    configure_input=
     5722  else
     5723    configure_input="$ac_file.  "
     5724  fi
     5725  configure_input=$configure_input"Generated from `echo $ac_file_in |
     5726                                     sed 's,.*/,,'` by configure."
     5727
     5728  # First look for the input files in the build tree, otherwise in the
     5729  # src tree.
     5730  ac_file_inputs=`IFS=:
     5731    for f in $ac_file_in; do
     5732      case $f in
     5733      -) echo $tmp/stdin ;;
     5734      [\\/$]*)
     5735         # Absolute (can't be DOS-style, as IFS=:)
     5736         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5737echo "$as_me: error: cannot find input file: $f" >&2;}
     5738   { (exit 1); exit 1; }; }
     5739         echo "$f";;
     5740      *) # Relative
     5741         if test -f "$f"; then
     5742           # Build tree
     5743           echo "$f"
     5744         elif test -f "$srcdir/$f"; then
     5745           # Source tree
     5746           echo "$srcdir/$f"
     5747         else
     5748           # /dev/null tree
     5749           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5750echo "$as_me: error: cannot find input file: $f" >&2;}
     5751   { (exit 1); exit 1; }; }
     5752         fi;;
     5753      esac
     5754    done` || { (exit 1); exit 1; }
     5755
     5756  if test x"$ac_file" != x-; then
     5757    { echo "$as_me:$LINENO: creating $ac_file" >&5
     5758echo "$as_me: creating $ac_file" >&6;}
     5759    rm -f "$ac_file"
     5760  fi
     5761_ACEOF
    62805762cat >>$CONFIG_STATUS <<_ACEOF
    62815763  sed "$ac_vpsub
     
    62855767:t
    62865768/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    6287 s&@configure_input@&$configure_input&;t t
    6288 s&@top_builddir@&$ac_top_builddir_sub&;t t
    6289 s&@srcdir@&$ac_srcdir&;t t
    6290 s&@abs_srcdir@&$ac_abs_srcdir&;t t
    6291 s&@top_srcdir@&$ac_top_srcdir&;t t
    6292 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
    6293 s&@builddir@&$ac_builddir&;t t
    6294 s&@abs_builddir@&$ac_abs_builddir&;t t
    6295 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    6296 $ac_datarootdir_hack
    6297 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
    6298 
    6299 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    6300   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    6301   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    6302   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    6303 which seems to be undefined.  Please make sure it is defined." >&5
    6304 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    6305 which seems to be undefined.  Please make sure it is defined." >&2;}
    6306 
    6307   rm -f "$tmp/stdin"
    6308   case $ac_file in
    6309   -) cat "$tmp/out"; rm -f "$tmp/out";;
    6310   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
    6311   esac
    6312  ;;
    6313 
    6314 
    6315 
    6316   esac
    6317 
    6318 done # for ac_tag
    6319 
     5769s,@configure_input@,$configure_input,;t t
     5770s,@srcdir@,$ac_srcdir,;t t
     5771s,@abs_srcdir@,$ac_abs_srcdir,;t t
     5772s,@top_srcdir@,$ac_top_srcdir,;t t
     5773s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     5774s,@builddir@,$ac_builddir,;t t
     5775s,@abs_builddir@,$ac_abs_builddir,;t t
     5776s,@top_builddir@,$ac_top_builddir,;t t
     5777s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     5778s,@INSTALL@,$ac_INSTALL,;t t
     5779" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     5780  rm -f $tmp/stdin
     5781  if test x"$ac_file" != x-; then
     5782    mv $tmp/out $ac_file
     5783  else
     5784    cat $tmp/out
     5785    rm -f $tmp/out
     5786  fi
     5787
     5788done
     5789_ACEOF
     5790
     5791cat >>$CONFIG_STATUS <<\_ACEOF
    63205792
    63215793{ (exit 0); exit 0; }
     
    63545826  ac_sub_configure_args=
    63555827  ac_prev=
    6356   eval "set x $ac_configure_args"
    6357   shift
    6358   for ac_arg
    6359   do
     5828  for ac_arg in $ac_configure_args; do
    63605829    if test -n "$ac_prev"; then
    63615830      ac_prev=
     
    63805849    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    63815850      ;;
    6382     *)
    6383       case $ac_arg in
    6384       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    6385       esac
    6386       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     5851    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    63875852    esac
    63885853  done
     
    63905855  # Always prepend --prefix to ensure using the same prefix
    63915856  # in subdir configurations.
    6392   ac_arg="--prefix=$prefix"
    6393   case $ac_arg in
    6394   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    6395   esac
    6396   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
    6397 
    6398   # Pass --silent
    6399   if test "$silent" = yes; then
    6400     ac_sub_configure_args="--silent $ac_sub_configure_args"
    6401   fi
     5857  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
    64025858
    64035859  ac_popdir=`pwd`
     
    64065862    # Do not complain, so a configure script can configure whichever
    64075863    # parts of a large source tree are present.
    6408     test -d "$srcdir/$ac_dir" || continue
    6409 
    6410     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    6411     echo "$as_me:$LINENO: $ac_msg" >&5
    6412     echo "$ac_msg" >&6
    6413     { as_dir="$ac_dir"
    6414   case $as_dir in #(
    6415   -*) as_dir=./$as_dir;;
    6416   esac
    6417   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     5864    test -d $srcdir/$ac_dir || continue
     5865
     5866    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
     5867echo "$as_me: configuring in $ac_dir" >&6;}
     5868    { if $as_mkdir_p; then
     5869    mkdir -p "$ac_dir"
     5870  else
     5871    as_dir="$ac_dir"
    64185872    as_dirs=
    6419     while :; do
    6420       case $as_dir in #(
    6421       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    6422       *) as_qdir=$as_dir;;
    6423       esac
    6424       as_dirs="'$as_qdir' $as_dirs"
    6425       as_dir=`$as_dirname -- "$as_dir" ||
     5873    while test ! -d "$as_dir"; do
     5874      as_dirs="$as_dir $as_dirs"
     5875      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    64265876$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    64275877         X"$as_dir" : 'X\(//\)[^/]' \| \
    64285878         X"$as_dir" : 'X\(//\)$' \| \
    6429          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     5879         X"$as_dir" : 'X\(/\)' \| \
     5880         .     : '\(.\)' 2>/dev/null ||
    64305881echo X"$as_dir" |
    6431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    6432             s//\1/
    6433             q
    6434           }
    6435           /^X\(\/\/\)[^/].*/{
    6436             s//\1/
    6437             q
    6438           }
    6439           /^X\(\/\/\)$/{
    6440             s//\1/
    6441             q
    6442           }
    6443           /^X\(\/\).*/{
    6444             s//\1/
    6445             q
    6446           }
    6447           s/.*/./; q'`
    6448       test -d "$as_dir" && break
     5882    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5883          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5884          /^X\(\/\/\)$/{ s//\1/; q; }
     5885          /^X\(\/\).*/{ s//\1/; q; }
     5886          s/.*/./; q'`
    64495887    done
    6450     test -z "$as_dirs" || eval "mkdir $as_dirs"
    6451   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    6452 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     5888    test ! -n "$as_dirs" || mkdir $as_dirs
     5889  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     5890echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    64535891   { (exit 1); exit 1; }; }; }
     5892
    64545893    ac_builddir=.
    64555894
    6456 case "$ac_dir" in
    6457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5895if test "$ac_dir" != .; then
     5896  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     5897  # A "../" for each directory in $ac_dir_suffix.
     5898  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     5899else
     5900  ac_dir_suffix= ac_top_builddir=
     5901fi
     5902
     5903case $srcdir in
     5904  .)  # No --srcdir option.  We are building in place.
     5905    ac_srcdir=.
     5906    if test -z "$ac_top_builddir"; then
     5907       ac_top_srcdir=.
     5908    else
     5909       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     5910    fi ;;
     5911  [\\/]* | ?:[\\/]* )  # Absolute path.
     5912    ac_srcdir=$srcdir$ac_dir_suffix;
     5913    ac_top_srcdir=$srcdir ;;
     5914  *) # Relative path.
     5915    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     5916    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     5917esac
     5918
     5919# Do not use `cd foo && pwd` to compute absolute paths, because
     5920# the directories may not exist.
     5921case `pwd` in
     5922.) ac_abs_builddir="$ac_dir";;
    64585923*)
    6459   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    6460   # A ".." for each directory in $ac_dir_suffix.
    6461   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    6462   case $ac_top_builddir_sub in
    6463   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    6464   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    6465   esac ;;
     5924  case "$ac_dir" in
     5925  .) ac_abs_builddir=`pwd`;;
     5926  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     5927  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     5928  esac;;
    64665929esac
    6467 ac_abs_top_builddir=$ac_pwd
    6468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    6469 # for backward compatibility:
    6470 ac_top_builddir=$ac_top_build_prefix
    6471 
    6472 case $srcdir in
    6473   .)  # We are building in place.
    6474     ac_srcdir=.
    6475     ac_top_srcdir=$ac_top_builddir_sub
    6476     ac_abs_top_srcdir=$ac_pwd ;;
    6477   [\\/]* | ?:[\\/]* )  # Absolute name.
    6478     ac_srcdir=$srcdir$ac_dir_suffix;
    6479     ac_top_srcdir=$srcdir
    6480     ac_abs_top_srcdir=$srcdir ;;
    6481   *) # Relative name.
    6482     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    6483     ac_top_srcdir=$ac_top_build_prefix$srcdir
    6484     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     5930case $ac_abs_builddir in
     5931.) ac_abs_top_builddir=${ac_top_builddir}.;;
     5932*)
     5933  case ${ac_top_builddir}. in
     5934  .) ac_abs_top_builddir=$ac_abs_builddir;;
     5935  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     5936  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     5937  esac;;
    64855938esac
    6486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    6487 
    6488 
    6489     cd "$ac_dir"
     5939case $ac_abs_builddir in
     5940.) ac_abs_srcdir=$ac_srcdir;;
     5941*)
     5942  case $ac_srcdir in
     5943  .) ac_abs_srcdir=$ac_abs_builddir;;
     5944  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     5945  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     5946  esac;;
     5947esac
     5948case $ac_abs_builddir in
     5949.) ac_abs_top_srcdir=$ac_top_srcdir;;
     5950*)
     5951  case $ac_top_srcdir in
     5952  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     5953  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     5954  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     5955  esac;;
     5956esac
     5957
     5958
     5959    cd $ac_dir
    64905960
    64915961    # Check for guested configure; otherwise get Cygnus style configure.
    6492     if test -f "$ac_srcdir/configure.gnu"; then
    6493       ac_sub_configure=$ac_srcdir/configure.gnu
    6494     elif test -f "$ac_srcdir/configure"; then
    6495       ac_sub_configure=$ac_srcdir/configure
    6496     elif test -f "$ac_srcdir/configure.in"; then
    6497       # This should be Cygnus configure.
    6498       ac_sub_configure=$ac_aux_dir/configure
     5962    if test -f $ac_srcdir/configure.gnu; then
     5963      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
     5964    elif test -f $ac_srcdir/configure; then
     5965      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
     5966    elif test -f $ac_srcdir/configure.in; then
     5967      ac_sub_configure=$ac_configure
    64995968    else
    65005969      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     
    65085977      case $cache_file in
    65095978      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    6510       *) # Relative name.
    6511         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
     5979      *) # Relative path.
     5980        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
    65125981      esac
    65135982
    6514       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    6515 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     5983      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     5984echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    65165985      # The eval makes quoting arguments work.
    6517       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    6518            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     5986      eval $ac_sub_configure $ac_sub_configure_args \
     5987           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    65195988        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    65205989echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
  • trunk/configure.in

    r634 r708  
    1414fi
    1515
    16 # AC_PROG_INSTALL
     16if test "${libdir}" != "${prefix}/lib"; then
     17    LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"
     18else
     19    LIB_SEARCH_DIRS="-L ${libdir}"
     20fi
     21
     22AC_PROG_INSTALL
    1723AC_PROG_MAKE_SET
    1824
     
    3743AC_ARG_WITH(matlab, [  --with-matlab[=DIR]         Build Matlab bindings if MEX compiler is found])
    3844AC_ARG_WITH(matlab_arch, [  --with-matlab-arch[=ARCH]         Build Matlab bindings for ARCH architecture])
     45AC_ARG_WITH(mexext, [  --with-mexext[=ARCH]         Suggest an extension for building mex files])
    3946dnl AC_CHECK_PROG(MEX, mex, mex, false)
    4047MEX=
    4148MEX_ARCH=
     49MEXEXT=
    4250if test "$with_matlab" != "no" ; then
    4351    dnl WITH_MATLAB = "yes"
    4452    if test -x "$with_matlab/bin/mex"
    4553    then
    46         echo Found matlab in $with_matlab/bin/mex
     54        echo Found mex in $with_matlab/bin/mex
    4755        MEX="$with_matlab/bin/mex"
    4856    else
     
    5563        fi
    5664    fi
     65    if test "x$MEX" != "x" ; then
     66        mexext_fxn=`dirname $MEX`/mexext
     67        if test "x$mexext_fxn" != "x"; then
     68            MEXEXT=`$mexext_fxn`
     69            if test "x${MEXEXT}" = "x" ; then
     70                MEXEXT="mexglx"
     71            fi
     72            echo Using extension $MEXEXT
     73        fi
     74    fi
    5775fi
    5876if test "x$with_matlab_arch" != "x" ; then
    5977    MEX_ARCH="-arch=$with_matlab_arch"
    6078fi
     79
    6180dnl AM_CONDITIONAL(WITH_MATLAB, test x$MEX != x)
    6281
     
    93112PERL=
    94113PERL_INCLUDES=
     114PERL_SITE_PACKAGES=
    95115if test "$with_perl" != "no" ; then
    96116    if test -x "$with_perl/bin/perl"
     
    107127        fi
    108128    fi
     129    PERL_SITE_PACKAGES='$(libdir)/perl5'
    109130fi
    110131dnl AM_CONDITIONAL(WITH_PERL, test x$PERL != x)
     
    131152            PYTHON="$with_python"
    132153        else
    133             AC_PATH_PROG(PYTHON, python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5)
     154            AC_PATH_PROG(PYTHON, python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5)
    134155        fi
    135156    fi
     
    180201AC_SUBST(MEX)
    181202AC_SUBST(MEX_ARCH)
     203AC_SUBST(MEXEXT)
    182204AC_SUBST(MKOCTFILE)
    183205AC_SUBST(PERL)
    184206AC_SUBST(PERL_INCLUDES)
     207AC_SUBST(PERL_SITE_PACKAGES)
    185208AC_SUBST(PYTHON)
    186209AC_SUBST(PYTHON_VERSION)
    187210AC_SUBST(PYTHON_INCLUDES)
    188211AC_SUBST(PYTHON_SITE_PACKAGES)
     212AC_SUBST(LIB_SEARCH_DIRS)
    189213
    190214AC_SUBST(VERSION)
  • trunk/gui/apps/rappture.env.in

    r633 r708  
    2020# no need to edit the rest...
    2121export PATH=$RAPPTURE_INSTALL_DIR/bin:$PATH
    22 export PERL5LIB=$RAPPTURE_INSTALL_DIR/lib/perl5:$PERL5LIB
    23 export PYTHONPATH=$RAPPTURE_INSTALL_DIR/lib/python@PYTHON_VERSION@/site-packages:$PYTHONPATH
    24 export MATLABPATH=$RAPPTURE_INSTALL_DIR/lib/matlab:$MATLABPATH
    25 export OCTAVE_PATH=:$RAPPTURE_INSTALL_DIR/lib/octave:$OCTAVE_PATH
    26 export LD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$LD_LIBRARY_PATH
     22export PERL5LIB=$RAPPTURE_INSTALL_DIR/lib/perl5:$RAPPTURE_INSTALL_DIR/lib64/perl5:$PERL5LIB
     23export PYTHONPATH=$RAPPTURE_INSTALL_DIR/lib/python@PYTHON_VERSION@/site-packages:$RAPPTURE_INSTALL_DIR/lib64/python@PYTHON_VERSION@/site-packages:$PYTHONPATH
     24export MATLABPATH=$RAPPTURE_INSTALL_DIR/lib/matlab:$RAPPTURE_INSTALL_DIR/lib64/matlab:$MATLABPATH
     25export OCTAVE_PATH=$RAPPTURE_INSTALL_DIR/lib/octave:$RAPPTURE_INSTALL_DIR/lib64/octave:$OCTAVE_PATH
     26export LD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$RAPPTURE_INSTALL_DIR/lib64:$LD_LIBRARY_PATH
    2727export DYLD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$DYLD_LIBRARY_PATH
    28 export TCL_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tcl8.4
    29 export TK_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tk8.4
     28export TCL_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tcl8.4:$RAPPTURE_INSTALL_DIR/lib64/tcl8.4:$TCL_LIBRARY
     29export TK_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tk8.4:$RAPPTURE_INSTALL_DIR/lib64/tk8.4:$TK_LIBRARY
  • trunk/gui/configure.in

    r702 r708  
    310310#--------------------------------------------------------------------
    311311
     312AC_CONFIG_SUBDIRS( vizservers )
    312313AC_OUTPUT([Makefile pkgIndex.tcl init.tcl])
  • trunk/perl/Makefile.PL.in

    r546 r708  
    2222                     );
    2323    }
    24     @SCEW_INC_SEARCHPATH = ( "@prefix@/include",
     24    @EXPAT_INC_SEARCHPATH = ( "@prefix@/include",
    2525        "/apps/rappture/include", "/opt/rappture/include",
    26         "/usr/local/include", "/opt/include", "../../scew-0.4.0",
    27         "../../scew", "/apps/scew-0.4.0", "/apps/scew", "/opt/scew-0.4.0",
    28         "/opt/scew" );
    29     $SCEW_INC="scew/scew.h";
    30     @EXPAT_INC_SEARCHPATH = ( "@prefix@/include",
    31         "/apps/rappture/include", "/opt/rappture/include",
    32         "/usr/local/include", "/opt/include", "../../expat-2.0.0/lib",
    33         "../../expat/lib", "/apps/expat-2.0.0/lib", "/apps/expat/lib",
     26        "/usr/local/include", "/opt/include", "../../expat-2.0.0/lib",
     27        "../../expat/lib", "/apps/expat-2.0.0/lib", "/apps/expat/lib",
    3428        "/opt/expat-2.0.0/lib", "/opt/expat/lib" );
    3529    $EXPAT_INC="expat.h";
    3630    @RAPPTURE_INC_SEARCHPATH = ( "@prefix@/include",
    37         "/apps/rappture/include",
    38         "/opt/rappture/include", "/usr/local/include", "/opt/include",
    39         "../include" );
     31        "../src/core", "../include", "/apps/rappture/include",
     32        "/opt/rappture/include", "/usr/local/include", "/opt/include");
    4033    $RAPPTURE_INC = "rappture.h";
    41     @SCEW_LIB_SEARCHPATH = ( "@prefix@/lib",
    42         "/apps/rappture/lib", "/opt/rappture/lib",
    43         "/usr/local/lib", "/opt/lib", "../../scew-0.4.0/scew",
    44         "../../scew/scew", "/apps/scew-0.4.0/scew", "/apps/scew/scew",
    45         "/opt/scew-0.4.0/scew", "/opt/scew/scew" );
    46     @SCEW_LIBS=("libscew.so","libscew.a");
    4734    @EXPAT_LIB_SEARCHPATH = ( "@prefix@/lib",
    48         "/apps/rappture/lib", "/opt/rappture/lib", 
    49         "/usr/local/lib", "/opt/lib", "../../expat-2.0.0/lib", 
    50         "../../expat/lib", "/apps/expat-2.0.0/lib", "/apps/expat/lib", 
     35        "/apps/rappture/lib", "/opt/rappture/lib",
     36        "/usr/local/lib", "/opt/lib", "../../expat-2.0.0/lib",
     37        "../../expat/lib", "/apps/expat-2.0.0/lib", "/apps/expat/lib",
    5138        "/opt/expat-2.0.0/lib", "/opt/expat/lib" );
    5239    @EXPAT_LIBS=("libexpat.so", "libexpat.a");
    5340    @RAPPTURE_LIB_SEARCHPATH = ( "@prefix@/lib",
    54         "/apps/rappture/lib", "/opt/rappture/lib",
    55         "/usr/local/lib", "/opt/lib", "../src" );
     41        "../src", "/apps/rappture/lib", "/opt/rappture/lib",
     42        "/usr/local/lib", "/opt/lib" );
    5643    @RAPPTURE_LIBS=("librappture.so","librappture.a");
    57 } 
     44}
    5845else {
    5946    if ($Config{"cc"} eq "cl") {
    60         $CFLAGS = "/TP /EHsc";
     47        $CFLAGS = "/TP /EHsc";
    6148        @LIBS = ("msvcprt.lib");
    6249    }
    6350
    64     @SCEW_INC_SEARCHPATH = ( "C:\\Program Files\\Rappture\\include",
    65         "C:\\opt\\rappture\\include", "C:\\opt\\include", "..\\..\\scew-0.4.0",
    66         "..\\..\\scew", "C:\\Program Files\\scew-0.4.0",
    67         "C:\\Program Files\\scew", "C:\\opt\\scew-0.4.0", "C:\\opt\\scew" );
    68     $SCEW_INC="scew\\scew.h";
    6951    @EXPAT_INC_SEARCHPATH = ( "C:\\Program Files\\Rappture\\include",
    7052        "C:\\opt\\rappture\\include", "C:\\opt\\include",
     
    7759        "C:\\opt\\rappture\\include", "C:\\opt\\include", "..\\include" );
    7860    $RAPPTURE_INC = "rappture.h";
    79     @SCEW_LIB_SEARCHPATH = ( "C:\\Program Files\\Rappture\\lib",
    80         "C:\\opt\\rappture\\lib", "C:\\opt\\lib",
    81         "..\\..\\scew-0.4.0\\win32\\lib", "..\\..\\scew\\win32\\lib",
    82         "C:\\Program Files\\scew-0.4.0\\win32\\lib",
    83         "C:\\Program Files\\scew\\win32\\lib",
    84         "C:\\opt\\scew-0.4.0\\win32\\lib", "C:\\opt\\scew\\win32\\lib" );
    85     @SCEW_LIBS=("scew_s.lib", "libscew_s.lib", "scew.lib", "libscew.lib");
    86     @SCEWD_LIBS=("scew_sd.lib", "libscew_sd.lib", "scewd.lib", "libscewd.lib");
    8761    @EXPAT_LIB_SEARCHPATH = ( "C:\\Program Files\\Rappture\\lib",
    8862        "C:\\opt\\rappture\\lib", "C:\\opt\\lib",
     
    143117}
    144118
    145 find_include(\@SCEW_INC_SEARCHPATH, $SCEW_INC, \@INCLUDES);
    146119find_include(\@EXPAT_INC_SEARCHPATH, $EXPAT_INC, \@INCLUDES);
    147120find_include(\@RAPPTURE_INC_SEARCHPATH, $RAPPTURE_INC, \@INCLUDES);
    148121find_lib(\@EXPAT_LIB_SEARCHPATH, \@EXPAT_LIBS, \@LIBS);
    149122find_lib(\@RAPPTURE_LIB_SEARCHPATH, \@RAPPTURE_LIBS, \@LIBS);
    150 find_lib(\@SCEW_LIB_SEARCHPATH, \@SCEW_LIBS, \@LIBS);
    151 if ($DEBUG) {
    152     if (!find_lib(\@SCEW_LIB_SEARCHPATH, \@SCEWD_LIBS, \@LIBS)) {
    153         find_lib(\@SCEW_LIB_SEARCHPATH, \@SCEW_LIBS, \@LIBS);
    154     }
    155 }
    156123
    157124WriteMakefile(
  • trunk/python/setup.py.in

    r671 r708  
    77                   sources = [ 'Rappture/PyRpUnits.cc' ],
    88                   library_dirs = [ rp_install_dir+'/lib' ],
    9                    libraries = [ 'rappture', 'scew' ] )
     9                   libraries = [ 'rappture' ] )
    1010
    1111utils_module = Extension('Rappture.Utils',
  • trunk/src/Makefile.in

    r671 r708  
    11
    2 ifndef RP_INSTALL_BASE
    3 RP_INSTALL_BASE = @prefix@
    4 endif
     2prefix          = @prefix@
     3exec_prefix     = @exec_prefix@
     4bindir          = @bindir@
     5libdir          = @libdir@
     6includedir      = @includedir@
     7mandir          = @mandir@
     8
     9INSTALL                 = @INSTALL@
     10INSTALL_PROGRAM = ${INSTALL} -m 755
     11INSTALL_DATA    = ${INSTALL} -m 644
     12INSTALL_SCRIPT  = ${INSTALL}
     13
    514
    615# tell make where to find the expat & libscew headers
    7 INCL_RP_DEPS    = -I$(RP_INSTALL_BASE)/include
    8 
    9 EXTERNAL_RP_LIBS   = -L$(RP_INSTALL_BASE)/lib -lscew -lz -lb64 -lm
     16INCL_RP_DEPS    = -I$(includedir)
     17
     18EXTERNAL_RP_LIBS   = @LIB_SEARCH_DIRS@ -lexpat -lscew -lz -lb64 -lm
    1019
    1120
     
    8897librappture: $(RP_IO_DEPS) $(RP_UTILS_DEPS) $(RP_UNITS_DEPS) $(RP_OTHER_DEPS)
    8998        (cd ../src2/core/; make Outcome.o Ptr.o RpBuffer.o)
    90         if test "`uname`" == "Darwin"; then \
     99        @if test "`uname`" == "Darwin"; then \
    91100                $(CXX) $(DEGUG) $(LDLIB_MACOSX) $^ $(RP2_OBJ_DEP) $(EXTERNAL_RP_LIBS); \
    92101                ar -r $@.a $^; \
     
    100109
    101110install_rappture: librappture
    102         if test "`uname`" == "Darwin"; then \
    103                 cp $<.dylib $(RP_INSTALL_BASE)/lib; \
    104                 cp $<.a $(RP_INSTALL_BASE)/lib; \
    105         else \
    106                 cp -d $<.so* $(RP_INSTALL_BASE)/lib; \
    107                 cp -d $<.a $(RP_INSTALL_BASE)/lib; \
    108         fi
    109         cp $(CORE_SRC)/*.h $(RP_INSTALL_BASE)/include; \
    110         cp $(CEE_SRC)/*.h $(RP_INSTALL_BASE)/include; \
    111         cp $(FORT_SRC)/*.h $(RP_INSTALL_BASE)/include; \
    112         cp $(CORE2_SRC)/Outcome.h $(RP_INSTALL_BASE)/include; \
    113         cp $(CORE2_SRC)/Ptr.h $(RP_INSTALL_BASE)/include; \
    114         cp $(CORE2_SRC)/RpBuffer.h $(RP_INSTALL_BASE)/include; \
    115         cp $(CORE2_SRC)/rappture2.h $(RP_INSTALL_BASE)/include;
     111        @if test "`uname`" == "Darwin"; then \
     112                cp $<.dylib $(libdir); \
     113                cp $<.a $(libdir); \
     114        else \
     115                cp -d $<.so* $(libdir); \
     116                cp -d $<.a $(libdir); \
     117        fi
     118        $(INSTALL_DATA) $(CORE_SRC)/*.h $(includedir)
     119        $(INSTALL_DATA) $(CEE_SRC)/*.h $(includedir)
     120        $(INSTALL_DATA) $(FORT_SRC)/*.h $(includedir)
     121        $(INSTALL_DATA) $(CORE2_SRC)/Outcome.h $(includedir)
     122        $(INSTALL_DATA) $(CORE2_SRC)/Ptr.h $(includedir)
     123        $(INSTALL_DATA) $(CORE2_SRC)/RpBuffer.h $(includedir)
     124        $(INSTALL_DATA) $(CORE2_SRC)/rappture2.h $(includedir)
    116125
    117126#### libRpObjects ########################################################
    118127libRpObjects: $(RP_OBJS_DEP)
    119         if test "`uname`" == "Darwin"; then \
     128        @if test "`uname`" == "Darwin"; then \
    120129                $(CXX) $(DEGUG) $(LDLIB_MACOSX) $^ -lstdc++; \
    121130        else \
     
    125134
    126135install_rpobjs: libRpObjects
    127         if test "`uname`" == "Darwin"; then \
    128                 cp $<.dylib $(RP_INSTALL_BASE)/lib; \
    129         else \
    130                 cp -d $<.so* $(RP_INSTALL_BASE)/lib; \
    131         fi
    132 
    133 #### Matlab ########################################################
    134 install_matlab: librappture
    135         cd $(MATLAB_SRC); make install; cd -
    136 
    137 #### Octave ########################################################
    138 install_octave: librappture
    139         cd $(OCTAVE_SRC); make install; cd -
    140 
    141 #### Tcl ###########################################################
    142 install_tcl: librappture
    143         cd $(TCL_SRC) && make install && cd -
     136        @if test "`uname`" == "Darwin"; then \
     137                cp $<.dylib $(libdir); \
     138        else \
     139                cp -d $<.so* $(libdir); \
     140        fi
    144141
    145142####################################################################
     
    236233        $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) $(INCL_CORE2) $(INCL_FORTRAN) $(INCL_RP_DEPS)
    237234
    238 
    239 # matlab bindings
    240 RpMatlab: librappture
    241         cd $(MATLAB_SRC); make clean; make RpMatlab; cd -
    242 
    243 # octave bindings
    244 RpOctave: librappture
    245         cd $(OCTAVE_SRC); make clean; make RpOctave; cd -
    246235
    247236docs:
  • trunk/src/matlab/Makefile.in

    r665 r708  
    11
    2 ifndef RP_INSTALL_BASE
    3 RP_INSTALL_BASE = @prefix@
    4 endif
     2prefix          = @prefix@
     3exec_prefix     = @exec_prefix@
     4bindir          = @bindir@
     5libdir          = @libdir@
     6includedir      = @includedir@
     7mandir          = @mandir@
    58
    6 # tell make where to find the expat & libscew sources
    7 INCL_RP_DEPS    = -I$(RP_INSTALL_BASE)/include
     9INSTALL                 = @INSTALL@
     10INSTALL_PROGRAM = ${INSTALL} -m 755
     11INSTALL_DATA    = ${INSTALL} -m 644
     12INSTALL_SCRIPT  = ${INSTALL}
    813
    9 LIB_SCEW_FLAG   = -L$(RP_INSTALL_BASE)/lib -lscew
     14# tell make where to find the expat headers
     15INCL_RP_DEPS    = -I$(includedir)
    1016
    1117# define the top of the rappture directory structure
     
    2632INCL_MATLAB     = -I$(INCLUDES_DIR)/matlab
    2733
    28 all: RpMatlab install_matlab
    29 install: install_matlab
     34OBJS=rpLib.@MEXEXT@ rpLibXml.@MEXEXT@ rpLibElement.@MEXEXT@ rpLibElementAsObject.@MEXEXT@ rpLibElementAsType.@MEXEXT@ rpLibElementAsComp.@MEXEXT@ rpLibElementAsId.@MEXEXT@ rpLibChildren.@MEXEXT@ rpLibChildrenByType.@MEXEXT@ rpLibGet.@MEXEXT@ rpLibGetString.@MEXEXT@ rpLibGetDouble.@MEXEXT@ rpLibPut.@MEXEXT@ rpLibPutString.@MEXEXT@ rpLibPutDouble.@MEXEXT@ rpLibPutData.@MEXEXT@ rpLibPutFile.@MEXEXT@ rpLibNodeComp.@MEXEXT@ rpLibNodeType.@MEXEXT@ rpLibNodeId.@MEXEXT@ rpLibResult.@MEXEXT@ rpUnitsDefineUnit.@MEXEXT@ rpUnitsGetUnits.@MEXEXT@ rpUnitsGetUnitsName.@MEXEXT@ rpUnitsGetExponent.@MEXEXT@ rpUnitsGetBasis.@MEXEXT@ rpUnitsFind.@MEXEXT@ rpUnitsConvert.@MEXEXT@ rpUnitsConvertStr.@MEXEXT@ rpUnitsConvertObjStr.@MEXEXT@ rpUnitsConvertDbl.@MEXEXT@ rpUnitsConvertObjDbl.@MEXEXT@ rpAddPresets.@MEXEXT@ rpUtilsProgress.@MEXEXT@
     35
     36all: $(OBJS)
    3037
    3138#### Matlab ########################################################
    32 install_matlab: RpMatlab
    33         if test ! -d $(RP_INSTALL_BASE)/lib/matlab; then \
    34                 mkdir $(RP_INSTALL_BASE)/lib/matlab; \
     39install: $(OBJS)
     40        @if test ! -d $(libdir)/matlab; then \
     41                mkdir $(libdir)/matlab; \
    3542        fi
    36         cp *.mex* $(RP_INSTALL_BASE)/lib/matlab
     43        $(INSTALL_DATA) *.mex* $(libdir)/matlab
    3744
    3845####################################################################
     
    4047# matlab bindings
    4148MEX_INCLS = $(INCL_MATLAB) $(INCL_CORE) $(INCL_CEE) $(INCL_RP_DEPS)
    42 # MEX_OPTS = -g -outdir $(MATLAB_SRC) -L$(LIB_DIR) -lrappture $(LIB_SCEW_FLAG)
    43 MEX_OPTS = -g $(LIB_RAPPTURE) $(LIB_SCEW_FLAG)
     49# MEX_OPTS = -g -outdir $(MATLAB_SRC) -L$(LIB_DIR) -lrappture
     50MEX_OPTS = -g $(LIB_RAPPTURE)
    4451MATLAB_COMP_ARGS = RpMatlabInterface.cc $(MEX_INCLS) $(MEX_OPTS)
    4552
    46 RpMatlab:       rpLib.mexglx \
    47                         rpLibXml.mexglx \
    48                         rpLibElement.mexglx \
    49                         rpLibElementAsObject.mexglx \
    50                         rpLibElementAsType.mexglx \
    51                         rpLibElementAsComp.mexglx \
    52                         rpLibElementAsId.mexglx \
    53                         rpLibChildren.mexglx \
    54                         rpLibChildrenByType.mexglx \
    55                         rpLibGet.mexglx \
    56                         rpLibGetString.mexglx \
    57                         rpLibGetDouble.mexglx \
    58                         rpLibPut.mexglx \
    59                         rpLibPutString.mexglx \
    60                         rpLibPutDouble.mexglx \
    61                         rpLibPutData.mexglx \
    62                         rpLibPutFile.mexglx \
    63                         rpLibNodeComp.mexglx \
    64                         rpLibNodeType.mexglx \
    65                         rpLibNodeId.mexglx \
    66                         rpLibResult.mexglx \
    67                         rpUnitsDefineUnit.mexglx \
    68                         rpUnitsGetUnits.mexglx \
    69                         rpUnitsGetUnitsName.mexglx \
    70                         rpUnitsGetExponent.mexglx \
    71                         rpUnitsGetBasis.mexglx \
    72                         rpUnitsFind.mexglx \
    73                         rpUnitsConvert.mexglx \
    74                         rpUnitsConvertStr.mexglx \
    75                         rpUnitsConvertObjStr.mexglx \
    76                         rpUnitsConvertDbl.mexglx \
    77                         rpUnitsConvertObjDbl.mexglx \
    78                         rpAddPresets.mexglx \
    79                         rpUtilsProgress.mexglx
     53rpLib.@MEXEXT@: rpLib.cc
     54        $(MEX) rpLib.cc $(MATLAB_COMP_ARGS)
     55rpLibXml.@MEXEXT@: rpLibXml.cc
     56        $(MEX) rpLibXml.cc $(MATLAB_COMP_ARGS)
     57rpLibElement.@MEXEXT@: rpLibElement.cc
     58        $(MEX) rpLibElement.cc $(MATLAB_COMP_ARGS)
     59rpLibElementAsObject.@MEXEXT@: rpLibElementAsObject.cc
     60        $(MEX) rpLibElementAsObject.cc $(MATLAB_COMP_ARGS)
     61rpLibElementAsType.@MEXEXT@: rpLibElementAsType.cc
     62        $(MEX) rpLibElementAsType.cc $(MATLAB_COMP_ARGS)
     63rpLibElementAsComp.@MEXEXT@: rpLibElementAsComp.cc
     64        $(MEX) rpLibElementAsComp.cc $(MATLAB_COMP_ARGS)
     65rpLibElementAsId.@MEXEXT@: rpLibElementAsId.cc
     66        $(MEX) rpLibElementAsId.cc $(MATLAB_COMP_ARGS)
     67rpLibChildren.@MEXEXT@: rpLibChildren.cc
     68        $(MEX) rpLibChildren.cc $(MATLAB_COMP_ARGS)
     69rpLibChildrenByType.@MEXEXT@: rpLibChildrenByType.cc
     70        $(MEX) rpLibChildrenByType.cc $(MATLAB_COMP_ARGS)
    8071
     72#rpLibChildrenAsObject.@MEXEXT@: rpChildrenAsObject.cc
     73#$(MEX) rpChildrenAsObject.cc $(MATLAB_COMP_ARGS)
     74#rpLibChildrenAsType.@MEXEXT@: rpChildrenAsType.cc
     75#$(MEX) rpChildrenAsType.cc $(MATLAB_COMP_ARGS)
     76#rpLibChildrenAsComp.@MEXEXT@: rpChildrenAsComp.cc
     77#$(MEX) rpChildrenAsComp.cc $(MATLAB_COMP_ARGS)
     78#rpLibChildrenAsId.@MEXEXT@: rpChildrenAsId.cc
     79#$(MEX) rpChildrenAsId.cc $(MATLAB_COMP_ARGS)
    8180
    82 
    83 rpLib.mexglx:
    84         $(MEX) rpLib.cc                   $(MATLAB_COMP_ARGS)
    85 rpLibXml.mexglx:
    86         $(MEX) rpLibXml.cc                $(MATLAB_COMP_ARGS)
    87 rpLibElement.mexglx:
    88         $(MEX) rpLibElement.cc            $(MATLAB_COMP_ARGS)
    89 rpLibElementAsObject.mexglx:
    90         $(MEX) rpLibElementAsObject.cc    $(MATLAB_COMP_ARGS)
    91 rpLibElementAsType.mexglx:
    92         $(MEX) rpLibElementAsType.cc      $(MATLAB_COMP_ARGS)
    93 rpLibElementAsComp.mexglx:
    94         $(MEX) rpLibElementAsComp.cc      $(MATLAB_COMP_ARGS)
    95 rpLibElementAsId.mexglx:
    96         $(MEX) rpLibElementAsId.cc        $(MATLAB_COMP_ARGS)
    97 rpLibChildren.mexglx:
    98         $(MEX) rpLibChildren.cc           $(MATLAB_COMP_ARGS)
    99 rpLibChildrenByType.mexglx:
    100         $(MEX) rpLibChildrenByType.cc     $(MATLAB_COMP_ARGS)
    101 
    102 #rpLibChildrenAsObject.mexglx:
    103 #$(MEX) rpChildrenAsObject.cc         $(MATLAB_COMP_ARGS)
    104 #rpLibChildrenAsType.mexglx:
    105 #$(MEX) rpChildrenAsType.cc           $(MATLAB_COMP_ARGS)
    106 #rpLibChildrenAsComp.mexglx:
    107 #$(MEX) rpChildrenAsComp.cc           $(MATLAB_COMP_ARGS)
    108 #rpLibChildrenAsId.mexglx:
    109 #$(MEX) rpChildrenAsId.cc             $(MATLAB_COMP_ARGS)
    110 
    111 rpLibGet.mexglx:
    112         $(MEX) rpLibGet.cc                $(MATLAB_COMP_ARGS)
    113 rpLibGetString.mexglx:
    114         $(MEX) rpLibGetString.cc          $(MATLAB_COMP_ARGS)
    115 rpLibGetDouble.mexglx:
    116         $(MEX) rpLibGetDouble.cc          $(MATLAB_COMP_ARGS)
    117 rpLibPut.mexglx:
    118         $(MEX) rpLibPut.cc                $(MATLAB_COMP_ARGS)
    119 rpLibPutString.mexglx:
    120         $(MEX) rpLibPutString.cc          $(MATLAB_COMP_ARGS)
    121 rpLibPutDouble.mexglx:
    122         $(MEX) rpLibPutDouble.cc          $(MATLAB_COMP_ARGS)
    123 rpLibPutData.mexglx:
    124         $(MEX) rpLibPutData.cc            $(MATLAB_COMP_ARGS)
    125 rpLibPutFile.mexglx:
    126         $(MEX) rpLibPutFile.cc            $(MATLAB_COMP_ARGS)
    127 rpLibNodeComp.mexglx:
    128         $(MEX) rpLibNodeComp.cc           $(MATLAB_COMP_ARGS)
    129 rpLibNodeType.mexglx:
    130         $(MEX) rpLibNodeType.cc           $(MATLAB_COMP_ARGS)
    131 rpLibNodeId.mexglx:
    132         $(MEX) rpLibNodeId.cc             $(MATLAB_COMP_ARGS)
    133 rpLibResult.mexglx:
    134         $(MEX) rpLibResult.cc             $(MATLAB_COMP_ARGS)
    135 rpUnitsDefineUnit.mexglx:
    136         $(MEX) rpUnitsDefineUnit.cc       $(MATLAB_COMP_ARGS)
    137 #rpDefineConv.mexglx:
    138 #$(MEX) rpDefineConv.cc               $(MATLAB_COMP_ARGS)
    139 rpUnitsGetUnits.mexglx:
    140         $(MEX) rpUnitsGetUnits.cc         $(MATLAB_COMP_ARGS)
    141 rpUnitsGetUnitsName.mexglx:
    142         $(MEX) rpUnitsGetUnitsName.cc     $(MATLAB_COMP_ARGS)
    143 rpUnitsGetExponent.mexglx:
    144         $(MEX) rpUnitsGetExponent.cc      $(MATLAB_COMP_ARGS)
    145 rpUnitsGetBasis.mexglx:
    146         $(MEX) rpUnitsGetBasis.cc         $(MATLAB_COMP_ARGS)
    147 rpUnitsFind.mexglx:
    148         $(MEX) rpUnitsFind.cc             $(MATLAB_COMP_ARGS)
    149 rpUnitsConvert.mexglx:
    150         $(MEX) rpUnitsConvert.cc          $(MATLAB_COMP_ARGS)
    151 rpUnitsConvertStr.mexglx:
    152         $(MEX) rpUnitsConvertStr.cc       $(MATLAB_COMP_ARGS)
    153 rpUnitsConvertObjStr.mexglx:
    154         $(MEX) rpUnitsConvertObjStr.cc    $(MATLAB_COMP_ARGS)
    155 rpUnitsConvertDbl.mexglx:
    156         $(MEX) rpUnitsConvertDbl.cc       $(MATLAB_COMP_ARGS)
    157 rpUnitsConvertObjDbl.mexglx:
    158         $(MEX) rpUnitsConvertObjDbl.cc    $(MATLAB_COMP_ARGS)
    159 rpAddPresets.mexglx:
    160         $(MEX) rpAddPresets.cc            $(MATLAB_COMP_ARGS)
    161 rpUtilsProgress.mexglx:
    162         $(MEX) rpUtilsProgress.cc         $(MATLAB_COMP_ARGS)
     81rpLibGet.@MEXEXT@: rpLibGet.cc
     82        $(MEX) rpLibGet.cc $(MATLAB_COMP_ARGS)
     83rpLibGetString.@MEXEXT@: rpLibGetString.cc
     84        $(MEX) rpLibGetString.cc $(MATLAB_COMP_ARGS)
     85rpLibGetDouble.@MEXEXT@: rpLibGetDouble.cc
     86        $(MEX) rpLibGetDouble.cc $(MATLAB_COMP_ARGS)
     87rpLibPut.@MEXEXT@: rpLibPut.cc
     88        $(MEX) rpLibPut.cc $(MATLAB_COMP_ARGS)
     89rpLibPutString.@MEXEXT@: rpLibPutString.cc
     90        $(MEX) rpLibPutString.cc $(MATLAB_COMP_ARGS)
     91rpLibPutDouble.@MEXEXT@: rpLibPutDouble.cc
     92        $(MEX) rpLibPutDouble.cc $(MATLAB_COMP_ARGS)
     93rpLibPutData.@MEXEXT@: rpLibPutData.cc
     94        $(MEX) rpLibPutData.cc $(MATLAB_COMP_ARGS)
     95rpLibPutFile.@MEXEXT@: rpLibPutFile.cc
     96        $(MEX) rpLibPutFile.cc $(MATLAB_COMP_ARGS)
     97rpLibNodeComp.@MEXEXT@: rpLibNodeComp.cc
     98        $(MEX) rpLibNodeComp.cc $(MATLAB_COMP_ARGS)
     99rpLibNodeType.@MEXEXT@: rpLibNodeType.cc
     100        $(MEX) rpLibNodeType.cc $(MATLAB_COMP_ARGS)
     101rpLibNodeId.@MEXEXT@: rpLibNodeId.cc
     102        $(MEX) rpLibNodeId.cc $(MATLAB_COMP_ARGS)
     103rpLibResult.@MEXEXT@: rpLibResult.cc
     104        $(MEX) rpLibResult.cc $(MATLAB_COMP_ARGS)
     105rpUnitsDefineUnit.@MEXEXT@: rpUnitsDefineUnit.cc
     106        $(MEX) rpUnitsDefineUnit.cc $(MATLAB_COMP_ARGS)
     107#rpDefineConv.@MEXEXT@: rpDefineConv.cc
     108#$(MEX) rpDefineConv.cc $(MATLAB_COMP_ARGS)
     109rpUnitsGetUnits.@MEXEXT@: rpUnitsGetUnits.cc
     110        $(MEX) rpUnitsGetUnits.cc $(MATLAB_COMP_ARGS)
     111rpUnitsGetUnitsName.@MEXEXT@: rpUnitsGetUnitsName.cc
     112        $(MEX) rpUnitsGetUnitsName.cc $(MATLAB_COMP_ARGS)
     113rpUnitsGetExponent.@MEXEXT@: rpUnitsGetExponent.cc
     114        $(MEX) rpUnitsGetExponent.cc $(MATLAB_COMP_ARGS)
     115rpUnitsGetBasis.@MEXEXT@: rpUnitsGetBasis.cc
     116        $(MEX) rpUnitsGetBasis.cc $(MATLAB_COMP_ARGS)
     117rpUnitsFind.@MEXEXT@: rpUnitsFind.cc
     118        $(MEX) rpUnitsFind.cc $(MATLAB_COMP_ARGS)
     119rpUnitsConvert.@MEXEXT@: rpUnitsConvert.cc
     120        $(MEX) rpUnitsConvert.cc $(MATLAB_COMP_ARGS)
     121rpUnitsConvertStr.@MEXEXT@: rpUnitsConvertStr.cc
     122        $(MEX) rpUnitsConvertStr.cc $(MATLAB_COMP_ARGS)
     123rpUnitsConvertObjStr.@MEXEXT@: rpUnitsConvertObjStr.cc
     124        $(MEX) rpUnitsConvertObjStr.cc $(MATLAB_COMP_ARGS)
     125rpUnitsConvertDbl.@MEXEXT@: rpUnitsConvertDbl.cc
     126        $(MEX) rpUnitsConvertDbl.cc $(MATLAB_COMP_ARGS)
     127rpUnitsConvertObjDbl.@MEXEXT@: rpUnitsConvertObjDbl.cc
     128        $(MEX) rpUnitsConvertObjDbl.cc $(MATLAB_COMP_ARGS)
     129rpAddPresets.@MEXEXT@: rpAddPresets.cc
     130        $(MEX) rpAddPresets.cc $(MATLAB_COMP_ARGS)
     131rpUtilsProgress.@MEXEXT@: rpUtilsProgress.cc
     132        $(MEX) rpUtilsProgress.cc $(MATLAB_COMP_ARGS)
    163133
    164134docs:
    165         if test ! -d docs; then \
     135        @if test ! -d docs; then \
    166136                mkdir docs; \
    167137        fi
    168         if test ! -d docs/doxygen; then \
     138        @if test ! -d docs/doxygen; then \
    169139                mkdir docs/doxygen; \
    170140        fi
  • trunk/src/octave/Makefile.in

    r665 r708  
    11
    2 ifndef RP_INSTALL_BASE
    3 RP_INSTALL_BASE = @prefix@
    4 endif
     2prefix          = @prefix@
     3exec_prefix     = @exec_prefix@
     4bindir          = @bindir@
     5libdir          = @libdir@
     6includedir      = @includedir@
     7mandir          = @mandir@
    58
    6 # tell make where to find the expat & libscew headers
    7 INCL_RP_DEPS    = -I$(RP_INSTALL_BASE)/include
     9INSTALL                 = @INSTALL@
     10INSTALL_PROGRAM = ${INSTALL} -m 755
     11INSTALL_DATA    = ${INSTALL} -m 644
     12INSTALL_SCRIPT  = ${INSTALL}
    813
    9 LIB_SCEW_FLAG   = -L$(RP_INSTALL_BASE)/lib -lscew
     14# tell make where to find the expat headers
     15INCL_RP_DEPS    = -I$(includedir)
    1016
    1117# define the top of the rappture directory structure
     
    2531INCL_OCTAVE     = -I$(INCLUDES_DIR)/octave
    2632
    27 all: RpOctave install_octave
    28 install: install_octave
     33OBJS=rpAddPresets.oct rpUtilsProgress.oct rpLib.oct rpLibChildrenByType.oct rpLibChildren.oct rpLibElementAsComp.oct rpLibElementAsId.oct rpLibElementAsObject.oct rpLibElementAsType.oct rpLibElement.oct rpLibGet.oct rpLibGetString.oct rpLibGetDouble.oct rpLibNodeComp.oct rpLibNodeId.oct rpLibNodeType.oct rpLibPut.oct rpLibPutDouble.oct rpLibPutString.oct rpLibPutFile.oct rpLibResult.oct rpLibXml.oct rpUnitsConvert.oct rpUnitsConvertDbl.oct rpUnitsConvertStr.oct rpUnitsConvertObjDbl.oct rpUnitsConvertObjStr.oct rpUnitsDefineUnit.oct rpUnitsFind.oct rpUnitsGetBasis.oct rpUnitsGetExponent.oct rpUnitsGetUnits.oct rpUnitsGetUnitsName.oct
     34
     35all: $(OBJS)
    2936
    3037#### Octave ########################################################
    31 install_octave: RpOctave
    32         if test ! -d $(RP_INSTALL_BASE)/lib/octave; then \
    33                 mkdir $(RP_INSTALL_BASE)/lib/octave; \
     38install: $(OBJS)
     39        @if test ! -d $(libdir)/octave; then \
     40                mkdir $(libdir)/octave; \
    3441        fi
    35         cp *.oct* $(RP_INSTALL_BASE)/lib/octave
     42        $(INSTALL_DATA) *.oct* $(libdir)/octave
    3643####################################################################
    3744
    3845OCT_INCLS = $(INCL_OCTAVE) $(INCL_CORE) $(INCL_RP_DEPS)
    39 OCTAVE_COMP_ARGS = $(OCT_INCLS) $(LIB_RAPPTURE) $(LIB_SCEW_FLAG)
    40 RpOctave:       rpAddPresets.oct \
    41                         rpUtilsProgress.oct \
    42                         rpLib.oct \
    43                         rpLibChildrenByType.oct \
    44                         rpLibChildren.oct \
    45                         rpLibElementAsComp.oct \
    46                         rpLibElementAsId.oct \
    47                         rpLibElementAsObject.oct \
    48                         rpLibElementAsType.oct \
    49                         rpLibElement.oct \
    50                         rpLibGet.oct \
    51                         rpLibGetString.oct \
    52                         rpLibGetDouble.oct \
    53                         rpLibNodeComp.oct \
    54                         rpLibNodeId.oct \
    55                         rpLibNodeType.oct \
    56                         rpLibPut.oct \
    57                         rpLibPutDouble.oct \
    58                         rpLibPutSingle.oct \
    59                         rpLibPutFile.oct \
    60                         rpLibResult.oct \
    61                         rpLibXml.oct \
    62                         rpUnitsConvert.oct \
    63                         rpUnitsConvertDbl.oct \
    64                         rpUnitsConvertStr.oct \
    65                         rpUnitsConvertObjDbl.oct \
    66                         rpUnitsConvertObjStr.oct \
    67                         rpUnitsDefineUnit.oct \
    68                         rpUnitsFind.oct \
    69                         rpUnitsGetBasis.oct \
    70                         rpUnitsGetExponent.oct \
    71                         rpUnitsGetUnits.oct \
    72                         rpUnitsGetUnitsName.oct
     46OCTAVE_COMP_ARGS = $(OCT_INCLS) $(LIB_RAPPTURE)
    7347
    74 rpAddPresets.oct:
    75         $(OCT) rpAddPresets.cc            $(OCTAVE_COMP_ARGS)
    76 rpUtilsProgress.oct:
    77         $(OCT) rpUtilsProgress.cc         $(OCTAVE_COMP_ARGS)
    78 rpLib.oct:
    79         $(OCT) rpLib.cc                   $(OCTAVE_COMP_ARGS)
    80 rpLibChildrenByType.oct:
    81         $(OCT) rpLibChildrenByType.cc     $(OCTAVE_COMP_ARGS)
    82 rpLibChildren.oct:
    83         $(OCT) rpLibChildren.cc           $(OCTAVE_COMP_ARGS)
    84 rpLibElementAsComp.oct:
    85         $(OCT) rpLibElementAsComp.cc      $(OCTAVE_COMP_ARGS)
    86 rpLibElementAsId.oct:
    87         $(OCT) rpLibElementAsId.cc        $(OCTAVE_COMP_ARGS)
    88 rpLibElementAsObject.oct:
    89         $(OCT) rpLibElementAsObject.cc    $(OCTAVE_COMP_ARGS)
    90 rpLibElementAsType.oct:
    91         $(OCT) rpLibElementAsType.cc      $(OCTAVE_COMP_ARGS)
    92 rpLibElement.oct:
    93         $(OCT) rpLibElement.cc            $(OCTAVE_COMP_ARGS)
    94 rpLibGet.oct:
    95         $(OCT) rpLibGet.cc                $(OCTAVE_COMP_ARGS)
    96 rpLibGetString.oct:
    97         $(OCT) rpLibGetString.cc          $(OCTAVE_COMP_ARGS)
    98 rpLibGetDouble.oct:
    99         $(OCT) rpLibGetDouble.cc          $(OCTAVE_COMP_ARGS)
    100 rpLibNodeComp.oct:
    101         $(OCT) rpLibNodeComp.cc           $(OCTAVE_COMP_ARGS)
    102 rpLibNodeId.oct:
    103         $(OCT) rpLibNodeId.cc             $(OCTAVE_COMP_ARGS)
    104 rpLibNodeType.oct:
    105         $(OCT) rpLibNodeType.cc           $(OCTAVE_COMP_ARGS)
    106 rpLibPut.oct:
    107         $(OCT) rpLibPut.cc                $(OCTAVE_COMP_ARGS)
    108 rpLibPutDouble.oct:
    109         $(OCT) rpLibPutDouble.cc          $(OCTAVE_COMP_ARGS)
    110 rpLibPutSingle.oct:
    111         $(OCT) rpLibPutString.cc          $(OCTAVE_COMP_ARGS)
    112 rpLibPutFile.oct:
    113         $(OCT) rpLibPutFile.cc            $(OCTAVE_COMP_ARGS)
    114 rpLibResult.oct:
    115         $(OCT) rpLibResult.cc             $(OCTAVE_COMP_ARGS)
    116 rpLibXml.oct:
    117         $(OCT) rpLibXml.cc                $(OCTAVE_COMP_ARGS)
    118 rpUnitsConvert.oct:
    119         $(OCT) rpUnitsConvert.cc          $(OCTAVE_COMP_ARGS)
    120 rpUnitsConvertDbl.oct:
    121         $(OCT) rpUnitsConvertDbl.cc       $(OCTAVE_COMP_ARGS)
    122 rpUnitsConvertStr.oct:
    123         $(OCT) rpUnitsConvertStr.cc       $(OCTAVE_COMP_ARGS)
    124 rpUnitsConvertObjDbl.oct:
    125         $(OCT) rpUnitsConvertObjDbl.cc    $(OCTAVE_COMP_ARGS)
    126 rpUnitsConvertObjStr.oct:
    127         $(OCT) rpUnitsConvertObjStr.cc    $(OCTAVE_COMP_ARGS)
    128 rpUnitsDefineUnit.oct:
    129         $(OCT) rpUnitsDefineUnit.cc       $(OCTAVE_COMP_ARGS)
    130 rpUnitsFind.oct:
    131         $(OCT) rpUnitsFind.cc             $(OCTAVE_COMP_ARGS)
    132 rpUnitsGetBasis.oct:
    133         $(OCT) rpUnitsGetBasis.cc         $(OCTAVE_COMP_ARGS)
    134 rpUnitsGetExponent.oct:
    135         $(OCT) rpUnitsGetExponent.cc      $(OCTAVE_COMP_ARGS)
    136 rpUnitsGetUnits.oct:
    137         $(OCT) rpUnitsGetUnits.cc         $(OCTAVE_COMP_ARGS)
    138 rpUnitsGetUnitsName.oct:
    139         $(OCT) rpUnitsGetUnitsName.cc     $(OCTAVE_COMP_ARGS)
     48rpAddPresets.oct: rpAddPresets.cc
     49        $(OCT) rpAddPresets.cc $(OCTAVE_COMP_ARGS)
     50rpUtilsProgress.oct: rpUtilsProgress.cc
     51        $(OCT) rpUtilsProgress.cc $(OCTAVE_COMP_ARGS)
     52rpLib.oct: rpLib.cc
     53        $(OCT) rpLib.cc $(OCTAVE_COMP_ARGS)
     54rpLibChildrenByType.oct: rpLibChildrenByType.cc
     55        $(OCT) rpLibChildrenByType.cc $(OCTAVE_COMP_ARGS)
     56rpLibChildren.oct: rpLibChildren.cc
     57        $(OCT) rpLibChildren.cc $(OCTAVE_COMP_ARGS)
     58rpLibElementAsComp.oct: rpLibElementAsComp.cc
     59        $(OCT) rpLibElementAsComp.cc $(OCTAVE_COMP_ARGS)
     60rpLibElementAsId.oct: rpLibElementAsId.cc
     61        $(OCT) rpLibElementAsId.cc $(OCTAVE_COMP_ARGS)
     62rpLibElementAsObject.oct: rpLibElementAsObject.cc
     63        $(OCT) rpLibElementAsObject.cc $(OCTAVE_COMP_ARGS)
     64rpLibElementAsType.oct: rpLibElementAsType.cc
     65        $(OCT) rpLibElementAsType.cc $(OCTAVE_COMP_ARGS)
     66rpLibElement.oct: rpLibElement.cc
     67        $(OCT) rpLibElement.cc $(OCTAVE_COMP_ARGS)
     68rpLibGet.oct: rpLibGet.cc
     69        $(OCT) rpLibGet.cc $(OCTAVE_COMP_ARGS)
     70rpLibGetString.oct: rpLibGetString.cc
     71        $(OCT) rpLibGetString.cc $(OCTAVE_COMP_ARGS)
     72rpLibGetDouble.oct: rpLibGetDouble.cc
     73        $(OCT) rpLibGetDouble.cc $(OCTAVE_COMP_ARGS)
     74rpLibNodeComp.oct: rpLibNodeComp.cc
     75        $(OCT) rpLibNodeComp.cc $(OCTAVE_COMP_ARGS)
     76rpLibNodeId.oct: rpLibNodeId.cc
     77        $(OCT) rpLibNodeId.cc $(OCTAVE_COMP_ARGS)
     78rpLibNodeType.oct: rpLibNodeType.cc
     79        $(OCT) rpLibNodeType.cc $(OCTAVE_COMP_ARGS)
     80rpLibPut.oct: rpLibPut.cc
     81        $(OCT) rpLibPut.cc $(OCTAVE_COMP_ARGS)
     82rpLibPutDouble.oct: rpLibPutDouble.cc
     83        $(OCT) rpLibPutDouble.cc $(OCTAVE_COMP_ARGS)
     84rpLibPutString.oct: rpLibPutString.cc
     85        $(OCT) rpLibPutString.cc $(OCTAVE_COMP_ARGS)
     86rpLibPutFile.oct: rpLibPutFile.cc
     87        $(OCT) rpLibPutFile.cc $(OCTAVE_COMP_ARGS)
     88rpLibResult.oct: rpLibResult.cc
     89        $(OCT) rpLibResult.cc $(OCTAVE_COMP_ARGS)
     90rpLibXml.oct: rpLibXml.cc
     91        $(OCT) rpLibXml.cc $(OCTAVE_COMP_ARGS)
     92rpUnitsConvert.oct: rpUnitsConvert.cc
     93        $(OCT) rpUnitsConvert.cc $(OCTAVE_COMP_ARGS)
     94rpUnitsConvertDbl.oct: rpUnitsConvertDbl.cc
     95        $(OCT) rpUnitsConvertDbl.cc $(OCTAVE_COMP_ARGS)
     96rpUnitsConvertStr.oct: rpUnitsConvertStr.cc
     97        $(OCT) rpUnitsConvertStr.cc $(OCTAVE_COMP_ARGS)
     98rpUnitsConvertObjDbl.oct: rpUnitsConvertObjDbl.cc
     99        $(OCT) rpUnitsConvertObjDbl.cc $(OCTAVE_COMP_ARGS)
     100rpUnitsConvertObjStr.oct: rpUnitsConvertObjStr.cc
     101        $(OCT) rpUnitsConvertObjStr.cc $(OCTAVE_COMP_ARGS)
     102rpUnitsDefineUnit.oct: rpUnitsDefineUnit.cc
     103        $(OCT) rpUnitsDefineUnit.cc $(OCTAVE_COMP_ARGS)
     104rpUnitsFind.oct: rpUnitsFind.cc
     105        $(OCT) rpUnitsFind.cc $(OCTAVE_COMP_ARGS)
     106rpUnitsGetBasis.oct: rpUnitsGetBasis.cc
     107        $(OCT) rpUnitsGetBasis.cc $(OCTAVE_COMP_ARGS)
     108rpUnitsGetExponent.oct: rpUnitsGetExponent.cc
     109        $(OCT) rpUnitsGetExponent.cc $(OCTAVE_COMP_ARGS)
     110rpUnitsGetUnits.oct: rpUnitsGetUnits.cc
     111        $(OCT) rpUnitsGetUnits.cc $(OCTAVE_COMP_ARGS)
     112rpUnitsGetUnitsName.oct: rpUnitsGetUnitsName.cc
     113        $(OCT) rpUnitsGetUnitsName.cc $(OCTAVE_COMP_ARGS)
    140114
    141115docs:
    142         if test ! -d docs; then \
     116        @if test ! -d docs; then \
    143117                mkdir docs; \
    144118        fi
    145         if test ! -d docs/doxygen; then \
     119        @if test ! -d docs/doxygen; then \
    146120                mkdir docs/doxygen; \
    147121        fi
  • trunk/src/tcl/Makefile.in

    r528 r708  
    400400          fi; \
    401401        done
    402         $(TCLSH_PROG) $(srcdir)/tclconfig/mkindex.tcl $(DESTDIR)$(pkglibdir)/scripts
     402        # Uncomment when you are ready to install tcl rappture library bindings
     403        #$(TCLSH_PROG) $(srcdir)/tclconfig/mkindex.tcl $(DESTDIR)$(pkglibdir)/scripts
    403404        $(INSTALL_DATA) init.tcl $(DESTDIR)$(pkglibdir)/init.tcl
    404405        @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
  • trunk/src/tcl/configure

    r672 r708  
    65526552
    65536553
     6554# uncomment this and mkindex.tcl line in makefile when you are ready to
     6555# install tcl rappture library bindings
    65546556#TEA_ADD_TCL_SOURCES([scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl])
    65556557
     
    66276629
    66286630
    6629 
    6630     vars="-lexpat -lscew -lrappture"
     6631    if test "${libdir}" != "${prefix}/lib" ; then
     6632
     6633    vars="-L${libdir}"
     6634    for i in $vars; do
     6635        if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
     6636            # Convert foo.lib to -lfoo for GCC.  No-op if not *.lib
     6637            i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'`
     6638        fi
     6639        PKG_LIBS="$PKG_LIBS $i"
     6640    done
     6641
     6642
     6643    fi
     6644
     6645    vars="-lrappture -lexpat"
    66316646    for i in $vars; do
    66326647        if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
  • trunk/src/tcl/configure.in

    r671 r708  
    9090TEA_ADD_CFLAGS([])
    9191TEA_ADD_STUB_SOURCES([])
     92# uncomment this and mkindex.tcl line in makefile when you are ready to
     93# install tcl rappture library bindings
    9294#TEA_ADD_TCL_SOURCES([scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl])
    9395TEA_ADD_TCL_SOURCES([])
     
    119121    #TEA_ADD_SOURCES([unix/unixFile.c])
    120122    TEA_ADD_LIBS([-L${prefix}/lib])
    121     TEA_ADD_LIBS([-lexpat -lscew -lrappture])
     123    if test "${libdir}" != "${prefix}/lib" ; then
     124        TEA_ADD_LIBS([-L${libdir}])
     125    fi
     126    TEA_ADD_LIBS([-lrappture -lexpat])
    122127fi
    123128AC_SUBST(CLEANFILES)
  • trunk/src2/core/Makefile.in

    r657 r708  
    7373
    7474$(SHAREDLIBV): $(OBJS)
    75         $(LDSHARED) -shared -Wl,-rpath,${libdir} -o $@ $(OBJS) -L ${libdir} -lz -lb64
     75        $(LDSHARED) -shared -Wl,-rpath,${libdir} -o $@ $(OBJS) @LIB_SEARCH_DIRS@ -lz -lb64
    7676        rm -f $(SHAREDLIB) $(SHAREDLIBM)
    7777        ln -s $@ $(SHAREDLIB)
     
    8383
    8484RpBuffer_test$(EXE): RpBuffer_test.o $(LIBS)
    85         $(CXX) $(CFLAGS) -o $@ RpBuffer_test.o $(LDFLAGS) -L ${libdir} -lz -lb64
     85        $(CXX) $(CFLAGS) -o $@ RpBuffer_test.o $(LDFLAGS) @LIB_SEARCH_DIRS@ -lz -lb64
    8686
    8787install: $(LIBS) $(SHAREDLIBV)
Note: See TracChangeset for help on using the changeset viewer.