Changeset 708
- Timestamp:
- May 7, 2007, 11:07:32 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r664 r708 1 2 prefix = @prefix@ 3 exec_prefix = @exec_prefix@ 4 bindir = @bindir@ 5 libdir = @libdir@ 6 includedir = @includedir@ 7 mandir = @mandir@ 8 9 INSTALL = @INSTALL@ 10 INSTALL_PROGRAM = ${INSTALL} -m 755 11 INSTALL_DATA = ${INSTALL} -m 644 12 INSTALL_SCRIPT = ${INSTALL} -m 644 13 1 14 2 15 build_date := $(shell date +%Y%m%d) 3 16 machine := $(shell uname -m | sed 's/\ //') 4 17 os := $(shell uname -s) 5 bn := $(shell basename @prefix@)18 bn := $(shell basename $(prefix)) 6 19 TarfileBasename=rappture-$(os)-$(machine)-$(build_date) 7 20 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 22 all: rplib build_bindings build_gui 23 install: 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 20 32 21 33 ########################################################################### 22 34 # Makefile - build and install all Rappture libraries 23 ########################################################################### ##35 ########################################################################### 24 36 25 37 26 rp_gui: 27 set -x; 28 cd gui; \ 29 make all; \ 30 make install; 38 build_gui: 39 make -C gui 31 40 32 # ./configure --prefix=@prefix@ --with-blt=@prefix@/include; \ 33 # make all >& $(basedir)/output.gui 2>&1; \ 34 # make install >> $(basedir)/output.gui 2>&1 41 install_gui: 42 make -C gui install 35 43 36 44 rplib: 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; 40 47 41 48 install_rplib: 42 49 set -x; 43 cd src2/core; make install;44 cd src; makeinstall_rappture;50 make -C src2/core install; 51 make -C src install_rappture; 45 52 46 53 build_bindings: build_matlab build_octave build_python build_perl … … 54 61 ############################################################################# 55 62 build_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 61 67 62 68 install_examples: build_examples 63 set -x;64 cp -r examples @prefix@65 rm -f @prefix@/examples/demo.bash.in69 cp -r examples $(prefix) 70 rm -f $(prefix)/examples/demo.bash.in 71 find $(prefix)/exmaples -name .svn | xargs rm -rf 66 72 67 73 … … 71 77 #tcl bindings 72 78 install_tcl: 73 cd tcl; @prefix@/bin/tclsh install.tcl79 cd tcl; $(bindir)/tclsh install.tcl 74 80 # cd tcl; @TCLSH@ install.tcl 75 cd src/tcl; make install; cd -81 make -C src/tcl install 76 82 77 83 # matlab bindings 78 84 build_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; \ 81 87 fi 82 88 83 89 install_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; \ 86 92 fi 87 93 88 94 # octave bindings 89 95 build_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; \ 92 98 fi 93 99 94 100 install_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; \ 97 103 fi 98 104 99 105 build_python: 100 if test "x@PYTHON@" != "x" ; then \106 @if test "x@PYTHON@" != "x" ; then \ 101 107 set -x; \ 102 108 cd python; \ 103 109 @PYTHON@ setup.py \ 104 110 build_ext \ 105 --library-dirs= @prefix@/lib\106 --include-dirs= @prefix@/include\111 --library-dirs=$(libdir):../src \ 112 --include-dirs=$(includedir) \ 107 113 build; \ 108 114 fi 109 115 110 116 install_python: build_python 111 if test "x@PYTHON@" != "x" ; then \117 @if test "x@PYTHON@" != "x" ; then \ 112 118 set -x; \ 113 119 cd python; \ 114 @PYTHON@ setup.py install --prefix= @prefix@; \120 @PYTHON@ setup.py install --prefix=$(prefix); \ 115 121 fi 116 122 117 123 build_perl: 118 if test "x@PERL@" != "x" ; then \124 @if test "x@PERL@" != "x" ; then \ 119 125 set -x; \ 120 126 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; \ 123 129 fi 124 130 125 131 install_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; \ 129 134 fi 130 135 131 136 build_pkgs: 132 137 set -x; 133 if ! test -d "bin"; then \138 @if ! test -d "bin"; then \ 134 139 mkdir bin;\ 135 140 fi 136 141 # 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) 138 143 139 144 clean: 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 151 157 152 158 distclean: 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; 167 174 rm -rf Makefile config.status config.log bin; -
trunk/configure
r634 r708 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61for rappture 1.1.3 # Generated by GNU Autoconf 2.59 for rappture 1.1. 4 4 # 5 5 # Report bugs to <rappture@nanohub.org>. 6 6 # 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. 9 8 # This configure script is free software; the Free Software Foundation 10 9 # gives unlimited permission to copy, distribute and modify it. … … 13 12 ## --------------------- ## 14 13 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 14 # Be Bourne compatible 17 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 16 emulate sh … … 21 19 # is contrary to our usage. Disable this feature. 22 20 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 21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix 23 fi 24 DUALCASE=1; export DUALCASE # for MKS sh 25 26 # Support unset when possible. 27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 as_unset=unset 29 else 30 as_unset=false 31 fi 32 33 34 # Work around bugs in pre-3.0 UWIN ksh. 35 $as_unset ENV MAIL MAILPATH 36 PS1='$ ' 37 PS2='> ' 38 PS4='+ ' 39 40 # NLS nuisances. 41 for as_var in \ 42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 LC_TELEPHONE LC_TIME 45 do 46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 eval $as_var=C; export $as_var 48 else 49 $as_unset $as_var 50 fi 51 done 52 53 # Required to use basename. 54 if expr a : '\(a\)' >/dev/null 2>&1; then 55 as_expr=expr 56 else 57 as_expr=false 58 fi 59 60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 61 as_basename=basename 62 else 63 as_basename=false 64 fi 65 66 67 # Name of the executable. 68 as_me=`$as_basename "$0" || 69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73 echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79 80 # PATH needs CR, and LINENO needs CR and PATH. 35 81 # Avoid depending upon Character Ranges. 36 82 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 53 99 fi 54 100 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 76 112 for as_dir in $PATH 77 113 do … … 80 116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81 117 done 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 114 125 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 '') 223 132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224 133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 226 135 IFS=$as_save_IFS 227 136 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 229 139 /*) 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 ' 330 141 as_lineno_1=$LINENO 331 142 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 332 144 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 154 done 155 ;; 156 esac 429 157 430 158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 159 # 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. 437 164 # (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 | 444 167 sed ' 445 s/[$]LINENO.*/&-/446 t lineno447 b448 :lineno449 168 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, 452 172 t loop 453 s/-\n.*// 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 454 175 ' >$as_me.lineno && 455 chmod +x "$as_me.lineno"||176 chmod +x $as_me.lineno || 456 177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 178 { (exit 1); exit 1; }; } … … 459 180 # Don't try to exec as it changes $[0], causing all sort of problems 460 181 # (the dirname of $[0] is not the place where we might find the 461 # original and so on. Autoconf is especially sensi tive to this).462 . "./$as_me.lineno"182 # original and so on. Autoconf is especially sensible to this). 183 . ./$as_me.lineno 463 184 # Exit status is that of the last command. 464 185 exit … … 466 187 467 188 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';; 189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 *c*,-n*) ECHO_N= ECHO_C=' 191 ' ECHO_T=' ' ;; 192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 483 194 esac 484 195 485 if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 196 if expr a : '\(a\)' >/dev/null 2>&1; then 487 197 as_expr=expr 488 198 else … … 491 201 492 202 rm -f conf$$ conf$$.exe conf$$.file 493 if test -d conf$$.dir; then494 rm -f conf$$.dir/conf$$.file495 else496 rm -f conf$$.dir497 mkdir conf$$.dir498 fi499 203 echo >conf$$.file 500 204 if 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 507 209 as_ln_s='cp -p' 210 else 211 as_ln_s='ln -s' 212 fi 508 213 elif ln conf$$.file conf$$ 2>/dev/null; then 509 214 as_ln_s=ln … … 511 216 as_ln_s='cp -p' 512 217 fi 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514 rmdir conf$$.dir 2>/dev/null 218 rm -f conf$$ conf$$.exe conf$$.file 515 219 516 220 if mkdir -p . 2>/dev/null; then … … 521 225 fi 522 226 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 227 as_executable_p="test -f" 545 228 546 229 # Sed expression to map a string onto a valid CPP name. … … 551 234 552 235 553 554 exec 7<&0 </dev/null 6>&1 236 # IFS 237 # We need space, tab and new line, in precisely that order. 238 as_nl=' 239 ' 240 IFS=" $as_nl" 241 242 # CDPATH. 243 $as_unset CDPATH 244 555 245 556 246 # Name of the host. … … 559 249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560 250 251 exec 6>&1 252 561 253 # 562 254 # Initializations. 563 255 # 564 256 ac_default_prefix=/usr/local 565 ac_clean_files=566 257 ac_config_libobj_dir=. 567 LIBOBJS=568 258 cross_compiling=no 569 259 subdirs= … … 571 261 MAKEFLAGS= 572 262 SHELL=${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} 573 268 574 269 # Identity of this package. … … 582 277 ac_includes_default="\ 583 278 #include <stdio.h> 584 #if defHAVE_SYS_TYPES_H279 #if HAVE_SYS_TYPES_H 585 280 # include <sys/types.h> 586 281 #endif 587 #if defHAVE_SYS_STAT_H282 #if HAVE_SYS_STAT_H 588 283 # include <sys/stat.h> 589 284 #endif 590 #if defSTDC_HEADERS285 #if STDC_HEADERS 591 286 # include <stdlib.h> 592 287 # include <stddef.h> 593 288 #else 594 # if defHAVE_STDLIB_H289 # if HAVE_STDLIB_H 595 290 # include <stdlib.h> 596 291 # endif 597 292 #endif 598 #if defHAVE_STRING_H599 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H293 #if HAVE_STRING_H 294 # if !STDC_HEADERS && HAVE_MEMORY_H 600 295 # include <memory.h> 601 296 # endif 602 297 # include <string.h> 603 298 #endif 604 #if defHAVE_STRINGS_H299 #if HAVE_STRINGS_H 605 300 # include <strings.h> 606 301 #endif 607 #if defHAVE_INTTYPES_H302 #if HAVE_INTTYPES_H 608 303 # include <inttypes.h> 304 #else 305 # if HAVE_STDINT_H 306 # include <stdint.h> 307 # endif 609 308 #endif 610 #ifdef HAVE_STDINT_H 611 # include <stdint.h> 612 #endif 613 #ifdef HAVE_UNISTD_H 309 #if HAVE_UNISTD_H 614 310 # include <unistd.h> 615 311 #endif" 616 312 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' 313 ac_subdirs_all="$ac_subdirs_all gui" 314 ac_subdirs_all="$ac_subdirs_all src/tcl" 315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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' 687 316 ac_subst_files='' 688 ac_precious_vars='build_alias689 host_alias690 target_alias691 CC692 CFLAGS693 LDFLAGS694 LIBS695 CPPFLAGS696 CPP697 CXX698 CXXFLAGS699 CCC700 CXXCPP701 F77702 FFLAGS'703 ac_subdirs_all='gui704 src/tcl '705 317 706 318 # Initialize some variables set by options. … … 729 341 # by default will actually change. 730 342 # Use braces instead of parens because sh, perl, etc. also accept them. 731 # (The list follows the same order as the GNU Coding Standards.)732 343 bindir='${exec_prefix}/bin' 733 344 sbindir='${exec_prefix}/sbin' 734 345 libexecdir='${exec_prefix}/libexec' 735 datarootdir='${prefix}/share' 736 datadir='${datarootdir}' 346 datadir='${prefix}/share' 737 347 sysconfdir='${prefix}/etc' 738 348 sharedstatedir='${prefix}/com' 739 349 localstatedir='${prefix}/var' 350 libdir='${exec_prefix}/lib' 740 351 includedir='${prefix}/include' 741 352 oldincludedir='/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' 353 infodir='${prefix}/info' 354 mandir='${prefix}/man' 751 355 752 356 ac_prev= 753 ac_dashdash=754 357 for ac_option 755 358 do 756 359 # If the previous option needs an argument, assign it. 757 360 if test -n "$ac_prev"; then 758 eval $ac_prev=\$ac_option361 eval "$ac_prev=\$ac_option" 759 362 ac_prev= 760 363 continue 761 364 fi 762 365 366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 367 368 # Accept the important Cygnus configure options, so we can diagnose typos. 369 763 370 case $ac_option in 764 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;765 *) ac_optarg=yes ;;766 esac767 768 # Accept the important Cygnus configure options, so we can diagnose typos.769 770 case $ac_dashdash$ac_option in771 --)772 ac_dashdash=yes ;;773 371 774 372 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 792 390 cache_file=config.cache ;; 793 391 794 -datadir | --datadir | --datadi | --datad )392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 795 393 ac_prev=datadir ;; 796 -datadir=* | --datadir=* | --datadi=* | --datad=*) 394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 395 | --da=*) 797 396 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 ;;805 397 806 398 -disable-* | --disable-*) 807 399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 808 400 # 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 && 810 402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 811 403 { (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" ;; 824 406 825 407 -enable-* | --enable-*) 826 408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 827 409 # 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 && 829 411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 830 412 { (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'" ;; 833 419 834 420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 857 443 host_alias=$ac_optarg ;; 858 444 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 865 445 -includedir | --includedir | --includedi | --included | --include \ 866 446 | --includ | --inclu | --incl | --inc) … … 887 467 libexecdir=$ac_optarg ;; 888 468 889 -localedir | --localedir | --localedi | --localed | --locale)890 ac_prev=localedir ;;891 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)892 localedir=$ac_optarg ;;893 894 469 -localstatedir | --localstatedir | --localstatedi | --localstated \ 895 | --localstate | --localstat | --localsta | --localst | --locals) 470 | --localstate | --localstat | --localsta | --localst \ 471 | --locals | --local | --loca | --loc | --lo) 896 472 ac_prev=localstatedir ;; 897 473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 898 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 899 476 localstatedir=$ac_optarg ;; 900 477 … … 961 538 program_transform_name=$ac_optarg ;; 962 539 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 973 540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 974 541 | -silent | --silent | --silen | --sile | --sil) … … 1023 590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1024 591 # 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 && 1026 593 { echo "$as_me: error: invalid package name: $ac_package" >&2 1027 594 { (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'" ;; 1030 601 1031 602 -without-* | --without-*) 1032 603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1033 604 # 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 && 1035 606 { echo "$as_me: error: invalid package name: $ac_package" >&2 1036 607 { (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" ;; 1039 610 1040 611 --x) … … 1067 638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1068 639 { (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'" 1070 642 export $ac_envvar ;; 1071 643 … … 1087 659 fi 1088 660 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. 662 for ac_var in exec_prefix prefix 1094 663 do 1095 eval ac_val= \$$ac_var664 eval ac_val=$`echo $ac_var` 1096 665 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; }; };; 1099 669 esac 1100 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1101 { (exit 1); exit 1; }; } 670 done 671 672 # Be sure to have absolute paths. 673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 674 localstatedir libdir includedir oldincludedir infodir mandir 675 do 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 1102 682 done 1103 683 … … 1126 706 1127 707 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" >&21132 { (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" >&21135 { (exit 1); exit 1; }; }1136 1137 1138 708 # Find the source files, if location was not specified. 1139 709 if test -z "$srcdir"; then 1140 710 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 || 1143 713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1144 714 X"$0" : 'X\(//\)[^/]' \| \ 1145 715 X"$0" : 'X\(//\)$' \| \ 1146 X"$0" : 'X\(/\)' \| . 2>/dev/null || 716 X"$0" : 'X\(/\)' \| \ 717 . : '\(.\)' 2>/dev/null || 1147 718 echo 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'` 1165 724 srcdir=$ac_confdir 1166 if test ! -r "$srcdir/$ac_unique_file"; then725 if test ! -r $srcdir/$ac_unique_file; then 1167 726 srcdir=.. 1168 727 fi … … 1170 729 ac_srcdir_defaulted=no 1171 730 fi 1172 if test ! -r "$srcdir/$ac_unique_file"; then1173 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1174 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2731 if 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 1175 734 { (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 1180 737 { (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 739 fi 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; }; } 743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 744 ac_env_build_alias_set=${build_alias+set} 745 ac_env_build_alias_value=$build_alias 746 ac_cv_env_build_alias_set=${build_alias+set} 747 ac_cv_env_build_alias_value=$build_alias 748 ac_env_host_alias_set=${host_alias+set} 749 ac_env_host_alias_value=$host_alias 750 ac_cv_env_host_alias_set=${host_alias+set} 751 ac_cv_env_host_alias_value=$host_alias 752 ac_env_target_alias_set=${target_alias+set} 753 ac_env_target_alias_value=$target_alias 754 ac_cv_env_target_alias_set=${target_alias+set} 755 ac_cv_env_target_alias_value=$target_alias 756 ac_env_CC_set=${CC+set} 757 ac_env_CC_value=$CC 758 ac_cv_env_CC_set=${CC+set} 759 ac_cv_env_CC_value=$CC 760 ac_env_CFLAGS_set=${CFLAGS+set} 761 ac_env_CFLAGS_value=$CFLAGS 762 ac_cv_env_CFLAGS_set=${CFLAGS+set} 763 ac_cv_env_CFLAGS_value=$CFLAGS 764 ac_env_LDFLAGS_set=${LDFLAGS+set} 765 ac_env_LDFLAGS_value=$LDFLAGS 766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 767 ac_cv_env_LDFLAGS_value=$LDFLAGS 768 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 769 ac_env_CPPFLAGS_value=$CPPFLAGS 770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 772 ac_env_CPP_set=${CPP+set} 773 ac_env_CPP_value=$CPP 774 ac_cv_env_CPP_set=${CPP+set} 775 ac_cv_env_CPP_value=$CPP 776 ac_env_CXX_set=${CXX+set} 777 ac_env_CXX_value=$CXX 778 ac_cv_env_CXX_set=${CXX+set} 779 ac_cv_env_CXX_value=$CXX 780 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 781 ac_env_CXXFLAGS_value=$CXXFLAGS 782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 784 ac_env_CXXCPP_set=${CXXCPP+set} 785 ac_env_CXXCPP_value=$CXXCPP 786 ac_cv_env_CXXCPP_set=${CXXCPP+set} 787 ac_cv_env_CXXCPP_value=$CXXCPP 788 ac_env_F77_set=${F77+set} 789 ac_env_F77_value=$F77 790 ac_cv_env_F77_set=${F77+set} 791 ac_cv_env_F77_value=$F77 792 ac_env_FFLAGS_set=${FFLAGS+set} 793 ac_env_FFLAGS_value=$FFLAGS 794 ac_cv_env_FFLAGS_set=${FFLAGS+set} 795 ac_cv_env_FFLAGS_value=$FFLAGS 1198 796 1199 797 # … … 1224 822 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1225 823 824 _ACEOF 825 826 cat <<_ACEOF 1226 827 Installation directories: 1227 828 --prefix=PREFIX install architecture-independent files in PREFIX … … 1241 842 --sbindir=DIR system admin executables [EPREFIX/sbin] 1242 843 --libexecdir=DIR program executables [EPREFIX/libexec] 844 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1243 845 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1244 846 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1247 849 --includedir=DIR C header files [PREFIX/include] 1248 850 --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] 1259 853 _ACEOF 1260 854 … … 1274 868 --with-matlab=DIR Build Matlab bindings if MEX compiler is found 1275 869 --with-matlab-arch=ARCH Build Matlab bindings for ARCH architecture 870 --with-mexext=ARCH Suggest an extension for building mex files 1276 871 --with-octave=DIR Build Octave bindings if MKOCTFILE compiler is found 1277 872 --with-perl=DIR Build Perl bindings if found … … 1283 878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1284 879 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> 1288 882 CPP C preprocessor 1289 883 CXX C++ compiler command … … 1298 892 Report bugs to <rappture@nanohub.org>. 1299 893 _ACEOF 1300 ac_status=$?1301 894 fi 1302 895 1303 896 if test "$ac_init_help" = "recursive"; then 1304 897 # If there are subdirs, report their specific --help. 898 ac_popdir=`pwd` 1305 899 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1306 test -d "$ac_dir"|| continue900 test -d $ac_dir || continue 1307 901 ac_builddir=. 1308 902 1309 case "$ac_dir" in 1310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 903 if 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'` 907 else 908 ac_dir_suffix= ac_top_builddir= 909 fi 910 911 case $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 ;; 925 esac 926 927 # Do not use `cd foo && pwd` to compute absolute paths, because 928 # the directories may not exist. 929 case `pwd` in 930 .) ac_abs_builddir="$ac_dir";; 1311 931 *) 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;; 1319 937 esac 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 ;; 938 case $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;; 1338 946 esac 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 947 case $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;; 955 esac 956 case $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;; 964 esac 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 1349 978 else 1350 979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1351 fi || ac_status=$?1352 cd "$ac_p wd" || { ac_status=$?; break; }980 fi 981 cd "$ac_popdir" 1353 982 done 1354 983 fi 1355 984 1356 test -n "$ac_init_help" && exit $ac_status985 test -n "$ac_init_help" && exit 0 1357 986 if $ac_init_version; then 1358 987 cat <<\_ACEOF 1359 988 rappture 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. 989 generated by GNU Autoconf 2.59 990 991 Copyright (C) 2003 Free Software Foundation, Inc. 1364 992 This configure script is free software; the Free Software Foundation 1365 993 gives unlimited permission to copy, distribute and modify it. 1366 994 _ACEOF 1367 exit 1368 fi 1369 cat >config.log <<_ACEOF 995 exit 0 996 fi 997 exec 5>config.log 998 cat >&5 <<_ACEOF 1370 999 This file contains any messages produced by compilers while 1371 1000 running configure, to aid debugging if configure makes a mistake. 1372 1001 1373 1002 It was created by rappture $as_me 1.1, which was 1374 generated by GNU Autoconf 2. 61. Invocation command line was1003 generated by GNU Autoconf 2.59. Invocation command line was 1375 1004 1376 1005 $ $0 $@ 1377 1006 1378 1007 _ACEOF 1379 exec 5>>config.log1380 1008 { 1381 1009 cat <<_ASUNAME … … 1396 1024 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1397 1025 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1398 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1026 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1399 1027 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1400 1028 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1410 1038 echo "PATH: $as_dir" 1411 1039 done 1412 IFS=$as_save_IFS1413 1040 1414 1041 } >&5 … … 1432 1059 ac_configure_args0= 1433 1060 ac_configure_args1= 1061 ac_sep= 1434 1062 ac_must_keep_next=false 1435 1063 for ac_pass in 1 2 … … 1442 1070 | -silent | --silent | --silen | --sile | --sil) 1443 1071 continue ;; 1444 * \'*)1072 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1445 1073 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1446 1074 esac … … 1464 1092 esac 1465 1093 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=" " 1467 1097 ;; 1468 1098 esac … … 1475 1105 # config.log. We remove comments because anyway the quotes in there 1476 1106 # 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. 1479 1109 trap 'exit_status=$? 1480 1110 # Save into config.log some information that might help in debugging. … … 1489 1119 echo 1490 1120 # 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 { 1506 1122 (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=\ *) 1509 1125 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 ;; 1513 1129 *) 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" 1515 1132 ;; 1516 esac | 1517 sort 1518 ) 1133 esac; 1134 } 1519 1135 echo 1520 1136 … … 1527 1143 for ac_var in $ac_subst_vars 1528 1144 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'"'"'" 1534 1147 done | sort 1535 1148 echo … … 1537 1150 if test -n "$ac_subst_files"; then 1538 1151 cat <<\_ASBOX 1539 ## ------------- ------##1540 ## File substitutions. ##1541 ## ------------- ------##1152 ## ------------- ## 1153 ## Output files. ## 1154 ## ------------- ## 1542 1155 _ASBOX 1543 1156 echo 1544 1157 for ac_var in $ac_subst_files 1545 1158 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'"'"'" 1551 1161 done | sort 1552 1162 echo … … 1560 1170 _ASBOX 1561 1171 echo 1562 cat confdefs.h1172 sed "/^$/d" confdefs.h | sort 1563 1173 echo 1564 1174 fi … … 1567 1177 echo "$as_me: exit $exit_status" 1568 1178 } >&5 1569 rm -f core *.core core.conftest.*&&1570 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1179 rm -f core *.core && 1180 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1571 1181 exit $exit_status 1572 ' 01182 ' 0 1573 1183 for ac_signal in 1 2 13 15; do 1574 1184 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1577 1187 1578 1188 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1579 rm -f -r conftest* confdefs.h 1189 rm -rf conftest* confdefs.h 1190 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1191 echo >confdefs.h 1580 1192 1581 1193 # Predefined preprocessor variables. … … 1608 1220 # Let the site file select an alternate cache file if it wants to. 1609 1221 # 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 1222 if 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 1228 fi 1229 for ac_site_file in $CONFIG_SITE; do 1621 1230 if test -r "$ac_site_file"; then 1622 1231 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1634 1243 echo "$as_me: loading cache $cache_file" >&6;} 1635 1244 case $cache_file in 1636 [\\/]* | ?:[\\/]* ) . "$cache_file";;1637 *) . "./$cache_file";;1245 [\\/]* | ?:[\\/]* ) . $cache_file;; 1246 *) . ./$cache_file;; 1638 1247 esac 1639 1248 fi … … 1647 1256 # value. 1648 1257 ac_cache_corrupted=false 1649 for ac_var in $ac_precious_vars; do 1258 for ac_var in `(set) 2>&1 | 1259 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1650 1260 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1651 1261 eval ac_new_set=\$ac_env_${ac_var}_set 1652 eval ac_old_val= \$ac_cv_env_${ac_var}_value1653 eval ac_new_val= \$ac_env_${ac_var}_value1262 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1263 eval ac_new_val="\$ac_env_${ac_var}_value" 1654 1264 case $ac_old_set,$ac_new_set in 1655 1265 set,) … … 1676 1286 if test "$ac_new_set" = set; then 1677 1287 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"` ;; 1679 1290 *) ac_arg=$ac_var=$ac_new_val ;; 1680 1291 esac … … 1693 1304 fi 1694 1305 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1306 ac_ext=c 1720 1307 ac_cpp='$CPP $CPPFLAGS' … … 1725 1312 1726 1313 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 1727 1339 VERSION=0.0.1 1728 1340 … … 1738 1350 fi 1739 1351 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 1352 if test "${libdir}" != "${prefix}/lib"; then 1353 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}" 1354 else 1355 LIB_SEARCH_DIRS="-L ${libdir}" 1356 fi 1357 1358 ac_aux_dir= 1359 for 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 1373 done 1374 if test -z "$ac_aux_dir"; then 1375 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1376 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1377 { (exit 1); exit 1; }; } 1378 fi 1379 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1380 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1381 ac_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. 1396 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1397 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1398 if test -z "$INSTALL"; then 1399 if test "${ac_cv_path_install+set}" = set; then 1745 1400 echo $ECHO_N "(cached) $ECHO_C" >&6 1746 1401 else 1402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1403 for as_dir in $PATH 1404 do 1405 IFS=$as_save_IFS 1406 test -z "$as_dir" && as_dir=. 1407 # Account for people who put trailing slashes in PATH elements. 1408 case $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 ;; 1436 esac 1437 done 1438 1439 1440 fi 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 1450 fi 1451 echo "$as_me:$LINENO: result: $INSTALL" >&5 1452 echo "${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. 1456 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1457 1458 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1459 1460 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1461 1462 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1463 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1464 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1465 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1466 echo $ECHO_N "(cached) $ECHO_C" >&6 1467 else 1747 1468 cat >conftest.make <<\_ACEOF 1748 SHELL = /bin/sh1749 1469 all: 1750 @echo ' @@@%%%=$(MAKE)=@@@%%%'1470 @echo 'ac_maketemp="$(MAKE)"' 1751 1471 _ACEOF 1752 1472 # 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 1473 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1474 if test -n "$ac_maketemp"; then 1475 eval ac_cv_prog_make_${ac_make}_set=yes 1476 else 1477 eval ac_cv_prog_make_${ac_make}_set=no 1478 fi 1759 1479 rm -f conftest.make 1760 1480 fi 1761 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then1762 {echo "$as_me:$LINENO: result: yes" >&51763 echo "${ECHO_T}yes" >&6 ; }1481 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1482 echo "$as_me:$LINENO: result: yes" >&5 1483 echo "${ECHO_T}yes" >&6 1764 1484 SET_MAKE= 1765 1485 else 1766 {echo "$as_me:$LINENO: result: no" >&51767 echo "${ECHO_T}no" >&6 ; }1486 echo "$as_me:$LINENO: result: no" >&5 1487 echo "${ECHO_T}no" >&6 1768 1488 SET_MAKE="MAKE=${MAKE-make}" 1769 1489 fi … … 1778 1498 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1779 1499 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1780 {echo "$as_me:$LINENO: checking for $ac_word" >&51781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1500 echo "$as_me:$LINENO: checking for $ac_word" >&5 1501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1782 1502 if test "${ac_cv_prog_CC+set}" = set; then 1783 1503 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1792 1512 test -z "$as_dir" && as_dir=. 1793 1513 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"; }; then1514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1795 1515 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1796 1516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1799 1519 done 1800 1520 done 1801 IFS=$as_save_IFS1802 1521 1803 1522 fi … … 1805 1524 CC=$ac_cv_prog_CC 1806 1525 if 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 1527 echo "${ECHO_T}$CC" >&6 1528 else 1529 echo "$as_me:$LINENO: result: no" >&5 1530 echo "${ECHO_T}no" >&6 1531 fi 1814 1532 1815 1533 fi … … 1818 1536 # Extract the first word of "gcc", so it can be a program name with args. 1819 1537 set dummy gcc; ac_word=$2 1820 {echo "$as_me:$LINENO: checking for $ac_word" >&51821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1538 echo "$as_me:$LINENO: checking for $ac_word" >&5 1539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1822 1540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1823 1541 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1832 1550 test -z "$as_dir" && as_dir=. 1833 1551 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"; }; then1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1835 1553 ac_cv_prog_ac_ct_CC="gcc" 1836 1554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1839 1557 done 1840 1558 done 1841 IFS=$as_save_IFS1842 1559 1843 1560 fi … … 1845 1562 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1846 1563 if 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 1565 echo "${ECHO_T}$ac_ct_CC" >&6 1566 else 1567 echo "$as_me:$LINENO: result: no" >&5 1568 echo "${ECHO_T}no" >&6 1569 fi 1570 1571 CC=$ac_ct_CC 1869 1572 else 1870 1573 CC="$ac_cv_prog_CC" … … 1872 1575 1873 1576 if test -z "$CC"; then 1874 1875 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. 1876 1579 set dummy ${ac_tool_prefix}cc; ac_word=$2 1877 {echo "$as_me:$LINENO: checking for $ac_word" >&51878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1580 echo "$as_me:$LINENO: checking for $ac_word" >&5 1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1879 1582 if test "${ac_cv_prog_CC+set}" = set; then 1880 1583 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1889 1592 test -z "$as_dir" && as_dir=. 1890 1593 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"; }; then1594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1892 1595 ac_cv_prog_CC="${ac_tool_prefix}cc" 1893 1596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1896 1599 done 1897 1600 done 1898 IFS=$as_save_IFS1899 1601 1900 1602 fi … … 1902 1604 CC=$ac_cv_prog_CC 1903 1605 if 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 1607 echo "${ECHO_T}$CC" >&6 1608 else 1609 echo "$as_me:$LINENO: result: no" >&5 1610 echo "${ECHO_T}no" >&6 1611 fi 1612 1613 fi 1614 if 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. 1617 set dummy cc; ac_word=$2 1618 echo "$as_me:$LINENO: checking for $ac_word" >&5 1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1621 echo $ECHO_N "(cached) $ECHO_C" >&6 1622 else 1623 if test -n "$ac_ct_CC"; then 1624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1625 else 1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1627 for as_dir in $PATH 1628 do 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 1912 1636 fi 1637 done 1638 done 1639 1640 fi 1641 fi 1642 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1643 if test -n "$ac_ct_CC"; then 1644 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1645 echo "${ECHO_T}$ac_ct_CC" >&6 1646 else 1647 echo "$as_me:$LINENO: result: no" >&5 1648 echo "${ECHO_T}no" >&6 1649 fi 1650 1651 CC=$ac_ct_CC 1652 else 1653 CC="$ac_cv_prog_CC" 1654 fi 1655 1913 1656 fi 1914 1657 if test -z "$CC"; then 1915 1658 # Extract the first word of "cc", so it can be a program name with args. 1916 1659 set dummy cc; ac_word=$2 1917 {echo "$as_me:$LINENO: checking for $ac_word" >&51918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1660 echo "$as_me:$LINENO: checking for $ac_word" >&5 1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1919 1662 if test "${ac_cv_prog_CC+set}" = set; then 1920 1663 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1930 1673 test -z "$as_dir" && as_dir=. 1931 1674 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"; }; then1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1933 1676 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1934 1677 ac_prog_rejected=yes … … 1941 1684 done 1942 1685 done 1943 IFS=$as_save_IFS1944 1686 1945 1687 if test $ac_prog_rejected = yes; then … … 1959 1701 CC=$ac_cv_prog_CC 1960 1702 if 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 1704 echo "${ECHO_T}$CC" >&6 1705 else 1706 echo "$as_me:$LINENO: result: no" >&5 1707 echo "${ECHO_T}no" >&6 1708 fi 1968 1709 1969 1710 fi 1970 1711 if test -z "$CC"; then 1971 1712 if test -n "$ac_tool_prefix"; then 1972 for ac_prog in cl .exe1713 for ac_prog in cl 1973 1714 do 1974 1715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1975 1716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1976 {echo "$as_me:$LINENO: checking for $ac_word" >&51977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1717 echo "$as_me:$LINENO: checking for $ac_word" >&5 1718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1978 1719 if test "${ac_cv_prog_CC+set}" = set; then 1979 1720 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1988 1729 test -z "$as_dir" && as_dir=. 1989 1730 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"; }; then1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1991 1732 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1992 1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1995 1736 done 1996 1737 done 1997 IFS=$as_save_IFS1998 1738 1999 1739 fi … … 2001 1741 CC=$ac_cv_prog_CC 2002 1742 if 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 1744 echo "${ECHO_T}$CC" >&6 1745 else 1746 echo "$as_me:$LINENO: result: no" >&5 1747 echo "${ECHO_T}no" >&6 1748 fi 2010 1749 2011 1750 test -n "$CC" && break … … 2014 1753 if test -z "$CC"; then 2015 1754 ac_ct_CC=$CC 2016 for ac_prog in cl .exe1755 for ac_prog in cl 2017 1756 do 2018 1757 # Extract the first word of "$ac_prog", so it can be a program name with args. 2019 1758 set dummy $ac_prog; ac_word=$2 2020 {echo "$as_me:$LINENO: checking for $ac_word" >&52021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1759 echo "$as_me:$LINENO: checking for $ac_word" >&5 1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2022 1761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2023 1762 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2032 1771 test -z "$as_dir" && as_dir=. 2033 1772 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"; }; then1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2035 1774 ac_cv_prog_ac_ct_CC="$ac_prog" 2036 1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2039 1778 done 2040 1779 done 2041 IFS=$as_save_IFS2042 1780 2043 1781 fi … … 2045 1783 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2046 1784 if 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 1786 echo "${ECHO_T}$ac_ct_CC" >&6 1787 else 1788 echo "$as_me:$LINENO: result: no" >&5 1789 echo "${ECHO_T}no" >&6 1790 fi 2054 1791 2055 1792 test -n "$ac_ct_CC" && break 2056 1793 done 2057 1794 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 2073 1796 fi 2074 1797 … … 2083 1806 2084 1807 # Provide some information about the compiler. 2085 echo "$as_me:$LINENO: checking for C compiler version" >&5 1808 echo "$as_me:$LINENO:" \ 1809 "checking for C compiler version" >&5 2086 1810 ac_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 2094 1813 ac_status=$? 2095 1814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2096 1815 (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 2104 1818 ac_status=$? 2105 1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2106 1820 (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 2114 1823 ac_status=$? 2115 1824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2136 1845 # It will help us diagnose broken compilers, and finding out an intuition 2137 1846 # of exeext. 2138 {echo "$as_me:$LINENO: checking for C compiler default output file name" >&52139 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ; }1847 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1848 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2140 1849 ac_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 1850 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1851 (eval $ac_link_default) 2>&5 2167 1852 ac_status=$? 2168 1853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 1854 (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. 1861 ac_cv_exeext= 1862 # b.out is created by i960 compilers. 1863 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2176 1864 do 2177 1865 test -f "$ac_file" || continue 2178 1866 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. 2180 1871 ;; 2181 1872 [ab].out ) … … 2184 1875 break;; 2185 1876 *.* ) 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 2195 1882 break;; 2196 1883 * ) … … 2198 1885 esac 2199 1886 done 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 1887 else 2209 1888 echo "$as_me: failed program was:" >&5 2210 1889 sed 's/^/| /' conftest.$ac_ext >&5 … … 2218 1897 2219 1898 ac_exeext=$ac_cv_exeext 2220 2221 # Check that the compiler produces executables we can run. If not, either 1899 echo "$as_me:$LINENO: result: $ac_file" >&5 1900 echo "${ECHO_T}$ac_file" >&6 1901 1902 # Check the compiler produces executables we can run. If not, either 2222 1903 # the compiler is broken, or we cross compile. 2223 {echo "$as_me:$LINENO: checking whether the C compiler works" >&52224 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 ; }1904 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1905 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2225 1906 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2226 1907 # If not cross compiling, check that we can run a simple program. 2227 1908 if test "$cross_compiling" != yes; then 2228 1909 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 2235 1912 ac_status=$? 2236 1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2251 1928 fi 2252 1929 fi 2253 {echo "$as_me:$LINENO: result: yes" >&52254 echo "${ECHO_T}yes" >&6 ; }1930 echo "$as_me:$LINENO: result: yes" >&5 1931 echo "${ECHO_T}yes" >&6 2255 1932 2256 1933 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2257 1934 ac_clean_files=$ac_clean_files_save 2258 # Check th at the compiler produces executables we can run. If not, either1935 # Check the compiler produces executables we can run. If not, either 2259 1936 # 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 1937 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1938 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1939 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1940 echo "${ECHO_T}$cross_compiling" >&6 1941 1942 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1943 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1945 (eval $ac_link) 2>&5 2274 1946 ac_status=$? 2275 1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2282 1954 test -f "$ac_file" || continue 2283 1955 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 ) ;; 2285 1957 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1958 export ac_cv_exeext 2286 1959 break;; 2287 1960 * ) break;; … … 2297 1970 2298 1971 rm -f conftest$ac_cv_exeext 2299 {echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52300 echo "${ECHO_T}$ac_cv_exeext" >&6 ; }1972 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1973 echo "${ECHO_T}$ac_cv_exeext" >&6 2301 1974 2302 1975 rm -f conftest.$ac_ext 2303 1976 EXEEXT=$ac_cv_exeext 2304 1977 ac_exeext=$EXEEXT 2305 {echo "$as_me:$LINENO: checking for suffix of object files" >&52306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 ; }1978 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1979 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2307 1980 if test "${ac_cv_objext+set}" = set; then 2308 1981 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2324 1997 _ACEOF 2325 1998 rm -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 1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2000 (eval $ac_compile) 2>&5 2333 2001 ac_status=$? 2334 2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 2003 (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 2338 2005 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 ) ;; 2340 2007 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2341 2008 break;; … … 2355 2022 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2356 2023 fi 2357 {echo "$as_me:$LINENO: result: $ac_cv_objext" >&52358 echo "${ECHO_T}$ac_cv_objext" >&6 ; }2024 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2025 echo "${ECHO_T}$ac_cv_objext" >&6 2359 2026 OBJEXT=$ac_cv_objext 2360 2027 ac_objext=$OBJEXT 2361 {echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52362 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 ; }2028 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2029 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2363 2030 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2364 2031 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2383 2050 _ACEOF 2384 2051 rm -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 2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2053 (eval $ac_compile) 2>conftest.er1 2392 2054 ac_status=$? 2393 2055 grep -v '^ *+' conftest.er1 >conftest.err … … 2395 2057 cat conftest.err >&5 2396 2058 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 2401 2072 ac_compiler_gnu=yes 2402 2073 else … … 2404 2075 sed 's/^/| /' conftest.$ac_ext >&5 2405 2076 2406 ac_compiler_gnu=no 2407 fi 2408 2409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2077 ac_compiler_gnu=no 2078 fi 2079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2410 2080 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2411 2081 2412 2082 fi 2413 {echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52414 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 ; }2083 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2084 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2415 2085 GCC=`test $ac_compiler_gnu = yes && echo yes` 2416 2086 ac_test_CFLAGS=${CFLAGS+set} 2417 2087 ac_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; } 2088 CFLAGS="-g" 2089 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2090 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2420 2091 if test "${ac_cv_prog_cc_g+set}" = set; then 2421 2092 echo $ECHO_N "(cached) $ECHO_C" >&6 2422 2093 else 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 2428 2095 /* confdefs.h. */ 2429 2096 _ACEOF … … 2441 2108 _ACEOF 2442 2109 rm -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 2110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2111 (eval $ac_compile) 2>conftest.er1 2450 2112 ac_status=$? 2451 2113 grep -v '^ *+' conftest.er1 >conftest.err … … 2453 2115 cat conftest.err >&5 2454 2116 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 2459 2130 ac_cv_prog_cc_g=yes 2460 2131 else … … 2462 2133 sed 's/^/| /' conftest.$ac_ext >&5 2463 2134 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; } 2135 ac_cv_prog_cc_g=no 2136 fi 2137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2138 fi 2139 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2140 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2555 2141 if test "$ac_test_CFLAGS" = set; then 2556 2142 CFLAGS=$ac_save_CFLAGS … … 2568 2154 fi 2569 2155 fi 2570 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52571 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2572 if test "${ac_cv_prog_cc_ c89+set}" = set; then2156 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2157 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2158 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2573 2159 echo $ECHO_N "(cached) $ECHO_C" >&6 2574 2160 else 2575 ac_cv_prog_cc_ c89=no2161 ac_cv_prog_cc_stdc=no 2576 2162 ac_save_CC=$CC 2577 2163 cat >conftest.$ac_ext <<_ACEOF … … 2607 2193 function prototypes and stuff, but not '\xHH' hex character constants. 2608 2194 These don't provoke an error unfortunately, instead are silently treated 2609 as 'x'. The following induces an error, until -std is added to get2195 as 'x'. The following induces an error, until -std1 is added to get 2610 2196 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2611 2197 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. */ 2613 2199 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2614 2615 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2616 inside strings and character constants. */2617 #define FOO(x) 'x'2618 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2619 2200 2620 2201 int test (int i, double x); … … 2632 2213 } 2633 2214 _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__ 2222 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2636 2223 do 2637 2224 CC="$ac_save_CC $ac_arg" 2638 2225 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 2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2227 (eval $ac_compile) 2>conftest.er1 2646 2228 ac_status=$? 2647 2229 grep -v '^ *+' conftest.er1 >conftest.err … … 2649 2231 cat conftest.err >&5 2650 2232 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 2247 break 2656 2248 else 2657 2249 echo "$as_me: failed program was:" >&5 2658 2250 sed 's/^/| /' conftest.$ac_ext >&5 2659 2251 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 2252 fi 2253 rm -f conftest.err conftest.$ac_objext 2254 done 2255 rm -f conftest.$ac_ext conftest.$ac_objext 2667 2256 CC=$ac_save_CC 2668 2257 2669 2258 fi 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 2260 case "x$ac_cv_prog_cc_stdc" in 2261 x|xno) 2262 echo "$as_me:$LINENO: result: none needed" >&5 2263 echo "${ECHO_T}none needed" >&6 ;; 2678 2264 *) 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 2266 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2267 CC="$CC $ac_cv_prog_cc_stdc" ;; 2682 2268 esac 2683 2269 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. 2274 cat >conftest.$ac_ext <<_ACEOF 2275 #ifndef __cplusplus 2276 choke me 2277 #endif 2278 _ACEOF 2279 rm -f conftest.$ac_objext 2280 if { (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);' 2307 do 2308 cat >conftest.$ac_ext <<_ACEOF 2309 /* confdefs.h. */ 2310 _ACEOF 2311 cat confdefs.h >>conftest.$ac_ext 2312 cat >>conftest.$ac_ext <<_ACEOF 2313 /* end confdefs.h. */ 2314 $ac_declaration 2315 #include <stdlib.h> 2316 int 2317 main () 2318 { 2319 exit (42); 2320 ; 2321 return 0; 2322 } 2323 _ACEOF 2324 rm -f conftest.$ac_objext 2325 if { (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 : 2346 else 2347 echo "$as_me: failed program was:" >&5 2348 sed 's/^/| /' conftest.$ac_ext >&5 2349 2350 continue 2351 fi 2352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2353 cat >conftest.$ac_ext <<_ACEOF 2354 /* confdefs.h. */ 2355 _ACEOF 2356 cat confdefs.h >>conftest.$ac_ext 2357 cat >>conftest.$ac_ext <<_ACEOF 2358 /* end confdefs.h. */ 2359 $ac_declaration 2360 int 2361 main () 2362 { 2363 exit (42); 2364 ; 2365 return 0; 2366 } 2367 _ACEOF 2368 rm -f conftest.$ac_objext 2369 if { (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 2390 else 2391 echo "$as_me: failed program was:" >&5 2392 sed 's/^/| /' conftest.$ac_ext >&5 2393 2394 fi 2395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2396 done 2397 rm -f conftest* 2398 if test -n "$ac_declaration"; then 2399 echo '#ifdef __cplusplus' >>confdefs.h 2400 echo $ac_declaration >>confdefs.h 2401 echo '#endif' >>confdefs.h 2402 fi 2403 2404 else 2405 echo "$as_me: failed program was:" >&5 2406 sed 's/^/| /' conftest.$ac_ext >&5 2407 2408 fi 2409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2685 2410 ac_ext=c 2686 2411 ac_cpp='$CPP $CPPFLAGS' … … 2702 2427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2703 2428 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2704 {echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52705 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 ; }2429 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2430 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2706 2431 # On Suns, sometimes $CPP names a directory. 2707 2432 if test -n "$CPP" && test -d "$CPP"; then … … 2737 2462 Syntax error 2738 2463 _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 2464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2746 2466 ac_status=$? 2747 2467 grep -v '^ *+' conftest.er1 >conftest.err … … 2749 2469 cat conftest.err >&5 2750 2470 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 2478 else 2479 ac_cpp_err=yes 2480 fi 2481 if test -z "$ac_cpp_err"; then 2755 2482 : 2756 2483 else … … 2761 2488 continue 2762 2489 fi 2763 2764 2490 rm -f conftest.err conftest.$ac_ext 2765 2491 2766 # OK, works on sane cases. Now check whether non existent headers2492 # OK, works on sane cases. Now check whether non-existent headers 2767 2493 # can be detected and how. 2768 2494 cat >conftest.$ac_ext <<_ACEOF … … 2774 2500 #include <ac_nonexistent.h> 2775 2501 _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 2502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2783 2504 ac_status=$? 2784 2505 grep -v '^ *+' conftest.er1 >conftest.err … … 2786 2507 cat conftest.err >&5 2787 2508 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 2516 else 2517 ac_cpp_err=yes 2518 fi 2519 if test -z "$ac_cpp_err"; then 2792 2520 # Broken: success on invalid input. 2793 2521 continue … … 2800 2528 break 2801 2529 fi 2802 2803 2530 rm -f conftest.err conftest.$ac_ext 2804 2531 … … 2818 2545 ac_cv_prog_CPP=$CPP 2819 2546 fi 2820 {echo "$as_me:$LINENO: result: $CPP" >&52821 echo "${ECHO_T}$CPP" >&6 ; }2547 echo "$as_me:$LINENO: result: $CPP" >&5 2548 echo "${ECHO_T}$CPP" >&6 2822 2549 ac_preproc_ok=false 2823 2550 for ac_c_preproc_warn_flag in '' yes … … 2842 2569 Syntax error 2843 2570 _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 2571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2851 2573 ac_status=$? 2852 2574 grep -v '^ *+' conftest.er1 >conftest.err … … 2854 2576 cat conftest.err >&5 2855 2577 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 2585 else 2586 ac_cpp_err=yes 2587 fi 2588 if test -z "$ac_cpp_err"; then 2860 2589 : 2861 2590 else … … 2866 2595 continue 2867 2596 fi 2868 2869 2597 rm -f conftest.err conftest.$ac_ext 2870 2598 2871 # OK, works on sane cases. Now check whether non existent headers2599 # OK, works on sane cases. Now check whether non-existent headers 2872 2600 # can be detected and how. 2873 2601 cat >conftest.$ac_ext <<_ACEOF … … 2879 2607 #include <ac_nonexistent.h> 2880 2608 _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 2609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2888 2611 ac_status=$? 2889 2612 grep -v '^ *+' conftest.er1 >conftest.err … … 2891 2614 cat conftest.err >&5 2892 2615 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 2623 else 2624 ac_cpp_err=yes 2625 fi 2626 if test -z "$ac_cpp_err"; then 2897 2627 # Broken: success on invalid input. 2898 2628 continue … … 2905 2635 break 2906 2636 fi 2907 2908 2637 rm -f conftest.err conftest.$ac_ext 2909 2638 … … 2928 2657 2929 2658 2930 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&52931 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }2932 if test "${ac_cv_p ath_GREP+set}" = set; then2659 echo "$as_me:$LINENO: checking for egrep" >&5 2660 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2661 if test "${ac_cv_prog_egrep+set}" = set; then 2933 2662 echo $ECHO_N "(cached) $ECHO_C" >&6 2934 2663 else 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' 2973 2667 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; } 2668 fi 2669 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2670 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2671 EGREP=$ac_cv_prog_egrep 2672 2673 2674 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2675 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3094 2676 if test "${ac_cv_header_stdc+set}" = set; then 3095 2677 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3115 2697 _ACEOF 3116 2698 rm -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 2699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2700 (eval $ac_compile) 2>conftest.er1 3124 2701 ac_status=$? 3125 2702 grep -v '^ *+' conftest.er1 >conftest.err … … 3127 2704 cat conftest.err >&5 3128 2705 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 3133 2719 ac_cv_header_stdc=yes 3134 2720 else … … 3136 2722 sed 's/^/| /' conftest.$ac_ext >&5 3137 2723 3138 ac_cv_header_stdc=no 3139 fi 3140 3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2724 ac_cv_header_stdc=no 2725 fi 2726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3142 2727 3143 2728 if test $ac_cv_header_stdc = yes; then … … 3195 2780 /* end confdefs.h. */ 3196 2781 #include <ctype.h> 3197 #include <stdlib.h>3198 2782 #if ((' ' & 0x0FF) == 0x020) 3199 2783 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3215 2799 if (XOR (islower (i), ISLOWER (i)) 3216 2800 || toupper (i) != TOUPPER (i)) 3217 return 2;3218 return 0;2801 exit(2); 2802 exit (0); 3219 2803 } 3220 2804 _ACEOF 3221 2805 rm -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 2806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2807 (eval $ac_link) 2>&5 3229 2808 ac_status=$? 3230 2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3231 2810 (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 3238 2813 ac_status=$? 3239 2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3248 2823 ac_cv_header_stdc=no 3249 2824 fi 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; } 2825 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2826 fi 2827 fi 2828 fi 2829 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2830 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3258 2831 if test $ac_cv_header_stdc = yes; then 3259 2832 … … 3264 2837 fi 3265 2838 3266 {echo "$as_me:$LINENO: checking for atol" >&53267 echo $ECHO_N "checking for atol... $ECHO_C" >&6 ; }2839 echo "$as_me:$LINENO: checking for atol" >&5 2840 echo $ECHO_N "checking for atol... $ECHO_C" >&6 3268 2841 if test "${ac_cv_func_atol+set}" = set; then 3269 2842 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3292 2865 #undef atol 3293 2866 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. */ 3297 2868 #ifdef __cplusplus 3298 2869 extern "C" 2870 { 3299 2871 #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. */ 3300 2874 char atol (); 3301 2875 /* The GNU C library defines this for functions which it implements 3302 2876 to always fail with ENOSYS. Some functions are actually named 3303 2877 something starting with __ and the normal name is an alias. */ 3304 #if defined __stub_atol || defined __stub___atol2878 #if defined (__stub_atol) || defined (__stub___atol) 3305 2879 choke me 2880 #else 2881 char (*f) () = atol; 2882 #endif 2883 #ifdef __cplusplus 2884 } 3306 2885 #endif 3307 2886 … … 3309 2888 main () 3310 2889 { 3311 return atol ();2890 return f != atol; 3312 2891 ; 3313 2892 return 0; … … 3315 2894 _ACEOF 3316 2895 rm -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 2896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2897 (eval $ac_link) 2>conftest.er1 3324 2898 ac_status=$? 3325 2899 grep -v '^ *+' conftest.er1 >conftest.err … … 3327 2901 cat conftest.err >&5 3328 2902 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 3334 2916 ac_cv_func_atol=yes 3335 2917 else … … 3337 2919 sed 's/^/| /' conftest.$ac_ext >&5 3338 2920 3339 ac_cv_func_atol=no 3340 fi 3341 3342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2921 ac_cv_func_atol=no 2922 fi 2923 rm -f conftest.err conftest.$ac_objext \ 3343 2924 conftest$ac_exeext conftest.$ac_ext 3344 2925 fi 3345 {echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&53346 echo "${ECHO_T}$ac_cv_func_atol" >&6 ; }2926 echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5 2927 echo "${ECHO_T}$ac_cv_func_atol" >&6 3347 2928 if test $ac_cv_func_atol = yes; then 3348 2929 : … … 3354 2935 3355 2936 3356 ac_ext=c pp2937 ac_ext=cc 3357 2938 ac_cpp='$CXXCPP $CPPFLAGS' 3358 2939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3359 2940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3360 2941 ac_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 2942 if 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 3367 2944 do 3368 2945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3369 2946 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3370 {echo "$as_me:$LINENO: checking for $ac_word" >&53371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2947 echo "$as_me:$LINENO: checking for $ac_word" >&5 2948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3372 2949 if test "${ac_cv_prog_CXX+set}" = set; then 3373 2950 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3382 2959 test -z "$as_dir" && as_dir=. 3383 2960 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"; }; then2961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3385 2962 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3386 2963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3389 2966 done 3390 2967 done 3391 IFS=$as_save_IFS3392 2968 3393 2969 fi … … 3395 2971 CXX=$ac_cv_prog_CXX 3396 2972 if 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 2974 echo "${ECHO_T}$CXX" >&6 2975 else 2976 echo "$as_me:$LINENO: result: no" >&5 2977 echo "${ECHO_T}no" >&6 2978 fi 3404 2979 3405 2980 test -n "$CXX" && break … … 3408 2983 if test -z "$CXX"; then 3409 2984 ac_ct_CXX=$CXX 3410 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2985 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3411 2986 do 3412 2987 # Extract the first word of "$ac_prog", so it can be a program name with args. 3413 2988 set dummy $ac_prog; ac_word=$2 3414 {echo "$as_me:$LINENO: checking for $ac_word" >&53415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2989 echo "$as_me:$LINENO: checking for $ac_word" >&5 2990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3416 2991 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3417 2992 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3426 3001 test -z "$as_dir" && as_dir=. 3427 3002 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"; }; then3003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3429 3004 ac_cv_prog_ac_ct_CXX="$ac_prog" 3430 3005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3433 3008 done 3434 3009 done 3435 IFS=$as_save_IFS3436 3010 3437 3011 fi … … 3439 3013 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3440 3014 if 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 3016 echo "${ECHO_T}$ac_ct_CXX" >&6 3017 else 3018 echo "$as_me:$LINENO: result: no" >&5 3019 echo "${ECHO_T}no" >&6 3020 fi 3448 3021 3449 3022 test -n "$ac_ct_CXX" && break 3450 3023 done 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 3024 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 3025 3026 CXX=$ac_ct_CXX 3027 fi 3028 3029 3471 3030 # Provide some information about the compiler. 3472 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3031 echo "$as_me:$LINENO:" \ 3032 "checking for C++ compiler version" >&5 3473 3033 ac_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 3481 3036 ac_status=$? 3482 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3483 3038 (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 3491 3041 ac_status=$? 3492 3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3493 3043 (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 3501 3046 ac_status=$? 3502 3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3503 3048 (exit $ac_status); } 3504 3049 3505 {echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&53506 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 ; }3050 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3051 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3507 3052 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3508 3053 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3527 3072 _ACEOF 3528 3073 rm -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 3074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3075 (eval $ac_compile) 2>conftest.er1 3536 3076 ac_status=$? 3537 3077 grep -v '^ *+' conftest.er1 >conftest.err … … 3539 3079 cat conftest.err >&5 3540 3080 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 3545 3094 ac_compiler_gnu=yes 3546 3095 else … … 3548 3097 sed 's/^/| /' conftest.$ac_ext >&5 3549 3098 3550 ac_compiler_gnu=no 3551 fi 3552 3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3099 ac_compiler_gnu=no 3100 fi 3101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3554 3102 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3555 3103 3556 3104 fi 3557 {echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&53558 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 ; }3105 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3106 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3559 3107 GXX=`test $ac_compiler_gnu = yes && echo yes` 3560 3108 ac_test_CXXFLAGS=${CXXFLAGS+set} 3561 3109 ac_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; } 3110 CXXFLAGS="-g" 3111 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3112 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3564 3113 if test "${ac_cv_prog_cxx_g+set}" = set; then 3565 3114 echo $ECHO_N "(cached) $ECHO_C" >&6 3566 3115 else 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 3572 3117 /* confdefs.h. */ 3573 3118 _ACEOF … … 3585 3130 _ACEOF 3586 3131 rm -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 3132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3133 (eval $ac_compile) 2>conftest.er1 3594 3134 ac_status=$? 3595 3135 grep -v '^ *+' conftest.er1 >conftest.err … … 3597 3137 cat conftest.err >&5 3598 3138 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 3603 3152 ac_cv_prog_cxx_g=yes 3604 3153 else … … 3606 3155 sed 's/^/| /' conftest.$ac_ext >&5 3607 3156 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; } 3157 ac_cv_prog_cxx_g=no 3158 fi 3159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3160 fi 3161 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3162 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3699 3163 if test "$ac_test_CXXFLAGS" = set; then 3700 3164 CXXFLAGS=$ac_save_CXXFLAGS … … 3712 3176 fi 3713 3177 fi 3178 for 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);' 3185 do 3186 cat >conftest.$ac_ext <<_ACEOF 3187 /* confdefs.h. */ 3188 _ACEOF 3189 cat confdefs.h >>conftest.$ac_ext 3190 cat >>conftest.$ac_ext <<_ACEOF 3191 /* end confdefs.h. */ 3192 $ac_declaration 3193 #include <stdlib.h> 3194 int 3195 main () 3196 { 3197 exit (42); 3198 ; 3199 return 0; 3200 } 3201 _ACEOF 3202 rm -f conftest.$ac_objext 3203 if { (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 : 3224 else 3225 echo "$as_me: failed program was:" >&5 3226 sed 's/^/| /' conftest.$ac_ext >&5 3227 3228 continue 3229 fi 3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3231 cat >conftest.$ac_ext <<_ACEOF 3232 /* confdefs.h. */ 3233 _ACEOF 3234 cat confdefs.h >>conftest.$ac_ext 3235 cat >>conftest.$ac_ext <<_ACEOF 3236 /* end confdefs.h. */ 3237 $ac_declaration 3238 int 3239 main () 3240 { 3241 exit (42); 3242 ; 3243 return 0; 3244 } 3245 _ACEOF 3246 rm -f conftest.$ac_objext 3247 if { (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 3268 else 3269 echo "$as_me: failed program was:" >&5 3270 sed 's/^/| /' conftest.$ac_ext >&5 3271 3272 fi 3273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3274 done 3275 rm -f conftest* 3276 if test -n "$ac_declaration"; then 3277 echo '#ifdef __cplusplus' >>confdefs.h 3278 echo $ac_declaration >>confdefs.h 3279 echo '#endif' >>confdefs.h 3280 fi 3281 3714 3282 ac_ext=c 3715 3283 ac_cpp='$CPP $CPPFLAGS' … … 3718 3286 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3719 3287 3720 ac_ext=c pp3288 ac_ext=cc 3721 3289 ac_cpp='$CXXCPP $CPPFLAGS' 3722 3290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 3727 3295 3728 3296 3729 {echo "$as_me:$LINENO: checking for main in -lstdc++" >&53730 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6 ; }3297 echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 3298 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6 3731 3299 if test "${ac_cv_lib_stdcpp_main+set}" = set; then 3732 3300 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3745 3313 main () 3746 3314 { 3747 returnmain ();3315 main (); 3748 3316 ; 3749 3317 return 0; … … 3751 3319 _ACEOF 3752 3320 rm -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 3321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3322 (eval $ac_link) 2>conftest.er1 3760 3323 ac_status=$? 3761 3324 grep -v '^ *+' conftest.er1 >conftest.err … … 3763 3326 cat conftest.err >&5 3764 3327 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 3770 3341 ac_cv_lib_stdcpp_main=yes 3771 3342 else … … 3773 3344 sed 's/^/| /' conftest.$ac_ext >&5 3774 3345 3775 ac_cv_lib_stdcpp_main=no 3776 fi 3777 3778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3346 ac_cv_lib_stdcpp_main=no 3347 fi 3348 rm -f conftest.err conftest.$ac_objext \ 3779 3349 conftest$ac_exeext conftest.$ac_ext 3780 3350 LIBS=$ac_check_lib_save_LIBS 3781 3351 fi 3782 {echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&53783 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6 ; }3352 echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5 3353 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6 3784 3354 if test $ac_cv_lib_stdcpp_main = yes; then 3785 3355 cat >>confdefs.h <<_ACEOF … … 3809 3379 do 3810 3380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3811 {echo "$as_me:$LINENO: checking for $ac_header" >&53812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }3813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3381 echo "$as_me:$LINENO: checking for $ac_header" >&5 3382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3383 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3814 3384 echo $ECHO_N "(cached) $ECHO_C" >&6 3815 3385 else … … 3825 3395 _ACEOF 3826 3396 rm -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 3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3398 (eval $ac_compile) 2>conftest.er1 3834 3399 ac_status=$? 3835 3400 grep -v '^ *+' conftest.er1 >conftest.err … … 3837 3402 cat conftest.err >&5 3838 3403 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 3843 3417 eval "$as_ac_Header=yes" 3844 3418 else … … 3846 3420 sed 's/^/| /' conftest.$ac_ext >&5 3847 3421 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; } 3422 eval "$as_ac_Header=no" 3423 fi 3424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3425 fi 3426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3856 3428 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3857 3429 cat >>confdefs.h <<_ACEOF … … 3864 3436 3865 3437 3866 ac_ext=c pp3438 ac_ext=cc 3867 3439 ac_cpp='$CXXCPP $CPPFLAGS' 3868 3440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3869 3441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3870 3442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3871 {echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&53872 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 ; }3443 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 3444 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 3873 3445 if test -z "$CXXCPP"; then 3874 3446 if test "${ac_cv_prog_CXXCPP+set}" = set; then … … 3900 3472 Syntax error 3901 3473 _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 3474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3909 3476 ac_status=$? 3910 3477 grep -v '^ *+' conftest.er1 >conftest.err … … 3912 3479 cat conftest.err >&5 3913 3480 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 3488 else 3489 ac_cpp_err=yes 3490 fi 3491 if test -z "$ac_cpp_err"; then 3918 3492 : 3919 3493 else … … 3924 3498 continue 3925 3499 fi 3926 3927 3500 rm -f conftest.err conftest.$ac_ext 3928 3501 3929 # OK, works on sane cases. Now check whether non existent headers3502 # OK, works on sane cases. Now check whether non-existent headers 3930 3503 # can be detected and how. 3931 3504 cat >conftest.$ac_ext <<_ACEOF … … 3937 3510 #include <ac_nonexistent.h> 3938 3511 _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 3512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3946 3514 ac_status=$? 3947 3515 grep -v '^ *+' conftest.er1 >conftest.err … … 3949 3517 cat conftest.err >&5 3950 3518 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 3526 else 3527 ac_cpp_err=yes 3528 fi 3529 if test -z "$ac_cpp_err"; then 3955 3530 # Broken: success on invalid input. 3956 3531 continue … … 3963 3538 break 3964 3539 fi 3965 3966 3540 rm -f conftest.err conftest.$ac_ext 3967 3541 … … 3981 3555 ac_cv_prog_CXXCPP=$CXXCPP 3982 3556 fi 3983 {echo "$as_me:$LINENO: result: $CXXCPP" >&53984 echo "${ECHO_T}$CXXCPP" >&6 ; }3557 echo "$as_me:$LINENO: result: $CXXCPP" >&5 3558 echo "${ECHO_T}$CXXCPP" >&6 3985 3559 ac_preproc_ok=false 3986 3560 for ac_cxx_preproc_warn_flag in '' yes … … 4005 3579 Syntax error 4006 3580 _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 3581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4014 3583 ac_status=$? 4015 3584 grep -v '^ *+' conftest.er1 >conftest.err … … 4017 3586 cat conftest.err >&5 4018 3587 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 3595 else 3596 ac_cpp_err=yes 3597 fi 3598 if test -z "$ac_cpp_err"; then 4023 3599 : 4024 3600 else … … 4029 3605 continue 4030 3606 fi 4031 4032 3607 rm -f conftest.err conftest.$ac_ext 4033 3608 4034 # OK, works on sane cases. Now check whether non existent headers3609 # OK, works on sane cases. Now check whether non-existent headers 4035 3610 # can be detected and how. 4036 3611 cat >conftest.$ac_ext <<_ACEOF … … 4042 3617 #include <ac_nonexistent.h> 4043 3618 _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 3619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4051 3621 ac_status=$? 4052 3622 grep -v '^ *+' conftest.er1 >conftest.err … … 4054 3624 cat conftest.err >&5 4055 3625 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 3633 else 3634 ac_cpp_err=yes 3635 fi 3636 if test -z "$ac_cpp_err"; then 4060 3637 # Broken: success on invalid input. 4061 3638 continue … … 4068 3645 break 4069 3646 fi 4070 4071 3647 rm -f conftest.err conftest.$ac_ext 4072 3648 … … 4084 3660 fi 4085 3661 4086 ac_ext=c pp3662 ac_ext=cc 4087 3663 ac_cpp='$CXXCPP $CPPFLAGS' 4088 3664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 4095 3671 do 4096 3672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4098 {echo "$as_me:$LINENO: checking for $ac_header" >&54099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3673 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3674 echo "$as_me:$LINENO: checking for $ac_header" >&5 3675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3676 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4101 3677 echo $ECHO_N "(cached) $ECHO_C" >&6 4102 3678 fi 4103 ac_res=`eval echo '${'$as_ac_Header'}'` 4104 { echo "$as_me:$LINENO: result: $ac_res" >&5 4105 echo "${ECHO_T}$ac_res" >&6; } 3679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4106 3681 else 4107 3682 # Is the header compilable? 4108 {echo "$as_me:$LINENO: checking $ac_header usability" >&54109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 ; }3683 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4110 3685 cat >conftest.$ac_ext <<_ACEOF 4111 3686 /* confdefs.h. */ … … 4118 3693 _ACEOF 4119 3694 rm -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 3695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3696 (eval $ac_compile) 2>conftest.er1 4127 3697 ac_status=$? 4128 3698 grep -v '^ *+' conftest.er1 >conftest.err … … 4130 3700 cat conftest.err >&5 4131 3701 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 4136 3715 ac_header_compiler=yes 4137 3716 else … … 4139 3718 sed 's/^/| /' conftest.$ac_ext >&5 4140 3719 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; } 3720 ac_header_compiler=no 3721 fi 3722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3724 echo "${ECHO_T}$ac_header_compiler" >&6 4147 3725 4148 3726 # Is the header present? 4149 {echo "$as_me:$LINENO: checking $ac_header presence" >&54150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 ; }3727 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4151 3729 cat >conftest.$ac_ext <<_ACEOF 4152 3730 /* confdefs.h. */ … … 4157 3735 #include <$ac_header> 4158 3736 _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 3737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4166 3739 ac_status=$? 4167 3740 grep -v '^ *+' conftest.er1 >conftest.err … … 4169 3742 cat conftest.err >&5 4170 3743 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 3751 else 3752 ac_cpp_err=yes 3753 fi 3754 if test -z "$ac_cpp_err"; then 4175 3755 ac_header_preproc=yes 4176 3756 else … … 4180 3760 ac_header_preproc=no 4181 3761 fi 4182 4183 3762 rm -f conftest.err conftest.$ac_ext 4184 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&54185 echo "${ECHO_T}$ac_header_preproc" >&6 ; }3763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3764 echo "${ECHO_T}$ac_header_preproc" >&6 4186 3765 4187 3766 # So? What about this header? … … 4207 3786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4208 3787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4209 ( cat <<\_ASBOX 3788 ( 3789 cat <<\_ASBOX 4210 3790 ## ----------------------------------- ## 4211 3791 ## Report this to rappture@nanohub.org ## 4212 3792 ## ----------------------------------- ## 4213 3793 _ASBOX 4214 ) | sed "s/^/$as_me: WARNING: /" >&2 3794 ) | 3795 sed "s/^/$as_me: WARNING: /" >&2 4215 3796 ;; 4216 3797 esac 4217 {echo "$as_me:$LINENO: checking for $ac_header" >&54218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3798 echo "$as_me:$LINENO: checking for $ac_header" >&5 3799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3800 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4220 3801 echo $ECHO_N "(cached) $ECHO_C" >&6 4221 3802 else 4222 3803 eval "$as_ac_Header=\$ac_header_preproc" 4223 3804 fi 4224 ac_res=`eval echo '${'$as_ac_Header'}'` 4225 { echo "$as_me:$LINENO: result: $ac_res" >&5 4226 echo "${ECHO_T}$ac_res" >&6; } 3805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4227 3807 4228 3808 fi … … 4243 3823 do 4244 3824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4246 {echo "$as_me:$LINENO: checking for $ac_header" >&54247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3825 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3826 echo "$as_me:$LINENO: checking for $ac_header" >&5 3827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3828 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4249 3829 echo $ECHO_N "(cached) $ECHO_C" >&6 4250 3830 fi 4251 ac_res=`eval echo '${'$as_ac_Header'}'` 4252 { echo "$as_me:$LINENO: result: $ac_res" >&5 4253 echo "${ECHO_T}$ac_res" >&6; } 3831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4254 3833 else 4255 3834 # Is the header compilable? 4256 {echo "$as_me:$LINENO: checking $ac_header usability" >&54257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 ; }3835 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4258 3837 cat >conftest.$ac_ext <<_ACEOF 4259 3838 /* confdefs.h. */ … … 4266 3845 _ACEOF 4267 3846 rm -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 3847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3848 (eval $ac_compile) 2>conftest.er1 4275 3849 ac_status=$? 4276 3850 grep -v '^ *+' conftest.er1 >conftest.err … … 4278 3852 cat conftest.err >&5 4279 3853 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 4284 3867 ac_header_compiler=yes 4285 3868 else … … 4287 3870 sed 's/^/| /' conftest.$ac_ext >&5 4288 3871 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; } 3872 ac_header_compiler=no 3873 fi 3874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3876 echo "${ECHO_T}$ac_header_compiler" >&6 4295 3877 4296 3878 # Is the header present? 4297 {echo "$as_me:$LINENO: checking $ac_header presence" >&54298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 ; }3879 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4299 3881 cat >conftest.$ac_ext <<_ACEOF 4300 3882 /* confdefs.h. */ … … 4305 3887 #include <$ac_header> 4306 3888 _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 3889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4314 3891 ac_status=$? 4315 3892 grep -v '^ *+' conftest.er1 >conftest.err … … 4317 3894 cat conftest.err >&5 4318 3895 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 3903 else 3904 ac_cpp_err=yes 3905 fi 3906 if test -z "$ac_cpp_err"; then 4323 3907 ac_header_preproc=yes 4324 3908 else … … 4328 3912 ac_header_preproc=no 4329 3913 fi 4330 4331 3914 rm -f conftest.err conftest.$ac_ext 4332 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&54333 echo "${ECHO_T}$ac_header_preproc" >&6 ; }3915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3916 echo "${ECHO_T}$ac_header_preproc" >&6 4334 3917 4335 3918 # So? What about this header? … … 4355 3938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4356 3939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4357 ( cat <<\_ASBOX 3940 ( 3941 cat <<\_ASBOX 4358 3942 ## ----------------------------------- ## 4359 3943 ## Report this to rappture@nanohub.org ## 4360 3944 ## ----------------------------------- ## 4361 3945 _ASBOX 4362 ) | sed "s/^/$as_me: WARNING: /" >&2 3946 ) | 3947 sed "s/^/$as_me: WARNING: /" >&2 4363 3948 ;; 4364 3949 esac 4365 {echo "$as_me:$LINENO: checking for $ac_header" >&54366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3950 echo "$as_me:$LINENO: checking for $ac_header" >&5 3951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3952 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4368 3953 echo $ECHO_N "(cached) $ECHO_C" >&6 4369 3954 else 4370 3955 eval "$as_ac_Header=\$ac_header_preproc" 4371 3956 fi 4372 ac_res=`eval echo '${'$as_ac_Header'}'` 4373 { echo "$as_me:$LINENO: result: $ac_res" >&5 4374 echo "${ECHO_T}$ac_res" >&6; } 3957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4375 3959 4376 3960 fi … … 4391 3975 do 4392 3976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4394 {echo "$as_me:$LINENO: checking for $ac_header" >&54395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3977 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3978 echo "$as_me:$LINENO: checking for $ac_header" >&5 3979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3980 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4397 3981 echo $ECHO_N "(cached) $ECHO_C" >&6 4398 3982 fi 4399 ac_res=`eval echo '${'$as_ac_Header'}'` 4400 { echo "$as_me:$LINENO: result: $ac_res" >&5 4401 echo "${ECHO_T}$ac_res" >&6; } 3983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4402 3985 else 4403 3986 # Is the header compilable? 4404 {echo "$as_me:$LINENO: checking $ac_header usability" >&54405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 ; }3987 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4406 3989 cat >conftest.$ac_ext <<_ACEOF 4407 3990 /* confdefs.h. */ … … 4414 3997 _ACEOF 4415 3998 rm -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 3999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4000 (eval $ac_compile) 2>conftest.er1 4423 4001 ac_status=$? 4424 4002 grep -v '^ *+' conftest.er1 >conftest.err … … 4426 4004 cat conftest.err >&5 4427 4005 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 4432 4019 ac_header_compiler=yes 4433 4020 else … … 4435 4022 sed 's/^/| /' conftest.$ac_ext >&5 4436 4023 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; } 4024 ac_header_compiler=no 4025 fi 4026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4028 echo "${ECHO_T}$ac_header_compiler" >&6 4443 4029 4444 4030 # Is the header present? 4445 {echo "$as_me:$LINENO: checking $ac_header presence" >&54446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 ; }4031 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4447 4033 cat >conftest.$ac_ext <<_ACEOF 4448 4034 /* confdefs.h. */ … … 4453 4039 #include <$ac_header> 4454 4040 _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 4041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4462 4043 ac_status=$? 4463 4044 grep -v '^ *+' conftest.er1 >conftest.err … … 4465 4046 cat conftest.err >&5 4466 4047 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 4055 else 4056 ac_cpp_err=yes 4057 fi 4058 if test -z "$ac_cpp_err"; then 4471 4059 ac_header_preproc=yes 4472 4060 else … … 4476 4064 ac_header_preproc=no 4477 4065 fi 4478 4479 4066 rm -f conftest.err conftest.$ac_ext 4480 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&54481 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4068 echo "${ECHO_T}$ac_header_preproc" >&6 4482 4069 4483 4070 # So? What about this header? … … 4503 4090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4504 4091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4505 ( cat <<\_ASBOX 4092 ( 4093 cat <<\_ASBOX 4506 4094 ## ----------------------------------- ## 4507 4095 ## Report this to rappture@nanohub.org ## 4508 4096 ## ----------------------------------- ## 4509 4097 _ASBOX 4510 ) | sed "s/^/$as_me: WARNING: /" >&2 4098 ) | 4099 sed "s/^/$as_me: WARNING: /" >&2 4511 4100 ;; 4512 4101 esac 4513 {echo "$as_me:$LINENO: checking for $ac_header" >&54514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4102 echo "$as_me:$LINENO: checking for $ac_header" >&5 4103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4104 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4516 4105 echo $ECHO_N "(cached) $ECHO_C" >&6 4517 4106 else 4518 4107 eval "$as_ac_Header=\$ac_header_preproc" 4519 4108 fi 4520 ac_res=`eval echo '${'$as_ac_Header'}'` 4521 { echo "$as_me:$LINENO: result: $ac_res" >&5 4522 echo "${ECHO_T}$ac_res" >&6; } 4109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4523 4111 4524 4112 fi … … 4539 4127 do 4540 4128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4542 {echo "$as_me:$LINENO: checking for $ac_header" >&54543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4129 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4130 echo "$as_me:$LINENO: checking for $ac_header" >&5 4131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4132 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4545 4133 echo $ECHO_N "(cached) $ECHO_C" >&6 4546 4134 fi 4547 ac_res=`eval echo '${'$as_ac_Header'}'` 4548 { echo "$as_me:$LINENO: result: $ac_res" >&5 4549 echo "${ECHO_T}$ac_res" >&6; } 4135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4550 4137 else 4551 4138 # Is the header compilable? 4552 {echo "$as_me:$LINENO: checking $ac_header usability" >&54553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 ; }4139 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4554 4141 cat >conftest.$ac_ext <<_ACEOF 4555 4142 /* confdefs.h. */ … … 4562 4149 _ACEOF 4563 4150 rm -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 4151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4152 (eval $ac_compile) 2>conftest.er1 4571 4153 ac_status=$? 4572 4154 grep -v '^ *+' conftest.er1 >conftest.err … … 4574 4156 cat conftest.err >&5 4575 4157 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 4580 4171 ac_header_compiler=yes 4581 4172 else … … 4583 4174 sed 's/^/| /' conftest.$ac_ext >&5 4584 4175 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; } 4176 ac_header_compiler=no 4177 fi 4178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4180 echo "${ECHO_T}$ac_header_compiler" >&6 4591 4181 4592 4182 # Is the header present? 4593 {echo "$as_me:$LINENO: checking $ac_header presence" >&54594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 ; }4183 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4595 4185 cat >conftest.$ac_ext <<_ACEOF 4596 4186 /* confdefs.h. */ … … 4601 4191 #include <$ac_header> 4602 4192 _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 4193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4610 4195 ac_status=$? 4611 4196 grep -v '^ *+' conftest.er1 >conftest.err … … 4613 4198 cat conftest.err >&5 4614 4199 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 4207 else 4208 ac_cpp_err=yes 4209 fi 4210 if test -z "$ac_cpp_err"; then 4619 4211 ac_header_preproc=yes 4620 4212 else … … 4624 4216 ac_header_preproc=no 4625 4217 fi 4626 4627 4218 rm -f conftest.err conftest.$ac_ext 4628 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&54629 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4220 echo "${ECHO_T}$ac_header_preproc" >&6 4630 4221 4631 4222 # So? What about this header? … … 4651 4242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4652 4243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4653 ( cat <<\_ASBOX 4244 ( 4245 cat <<\_ASBOX 4654 4246 ## ----------------------------------- ## 4655 4247 ## Report this to rappture@nanohub.org ## 4656 4248 ## ----------------------------------- ## 4657 4249 _ASBOX 4658 ) | sed "s/^/$as_me: WARNING: /" >&2 4250 ) | 4251 sed "s/^/$as_me: WARNING: /" >&2 4659 4252 ;; 4660 4253 esac 4661 {echo "$as_me:$LINENO: checking for $ac_header" >&54662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4254 echo "$as_me:$LINENO: checking for $ac_header" >&5 4255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4256 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4664 4257 echo $ECHO_N "(cached) $ECHO_C" >&6 4665 4258 else 4666 4259 eval "$as_ac_Header=\$ac_header_preproc" 4667 4260 fi 4668 ac_res=`eval echo '${'$as_ac_Header'}'` 4669 { echo "$as_me:$LINENO: result: $ac_res" >&5 4670 echo "${ECHO_T}$ac_res" >&6; } 4261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4671 4263 4672 4264 fi … … 4693 4285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4694 4286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4695 {echo "$as_me:$LINENO: checking for $ac_word" >&54696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }4287 echo "$as_me:$LINENO: checking for $ac_word" >&5 4288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4697 4289 if test "${ac_cv_prog_F77+set}" = set; then 4698 4290 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4707 4299 test -z "$as_dir" && as_dir=. 4708 4300 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"; }; then4301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4710 4302 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 4711 4303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4714 4306 done 4715 4307 done 4716 IFS=$as_save_IFS4717 4308 4718 4309 fi … … 4720 4311 F77=$ac_cv_prog_F77 4721 4312 if 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 4314 echo "${ECHO_T}$F77" >&6 4315 else 4316 echo "$as_me:$LINENO: result: no" >&5 4317 echo "${ECHO_T}no" >&6 4318 fi 4729 4319 4730 4320 test -n "$F77" && break … … 4737 4327 # Extract the first word of "$ac_prog", so it can be a program name with args. 4738 4328 set dummy $ac_prog; ac_word=$2 4739 {echo "$as_me:$LINENO: checking for $ac_word" >&54740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }4329 echo "$as_me:$LINENO: checking for $ac_word" >&5 4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4741 4331 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 4742 4332 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4751 4341 test -z "$as_dir" && as_dir=. 4752 4342 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"; }; then4343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4754 4344 ac_cv_prog_ac_ct_F77="$ac_prog" 4755 4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4758 4348 done 4759 4349 done 4760 IFS=$as_save_IFS4761 4350 4762 4351 fi … … 4764 4353 ac_ct_F77=$ac_cv_prog_ac_ct_F77 4765 4354 if 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 4356 echo "${ECHO_T}$ac_ct_F77" >&6 4357 else 4358 echo "$as_me:$LINENO: result: no" >&5 4359 echo "${ECHO_T}no" >&6 4360 fi 4773 4361 4774 4362 test -n "$ac_ct_F77" && break 4775 4363 done 4776 4364 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 4792 4366 fi 4793 4367 4794 4368 4795 4369 # Provide some information about the compiler. 4796 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 4370 echo "$as_me:4370:" \ 4371 "checking for Fortran 77 compiler version" >&5 4797 4372 ac_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 4805 4375 ac_status=$? 4806 4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4807 4377 (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 4815 4380 ac_status=$? 4816 4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4817 4382 (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 4825 4385 ac_status=$? 4826 4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4832 4392 ac_save_ext=$ac_ext 4833 4393 ac_ext=F 4834 {echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&54835 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 ; }4394 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 4395 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 4836 4396 if test "${ac_cv_f77_compiler_gnu+set}" = set; then 4837 4397 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4846 4406 _ACEOF 4847 4407 rm -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 4408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4409 (eval $ac_compile) 2>conftest.er1 4855 4410 ac_status=$? 4856 4411 grep -v '^ *+' conftest.er1 >conftest.err … … 4858 4413 cat conftest.err >&5 4859 4414 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 4864 4428 ac_compiler_gnu=yes 4865 4429 else … … 4867 4431 sed 's/^/| /' conftest.$ac_ext >&5 4868 4432 4869 ac_compiler_gnu=no 4870 fi 4871 4872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4433 ac_compiler_gnu=no 4434 fi 4435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4873 4436 ac_cv_f77_compiler_gnu=$ac_compiler_gnu 4874 4437 4875 4438 fi 4876 {echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&54877 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 ; }4439 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 4440 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 4878 4441 ac_ext=$ac_save_ext 4879 4442 ac_test_FFLAGS=${FFLAGS+set} 4880 4443 ac_save_FFLAGS=$FFLAGS 4881 4444 FFLAGS= 4882 {echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&54883 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 ; }4445 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 4446 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 4884 4447 if test "${ac_cv_prog_f77_g+set}" = set; then 4885 4448 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4892 4455 _ACEOF 4893 4456 rm -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 4457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4458 (eval $ac_compile) 2>conftest.er1 4901 4459 ac_status=$? 4902 4460 grep -v '^ *+' conftest.er1 >conftest.err … … 4904 4462 cat conftest.err >&5 4905 4463 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 4910 4477 ac_cv_prog_f77_g=yes 4911 4478 else … … 4913 4480 sed 's/^/| /' conftest.$ac_ext >&5 4914 4481 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; } 4482 ac_cv_prog_f77_g=no 4483 fi 4484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4485 4486 fi 4487 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 4488 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 4923 4489 if test "$ac_test_FFLAGS" = set; then 4924 4490 FFLAGS=$ac_save_FFLAGS … … 4938 4504 4939 4505 G77=`test $ac_compiler_gnu = yes && echo yes` 4940 ac_ext=c pp4506 ac_ext=cc 4941 4507 ac_cpp='$CXXCPP $CPPFLAGS' 4942 4508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 4946 4512 4947 4513 4948 # Check whether --with-matlab was given.4514 # Check whether --with-matlab or --without-matlab was given. 4949 4515 if 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 4518 fi; 4519 4520 # Check whether --with-matlab_arch or --without-matlab_arch was given. 4955 4521 if test "${with_matlab_arch+set}" = set; then 4956 withval=$with_matlab_arch; 4957 fi 4958 4522 withval="$with_matlab_arch" 4523 4524 fi; 4525 4526 # Check whether --with-mexext or --without-mexext was given. 4527 if test "${with_mexext+set}" = set; then 4528 withval="$with_mexext" 4529 4530 fi; 4959 4531 MEX= 4960 4532 MEX_ARCH= 4533 MEXEXT= 4961 4534 if test "$with_matlab" != "no" ; then 4962 4535 if test -x "$with_matlab/bin/mex" 4963 4536 then 4964 echo Found m atlabin $with_matlab/bin/mex4537 echo Found mex in $with_matlab/bin/mex 4965 4538 MEX="$with_matlab/bin/mex" 4966 4539 else … … 4972 4545 # Extract the first word of "mex", so it can be a program name with args. 4973 4546 set dummy mex; ac_word=$2 4974 {echo "$as_me:$LINENO: checking for $ac_word" >&54975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }4547 echo "$as_me:$LINENO: checking for $ac_word" >&5 4548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4976 4549 if test "${ac_cv_path_MEX+set}" = set; then 4977 4550 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4988 4561 test -z "$as_dir" && as_dir=. 4989 4562 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"; }; then4563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4991 4564 ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext" 4992 4565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 4995 4568 done 4996 4569 done 4997 IFS=$as_save_IFS4998 4570 4999 4571 ;; … … 5001 4573 fi 5002 4574 MEX=$ac_cv_path_MEX 4575 5003 4576 if 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 4578 echo "${ECHO_T}$MEX" >&6 4579 else 4580 echo "$as_me:$LINENO: result: no" >&5 4581 echo "${ECHO_T}no" >&6 4582 fi 5011 4583 5012 4584 fi 5013 4585 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 5014 4596 fi 5015 4597 if test "x$with_matlab_arch" != "x" ; then … … 5018 4600 5019 4601 5020 # Check whether --with-octave was given. 4602 4603 # Check whether --with-octave or --without-octave was given. 5021 4604 if test "${with_octave+set}" = set; then 5022 withval= $with_octave;5023 fi 5024 4605 withval="$with_octave" 4606 4607 fi; 5025 4608 MKOCTFILE= 5026 4609 if test "$with_octave" != "no" ; then … … 5037 4620 # Extract the first word of "mkoctfile", so it can be a program name with args. 5038 4621 set dummy mkoctfile; ac_word=$2 5039 {echo "$as_me:$LINENO: checking for $ac_word" >&55040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }4622 echo "$as_me:$LINENO: checking for $ac_word" >&5 4623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5041 4624 if test "${ac_cv_path_MKOCTFILE+set}" = set; then 5042 4625 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5053 4636 test -z "$as_dir" && as_dir=. 5054 4637 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"; }; then4638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5056 4639 ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext" 5057 4640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5060 4643 done 5061 4644 done 5062 IFS=$as_save_IFS5063 4645 5064 4646 ;; … … 5066 4648 fi 5067 4649 MKOCTFILE=$ac_cv_path_MKOCTFILE 4650 5068 4651 if 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 4653 echo "${ECHO_T}$MKOCTFILE" >&6 4654 else 4655 echo "$as_me:$LINENO: result: no" >&5 4656 echo "${ECHO_T}no" >&6 4657 fi 5076 4658 5077 4659 fi … … 5082 4664 5083 4665 5084 # Check whether --with-perl was given.4666 # Check whether --with-perl or --without-perl was given. 5085 4667 if test "${with_perl+set}" = set; then 5086 withval= $with_perl;5087 fi 5088 4668 withval="$with_perl" 4669 4670 fi; 5089 4671 PERL= 5090 4672 PERL_INCLUDES= 4673 PERL_SITE_PACKAGES= 5091 4674 if test "$with_perl" != "no" ; then 5092 4675 if test -x "$with_perl/bin/perl" … … 5102 4685 # Extract the first word of "perl", so it can be a program name with args. 5103 4686 set dummy perl; ac_word=$2 5104 {echo "$as_me:$LINENO: checking for $ac_word" >&55105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }4687 echo "$as_me:$LINENO: checking for $ac_word" >&5 4688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5106 4689 if test "${ac_cv_path_PERL+set}" = set; then 5107 4690 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5118 4701 test -z "$as_dir" && as_dir=. 5119 4702 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"; }; then4703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5121 4704 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 5122 4705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5125 4708 done 5126 4709 done 5127 IFS=$as_save_IFS5128 4710 5129 4711 ;; … … 5131 4713 fi 5132 4714 PERL=$ac_cv_path_PERL 4715 5133 4716 if 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 4718 echo "${ECHO_T}$PERL" >&6 4719 else 4720 echo "$as_me:$LINENO: result: no" >&5 4721 echo "${ECHO_T}no" >&6 4722 fi 5141 4723 5142 4724 fi 5143 4725 fi 4726 PERL_SITE_PACKAGES='$(libdir)/perl5' 5144 4727 fi 5145 4728 … … 5151 4734 pythondir= 5152 4735 5153 # Check whether --with-python was given.4736 # Check whether --with-python or --without-python was given. 5154 4737 if test "${with_python+set}" = set; then 5155 withval= $with_python;5156 fi 5157 4738 withval="$with_python" 4739 4740 fi; 5158 4741 if test "$with_python" != "no" ; then 5159 4742 if test -x "$with_python/bin/python" … … 5167 4750 PYTHON="$with_python" 5168 4751 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=$25171 {echo "$as_me:$LINENO: checking for $ac_word" >&55172 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. 4753 set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2 4754 echo "$as_me:$LINENO: checking for $ac_word" >&5 4755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5173 4756 if test "${ac_cv_path_PYTHON+set}" = set; then 5174 4757 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5185 4768 test -z "$as_dir" && as_dir=. 5186 4769 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"; }; then4770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5188 4771 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 5189 4772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 5192 4775 done 5193 4776 done 5194 IFS=$as_save_IFS5195 4777 5196 4778 ;; … … 5198 4780 fi 5199 4781 PYTHON=$ac_cv_path_PYTHON 4782 5200 4783 if 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 4785 echo "${ECHO_T}$PYTHON" >&6 4786 else 4787 echo "$as_me:$LINENO: result: no" >&5 4788 echo "${ECHO_T}no" >&6 4789 fi 5208 4790 5209 4791 fi … … 5263 4845 5264 4846 4847 4848 4849 5265 4850 RP_BASE=`pwd` 5266 4851 5267 4852 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 4855 subdirs="$subdirs gui " 4856 4857 4858 4859 subdirs="$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" 5306 4863 cat >confcache <<\_ACEOF 5307 4864 # This file is a shell script that caches the results of configure … … 5322 4879 # The following way of writing the cache mishandles newlines in values, 5323 4880 # 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. 5325 4882 # Ultrix sh set writes to stderr and can't be redirected directly, 5326 4883 # 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 { 5343 4885 (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=\ *) 5346 4888 # `set' does not quote correctly, so add quotes (double-quote 5347 4889 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 5349 4891 "s/'/'\\\\''/g; 5350 4892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5351 ;; #(4893 ;; 5352 4894 *) 5353 4895 # `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" 5355 4898 ;; 5356 esac | 5357 sort 5358 ) | 4899 esac; 4900 } | 5359 4901 sed ' 5360 /^ac_cv_env_/b end5361 4902 t clear 5362 : clear4903 : clear 5363 4904 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5364 4905 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 4908 if 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" 5372 4911 cat confcache >$cache_file 5373 4912 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" 5376 4914 fi 5377 4915 fi … … 5381 4919 # Let make expand exec_prefix. 5382 4920 test "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). 4926 if test "x$srcdir" = x.; then 4927 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4928 s/:*\$(srcdir):*/:/; 4929 s/:*\${srcdir}:*/:/; 4930 s/:*@srcdir@:*/:/; 4931 s/^\([^=]*=[ ]*\):*/\1/; 4932 s/:*$//; 4933 s/^[^=]*=[ ]*$//; 4934 }' 4935 fi 5383 4936 5384 4937 # Transform confdefs.h into DEFS. … … 5387 4940 # 5388 4941 # 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, 5390 4943 # look for a macro that doesn't take arguments. 5391 ac_script=' 4944 cat >confdef2opt.sed <<\_ACEOF 5392 4945 t clear 5393 : clear5394 s /^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g4946 : clear 4947 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 5395 4948 t quote 5396 s /^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g4949 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 5397 4950 t 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` 4951 d 4952 : quote 4953 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 4954 s,\[,\\&,g 4955 s,\],\\&,g 4956 s,\$,$$,g 4957 p 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. 4965 ac_LF_and_DOT=`echo; echo .` 4966 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 4967 rm -f confdef2opt.sed 5414 4968 5415 4969 … … 5418 4972 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5419 4973 # 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' 5426 4979 done 5427 4980 LIBOBJS=$ac_libobjs … … 5454 5007 ## --------------------- ## 5455 5008 5456 # Be more Bourne compatible 5457 DUALCASE=1; export DUALCASE # for MKS sh 5009 # Be Bourne compatible 5458 5010 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5459 5011 emulate sh … … 5462 5014 # is contrary to our usage. Disable this feature. 5463 5015 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 5016 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5017 set -o posix 5018 fi 5019 DUALCASE=1; export DUALCASE # for MKS sh 5020 5021 # Support unset when possible. 5022 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5023 as_unset=unset 5024 else 5025 as_unset=false 5026 fi 5027 5028 5029 # Work around bugs in pre-3.0 UWIN ksh. 5030 $as_unset ENV MAIL MAILPATH 5031 PS1='$ ' 5032 PS2='> ' 5033 PS4='+ ' 5034 5035 # NLS nuisances. 5036 for 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 5040 do 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 5046 done 5047 5048 # Required to use basename. 5049 if expr a : '\(a\)' >/dev/null 2>&1; then 5050 as_expr=expr 5051 else 5052 as_expr=false 5053 fi 5054 5055 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5056 as_basename=basename 5057 else 5058 as_basename=false 5059 fi 5060 5061 5062 # Name of the executable. 5063 as_me=`$as_basename "$0" || 5064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5065 X"$0" : 'X\(//\)$' \| \ 5066 X"$0" : 'X\(/\)$' \| \ 5067 . : '\(.\)' 2>/dev/null || 5068 echo 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. 5476 5076 # Avoid depending upon Character Ranges. 5477 5077 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 5494 5094 fi 5495 5095 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 5517 5107 for as_dir in $PATH 5518 5108 do … … 5521 5111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5522 5112 done 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 5123 echo "$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 5129 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5550 5130 do 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 ' 5598 5137 as_lineno_1=$LINENO 5599 5138 as_lineno_2=$LINENO 5139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5600 5140 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 5150 done 5151 ;; 5152 esac 5602 5153 5603 5154 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5604 5155 # 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. 5610 5160 # (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 | 5617 5163 sed ' 5618 s/[$]LINENO.*/&-/5619 t lineno5620 b5621 :lineno5622 5164 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, 5625 5168 t loop 5626 s/-\n.*// 5169 s,-$,, 5170 s,^['$as_cr_digits']*\n,, 5627 5171 ' >$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 5174 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 5630 5175 { (exit 1); exit 1; }; } 5631 5176 5632 5177 # Don't try to exec as it changes $[0], causing all sort of problems 5633 5178 # (the dirname of $[0] is not the place where we might find the 5634 # original and so on. Autoconf is especially sensi tive to this).5635 . "./$as_me.lineno"5179 # original and so on. Autoconf is especially sensible to this). 5180 . ./$as_me.lineno 5636 5181 # Exit status is that of the last command. 5637 5182 exit … … 5639 5184 5640 5185 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';; 5186 case `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= ;; 5656 5191 esac 5657 5192 5658 if expr a : '\(a\)' >/dev/null 2>&1 && 5659 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5193 if expr a : '\(a\)' >/dev/null 2>&1; then 5660 5194 as_expr=expr 5661 5195 else … … 5664 5198 5665 5199 rm -f conf$$ conf$$.exe conf$$.file 5666 if test -d conf$$.dir; then5667 rm -f conf$$.dir/conf$$.file5668 else5669 rm -f conf$$.dir5670 mkdir conf$$.dir5671 fi5672 5200 echo >conf$$.file 5673 5201 if 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 5680 5206 as_ln_s='cp -p' 5207 else 5208 as_ln_s='ln -s' 5209 fi 5681 5210 elif ln conf$$.file conf$$ 2>/dev/null; then 5682 5211 as_ln_s=ln … … 5684 5213 as_ln_s='cp -p' 5685 5214 fi 5686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5687 rmdir conf$$.dir 2>/dev/null 5215 rm -f conf$$ conf$$.exe conf$$.file 5688 5216 5689 5217 if mkdir -p . 2>/dev/null; then … … 5694 5222 fi 5695 5223 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 5224 as_executable_p="test -f" 5718 5225 5719 5226 # Sed expression to map a string onto a valid CPP name. … … 5724 5231 5725 5232 5233 # IFS 5234 # We need space, tab and new line, in precisely that order. 5235 as_nl=' 5236 ' 5237 IFS=" $as_nl" 5238 5239 # CDPATH. 5240 $as_unset CDPATH 5241 5726 5242 exec 6>&1 5727 5243 5728 # Save the log message, to keep$[0] and so on meaningful, and to5244 # Open the log real soon, to keep \$[0] and so on meaningful, and to 5729 5245 # 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. 5247 exec 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 5254 cat >&5 <<_CSEOF 5255 5732 5256 This file was extended by rappture $as_me 1.1, which was 5733 generated by GNU Autoconf 2. 61. Invocation command line was5257 generated by GNU Autoconf 2.59. Invocation command line was 5734 5258 5735 5259 CONFIG_FILES = $CONFIG_FILES … … 5739 5263 $ $0 $@ 5740 5264 5741 on `(hostname || uname -n) 2>/dev/null | sed 1q` 5742 " 5743 5744 _ACEOF 5745 5746 cat >>$CONFIG_STATUS <<_ACEOF 5265 _CSEOF 5266 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5267 echo >&5 5268 _ACEOF 5269 5747 5270 # Files that config.status was made for. 5748 config_files="$ac_config_files" 5749 5750 _ACEOF 5271 if test -n "$ac_config_files"; then 5272 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5273 fi 5274 5275 if test -n "$ac_config_headers"; then 5276 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5277 fi 5278 5279 if test -n "$ac_config_links"; then 5280 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5281 fi 5282 5283 if test -n "$ac_config_commands"; then 5284 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5285 fi 5751 5286 5752 5287 cat >>$CONFIG_STATUS <<\_ACEOF 5288 5753 5289 ac_cs_usage="\ 5754 5290 \`$as_me' instantiates files from templates according to the … … 5758 5294 5759 5295 -h, --help print this help, then exit 5760 -V, --version print version number and configuration settings, then exit5296 -V, --version print version number, then exit 5761 5297 -q, --quiet do not print progress messages 5762 5298 -d, --debug don't remove temporary files … … 5769 5305 5770 5306 Report bugs to <bug-autoconf@gnu.org>." 5771 5772 _ACEOF 5307 _ACEOF 5308 5773 5309 cat >>$CONFIG_STATUS <<_ACEOF 5774 5310 ac_cs_version="\\ 5775 5311 rappture 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) 200 6Free Software Foundation, Inc.5312 configured by $0, generated by GNU Autoconf 2.59, 5313 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5314 5315 Copyright (C) 2003 Free Software Foundation, Inc. 5780 5316 This config.status script is free software; the Free Software Foundation 5781 5317 gives unlimited permission to copy, distribute and modify it." 5782 5783 ac_pwd='$ac_pwd' 5784 srcdir='$srcdir' 5318 srcdir=$srcdir 5319 INSTALL="$INSTALL" 5785 5320 _ACEOF 5786 5321 … … 5793 5328 case $1 in 5794 5329 --*=*) 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[^=]*=\(.*\)'` 5797 5332 ac_shift=: 5798 5333 ;; 5799 *)5334 -*) 5800 5335 ac_option=$1 5801 5336 ac_optarg=$2 5802 5337 ac_shift=shift 5803 5338 ;; 5339 *) # This is not an option, so the user has probably given explicit 5340 # arguments. 5341 ac_option=$1 5342 ac_need_defaults=false;; 5804 5343 esac 5805 5344 5806 5345 case $ac_option in 5807 5346 # Handling of the options. 5347 _ACEOF 5348 cat >>$CONFIG_STATUS <<\_ACEOF 5808 5349 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5809 5350 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 5356 Try \`$0 --help' for more information." >&5 5357 echo "$as_me: error: ambiguous option: $1 5358 Try \`$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 ) 5813 5363 debug=: ;; 5814 5364 --file | --fil | --fi | --f ) … … 5816 5366 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5817 5367 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;; 5820 5372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5821 5373 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 5823 5375 5824 5376 # 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 5378 Try \`$0 --help' for more information." >&5 5379 echo "$as_me: error: unrecognized option: $1 5380 Try \`$0 --help' for more information." >&2;} 5827 5381 { (exit 1); exit 1; }; } ;; 5828 5382 5829 *) ac_config_targets="$ac_config_targets $1" 5830 ac_need_defaults=false ;; 5383 *) ac_config_targets="$ac_config_targets $1" ;; 5831 5384 5832 5385 esac … … 5844 5397 cat >>$CONFIG_STATUS <<_ACEOF 5845 5398 if \$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 5401 fi 5402 5403 _ACEOF 5404 5405 5406 5407 5408 5853 5409 cat >>$CONFIG_STATUS <<\_ACEOF 5854 exec 5>>config.log5855 {5856 echo5857 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX5858 ## Running $as_me. ##5859 _ASBOX5860 echo "$ac_log"5861 } >&55862 5863 _ACEOF5864 cat >>$CONFIG_STATUS <<_ACEOF5865 _ACEOF5866 5867 cat >>$CONFIG_STATUS <<\_ACEOF5868 5869 # Handling of arguments.5870 5410 for ac_config_target in $ac_config_targets 5871 5411 do 5872 case $ac_config_targetin5873 "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" ;; 5890 5430 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5891 5431 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 5893 5433 esac 5894 5434 done 5895 5896 5435 5897 5436 # If the user did not use the arguments to specify the items to instantiate, … … 5904 5443 5905 5444 # Have a temporary directory for convenience. Make it in the build tree 5906 # simply because there is no reason against havingit here, and in addition,5445 # simply because there is no reason to put it here, and in addition, 5907 5446 # 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. 5911 5448 $debug || 5912 5449 { 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 5917 5451 trap '{ (exit 1); exit 1; }' 1 2 13 15 5918 5452 } 5453 5919 5454 # Create a (secure) tmp directory for tmp files. 5920 5455 5921 5456 { 5922 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&5457 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 5923 5458 test -n "$tmp" && test -d "$tmp" 5924 5459 } || 5925 5460 { 5926 tmp=./conf $$-$RANDOM5927 (umask 077 && mkdir "$tmp")5461 tmp=./confstat$$-$RANDOM 5462 (umask 077 && mkdir $tmp) 5928 5463 } || 5929 5464 { … … 5932 5467 } 5933 5468 5469 _ACEOF 5470 5471 cat >>$CONFIG_STATUS <<_ACEOF 5472 5934 5473 # 5935 # Set up the sed scripts forCONFIG_FILES section.5474 # CONFIG_FILES section. 5936 5475 # 5937 5476 5938 5477 # No need to generate the scripts if there are no CONFIG_FILES. 5939 5478 # 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!! " 5479 if 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 5483 s,@SHELL@,$SHELL,;t t 5484 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5485 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5486 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5487 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5488 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5489 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5490 s,@exec_prefix@,$exec_prefix,;t t 5491 s,@prefix@,$prefix,;t t 5492 s,@program_transform_name@,$program_transform_name,;t t 5493 s,@bindir@,$bindir,;t t 5494 s,@sbindir@,$sbindir,;t t 5495 s,@libexecdir@,$libexecdir,;t t 5496 s,@datadir@,$datadir,;t t 5497 s,@sysconfdir@,$sysconfdir,;t t 5498 s,@sharedstatedir@,$sharedstatedir,;t t 5499 s,@localstatedir@,$localstatedir,;t t 5500 s,@libdir@,$libdir,;t t 5501 s,@includedir@,$includedir,;t t 5502 s,@oldincludedir@,$oldincludedir,;t t 5503 s,@infodir@,$infodir,;t t 5504 s,@mandir@,$mandir,;t t 5505 s,@build_alias@,$build_alias,;t t 5506 s,@host_alias@,$host_alias,;t t 5507 s,@target_alias@,$target_alias,;t t 5508 s,@DEFS@,$DEFS,;t t 5509 s,@ECHO_C@,$ECHO_C,;t t 5510 s,@ECHO_N@,$ECHO_N,;t t 5511 s,@ECHO_T@,$ECHO_T,;t t 5512 s,@LIBS@,$LIBS,;t t 5513 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5514 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5515 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5516 s,@SET_MAKE@,$SET_MAKE,;t t 5517 s,@CC@,$CC,;t t 5518 s,@CFLAGS@,$CFLAGS,;t t 5519 s,@LDFLAGS@,$LDFLAGS,;t t 5520 s,@CPPFLAGS@,$CPPFLAGS,;t t 5521 s,@ac_ct_CC@,$ac_ct_CC,;t t 5522 s,@EXEEXT@,$EXEEXT,;t t 5523 s,@OBJEXT@,$OBJEXT,;t t 5524 s,@CPP@,$CPP,;t t 5525 s,@EGREP@,$EGREP,;t t 5526 s,@CXX@,$CXX,;t t 5527 s,@CXXFLAGS@,$CXXFLAGS,;t t 5528 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 5529 s,@CXXCPP@,$CXXCPP,;t t 5530 s,@F77@,$F77,;t t 5531 s,@FFLAGS@,$FFLAGS,;t t 5532 s,@ac_ct_F77@,$ac_ct_F77,;t t 5533 s,@MEX@,$MEX,;t t 5534 s,@MKOCTFILE@,$MKOCTFILE,;t t 5535 s,@PERL@,$PERL,;t t 5536 s,@PYTHON@,$PYTHON,;t t 5537 s,@pythondir@,$pythondir,;t t 5538 s,@MEX_ARCH@,$MEX_ARCH,;t t 5539 s,@MEXEXT@,$MEXEXT,;t t 5540 s,@PERL_INCLUDES@,$PERL_INCLUDES,;t t 5541 s,@PERL_SITE_PACKAGES@,$PERL_SITE_PACKAGES,;t t 5542 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t 5543 s,@PYTHON_INCLUDES@,$PYTHON_INCLUDES,;t t 5544 s,@PYTHON_SITE_PACKAGES@,$PYTHON_SITE_PACKAGES,;t t 5545 s,@LIB_SEARCH_DIRS@,$LIB_SEARCH_DIRS,;t t 5546 s,@VERSION@,$VERSION,;t t 5547 s,@RP_BASE@,$RP_BASE,;t t 5548 s,@subdirs@,$subdirs,;t t 5549 s,@LIBOBJS@,$LIBOBJS,;t t 5550 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5551 CEOF 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 6029 5591 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 5592 fi # test -n "$CONFIG_FILES" 5593 5594 _ACEOF 6074 5595 cat >>$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;; 5596 for 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 ;; 6082 5606 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 || 6140 5610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6141 5611 X"$ac_file" : 'X\(//\)[^/]' \| \ 6142 5612 X"$ac_file" : 'X\(//\)$' \| \ 6143 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5613 X"$ac_file" : 'X\(/\)' \| \ 5614 . : '\(.\)' 2>/dev/null || 6144 5615 echo 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" 6167 5625 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 || 6175 5629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6176 5630 X"$as_dir" : 'X\(//\)[^/]' \| \ 6177 5631 X"$as_dir" : 'X\(//\)$' \| \ 6178 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5632 X"$as_dir" : 'X\(/\)' \| \ 5633 . : '\(.\)' 2>/dev/null || 6179 5634 echo 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'` 6198 5640 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" >&56201 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 5643 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6202 5644 { (exit 1); exit 1; }; }; } 5645 6203 5646 ac_builddir=. 6204 5647 6205 case "$ac_dir" in 6206 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5648 if 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'` 5652 else 5653 ac_dir_suffix= ac_top_builddir= 5654 fi 5655 5656 case $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 ;; 5670 esac 5671 5672 # Do not use `cd foo && pwd` to compute absolute paths, because 5673 # the directories may not exist. 5674 case `pwd` in 5675 .) ac_abs_builddir="$ac_dir";; 6207 5676 *) 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;; 6215 5682 esac 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 ;; 5683 case $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;; 6234 5691 esac 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' ;; 5692 case $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;; 6274 5700 esac 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? 5701 case $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;; 5709 esac 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 5737 echo "$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 5750 echo "$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 5758 echo "$as_me: creating $ac_file" >&6;} 5759 rm -f "$ac_file" 5760 fi 5761 _ACEOF 6280 5762 cat >>$CONFIG_STATUS <<_ACEOF 6281 5763 sed "$ac_vpsub … … 6285 5767 :t 6286 5768 /@[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 5769 s,@configure_input@,$configure_input,;t t 5770 s,@srcdir@,$ac_srcdir,;t t 5771 s,@abs_srcdir@,$ac_abs_srcdir,;t t 5772 s,@top_srcdir@,$ac_top_srcdir,;t t 5773 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 5774 s,@builddir@,$ac_builddir,;t t 5775 s,@abs_builddir@,$ac_abs_builddir,;t t 5776 s,@top_builddir@,$ac_top_builddir,;t t 5777 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5778 s,@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 5788 done 5789 _ACEOF 5790 5791 cat >>$CONFIG_STATUS <<\_ACEOF 6320 5792 6321 5793 { (exit 0); exit 0; } … … 6354 5826 ac_sub_configure_args= 6355 5827 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 6360 5829 if test -n "$ac_prev"; then 6361 5830 ac_prev= … … 6380 5849 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 6381 5850 ;; 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" ;; 6387 5852 esac 6388 5853 done … … 6390 5855 # Always prepend --prefix to ensure using the same prefix 6391 5856 # 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" 6402 5858 6403 5859 ac_popdir=`pwd` … … 6406 5862 # Do not complain, so a configure script can configure whichever 6407 5863 # 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 5867 echo "$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" 6418 5872 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 || 6426 5876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6427 5877 X"$as_dir" : 'X\(//\)[^/]' \| \ 6428 5878 X"$as_dir" : 'X\(//\)$' \| \ 6429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5879 X"$as_dir" : 'X\(/\)' \| \ 5880 . : '\(.\)' 2>/dev/null || 6430 5881 echo 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'` 6449 5887 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" >&56452 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 5890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6453 5891 { (exit 1); exit 1; }; }; } 5892 6454 5893 ac_builddir=. 6455 5894 6456 case "$ac_dir" in 6457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5895 if 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'` 5899 else 5900 ac_dir_suffix= ac_top_builddir= 5901 fi 5902 5903 case $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 ;; 5917 esac 5918 5919 # Do not use `cd foo && pwd` to compute absolute paths, because 5920 # the directories may not exist. 5921 case `pwd` in 5922 .) ac_abs_builddir="$ac_dir";; 6458 5923 *) 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;; 6466 5929 esac 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 ;; 5930 case $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;; 6485 5938 esac 6486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6487 6488 6489 cd "$ac_dir" 5939 case $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;; 5947 esac 5948 case $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;; 5956 esac 5957 5958 5959 cd $ac_dir 6490 5960 6491 5961 # 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 6499 5968 else 6500 5969 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 … … 6508 5977 case $cache_file in 6509 5978 [\\/]* | ?:[\\/]* ) 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 ;; 6512 5981 esac 6513 5982 6514 { echo "$as_me:$LINENO: running $ SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&56515 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 5984 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 6516 5985 # 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 || 6519 5988 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 6520 5989 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} -
trunk/configure.in
r634 r708 14 14 fi 15 15 16 # AC_PROG_INSTALL 16 if test "${libdir}" != "${prefix}/lib"; then 17 LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}" 18 else 19 LIB_SEARCH_DIRS="-L ${libdir}" 20 fi 21 22 AC_PROG_INSTALL 17 23 AC_PROG_MAKE_SET 18 24 … … 37 43 AC_ARG_WITH(matlab, [ --with-matlab[=DIR] Build Matlab bindings if MEX compiler is found]) 38 44 AC_ARG_WITH(matlab_arch, [ --with-matlab-arch[=ARCH] Build Matlab bindings for ARCH architecture]) 45 AC_ARG_WITH(mexext, [ --with-mexext[=ARCH] Suggest an extension for building mex files]) 39 46 dnl AC_CHECK_PROG(MEX, mex, mex, false) 40 47 MEX= 41 48 MEX_ARCH= 49 MEXEXT= 42 50 if test "$with_matlab" != "no" ; then 43 51 dnl WITH_MATLAB = "yes" 44 52 if test -x "$with_matlab/bin/mex" 45 53 then 46 echo Found m atlabin $with_matlab/bin/mex54 echo Found mex in $with_matlab/bin/mex 47 55 MEX="$with_matlab/bin/mex" 48 56 else … … 55 63 fi 56 64 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 57 75 fi 58 76 if test "x$with_matlab_arch" != "x" ; then 59 77 MEX_ARCH="-arch=$with_matlab_arch" 60 78 fi 79 61 80 dnl AM_CONDITIONAL(WITH_MATLAB, test x$MEX != x) 62 81 … … 93 112 PERL= 94 113 PERL_INCLUDES= 114 PERL_SITE_PACKAGES= 95 115 if test "$with_perl" != "no" ; then 96 116 if test -x "$with_perl/bin/perl" … … 107 127 fi 108 128 fi 129 PERL_SITE_PACKAGES='$(libdir)/perl5' 109 130 fi 110 131 dnl AM_CONDITIONAL(WITH_PERL, test x$PERL != x) … … 131 152 PYTHON="$with_python" 132 153 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) 134 155 fi 135 156 fi … … 180 201 AC_SUBST(MEX) 181 202 AC_SUBST(MEX_ARCH) 203 AC_SUBST(MEXEXT) 182 204 AC_SUBST(MKOCTFILE) 183 205 AC_SUBST(PERL) 184 206 AC_SUBST(PERL_INCLUDES) 207 AC_SUBST(PERL_SITE_PACKAGES) 185 208 AC_SUBST(PYTHON) 186 209 AC_SUBST(PYTHON_VERSION) 187 210 AC_SUBST(PYTHON_INCLUDES) 188 211 AC_SUBST(PYTHON_SITE_PACKAGES) 212 AC_SUBST(LIB_SEARCH_DIRS) 189 213 190 214 AC_SUBST(VERSION) -
trunk/gui/apps/rappture.env.in
r633 r708 20 20 # no need to edit the rest... 21 21 export PATH=$RAPPTURE_INSTALL_DIR/bin:$PATH 22 export PERL5LIB=$RAPPTURE_INSTALL_DIR/lib/perl5:$ PERL5LIB23 export PYTHONPATH=$RAPPTURE_INSTALL_DIR/lib/python@PYTHON_VERSION@/site-packages:$ PYTHONPATH24 export MATLABPATH=$RAPPTURE_INSTALL_DIR/lib/matlab:$ MATLABPATH25 export OCTAVE_PATH= :$RAPPTURE_INSTALL_DIR/lib/octave:$OCTAVE_PATH26 export LD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$ LD_LIBRARY_PATH22 export PERL5LIB=$RAPPTURE_INSTALL_DIR/lib/perl5:$RAPPTURE_INSTALL_DIR/lib64/perl5:$PERL5LIB 23 export PYTHONPATH=$RAPPTURE_INSTALL_DIR/lib/python@PYTHON_VERSION@/site-packages:$RAPPTURE_INSTALL_DIR/lib64/python@PYTHON_VERSION@/site-packages:$PYTHONPATH 24 export MATLABPATH=$RAPPTURE_INSTALL_DIR/lib/matlab:$RAPPTURE_INSTALL_DIR/lib64/matlab:$MATLABPATH 25 export OCTAVE_PATH=$RAPPTURE_INSTALL_DIR/lib/octave:$RAPPTURE_INSTALL_DIR/lib64/octave:$OCTAVE_PATH 26 export LD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$RAPPTURE_INSTALL_DIR/lib64:$LD_LIBRARY_PATH 27 27 export 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 28 export TCL_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tcl8.4:$RAPPTURE_INSTALL_DIR/lib64/tcl8.4:$TCL_LIBRARY 29 export TK_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tk8.4:$RAPPTURE_INSTALL_DIR/lib64/tk8.4:$TK_LIBRARY -
trunk/gui/configure.in
r702 r708 310 310 #-------------------------------------------------------------------- 311 311 312 AC_CONFIG_SUBDIRS( vizservers ) 312 313 AC_OUTPUT([Makefile pkgIndex.tcl init.tcl]) -
trunk/perl/Makefile.PL.in
r546 r708 22 22 ); 23 23 } 24 @ SCEW_INC_SEARCHPATH = ( "@prefix@/include",24 @EXPAT_INC_SEARCHPATH = ( "@prefix@/include", 25 25 "/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", 34 28 "/opt/expat-2.0.0/lib", "/opt/expat/lib" ); 35 29 $EXPAT_INC="expat.h"; 36 30 @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"); 40 33 $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");47 34 @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", 51 38 "/opt/expat-2.0.0/lib", "/opt/expat/lib" ); 52 39 @EXPAT_LIBS=("libexpat.so", "libexpat.a"); 53 40 @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" ); 56 43 @RAPPTURE_LIBS=("librappture.so","librappture.a"); 57 } 44 } 58 45 else { 59 46 if ($Config{"cc"} eq "cl") { 60 47 $CFLAGS = "/TP /EHsc"; 61 48 @LIBS = ("msvcprt.lib"); 62 49 } 63 50 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";69 51 @EXPAT_INC_SEARCHPATH = ( "C:\\Program Files\\Rappture\\include", 70 52 "C:\\opt\\rappture\\include", "C:\\opt\\include", … … 77 59 "C:\\opt\\rappture\\include", "C:\\opt\\include", "..\\include" ); 78 60 $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");87 61 @EXPAT_LIB_SEARCHPATH = ( "C:\\Program Files\\Rappture\\lib", 88 62 "C:\\opt\\rappture\\lib", "C:\\opt\\lib", … … 143 117 } 144 118 145 find_include(\@SCEW_INC_SEARCHPATH, $SCEW_INC, \@INCLUDES);146 119 find_include(\@EXPAT_INC_SEARCHPATH, $EXPAT_INC, \@INCLUDES); 147 120 find_include(\@RAPPTURE_INC_SEARCHPATH, $RAPPTURE_INC, \@INCLUDES); 148 121 find_lib(\@EXPAT_LIB_SEARCHPATH, \@EXPAT_LIBS, \@LIBS); 149 122 find_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 }156 123 157 124 WriteMakefile( -
trunk/python/setup.py.in
r671 r708 7 7 sources = [ 'Rappture/PyRpUnits.cc' ], 8 8 library_dirs = [ rp_install_dir+'/lib' ], 9 libraries = [ 'rappture' , 'scew'] )9 libraries = [ 'rappture' ] ) 10 10 11 11 utils_module = Extension('Rappture.Utils', -
trunk/src/Makefile.in
r671 r708 1 1 2 ifndef RP_INSTALL_BASE 3 RP_INSTALL_BASE = @prefix@ 4 endif 2 prefix = @prefix@ 3 exec_prefix = @exec_prefix@ 4 bindir = @bindir@ 5 libdir = @libdir@ 6 includedir = @includedir@ 7 mandir = @mandir@ 8 9 INSTALL = @INSTALL@ 10 INSTALL_PROGRAM = ${INSTALL} -m 755 11 INSTALL_DATA = ${INSTALL} -m 644 12 INSTALL_SCRIPT = ${INSTALL} 13 5 14 6 15 # tell make where to find the expat & libscew headers 7 INCL_RP_DEPS = -I$( RP_INSTALL_BASE)/include8 9 EXTERNAL_RP_LIBS = -L$(RP_INSTALL_BASE)/lib-lscew -lz -lb64 -lm16 INCL_RP_DEPS = -I$(includedir) 17 18 EXTERNAL_RP_LIBS = @LIB_SEARCH_DIRS@ -lexpat -lscew -lz -lb64 -lm 10 19 11 20 … … 88 97 librappture: $(RP_IO_DEPS) $(RP_UTILS_DEPS) $(RP_UNITS_DEPS) $(RP_OTHER_DEPS) 89 98 (cd ../src2/core/; make Outcome.o Ptr.o RpBuffer.o) 90 if test "`uname`" == "Darwin"; then \99 @if test "`uname`" == "Darwin"; then \ 91 100 $(CXX) $(DEGUG) $(LDLIB_MACOSX) $^ $(RP2_OBJ_DEP) $(EXTERNAL_RP_LIBS); \ 92 101 ar -r $@.a $^; \ … … 100 109 101 110 install_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) 116 125 117 126 #### libRpObjects ######################################################## 118 127 libRpObjects: $(RP_OBJS_DEP) 119 if test "`uname`" == "Darwin"; then \128 @if test "`uname`" == "Darwin"; then \ 120 129 $(CXX) $(DEGUG) $(LDLIB_MACOSX) $^ -lstdc++; \ 121 130 else \ … … 125 134 126 135 install_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 144 141 145 142 #################################################################### … … 236 233 $(CXX) $(CFLAGS) $(DEBUG) -o $@ -c $? $(INCL_CORE) $(INCL_CORE2) $(INCL_FORTRAN) $(INCL_RP_DEPS) 237 234 238 239 # matlab bindings240 RpMatlab: librappture241 cd $(MATLAB_SRC); make clean; make RpMatlab; cd -242 243 # octave bindings244 RpOctave: librappture245 cd $(OCTAVE_SRC); make clean; make RpOctave; cd -246 235 247 236 docs: -
trunk/src/matlab/Makefile.in
r665 r708 1 1 2 ifndef RP_INSTALL_BASE 3 RP_INSTALL_BASE = @prefix@ 4 endif 2 prefix = @prefix@ 3 exec_prefix = @exec_prefix@ 4 bindir = @bindir@ 5 libdir = @libdir@ 6 includedir = @includedir@ 7 mandir = @mandir@ 5 8 6 # tell make where to find the expat & libscew sources 7 INCL_RP_DEPS = -I$(RP_INSTALL_BASE)/include 9 INSTALL = @INSTALL@ 10 INSTALL_PROGRAM = ${INSTALL} -m 755 11 INSTALL_DATA = ${INSTALL} -m 644 12 INSTALL_SCRIPT = ${INSTALL} 8 13 9 LIB_SCEW_FLAG = -L$(RP_INSTALL_BASE)/lib -lscew 14 # tell make where to find the expat headers 15 INCL_RP_DEPS = -I$(includedir) 10 16 11 17 # define the top of the rappture directory structure … … 26 32 INCL_MATLAB = -I$(INCLUDES_DIR)/matlab 27 33 28 all: RpMatlab install_matlab 29 install: install_matlab 34 OBJS=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 36 all: $(OBJS) 30 37 31 38 #### Matlab ######################################################## 32 install _matlab: RpMatlab33 if test ! -d $(RP_INSTALL_BASE)/lib/matlab; then \34 mkdir $( RP_INSTALL_BASE)/lib/matlab; \39 install: $(OBJS) 40 @if test ! -d $(libdir)/matlab; then \ 41 mkdir $(libdir)/matlab; \ 35 42 fi 36 cp *.mex* $(RP_INSTALL_BASE)/lib/matlab43 $(INSTALL_DATA) *.mex* $(libdir)/matlab 37 44 38 45 #################################################################### … … 40 47 # matlab bindings 41 48 MEX_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 50 MEX_OPTS = -g $(LIB_RAPPTURE) 44 51 MATLAB_COMP_ARGS = RpMatlabInterface.cc $(MEX_INCLS) $(MEX_OPTS) 45 52 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 53 rpLib.@MEXEXT@: rpLib.cc 54 $(MEX) rpLib.cc $(MATLAB_COMP_ARGS) 55 rpLibXml.@MEXEXT@: rpLibXml.cc 56 $(MEX) rpLibXml.cc $(MATLAB_COMP_ARGS) 57 rpLibElement.@MEXEXT@: rpLibElement.cc 58 $(MEX) rpLibElement.cc $(MATLAB_COMP_ARGS) 59 rpLibElementAsObject.@MEXEXT@: rpLibElementAsObject.cc 60 $(MEX) rpLibElementAsObject.cc $(MATLAB_COMP_ARGS) 61 rpLibElementAsType.@MEXEXT@: rpLibElementAsType.cc 62 $(MEX) rpLibElementAsType.cc $(MATLAB_COMP_ARGS) 63 rpLibElementAsComp.@MEXEXT@: rpLibElementAsComp.cc 64 $(MEX) rpLibElementAsComp.cc $(MATLAB_COMP_ARGS) 65 rpLibElementAsId.@MEXEXT@: rpLibElementAsId.cc 66 $(MEX) rpLibElementAsId.cc $(MATLAB_COMP_ARGS) 67 rpLibChildren.@MEXEXT@: rpLibChildren.cc 68 $(MEX) rpLibChildren.cc $(MATLAB_COMP_ARGS) 69 rpLibChildrenByType.@MEXEXT@: rpLibChildrenByType.cc 70 $(MEX) rpLibChildrenByType.cc $(MATLAB_COMP_ARGS) 80 71 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) 81 80 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) 81 rpLibGet.@MEXEXT@: rpLibGet.cc 82 $(MEX) rpLibGet.cc $(MATLAB_COMP_ARGS) 83 rpLibGetString.@MEXEXT@: rpLibGetString.cc 84 $(MEX) rpLibGetString.cc $(MATLAB_COMP_ARGS) 85 rpLibGetDouble.@MEXEXT@: rpLibGetDouble.cc 86 $(MEX) rpLibGetDouble.cc $(MATLAB_COMP_ARGS) 87 rpLibPut.@MEXEXT@: rpLibPut.cc 88 $(MEX) rpLibPut.cc $(MATLAB_COMP_ARGS) 89 rpLibPutString.@MEXEXT@: rpLibPutString.cc 90 $(MEX) rpLibPutString.cc $(MATLAB_COMP_ARGS) 91 rpLibPutDouble.@MEXEXT@: rpLibPutDouble.cc 92 $(MEX) rpLibPutDouble.cc $(MATLAB_COMP_ARGS) 93 rpLibPutData.@MEXEXT@: rpLibPutData.cc 94 $(MEX) rpLibPutData.cc $(MATLAB_COMP_ARGS) 95 rpLibPutFile.@MEXEXT@: rpLibPutFile.cc 96 $(MEX) rpLibPutFile.cc $(MATLAB_COMP_ARGS) 97 rpLibNodeComp.@MEXEXT@: rpLibNodeComp.cc 98 $(MEX) rpLibNodeComp.cc $(MATLAB_COMP_ARGS) 99 rpLibNodeType.@MEXEXT@: rpLibNodeType.cc 100 $(MEX) rpLibNodeType.cc $(MATLAB_COMP_ARGS) 101 rpLibNodeId.@MEXEXT@: rpLibNodeId.cc 102 $(MEX) rpLibNodeId.cc $(MATLAB_COMP_ARGS) 103 rpLibResult.@MEXEXT@: rpLibResult.cc 104 $(MEX) rpLibResult.cc $(MATLAB_COMP_ARGS) 105 rpUnitsDefineUnit.@MEXEXT@: rpUnitsDefineUnit.cc 106 $(MEX) rpUnitsDefineUnit.cc $(MATLAB_COMP_ARGS) 107 #rpDefineConv.@MEXEXT@: rpDefineConv.cc 108 #$(MEX) rpDefineConv.cc $(MATLAB_COMP_ARGS) 109 rpUnitsGetUnits.@MEXEXT@: rpUnitsGetUnits.cc 110 $(MEX) rpUnitsGetUnits.cc $(MATLAB_COMP_ARGS) 111 rpUnitsGetUnitsName.@MEXEXT@: rpUnitsGetUnitsName.cc 112 $(MEX) rpUnitsGetUnitsName.cc $(MATLAB_COMP_ARGS) 113 rpUnitsGetExponent.@MEXEXT@: rpUnitsGetExponent.cc 114 $(MEX) rpUnitsGetExponent.cc $(MATLAB_COMP_ARGS) 115 rpUnitsGetBasis.@MEXEXT@: rpUnitsGetBasis.cc 116 $(MEX) rpUnitsGetBasis.cc $(MATLAB_COMP_ARGS) 117 rpUnitsFind.@MEXEXT@: rpUnitsFind.cc 118 $(MEX) rpUnitsFind.cc $(MATLAB_COMP_ARGS) 119 rpUnitsConvert.@MEXEXT@: rpUnitsConvert.cc 120 $(MEX) rpUnitsConvert.cc $(MATLAB_COMP_ARGS) 121 rpUnitsConvertStr.@MEXEXT@: rpUnitsConvertStr.cc 122 $(MEX) rpUnitsConvertStr.cc $(MATLAB_COMP_ARGS) 123 rpUnitsConvertObjStr.@MEXEXT@: rpUnitsConvertObjStr.cc 124 $(MEX) rpUnitsConvertObjStr.cc $(MATLAB_COMP_ARGS) 125 rpUnitsConvertDbl.@MEXEXT@: rpUnitsConvertDbl.cc 126 $(MEX) rpUnitsConvertDbl.cc $(MATLAB_COMP_ARGS) 127 rpUnitsConvertObjDbl.@MEXEXT@: rpUnitsConvertObjDbl.cc 128 $(MEX) rpUnitsConvertObjDbl.cc $(MATLAB_COMP_ARGS) 129 rpAddPresets.@MEXEXT@: rpAddPresets.cc 130 $(MEX) rpAddPresets.cc $(MATLAB_COMP_ARGS) 131 rpUtilsProgress.@MEXEXT@: rpUtilsProgress.cc 132 $(MEX) rpUtilsProgress.cc $(MATLAB_COMP_ARGS) 163 133 164 134 docs: 165 if test ! -d docs; then \135 @if test ! -d docs; then \ 166 136 mkdir docs; \ 167 137 fi 168 if test ! -d docs/doxygen; then \138 @if test ! -d docs/doxygen; then \ 169 139 mkdir docs/doxygen; \ 170 140 fi -
trunk/src/octave/Makefile.in
r665 r708 1 1 2 ifndef RP_INSTALL_BASE 3 RP_INSTALL_BASE = @prefix@ 4 endif 2 prefix = @prefix@ 3 exec_prefix = @exec_prefix@ 4 bindir = @bindir@ 5 libdir = @libdir@ 6 includedir = @includedir@ 7 mandir = @mandir@ 5 8 6 # tell make where to find the expat & libscew headers 7 INCL_RP_DEPS = -I$(RP_INSTALL_BASE)/include 9 INSTALL = @INSTALL@ 10 INSTALL_PROGRAM = ${INSTALL} -m 755 11 INSTALL_DATA = ${INSTALL} -m 644 12 INSTALL_SCRIPT = ${INSTALL} 8 13 9 LIB_SCEW_FLAG = -L$(RP_INSTALL_BASE)/lib -lscew 14 # tell make where to find the expat headers 15 INCL_RP_DEPS = -I$(includedir) 10 16 11 17 # define the top of the rappture directory structure … … 25 31 INCL_OCTAVE = -I$(INCLUDES_DIR)/octave 26 32 27 all: RpOctave install_octave 28 install: install_octave 33 OBJS=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 35 all: $(OBJS) 29 36 30 37 #### Octave ######################################################## 31 install _octave: RpOctave32 if test ! -d $(RP_INSTALL_BASE)/lib/octave; then \33 mkdir $( RP_INSTALL_BASE)/lib/octave; \38 install: $(OBJS) 39 @if test ! -d $(libdir)/octave; then \ 40 mkdir $(libdir)/octave; \ 34 41 fi 35 cp *.oct* $(RP_INSTALL_BASE)/lib/octave42 $(INSTALL_DATA) *.oct* $(libdir)/octave 36 43 #################################################################### 37 44 38 45 OCT_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 46 OCTAVE_COMP_ARGS = $(OCT_INCLS) $(LIB_RAPPTURE) 73 47 74 rpAddPresets.oct: 75 $(OCT) rpAddPresets.cc 76 rpUtilsProgress.oct: 77 $(OCT) rpUtilsProgress.cc 78 rpLib.oct: 79 $(OCT) rpLib.cc 80 rpLibChildrenByType.oct: 81 $(OCT) rpLibChildrenByType.cc 82 rpLibChildren.oct: 83 $(OCT) rpLibChildren.cc 84 rpLibElementAsComp.oct: 85 $(OCT) rpLibElementAsComp.cc 86 rpLibElementAsId.oct: 87 $(OCT) rpLibElementAsId.cc 88 rpLibElementAsObject.oct: 89 $(OCT) rpLibElementAsObject.cc 90 rpLibElementAsType.oct: 91 $(OCT) rpLibElementAsType.cc 92 rpLibElement.oct: 93 $(OCT) rpLibElement.cc 94 rpLibGet.oct: 95 $(OCT) rpLibGet.cc 96 rpLibGetString.oct: 97 $(OCT) rpLibGetString.cc 98 rpLibGetDouble.oct: 99 $(OCT) rpLibGetDouble.cc 100 rpLibNodeComp.oct: 101 $(OCT) rpLibNodeComp.cc 102 rpLibNodeId.oct: 103 $(OCT) rpLibNodeId.cc 104 rpLibNodeType.oct: 105 $(OCT) rpLibNodeType.cc 106 rpLibPut.oct: 107 $(OCT) rpLibPut.cc 108 rpLibPutDouble.oct: 109 $(OCT) rpLibPutDouble.cc 110 rpLibPutS ingle.oct:111 $(OCT) rpLibPutString.cc 112 rpLibPutFile.oct: 113 $(OCT) rpLibPutFile.cc 114 rpLibResult.oct: 115 $(OCT) rpLibResult.cc 116 rpLibXml.oct: 117 $(OCT) rpLibXml.cc 118 rpUnitsConvert.oct: 119 $(OCT) rpUnitsConvert.cc 120 rpUnitsConvertDbl.oct: 121 $(OCT) rpUnitsConvertDbl.cc 122 rpUnitsConvertStr.oct: 123 $(OCT) rpUnitsConvertStr.cc 124 rpUnitsConvertObjDbl.oct: 125 $(OCT) rpUnitsConvertObjDbl.cc 126 rpUnitsConvertObjStr.oct: 127 $(OCT) rpUnitsConvertObjStr.cc 128 rpUnitsDefineUnit.oct: 129 $(OCT) rpUnitsDefineUnit.cc 130 rpUnitsFind.oct: 131 $(OCT) rpUnitsFind.cc 132 rpUnitsGetBasis.oct: 133 $(OCT) rpUnitsGetBasis.cc 134 rpUnitsGetExponent.oct: 135 $(OCT) rpUnitsGetExponent.cc 136 rpUnitsGetUnits.oct: 137 $(OCT) rpUnitsGetUnits.cc 138 rpUnitsGetUnitsName.oct: 139 $(OCT) rpUnitsGetUnitsName.cc 48 rpAddPresets.oct: rpAddPresets.cc 49 $(OCT) rpAddPresets.cc $(OCTAVE_COMP_ARGS) 50 rpUtilsProgress.oct: rpUtilsProgress.cc 51 $(OCT) rpUtilsProgress.cc $(OCTAVE_COMP_ARGS) 52 rpLib.oct: rpLib.cc 53 $(OCT) rpLib.cc $(OCTAVE_COMP_ARGS) 54 rpLibChildrenByType.oct: rpLibChildrenByType.cc 55 $(OCT) rpLibChildrenByType.cc $(OCTAVE_COMP_ARGS) 56 rpLibChildren.oct: rpLibChildren.cc 57 $(OCT) rpLibChildren.cc $(OCTAVE_COMP_ARGS) 58 rpLibElementAsComp.oct: rpLibElementAsComp.cc 59 $(OCT) rpLibElementAsComp.cc $(OCTAVE_COMP_ARGS) 60 rpLibElementAsId.oct: rpLibElementAsId.cc 61 $(OCT) rpLibElementAsId.cc $(OCTAVE_COMP_ARGS) 62 rpLibElementAsObject.oct: rpLibElementAsObject.cc 63 $(OCT) rpLibElementAsObject.cc $(OCTAVE_COMP_ARGS) 64 rpLibElementAsType.oct: rpLibElementAsType.cc 65 $(OCT) rpLibElementAsType.cc $(OCTAVE_COMP_ARGS) 66 rpLibElement.oct: rpLibElement.cc 67 $(OCT) rpLibElement.cc $(OCTAVE_COMP_ARGS) 68 rpLibGet.oct: rpLibGet.cc 69 $(OCT) rpLibGet.cc $(OCTAVE_COMP_ARGS) 70 rpLibGetString.oct: rpLibGetString.cc 71 $(OCT) rpLibGetString.cc $(OCTAVE_COMP_ARGS) 72 rpLibGetDouble.oct: rpLibGetDouble.cc 73 $(OCT) rpLibGetDouble.cc $(OCTAVE_COMP_ARGS) 74 rpLibNodeComp.oct: rpLibNodeComp.cc 75 $(OCT) rpLibNodeComp.cc $(OCTAVE_COMP_ARGS) 76 rpLibNodeId.oct: rpLibNodeId.cc 77 $(OCT) rpLibNodeId.cc $(OCTAVE_COMP_ARGS) 78 rpLibNodeType.oct: rpLibNodeType.cc 79 $(OCT) rpLibNodeType.cc $(OCTAVE_COMP_ARGS) 80 rpLibPut.oct: rpLibPut.cc 81 $(OCT) rpLibPut.cc $(OCTAVE_COMP_ARGS) 82 rpLibPutDouble.oct: rpLibPutDouble.cc 83 $(OCT) rpLibPutDouble.cc $(OCTAVE_COMP_ARGS) 84 rpLibPutString.oct: rpLibPutString.cc 85 $(OCT) rpLibPutString.cc $(OCTAVE_COMP_ARGS) 86 rpLibPutFile.oct: rpLibPutFile.cc 87 $(OCT) rpLibPutFile.cc $(OCTAVE_COMP_ARGS) 88 rpLibResult.oct: rpLibResult.cc 89 $(OCT) rpLibResult.cc $(OCTAVE_COMP_ARGS) 90 rpLibXml.oct: rpLibXml.cc 91 $(OCT) rpLibXml.cc $(OCTAVE_COMP_ARGS) 92 rpUnitsConvert.oct: rpUnitsConvert.cc 93 $(OCT) rpUnitsConvert.cc $(OCTAVE_COMP_ARGS) 94 rpUnitsConvertDbl.oct: rpUnitsConvertDbl.cc 95 $(OCT) rpUnitsConvertDbl.cc $(OCTAVE_COMP_ARGS) 96 rpUnitsConvertStr.oct: rpUnitsConvertStr.cc 97 $(OCT) rpUnitsConvertStr.cc $(OCTAVE_COMP_ARGS) 98 rpUnitsConvertObjDbl.oct: rpUnitsConvertObjDbl.cc 99 $(OCT) rpUnitsConvertObjDbl.cc $(OCTAVE_COMP_ARGS) 100 rpUnitsConvertObjStr.oct: rpUnitsConvertObjStr.cc 101 $(OCT) rpUnitsConvertObjStr.cc $(OCTAVE_COMP_ARGS) 102 rpUnitsDefineUnit.oct: rpUnitsDefineUnit.cc 103 $(OCT) rpUnitsDefineUnit.cc $(OCTAVE_COMP_ARGS) 104 rpUnitsFind.oct: rpUnitsFind.cc 105 $(OCT) rpUnitsFind.cc $(OCTAVE_COMP_ARGS) 106 rpUnitsGetBasis.oct: rpUnitsGetBasis.cc 107 $(OCT) rpUnitsGetBasis.cc $(OCTAVE_COMP_ARGS) 108 rpUnitsGetExponent.oct: rpUnitsGetExponent.cc 109 $(OCT) rpUnitsGetExponent.cc $(OCTAVE_COMP_ARGS) 110 rpUnitsGetUnits.oct: rpUnitsGetUnits.cc 111 $(OCT) rpUnitsGetUnits.cc $(OCTAVE_COMP_ARGS) 112 rpUnitsGetUnitsName.oct: rpUnitsGetUnitsName.cc 113 $(OCT) rpUnitsGetUnitsName.cc $(OCTAVE_COMP_ARGS) 140 114 141 115 docs: 142 if test ! -d docs; then \116 @if test ! -d docs; then \ 143 117 mkdir docs; \ 144 118 fi 145 if test ! -d docs/doxygen; then \119 @if test ! -d docs/doxygen; then \ 146 120 mkdir docs/doxygen; \ 147 121 fi -
trunk/src/tcl/Makefile.in
r528 r708 400 400 fi; \ 401 401 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 403 404 $(INSTALL_DATA) init.tcl $(DESTDIR)$(pkglibdir)/init.tcl 404 405 @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \ -
trunk/src/tcl/configure
r672 r708 6552 6552 6553 6553 6554 # uncomment this and mkindex.tcl line in makefile when you are ready to 6555 # install tcl rappture library bindings 6554 6556 #TEA_ADD_TCL_SOURCES([scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl]) 6555 6557 … … 6627 6629 6628 6630 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" 6631 6646 for i in $vars; do 6632 6647 if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then -
trunk/src/tcl/configure.in
r671 r708 90 90 TEA_ADD_CFLAGS([]) 91 91 TEA_ADD_STUB_SOURCES([]) 92 # uncomment this and mkindex.tcl line in makefile when you are ready to 93 # install tcl rappture library bindings 92 94 #TEA_ADD_TCL_SOURCES([scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl]) 93 95 TEA_ADD_TCL_SOURCES([]) … … 119 121 #TEA_ADD_SOURCES([unix/unixFile.c]) 120 122 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]) 122 127 fi 123 128 AC_SUBST(CLEANFILES) -
trunk/src2/core/Makefile.in
r657 r708 73 73 74 74 $(SHAREDLIBV): $(OBJS) 75 $(LDSHARED) -shared -Wl,-rpath,${libdir} -o $@ $(OBJS) -L ${libdir}-lz -lb6475 $(LDSHARED) -shared -Wl,-rpath,${libdir} -o $@ $(OBJS) @LIB_SEARCH_DIRS@ -lz -lb64 76 76 rm -f $(SHAREDLIB) $(SHAREDLIBM) 77 77 ln -s $@ $(SHAREDLIB) … … 83 83 84 84 RpBuffer_test$(EXE): RpBuffer_test.o $(LIBS) 85 $(CXX) $(CFLAGS) -o $@ RpBuffer_test.o $(LDFLAGS) -L ${libdir}-lz -lb6485 $(CXX) $(CFLAGS) -o $@ RpBuffer_test.o $(LDFLAGS) @LIB_SEARCH_DIRS@ -lz -lb64 86 86 87 87 install: $(LIBS) $(SHAREDLIBV)
Note: See TracChangeset
for help on using the changeset viewer.