/[ascend]/trunk/configure
ViewVC logotype

Diff of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by aw0a, Fri Oct 29 20:54:12 2004 UTC revision 7 by ben.allan, Thu Nov 11 20:32:47 2004 UTC
# Line 35  ac_help="$ac_help Line 35  ac_help="$ac_help
35    --with-tk=LIBRARY,HEADER    --with-tk=LIBRARY,HEADER
36                            The location of the Tk8.0 library and/or header                            The location of the Tk8.0 library and/or header
37                            For a static Tk8.0 library, give the full path:                            For a static Tk8.0 library, give the full path:
38                                --with-tk='/usr/local/lib/libtk8.0.a'                                --with-tk='/usr/local/lib/libtk8.3.a'
39                            For a dynamic library, give any -L options required:                            For a dynamic library, give any -L options required:
40                                --with-tk='-L/usr/local/lib -ltk8.0'                                --with-tk='-L/usr/local/lib -ltk8.3'
41                            To specify only the header, leave off the library:                            To specify only the header, leave off the library:
42                                --with-tk=',/usr/local/include/tk.h' "                                --with-tk=',/usr/local/include/tk.h' "
43  ac_help="$ac_help  ac_help="$ac_help
# Line 588  fi Line 588  fi
588  #   to also appear in configure and autoconf, when creating  #   to also appear in configure and autoconf, when creating
589  #   configure, strips all comments that appear in configure.in  #   configure, strips all comments that appear in configure.in
590  #   before AC_INIT  #   before AC_INIT
591  #    $Revision: 1.37 $  #    $Revision: 1.38 $
592  #    $Date: 2003/11/23 19:36:39 $  #    $Date: 2003/11/23 19:36:39 $
593  #    $Author: ballan $  #    $Author: ballan $
594  #    $Source: /afs/cs.cmu.edu/project/ascend/Repository/configure,v $  #    $Source: /afs/cs.cmu.edu/project/ascend/Repository/configure.in,v $
595  #--------------------------------------------------------------------  #--------------------------------------------------------------------
596    
597    
# Line 3242  esac Line 3242  esac
3242  #  try to find a static version of the Tcl8.0 library  #  try to find a static version of the Tcl8.0 library
3243  #  #
3244  if test "X$with_tcllib" = X_searching ; then  if test "X$with_tcllib" = X_searching ; then
3245      for ac_prog in libtcl8.0.a libtcl80.a      for ac_prog in libtcl8.0.a libtcl80.a libtcl8.3.a
3246  do  do
3247  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3248  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 3291  fi Line 3291  fi
3291    
3292  #  verify the TCL_LIB  #  verify the TCL_LIB
3293  if test ! "X$TCL_LIB" = X_searching ; then  if test ! "X$TCL_LIB" = X_searching ; then
3294      echo $ac_n "checking whether $TCL_LIB is for Tcl8.0""... $ac_c" 1>&6      echo $ac_n "checking whether $TCL_LIB is for Tcl8.3""... $ac_c" 1>&6
3295  echo "configure:3296: checking whether $TCL_LIB is for Tcl8.0" >&5  echo "configure:3296: checking whether $TCL_LIB is for Tcl8.3" >&5
3296      asc_libs_orig=$LIBS      asc_libs_orig=$LIBS
3297      LIBS="$TCL_LIB $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"      LIBS="$TCL_LIB $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3298      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
# Line 3323  fi Line 3323  fi
3323  #  see if the default LPATH can find the Tcl8.0 library  #  see if the default LPATH can find the Tcl8.0 library
3324  #  #
3325  if test "X$TCL_LIB" = X_searching ; then  if test "X$TCL_LIB" = X_searching ; then
3326        echo $ac_n "checking for TclCompileCatchCmd in -ltcl83""... $ac_c" 1>&6
3327    echo "configure:3328: checking for TclCompileCatchCmd in -ltcl83" >&5
3328    ac_lib_var=`echo tcl83'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`
3329    if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3330      echo $ac_n "(cached) $ac_c" 1>&6
3331    else
3332      ac_save_LIBS="$LIBS"
3333    LIBS="-ltcl83 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3334    cat > conftest.$ac_ext <<EOF
3335    #line 3336 "configure"
3336    #include "confdefs.h"
3337    /* Override any gcc2 internal prototype to avoid an error.  */
3338    /* We use char because int might match the return type of a gcc2
3339        builtin and then its argument prototype would still apply.  */
3340    char TclCompileCatchCmd();
3341    
3342    int main() {
3343    TclCompileCatchCmd()
3344    ; return 0; }
3345    EOF
3346    if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3347      rm -rf conftest*
3348      eval "ac_cv_lib_$ac_lib_var=yes"
3349    else
3350      echo "configure: failed program was:" >&5
3351      cat conftest.$ac_ext >&5
3352      rm -rf conftest*
3353      eval "ac_cv_lib_$ac_lib_var=no"
3354    fi
3355    rm -f conftest*
3356    LIBS="$ac_save_LIBS"
3357    
3358    fi
3359    if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3360      echo "$ac_t""yes" 1>&6
3361      TCL_LIB="-ltcl83"
3362    else
3363      echo "$ac_t""no" 1>&6
3364    fi
3365    
3366    fi
3367    if test "X$TCL_LIB" = X_searching ; then
3368        echo $ac_n "checking for TclCompileCatchCmd in -ltcl8.3""... $ac_c" 1>&6
3369    echo "configure:3370: checking for TclCompileCatchCmd in -ltcl8.3" >&5
3370    ac_lib_var=`echo tcl8.3'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`
3371    if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3372      echo $ac_n "(cached) $ac_c" 1>&6
3373    else
3374      ac_save_LIBS="$LIBS"
3375    LIBS="-ltcl8.3 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3376    cat > conftest.$ac_ext <<EOF
3377    #line 3378 "configure"
3378    #include "confdefs.h"
3379    /* Override any gcc2 internal prototype to avoid an error.  */
3380    /* We use char because int might match the return type of a gcc2
3381        builtin and then its argument prototype would still apply.  */
3382    char TclCompileCatchCmd();
3383    
3384    int main() {
3385    TclCompileCatchCmd()
3386    ; return 0; }
3387    EOF
3388    if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3389      rm -rf conftest*
3390      eval "ac_cv_lib_$ac_lib_var=yes"
3391    else
3392      echo "configure: failed program was:" >&5
3393      cat conftest.$ac_ext >&5
3394      rm -rf conftest*
3395      eval "ac_cv_lib_$ac_lib_var=no"
3396    fi
3397    rm -f conftest*
3398    LIBS="$ac_save_LIBS"
3399    
3400    fi
3401    if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3402      echo "$ac_t""yes" 1>&6
3403      TCL_LIB="-ltcl8.3"
3404    else
3405      echo "$ac_t""no" 1>&6
3406    fi
3407    
3408    fi
3409    if test "X$TCL_LIB" = X_searching ; then
3410      echo $ac_n "checking for TclCompileCatchCmd in -ltcl8.0""... $ac_c" 1>&6      echo $ac_n "checking for TclCompileCatchCmd in -ltcl8.0""... $ac_c" 1>&6
3411  echo "configure:3328: checking for TclCompileCatchCmd in -ltcl8.0" >&5  echo "configure:3412: checking for TclCompileCatchCmd in -ltcl8.0" >&5
3412  ac_lib_var=`echo tcl8.0'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`  ac_lib_var=`echo tcl8.0'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`
3413  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3414    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3332  else Line 3416  else
3416    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3417  LIBS="-ltcl8.0 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl8.0 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3418  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3419  #line 3336 "configure"  #line 3420 "configure"
3420  #include "confdefs.h"  #include "confdefs.h"
3421  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3422  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 3343  int main() { Line 3427  int main() {
3427  TclCompileCatchCmd()  TclCompileCatchCmd()
3428  ; return 0; }  ; return 0; }
3429  EOF  EOF
3430  if { (eval echo configure:3347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3431    rm -rf conftest*    rm -rf conftest*
3432    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3433  else  else
# Line 3366  fi Line 3450  fi
3450  fi  fi
3451  if test "X$TCL_LIB" = X_searching ; then  if test "X$TCL_LIB" = X_searching ; then
3452      echo $ac_n "checking for TclCompileCatchCmd in -ltcl80""... $ac_c" 1>&6      echo $ac_n "checking for TclCompileCatchCmd in -ltcl80""... $ac_c" 1>&6
3453  echo "configure:3370: checking for TclCompileCatchCmd in -ltcl80" >&5  echo "configure:3454: checking for TclCompileCatchCmd in -ltcl80" >&5
3454  ac_lib_var=`echo tcl80'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`  ac_lib_var=`echo tcl80'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`
3455  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3456    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3374  else Line 3458  else
3458    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3459  LIBS="-ltcl80 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl80 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3460  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3461  #line 3378 "configure"  #line 3462 "configure"
3462  #include "confdefs.h"  #include "confdefs.h"
3463  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3464  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 3385  int main() { Line 3469  int main() {
3469  TclCompileCatchCmd()  TclCompileCatchCmd()
3470  ; return 0; }  ; return 0; }
3471  EOF  EOF
3472  if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3473    rm -rf conftest*    rm -rf conftest*
3474    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3475  else  else
# Line 3408  fi Line 3492  fi
3492  fi  fi
3493  if test "X$TCL_LIB" = X_searching ; then  if test "X$TCL_LIB" = X_searching ; then
3494      echo $ac_n "checking for TclCompileCatchCmd in -ltcl""... $ac_c" 1>&6      echo $ac_n "checking for TclCompileCatchCmd in -ltcl""... $ac_c" 1>&6
3495  echo "configure:3412: checking for TclCompileCatchCmd in -ltcl" >&5  echo "configure:3496: checking for TclCompileCatchCmd in -ltcl" >&5
3496  ac_lib_var=`echo tcl'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`  ac_lib_var=`echo tcl'_'TclCompileCatchCmd | sed 'y%./+-%__p_%'`
3497  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3498    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3416  else Line 3500  else
3500    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3501  LIBS="-ltcl $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3502  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3503  #line 3420 "configure"  #line 3504 "configure"
3504  #include "confdefs.h"  #include "confdefs.h"
3505  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3506  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 3427  int main() { Line 3511  int main() {
3511  TclCompileCatchCmd()  TclCompileCatchCmd()
3512  ; return 0; }  ; return 0; }
3513  EOF  EOF
3514  if { (eval echo configure:3431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3515    rm -rf conftest*    rm -rf conftest*
3516    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3517  else  else
# Line 3453  fi Line 3537  fi
3537  #  #
3538  if test "X$TCL_LIB" = X_searching ; then  if test "X$TCL_LIB" = X_searching ; then
3539      { echo "configure: error: Cannot find a compatiable Tcl library.      { echo "configure: error: Cannot find a compatiable Tcl library.
3540      You must build and install Tcl version 8.0 or newer before you      You must build and install Tcl version 8.3  before you
3541      can build ASCEND.  If you have installed the correct version      can build ASCEND.  If you have installed the correct version
3542      of Tcl, run configure again with the argument:      of Tcl, run configure again with the argument:
3543          --with-tcl=LIBRARY,HEADER          --with-tcl=LIBRARY,HEADER
3544      where LIBRARY and HEADER are the full paths to the Tcl8.0      where LIBRARY and HEADER are the full paths to the Tcl8.3
3545      library file and header file, respectively." 1>&2; exit 1; }      library file and header file, respectively." 1>&2; exit 1; }
3546  fi  fi
3547    
# Line 3474  if test "X$with_tclhdr" = X_searching ; Line 3558  if test "X$with_tclhdr" = X_searching ;
3558      # Extract the first word of "tcl.h", so it can be a program name with args.      # Extract the first word of "tcl.h", so it can be a program name with args.
3559  set dummy tcl.h; ac_word=$2  set dummy tcl.h; ac_word=$2
3560  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3561  echo "configure:3478: checking for $ac_word" >&5  echo "configure:3562: checking for $ac_word" >&5
3562  if eval "test \"`echo '$''{'ac_cv_path_TCL_HDR'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_TCL_HDR'+set}'`\" = set"; then
3563    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3564  else  else
# Line 3508  fi Line 3592  fi
3592    
3593      if test -z "$TCL_HDR" ; then      if test -z "$TCL_HDR" ; then
3594          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
3595  #line 3512 "configure"  #line 3596 "configure"
3596  #include "confdefs.h"  #include "confdefs.h"
3597  #include <tcl.h>  #include <tcl.h>
3598  EOF  EOF
# Line 3525  else Line 3609  else
3609  fi  fi
3610  if test -f "$TCL_HDR" ; then  if test -f "$TCL_HDR" ; then
3611      echo $ac_n "checking whether $TCL_HDR is for version 8""... $ac_c" 1>&6      echo $ac_n "checking whether $TCL_HDR is for version 8""... $ac_c" 1>&6
3612  echo "configure:3529: checking whether $TCL_HDR is for version 8" >&5  echo "configure:3613: checking whether $TCL_HDR is for version 8" >&5
3613      echo 'grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5' 1>&5      echo 'grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5' 1>&5
3614      grep_tcl_h=`grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5`      grep_tcl_h=`grep TCL_MAJOR_VERSION "$TCL_HDR" 2>&5`
3615      echo $grep_tcl_h 1>&5      echo $grep_tcl_h 1>&5
# Line 3541  echo "configure:3529: checking whether $ Line 3625  echo "configure:3529: checking whether $
3625  fi  fi
3626  if test -z "$TCL_HDR" ; then  if test -z "$TCL_HDR" ; then
3627      { echo "configure: error: Cannot find a compatiable Tcl header file.      { echo "configure: error: Cannot find a compatiable Tcl header file.
3628      You must build and install Tcl version 8.0 or newer before you      You must build and install Tcl version 8.3 (but not yet 8.4) before you
3629      can build ASCEND.  If you have installed the correct version      can build ASCEND.  If you have installed the correct version
3630      of Tcl, run configure again with the argument:      of Tcl, run configure again with the argument:
3631          --with-tcl=LIBRARY,HEADER          --with-tcl=LIBRARY,HEADER
3632      where LIBRARY and HEADER are the full paths to the Tcl8.0      where LIBRARY and HEADER are the full paths to the Tcl8.3
3633      library file and header file, respectively." 1>&2; exit 1; }      library file and header file, respectively." 1>&2; exit 1; }
3634  fi  fi
3635  TCL_HDR=`echo $TCL_HDR | sed 's,tcl\.h$,,'`  TCL_HDR=`echo $TCL_HDR | sed 's,tcl\.h$,,'`
# Line 3556  fi Line 3640  fi
3640    
3641  ######  REPEAT FOR TK  ######  REPEAT FOR TK
3642  #  #
3643  #  see if the user gave us the location of the Tk8.0  #  see if the user gave us the location of the Tk8.3
3644  #  library and/or header file  #  library and/or header file
3645  #  #
3646  # Check whether --with-tk or --without-tk was given.  # Check whether --with-tk or --without-tk was given.
# Line 3603  esac Line 3687  esac
3687  #  try to find a static version of the Tk8.0 library  #  try to find a static version of the Tk8.0 library
3688  #  #
3689  if test "X$with_tklib" = X_searching ; then  if test "X$with_tklib" = X_searching ; then
3690      for ac_prog in libtk8.0.a libtk80.a libtk.a      for ac_prog in libtk8.0.a libtk80.a libtk.a libtk8.3.a
3691  do  do
3692  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
3693  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
3694  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3695  echo "configure:3612: checking for $ac_word" >&5  echo "configure:3696: checking for $ac_word" >&5
3696  if eval "test \"`echo '$''{'ac_cv_path_TK_LIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_TK_LIB'+set}'`\" = set"; then
3697    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3698  else  else
# Line 3654  fi Line 3738  fi
3738  #  #
3739  if test ! "X$TK_LIB" = X_searching ; then  if test ! "X$TK_LIB" = X_searching ; then
3740      echo $ac_n "checking whether $TK_LIB is for Tk8.0""... $ac_c" 1>&6      echo $ac_n "checking whether $TK_LIB is for Tk8.0""... $ac_c" 1>&6
3741  echo "configure:3658: checking whether $TK_LIB is for Tk8.0" >&5  echo "configure:3742: checking whether $TK_LIB is for Tk8.0" >&5
3742      asc_libs_orig=$LIBS      asc_libs_orig=$LIBS
3743      LIBS="$TK_LIB $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"      LIBS="$TK_LIB $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3744      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
3745  #line 3662 "configure"  #line 3746 "configure"
3746  #include "confdefs.h"  #include "confdefs.h"
3747    
3748  int main() {  int main() {
3749  Tk_NameOfFont()  Tk_NameOfFont()
3750  ; return 0; }  ; return 0; }
3751  EOF  EOF
3752  if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3753    :    :
3754  else  else
3755    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 3687  fi Line 3771  fi
3771  if test "X$TK_LIB" = X_searching ; then  if test "X$TK_LIB" = X_searching ; then
3772      echo "$ac_t""checking for a dynamically loaded Tk8.0 library" 1>&6      echo "$ac_t""checking for a dynamically loaded Tk8.0 library" 1>&6
3773      echo $ac_n "checking for Tk_NameOfFont in -ltk8.0""... $ac_c" 1>&6      echo $ac_n "checking for Tk_NameOfFont in -ltk8.0""... $ac_c" 1>&6
3774  echo "configure:3691: checking for Tk_NameOfFont in -ltk8.0" >&5  echo "configure:3775: checking for Tk_NameOfFont in -ltk8.0" >&5
3775  ac_lib_var=`echo tk8.0'_'Tk_NameOfFont | sed 'y%./+-%__p_%'`  ac_lib_var=`echo tk8.0'_'Tk_NameOfFont | sed 'y%./+-%__p_%'`
3776  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3777    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3695  else Line 3779  else
3779    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3780  LIBS="-ltk8.0 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltk8.0 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3781  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3782  #line 3699 "configure"  #line 3783 "configure"
3783  #include "confdefs.h"  #include "confdefs.h"
3784  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3785  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 3706  int main() { Line 3790  int main() {
3790  Tk_NameOfFont()  Tk_NameOfFont()
3791  ; return 0; }  ; return 0; }
3792  EOF  EOF
3793  if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3794    rm -rf conftest*    rm -rf conftest*
3795    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3796  else  else
# Line 3729  fi Line 3813  fi
3813  fi  fi
3814  if test "X$TK_LIB" = X_searching ; then  if test "X$TK_LIB" = X_searching ; then
3815      echo $ac_n "checking for Tk_NameOfFont in -ltk80""... $ac_c" 1>&6      echo $ac_n "checking for Tk_NameOfFont in -ltk80""... $ac_c" 1>&6
3816  echo "configure:3733: checking for Tk_NameOfFont in -ltk80" >&5  echo "configure:3817: checking for Tk_NameOfFont in -ltk80" >&5
3817  ac_lib_var=`echo tk80'_'Tk_NameOfFont | sed 'y%./+-%__p_%'`  ac_lib_var=`echo tk80'_'Tk_NameOfFont | sed 'y%./+-%__p_%'`
3818  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3819    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3737  else Line 3821  else
3821    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3822  LIBS="-ltk80 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltk80 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3823  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3824  #line 3741 "configure"  #line 3825 "configure"
3825  #include "confdefs.h"  #include "confdefs.h"
3826  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3827  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 3748  int main() { Line 3832  int main() {
3832  Tk_NameOfFont()  Tk_NameOfFont()
3833  ; return 0; }  ; return 0; }
3834  EOF  EOF
3835  if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3836    rm -rf conftest*    rm -rf conftest*
3837    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3838  else  else
# Line 3771  fi Line 3855  fi
3855  fi  fi
3856  if test "X$TK_LIB" = X_searching ; then  if test "X$TK_LIB" = X_searching ; then
3857      echo $ac_n "checking for Tk_NameOfFont in -ltk""... $ac_c" 1>&6      echo $ac_n "checking for Tk_NameOfFont in -ltk""... $ac_c" 1>&6
3858  echo "configure:3775: checking for Tk_NameOfFont in -ltk" >&5  echo "configure:3859: checking for Tk_NameOfFont in -ltk" >&5
3859  ac_lib_var=`echo tk'_'Tk_NameOfFont | sed 'y%./+-%__p_%'`  ac_lib_var=`echo tk'_'Tk_NameOfFont | sed 'y%./+-%__p_%'`
3860  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3861    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3779  else Line 3863  else
3863    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3864  LIBS="-ltk $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltk $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
3865  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3866  #line 3783 "configure"  #line 3867 "configure"
3867  #include "confdefs.h"  #include "confdefs.h"
3868  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3869  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 3790  int main() { Line 3874  int main() {
3874  Tk_NameOfFont()  Tk_NameOfFont()
3875  ; return 0; }  ; return 0; }
3876  EOF  EOF
3877  if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3878    rm -rf conftest*    rm -rf conftest*
3879    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3880  else  else
# Line 3837  if test "X$with_tkhdr" = X_searching ; t Line 3921  if test "X$with_tkhdr" = X_searching ; t
3921      # Extract the first word of "tk.h", so it can be a program name with args.      # Extract the first word of "tk.h", so it can be a program name with args.
3922  set dummy tk.h; ac_word=$2  set dummy tk.h; ac_word=$2
3923  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3924  echo "configure:3841: checking for $ac_word" >&5  echo "configure:3925: checking for $ac_word" >&5
3925  if eval "test \"`echo '$''{'ac_cv_path_TK_HDR'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_TK_HDR'+set}'`\" = set"; then
3926    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3927  else  else
# Line 3871  fi Line 3955  fi
3955    
3956      if test -z "$TK_HDR" ; then      if test -z "$TK_HDR" ; then
3957          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
3958  #line 3875 "configure"  #line 3959 "configure"
3959  #include "confdefs.h"  #include "confdefs.h"
3960  #include <tk.h>  #include <tk.h>
3961  EOF  EOF
# Line 3888  else Line 3972  else
3972  fi  fi
3973  if test -f "$TK_HDR" ; then  if test -f "$TK_HDR" ; then
3974      echo $ac_n "checking whether $TK_HDR is for version 8""... $ac_c" 1>&6      echo $ac_n "checking whether $TK_HDR is for version 8""... $ac_c" 1>&6
3975  echo "configure:3892: checking whether $TK_HDR is for version 8" >&5  echo "configure:3976: checking whether $TK_HDR is for version 8" >&5
3976      echo 'grep TK_MAJOR_VERSION "$TK_HDR" 2>&5' 1>&5      echo 'grep TK_MAJOR_VERSION "$TK_HDR" 2>&5' 1>&5
3977      grep_tk_h=`grep TK_MAJOR_VERSION "$TK_HDR" 2>&5`      grep_tk_h=`grep TK_MAJOR_VERSION "$TK_HDR" 2>&5`
3978      echo $grep_tk_h 1>&5      echo $grep_tk_h 1>&5
# Line 3932  case "$with_tktable" in Line 4016  case "$with_tktable" in
4016          # Extract the first word of "libTktable.a", so it can be a program name with args.          # Extract the first word of "libTktable.a", so it can be a program name with args.
4017  set dummy libTktable.a; ac_word=$2  set dummy libTktable.a; ac_word=$2
4018  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4019  echo "configure:3936: checking for $ac_word" >&5  echo "configure:4020: checking for $ac_word" >&5
4020  if eval "test \"`echo '$''{'ac_cv_path_TKTABLE_LIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_TKTABLE_LIB'+set}'`\" = set"; then
4021    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4022  else  else
# Line 3991  case "$with_wish" in Line 4075  case "$with_wish" in
4075          ;;          ;;
4076      *)      *)
4077          echo $ac_n "checking wish for tcl_library,tklibrary""... $ac_c" 1>&6          echo $ac_n "checking wish for tcl_library,tklibrary""... $ac_c" 1>&6
4078  echo "configure:3995: checking wish for tcl_library,tklibrary" >&5  echo "configure:4079: checking wish for tcl_library,tklibrary" >&5
4079          ASC_TK_LIBRARY=`config/wishvar tk_library $with_wish`          ASC_TK_LIBRARY=`config/wishvar tk_library $with_wish`
4080          ASC_TCL_LIBRARY=`config/wishvar tcl_library $with_wish`          ASC_TCL_LIBRARY=`config/wishvar tcl_library $with_wish`
4081      echo "$ac_t"" $ASC_TCL_LIBRARY , $ASC_TK_LIBRARY" 1>&6      echo "$ac_t"" $ASC_TCL_LIBRARY , $ASC_TK_LIBRARY" 1>&6
# Line 4153  do Line 4237  do
4237  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
4238  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
4239  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4240  echo "configure:4157: checking for $ac_word" >&5  echo "configure:4241: checking for $ac_word" >&5
4241  if eval "test \"`echo '$''{'ac_cv_path_F77'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_F77'+set}'`\" = set"; then
4242    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4243  else  else
# Line 4207  if test "X$with_f77libs" = X_searching ; Line 4291  if test "X$with_f77libs" = X_searching ;
4291      case "$host" in      case "$host" in
4292          alpha-dec-osf*)          alpha-dec-osf*)
4293              echo $ac_n "checking for for_lle in -lfor""... $ac_c" 1>&6              echo $ac_n "checking for for_lle in -lfor""... $ac_c" 1>&6
4294  echo "configure:4211: checking for for_lle in -lfor" >&5  echo "configure:4295: checking for for_lle in -lfor" >&5
4295  ac_lib_var=`echo for'_'for_lle | sed 'y%./+-%__p_%'`  ac_lib_var=`echo for'_'for_lle | sed 'y%./+-%__p_%'`
4296  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4297    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4215  else Line 4299  else
4299    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4300  LIBS="-lfor $F77LIBS $LIBS"  LIBS="-lfor $F77LIBS $LIBS"
4301  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4302  #line 4219 "configure"  #line 4303 "configure"
4303  #include "confdefs.h"  #include "confdefs.h"
4304  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4305  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4226  int main() { Line 4310  int main() {
4310  for_lle()  for_lle()
4311  ; return 0; }  ; return 0; }
4312  EOF  EOF
4313  if { (eval echo configure:4230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4314    rm -rf conftest*    rm -rf conftest*
4315    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4316  else  else
# Line 4247  else Line 4331  else
4331  fi  fi
4332    
4333              echo $ac_n "checking for _OtsFill in -lots""... $ac_c" 1>&6              echo $ac_n "checking for _OtsFill in -lots""... $ac_c" 1>&6
4334  echo "configure:4251: checking for _OtsFill in -lots" >&5  echo "configure:4335: checking for _OtsFill in -lots" >&5
4335  ac_lib_var=`echo ots'_'_OtsFill | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ots'_'_OtsFill | sed 'y%./+-%__p_%'`
4336  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4337    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4255  else Line 4339  else
4339    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4340  LIBS="-lots $F77LIBS $LIBS"  LIBS="-lots $F77LIBS $LIBS"
4341  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4342  #line 4259 "configure"  #line 4343 "configure"
4343  #include "confdefs.h"  #include "confdefs.h"
4344  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4345  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4266  int main() { Line 4350  int main() {
4350  _OtsFill()  _OtsFill()
4351  ; return 0; }  ; return 0; }
4352  EOF  EOF
4353  if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4354    rm -rf conftest*    rm -rf conftest*
4355    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4356  else  else
# Line 4287  else Line 4371  else
4371  fi  fi
4372    
4373              echo $ac_n "checking for etime_ in -lUfor""... $ac_c" 1>&6              echo $ac_n "checking for etime_ in -lUfor""... $ac_c" 1>&6
4374  echo "configure:4291: checking for etime_ in -lUfor" >&5  echo "configure:4375: checking for etime_ in -lUfor" >&5
4375  ac_lib_var=`echo Ufor'_'etime_ | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Ufor'_'etime_ | sed 'y%./+-%__p_%'`
4376  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4377    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4295  else Line 4379  else
4379    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4380  LIBS="-lUfor $F77LIBS $LIBS"  LIBS="-lUfor $F77LIBS $LIBS"
4381  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4382  #line 4299 "configure"  #line 4383 "configure"
4383  #include "confdefs.h"  #include "confdefs.h"
4384  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4385  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4306  int main() { Line 4390  int main() {
4390  etime_()  etime_()
4391  ; return 0; }  ; return 0; }
4392  EOF  EOF
4393  if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4394    rm -rf conftest*    rm -rf conftest*
4395    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4396  else  else
# Line 4329  fi Line 4413  fi
4413              ;;              ;;
4414          mips-dec-ultrix*)          mips-dec-ultrix*)
4415              echo $ac_n "checking for for_lle in -lfor""... $ac_c" 1>&6              echo $ac_n "checking for for_lle in -lfor""... $ac_c" 1>&6
4416  echo "configure:4333: checking for for_lle in -lfor" >&5  echo "configure:4417: checking for for_lle in -lfor" >&5
4417  ac_lib_var=`echo for'_'for_lle | sed 'y%./+-%__p_%'`  ac_lib_var=`echo for'_'for_lle | sed 'y%./+-%__p_%'`
4418  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4419    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4337  else Line 4421  else
4421    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4422  LIBS="-lfor $F77LIBS $LIBS"  LIBS="-lfor $F77LIBS $LIBS"
4423  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4424  #line 4341 "configure"  #line 4425 "configure"
4425  #include "confdefs.h"  #include "confdefs.h"
4426  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4427  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4348  int main() { Line 4432  int main() {
4432  for_lle()  for_lle()
4433  ; return 0; }  ; return 0; }
4434  EOF  EOF
4435  if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4436    rm -rf conftest*    rm -rf conftest*
4437    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4438  else  else
# Line 4371  fi Line 4455  fi
4455              ;;              ;;
4456          hppa1.1-hp-hpux*)          hppa1.1-hp-hpux*)
4457              echo $ac_n "checking for FTN_QATAN in -lcl""... $ac_c" 1>&6              echo $ac_n "checking for FTN_QATAN in -lcl""... $ac_c" 1>&6
4458  echo "configure:4375: checking for FTN_QATAN in -lcl" >&5  echo "configure:4459: checking for FTN_QATAN in -lcl" >&5
4459  ac_lib_var=`echo cl'_'FTN_QATAN | sed 'y%./+-%__p_%'`  ac_lib_var=`echo cl'_'FTN_QATAN | sed 'y%./+-%__p_%'`
4460  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4461    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4379  else Line 4463  else
4463    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4464  LIBS="-lcl $F77LIBS $LIBS"  LIBS="-lcl $F77LIBS $LIBS"
4465  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4466  #line 4383 "configure"  #line 4467 "configure"
4467  #include "confdefs.h"  #include "confdefs.h"
4468  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4469  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4390  int main() { Line 4474  int main() {
4474  FTN_QATAN()  FTN_QATAN()
4475  ; return 0; }  ; return 0; }
4476  EOF  EOF
4477  if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4478    rm -rf conftest*    rm -rf conftest*
4479    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4480  else  else
# Line 4416  fi Line 4500  fi
4500              # avoid getting the wrong getenv              # avoid getting the wrong getenv
4501              F77LIBS="-lc $F77LIBS"              F77LIBS="-lc $F77LIBS"
4502              echo $ac_n "checking for _xldabs in -lxlf""... $ac_c" 1>&6              echo $ac_n "checking for _xldabs in -lxlf""... $ac_c" 1>&6
4503  echo "configure:4420: checking for _xldabs in -lxlf" >&5  echo "configure:4504: checking for _xldabs in -lxlf" >&5
4504  ac_lib_var=`echo xlf'_'_xldabs | sed 'y%./+-%__p_%'`  ac_lib_var=`echo xlf'_'_xldabs | sed 'y%./+-%__p_%'`
4505  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4506    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4424  else Line 4508  else
4508    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4509  LIBS="-lxlf $F77LIBS $LIBS"  LIBS="-lxlf $F77LIBS $LIBS"
4510  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4511  #line 4428 "configure"  #line 4512 "configure"
4512  #include "confdefs.h"  #include "confdefs.h"
4513  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4514  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4435  int main() { Line 4519  int main() {
4519  _xldabs()  _xldabs()
4520  ; return 0; }  ; return 0; }
4521  EOF  EOF
4522  if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4523    rm -rf conftest*    rm -rf conftest*
4524    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4525  else  else
# Line 4456  else Line 4540  else
4540  fi  fi
4541    
4542              echo $ac_n "checking for srand_ in -lxlfutil""... $ac_c" 1>&6              echo $ac_n "checking for srand_ in -lxlfutil""... $ac_c" 1>&6
4543  echo "configure:4460: checking for srand_ in -lxlfutil" >&5  echo "configure:4544: checking for srand_ in -lxlfutil" >&5
4544  ac_lib_var=`echo xlfutil'_'srand_ | sed 'y%./+-%__p_%'`  ac_lib_var=`echo xlfutil'_'srand_ | sed 'y%./+-%__p_%'`
4545  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4546    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4464  else Line 4548  else
4548    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4549  LIBS="-lxlfutil $F77LIBS $LIBS"  LIBS="-lxlfutil $F77LIBS $LIBS"
4550  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4551  #line 4468 "configure"  #line 4552 "configure"
4552  #include "confdefs.h"  #include "confdefs.h"
4553  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4554  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4475  int main() { Line 4559  int main() {
4559  srand_()  srand_()
4560  ; return 0; }  ; return 0; }
4561  EOF  EOF
4562  if { (eval echo configure:4479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4563    rm -rf conftest*    rm -rf conftest*
4564    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4565  else  else
# Line 4496  else Line 4580  else
4580  fi  fi
4581    
4582              echo $ac_n "checking for printf in -lxlf90""... $ac_c" 1>&6              echo $ac_n "checking for printf in -lxlf90""... $ac_c" 1>&6
4583  echo "configure:4500: checking for printf in -lxlf90" >&5  echo "configure:4584: checking for printf in -lxlf90" >&5
4584  ac_lib_var=`echo xlf90'_'printf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo xlf90'_'printf | sed 'y%./+-%__p_%'`
4585  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4586    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4504  else Line 4588  else
4588    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4589  LIBS="-lxlf90 $F77LIBS $LIBS"  LIBS="-lxlf90 $F77LIBS $LIBS"
4590  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4591  #line 4508 "configure"  #line 4592 "configure"
4592  #include "confdefs.h"  #include "confdefs.h"
4593  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4594  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4515  int main() { Line 4599  int main() {
4599  printf()  printf()
4600  ; return 0; }  ; return 0; }
4601  EOF  EOF
4602  if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4603    rm -rf conftest*    rm -rf conftest*
4604    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4605  else  else
# Line 4538  fi Line 4622  fi
4622              ;;              ;;
4623      *-linux-*)      *-linux-*)
4624          echo $ac_n "checking for pow_dd in -lf2c""... $ac_c" 1>&6          echo $ac_n "checking for pow_dd in -lf2c""... $ac_c" 1>&6
4625  echo "configure:4542: checking for pow_dd in -lf2c" >&5  echo "configure:4626: checking for pow_dd in -lf2c" >&5
4626  ac_lib_var=`echo f2c'_'pow_dd | sed 'y%./+-%__p_%'`  ac_lib_var=`echo f2c'_'pow_dd | sed 'y%./+-%__p_%'`
4627  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4628    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4546  else Line 4630  else
4630    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4631  LIBS="-lf2c $F77LIBS $LIBS"  LIBS="-lf2c $F77LIBS $LIBS"
4632  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4633  #line 4550 "configure"  #line 4634 "configure"
4634  #include "confdefs.h"  #include "confdefs.h"
4635  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4636  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4557  int main() { Line 4641  int main() {
4641  pow_dd()  pow_dd()
4642  ; return 0; }  ; return 0; }
4643  EOF  EOF
4644  if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4645    rm -rf conftest*    rm -rf conftest*
4646    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4647  else  else
# Line 4578  else Line 4662  else
4662  fi  fi
4663    
4664          echo $ac_n "checking for pow_dd in -lg2c""... $ac_c" 1>&6          echo $ac_n "checking for pow_dd in -lg2c""... $ac_c" 1>&6
4665  echo "configure:4582: checking for pow_dd in -lg2c" >&5  echo "configure:4666: checking for pow_dd in -lg2c" >&5
4666  ac_lib_var=`echo g2c'_'pow_dd | sed 'y%./+-%__p_%'`  ac_lib_var=`echo g2c'_'pow_dd | sed 'y%./+-%__p_%'`
4667  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4668    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4586  else Line 4670  else
4670    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4671  LIBS="-lg2c $F77LIBS $LIBS"  LIBS="-lg2c $F77LIBS $LIBS"
4672  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4673  #line 4590 "configure"  #line 4674 "configure"
4674  #include "confdefs.h"  #include "confdefs.h"
4675  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4676  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4597  int main() { Line 4681  int main() {
4681  pow_dd()  pow_dd()
4682  ; return 0; }  ; return 0; }
4683  EOF  EOF
4684  if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4685    rm -rf conftest*    rm -rf conftest*
4686    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4687  else  else
# Line 4623  fi Line 4707  fi
4707                  F77LIBS="-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib"                  F77LIBS="-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib"
4708              fi              fi
4709              echo $ac_n "checking for d_sqrt_ in -lsunmath""... $ac_c" 1>&6              echo $ac_n "checking for d_sqrt_ in -lsunmath""... $ac_c" 1>&6
4710  echo "configure:4627: checking for d_sqrt_ in -lsunmath" >&5  echo "configure:4711: checking for d_sqrt_ in -lsunmath" >&5
4711  ac_lib_var=`echo sunmath'_'d_sqrt_ | sed 'y%./+-%__p_%'`  ac_lib_var=`echo sunmath'_'d_sqrt_ | sed 'y%./+-%__p_%'`
4712  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4713    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4631  else Line 4715  else
4715    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4716  LIBS="-lsunmath  $LIBS"  LIBS="-lsunmath  $LIBS"
4717  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4718  #line 4635 "configure"  #line 4719 "configure"
4719  #include "confdefs.h"  #include "confdefs.h"
4720  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4721  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4642  int main() { Line 4726  int main() {
4726  d_sqrt_()  d_sqrt_()
4727  ; return 0; }  ; return 0; }
4728  EOF  EOF
4729  if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4730    rm -rf conftest*    rm -rf conftest*
4731    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4732  else  else
# Line 4663  else Line 4747  else
4747  fi  fi
4748    
4749              echo $ac_n "checking for f77_init in -lF77""... $ac_c" 1>&6              echo $ac_n "checking for f77_init in -lF77""... $ac_c" 1>&6
4750  echo "configure:4667: checking for f77_init in -lF77" >&5  echo "configure:4751: checking for f77_init in -lF77" >&5
4751  ac_lib_var=`echo F77'_'f77_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo F77'_'f77_init | sed 'y%./+-%__p_%'`
4752  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4753    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4671  else Line 4755  else
4755    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4756  LIBS="-lF77 $F77LIBS $MATH_LIBS $LIBS"  LIBS="-lF77 $F77LIBS $MATH_LIBS $LIBS"
4757  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4758  #line 4675 "configure"  #line 4759 "configure"
4759  #include "confdefs.h"  #include "confdefs.h"
4760  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4761  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4682  int main() { Line 4766  int main() {
4766  f77_init()  f77_init()
4767  ; return 0; }  ; return 0; }
4768  EOF  EOF
4769  if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4770    rm -rf conftest*    rm -rf conftest*
4771    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4772  else  else
# Line 4703  else Line 4787  else
4787  fi  fi
4788    
4789              echo $ac_n "checking for inmax_ in -lM77""... $ac_c" 1>&6              echo $ac_n "checking for inmax_ in -lM77""... $ac_c" 1>&6
4790  echo "configure:4707: checking for inmax_ in -lM77" >&5  echo "configure:4791: checking for inmax_ in -lM77" >&5
4791  ac_lib_var=`echo M77'_'inmax_ | sed 'y%./+-%__p_%'`  ac_lib_var=`echo M77'_'inmax_ | sed 'y%./+-%__p_%'`
4792  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4793    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4711  else Line 4795  else
4795    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4796  LIBS="-lM77 $F77LIBS $MATH_LIBS $LIBS"  LIBS="-lM77 $F77LIBS $MATH_LIBS $LIBS"
4797  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4798  #line 4715 "configure"  #line 4799 "configure"
4799  #include "confdefs.h"  #include "confdefs.h"
4800  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4801  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4722  int main() { Line 4806  int main() {
4806  inmax_()  inmax_()
4807  ; return 0; }  ; return 0; }
4808  EOF  EOF
4809  if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4810    rm -rf conftest*    rm -rf conftest*
4811    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4812  else  else
# Line 4748  fi Line 4832  fi
4832                  F77LIBS="-L/usr/lang/lib"                  F77LIBS="-L/usr/lang/lib"
4833              fi              fi
4834              echo $ac_n "checking for f77_init in -lF77""... $ac_c" 1>&6              echo $ac_n "checking for f77_init in -lF77""... $ac_c" 1>&6
4835  echo "configure:4752: checking for f77_init in -lF77" >&5  echo "configure:4836: checking for f77_init in -lF77" >&5
4836  ac_lib_var=`echo F77'_'f77_init | sed 'y%./+-%__p_%'`  ac_lib_var=`echo F77'_'f77_init | sed 'y%./+-%__p_%'`
4837  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4838    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4756  else Line 4840  else
4840    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4841  LIBS="-lF77 $F77LIBS $LIBS"  LIBS="-lF77 $F77LIBS $LIBS"
4842  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4843  #line 4760 "configure"  #line 4844 "configure"
4844  #include "confdefs.h"  #include "confdefs.h"
4845  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4846  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4767  int main() { Line 4851  int main() {
4851  f77_init()  f77_init()
4852  ; return 0; }  ; return 0; }
4853  EOF  EOF
4854  if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4855    rm -rf conftest*    rm -rf conftest*
4856    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4857  else  else
# Line 4788  else Line 4872  else
4872  fi  fi
4873    
4874              echo $ac_n "checking for inmax_ in -lM77""... $ac_c" 1>&6              echo $ac_n "checking for inmax_ in -lM77""... $ac_c" 1>&6
4875  echo "configure:4792: checking for inmax_ in -lM77" >&5  echo "configure:4876: checking for inmax_ in -lM77" >&5
4876  ac_lib_var=`echo M77'_'inmax_ | sed 'y%./+-%__p_%'`  ac_lib_var=`echo M77'_'inmax_ | sed 'y%./+-%__p_%'`
4877  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4878    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4796  else Line 4880  else
4880    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4881  LIBS="-lM77 $F77LIBS $LIBS"  LIBS="-lM77 $F77LIBS $LIBS"
4882  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4883  #line 4800 "configure"  #line 4884 "configure"
4884  #include "confdefs.h"  #include "confdefs.h"
4885  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4886  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4807  int main() { Line 4891  int main() {
4891  inmax_()  inmax_()
4892  ; return 0; }  ; return 0; }
4893  EOF  EOF
4894  if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4895    rm -rf conftest*    rm -rf conftest*
4896    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4897  else  else
# Line 4830  fi Line 4914  fi
4914              ;;              ;;
4915          mips-sgi-irix*)          mips-sgi-irix*)
4916              echo $ac_n "checking for s_copy in -lF77""... $ac_c" 1>&6              echo $ac_n "checking for s_copy in -lF77""... $ac_c" 1>&6
4917  echo "configure:4834: checking for s_copy in -lF77" >&5  echo "configure:4918: checking for s_copy in -lF77" >&5
4918  ac_lib_var=`echo F77'_'s_copy | sed 'y%./+-%__p_%'`  ac_lib_var=`echo F77'_'s_copy | sed 'y%./+-%__p_%'`
4919  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4920    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4838  else Line 4922  else
4922    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4923  LIBS="-lF77 $F77LIBS $LIBS"  LIBS="-lF77 $F77LIBS $LIBS"
4924  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4925  #line 4842 "configure"  #line 4926 "configure"
4926  #include "confdefs.h"  #include "confdefs.h"
4927  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4928  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4849  int main() { Line 4933  int main() {
4933  s_copy()  s_copy()
4934  ; return 0; }  ; return 0; }
4935  EOF  EOF
4936  if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4937    rm -rf conftest*    rm -rf conftest*
4938    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4939  else  else
# Line 4870  else Line 4954  else
4954  fi  fi
4955    
4956              echo $ac_n "checking for f_exit in -lI77""... $ac_c" 1>&6              echo $ac_n "checking for f_exit in -lI77""... $ac_c" 1>&6
4957  echo "configure:4874: checking for f_exit in -lI77" >&5  echo "configure:4958: checking for f_exit in -lI77" >&5
4958  ac_lib_var=`echo I77'_'f_exit | sed 'y%./+-%__p_%'`  ac_lib_var=`echo I77'_'f_exit | sed 'y%./+-%__p_%'`
4959  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4960    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4878  else Line 4962  else
4962    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4963  LIBS="-lI77 $F77LIBS $LIBS"  LIBS="-lI77 $F77LIBS $LIBS"
4964  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4965  #line 4882 "configure"  #line 4966 "configure"
4966  #include "confdefs.h"  #include "confdefs.h"
4967  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4968  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4889  int main() { Line 4973  int main() {
4973  f_exit()  f_exit()
4974  ; return 0; }  ; return 0; }
4975  EOF  EOF
4976  if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4977    rm -rf conftest*    rm -rf conftest*
4978    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4979  else  else
# Line 4910  else Line 4994  else
4994  fi  fi
4995    
4996              echo $ac_n "checking for mkidxname in -lisam""... $ac_c" 1>&6              echo $ac_n "checking for mkidxname in -lisam""... $ac_c" 1>&6
4997  echo "configure:4914: checking for mkidxname in -lisam" >&5  echo "configure:4998: checking for mkidxname in -lisam" >&5
4998  ac_lib_var=`echo isam'_'mkidxname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo isam'_'mkidxname | sed 'y%./+-%__p_%'`
4999  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5000    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4918  else Line 5002  else
5002    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5003  LIBS="-lisam $F77LIBS $LIBS"  LIBS="-lisam $F77LIBS $LIBS"
5004  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5005  #line 4922 "configure"  #line 5006 "configure"
5006  #include "confdefs.h"  #include "confdefs.h"
5007  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5008  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4929  int main() { Line 5013  int main() {
5013  mkidxname()  mkidxname()
5014  ; return 0; }  ; return 0; }
5015  EOF  EOF
5016  if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5017    rm -rf conftest*    rm -rf conftest*
5018    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5019  else  else
# Line 4952  fi Line 5036  fi
5036              ;;              ;;
5037          *)          *)
5038              echo $ac_n "checking for printf in -lF77""... $ac_c" 1>&6              echo $ac_n "checking for printf in -lF77""... $ac_c" 1>&6
5039  echo "configure:4956: checking for printf in -lF77" >&5  echo "configure:5040: checking for printf in -lF77" >&5
5040  ac_lib_var=`echo F77'_'printf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo F77'_'printf | sed 'y%./+-%__p_%'`
5041  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5042    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4960  else Line 5044  else
5044    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5045  LIBS="-lF77 $F77LIBS $LIBS"  LIBS="-lF77 $F77LIBS $LIBS"
5046  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5047  #line 4964 "configure"  #line 5048 "configure"
5048  #include "confdefs.h"  #include "confdefs.h"
5049  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5050  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4971  int main() { Line 5055  int main() {
5055  printf()  printf()
5056  ; return 0; }  ; return 0; }
5057  EOF  EOF
5058  if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5059    rm -rf conftest*    rm -rf conftest*
5060    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5061  else  else
# Line 4992  else Line 5076  else
5076  fi  fi
5077    
5078              echo $ac_n "checking for printf in -lM77""... $ac_c" 1>&6              echo $ac_n "checking for printf in -lM77""... $ac_c" 1>&6
5079  echo "configure:4996: checking for printf in -lM77" >&5  echo "configure:5080: checking for printf in -lM77" >&5
5080  ac_lib_var=`echo M77'_'printf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo M77'_'printf | sed 'y%./+-%__p_%'`
5081  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5082    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5000  else Line 5084  else
5084    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5085  LIBS="-lM77 $F77LIBS $LIBS"  LIBS="-lM77 $F77LIBS $LIBS"
5086  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5087  #line 5004 "configure"  #line 5088 "configure"
5088  #include "confdefs.h"  #include "confdefs.h"
5089  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5090  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5011  int main() { Line 5095  int main() {
5095  printf()  printf()
5096  ; return 0; }  ; return 0; }
5097  EOF  EOF
5098  if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5099    rm -rf conftest*    rm -rf conftest*
5100    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5101  else  else
# Line 5032  else Line 5116  else
5116  fi  fi
5117    
5118          echo $ac_n "checking for pow_dd in -lf2c""... $ac_c" 1>&6          echo $ac_n "checking for pow_dd in -lf2c""... $ac_c" 1>&6
5119  echo "configure:5036: checking for pow_dd in -lf2c" >&5  echo "configure:5120: checking for pow_dd in -lf2c" >&5
5120  ac_lib_var=`echo f2c'_'pow_dd | sed 'y%./+-%__p_%'`  ac_lib_var=`echo f2c'_'pow_dd | sed 'y%./+-%__p_%'`
5121  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5122    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5040  else Line 5124  else
5124    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5125  LIBS="-lf2c $F77LIBS $LIBS"  LIBS="-lf2c $F77LIBS $LIBS"
5126  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5127  #line 5044 "configure"  #line 5128 "configure"
5128  #include "confdefs.h"  #include "confdefs.h"
5129  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5130  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5051  int main() { Line 5135  int main() {
5135  pow_dd()  pow_dd()
5136  ; return 0; }  ; return 0; }
5137  EOF  EOF
5138  if { (eval echo configure:5055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5139    rm -rf conftest*    rm -rf conftest*
5140    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5141  else  else
# Line 5072  else Line 5156  else
5156  fi  fi
5157    
5158              echo $ac_n "checking for printf in -lf77""... $ac_c" 1>&6              echo $ac_n "checking for printf in -lf77""... $ac_c" 1>&6
5159  echo "configure:5076: checking for printf in -lf77" >&5  echo "configure:5160: checking for printf in -lf77" >&5
5160  ac_lib_var=`echo f77'_'printf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo f77'_'printf | sed 'y%./+-%__p_%'`
5161  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5162    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5080  else Line 5164  else
5164    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5165  LIBS="-lf77 $F77LIBS $LIBS"  LIBS="-lf77 $F77LIBS $LIBS"
5166  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5167  #line 5084 "configure"  #line 5168 "configure"
5168  #include "confdefs.h"  #include "confdefs.h"
5169  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5170  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5091  int main() { Line 5175  int main() {
5175  printf()  printf()
5176  ; return 0; }  ; return 0; }
5177  EOF  EOF
5178  if { (eval echo configure:5095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5179    rm -rf conftest*    rm -rf conftest*
5180    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5181  else  else
# Line 5112  else Line 5196  else
5196  fi  fi
5197    
5198              echo $ac_n "checking for printf in -lfor""... $ac_c" 1>&6              echo $ac_n "checking for printf in -lfor""... $ac_c" 1>&6
5199  echo "configure:5116: checking for printf in -lfor" >&5  echo "configure:5200: checking for printf in -lfor" >&5
5200  ac_lib_var=`echo for'_'printf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo for'_'printf | sed 'y%./+-%__p_%'`
5201  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5202    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5120  else Line 5204  else
5204    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5205  LIBS="-lfor $F77LIBS $LIBS"  LIBS="-lfor $F77LIBS $LIBS"
5206  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5207  #line 5124 "configure"  #line 5208 "configure"
5208  #include "confdefs.h"  #include "confdefs.h"
5209  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5210  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5131  int main() { Line 5215  int main() {
5215  printf()  printf()
5216  ; return 0; }  ; return 0; }
5217  EOF  EOF
5218  if { (eval echo configure:5135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5219    rm -rf conftest*    rm -rf conftest*
5220    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5221  else  else
# Line 5152  else Line 5236  else
5236  fi  fi
5237    
5238              echo $ac_n "checking for printf in -lots""... $ac_c" 1>&6              echo $ac_n "checking for printf in -lots""... $ac_c" 1>&6
5239  echo "configure:5156: checking for printf in -lots" >&5  echo "configure:5240: checking for printf in -lots" >&5
5240  ac_lib_var=`echo ots'_'printf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ots'_'printf | sed 'y%./+-%__p_%'`
5241  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5242    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5160  else Line 5244  else
5244    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5245  LIBS="-lots $F77LIBS $LIBS"  LIBS="-lots $F77LIBS $LIBS"
5246  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5247  #line 5164 "configure"  #line 5248 "configure"
5248  #include "confdefs.h"  #include "confdefs.h"
5249  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5250  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5171  int main() { Line 5255  int main() {
5255  printf()  printf()
5256  ; return 0; }  ; return 0; }
5257  EOF  EOF
5258  if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5259    rm -rf conftest*    rm -rf conftest*
5260    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5261  else  else
# Line 5192  else Line 5276  else
5276  fi  fi
5277    
5278              echo $ac_n "checking for printf in -lUfor""... $ac_c" 1>&6              echo $ac_n "checking for printf in -lUfor""... $ac_c" 1>&6
5279  echo "configure:5196: checking for printf in -lUfor" >&5  echo "configure:5280: checking for printf in -lUfor" >&5
5280  ac_lib_var=`echo Ufor'_'printf | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Ufor'_'printf | sed 'y%./+-%__p_%'`
5281  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5282    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5200  else Line 5284  else
5284    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5285  LIBS="-lUfor $F77LIBS $LIBS"  LIBS="-lUfor $F77LIBS $LIBS"
5286  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5287  #line 5204 "configure"  #line 5288 "configure"
5288  #include "confdefs.h"  #include "confdefs.h"
5289  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5290  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5211  int main() { Line 5295  int main() {
5295  printf()  printf()
5296  ; return 0; }  ; return 0; }
5297  EOF  EOF
5298  if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5299    rm -rf conftest*    rm -rf conftest*
5300    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5301  else  else
# Line 5267  case "$with_fortran$with_blas" in Line 5351  case "$with_fortran$with_blas" in
5351      #  to build it; useful for testing configure.      #  to build it; useful for testing configure.
5352          blas_src_file="$srcdir/blas/dcopy.f"          blas_src_file="$srcdir/blas/dcopy.f"
5353          echo $ac_n "checking for blas source file $blas_src_file ""... $ac_c" 1>&6          echo $ac_n "checking for blas source file $blas_src_file ""... $ac_c" 1>&6
5354  echo "configure:5271: checking for blas source file $blas_src_file " >&5  echo "configure:5355: checking for blas source file $blas_src_file " >&5
5355          if test -f $blas_src_file ; then          if test -f $blas_src_file ; then
5356              echo "$ac_t""yes" 1>&6              echo "$ac_t""yes" 1>&6
5357              BLASLIB="$ascpwd/ascend4/archive/libascblas.a"              BLASLIB="$ascpwd/ascend4/archive/libascblas.a"
# Line 5291  do Line 5375  do
5375  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
5376  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
5377  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5378  echo "configure:5295: checking for $ac_word" >&5  echo "configure:5379: checking for $ac_word" >&5
5379  if eval "test \"`echo '$''{'ac_cv_path_BLASLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_BLASLIB'+set}'`\" = set"; then
5380    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5381  else  else
# Line 5329  done Line 5413  done
5413          blas_src_file="$srcdir/blas/dcopy.f"          blas_src_file="$srcdir/blas/dcopy.f"
5414          if test -z "$BLASLIB" -a -n "$blas_src_file" ; then          if test -z "$BLASLIB" -a -n "$blas_src_file" ; then
5415              echo $ac_n "checking for blas source file $blas_src_file ""... $ac_c" 1>&6              echo $ac_n "checking for blas source file $blas_src_file ""... $ac_c" 1>&6
5416  echo "configure:5333: checking for blas source file $blas_src_file " >&5  echo "configure:5417: checking for blas source file $blas_src_file " >&5
5417              if test -f $blas_src_file ; then              if test -f $blas_src_file ; then
5418                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
5419              BLASLIB="$ascpwd/ascend4/archive/libascblas.a"              BLASLIB="$ascpwd/ascend4/archive/libascblas.a"
# Line 5387  case "$with_fortran$with_linpack" in Line 5471  case "$with_fortran$with_linpack" in
5471      #  to build it; useful for testing configure.      #  to build it; useful for testing configure.
5472          lpak_src_file="$srcdir/linpack/d1mach.f"          lpak_src_file="$srcdir/linpack/d1mach.f"
5473          echo $ac_n "checking for linpack source file $lpak_src_file ""... $ac_c" 1>&6          echo $ac_n "checking for linpack source file $lpak_src_file ""... $ac_c" 1>&6
5474  echo "configure:5391: checking for linpack source file $lpak_src_file " >&5  echo "configure:5475: checking for linpack source file $lpak_src_file " >&5
5475          if test -f $lpak_src_file ; then          if test -f $lpak_src_file ; then
5476              echo "$ac_t""yes" 1>&6              echo "$ac_t""yes" 1>&6
5477              LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a"              LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a"
# Line 5411  do Line 5495  do
5495  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
5496  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
5497  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5498  echo "configure:5415: checking for $ac_word" >&5  echo "configure:5499: checking for $ac_word" >&5
5499  if eval "test \"`echo '$''{'ac_cv_path_LPAKLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_LPAKLIB'+set}'`\" = set"; then
5500    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5501  else  else
# Line 5449  done Line 5533  done
5533          lpak_src_file="$srcdir/linpack/d1mach.f"          lpak_src_file="$srcdir/linpack/d1mach.f"
5534          if test -z "$LPAKLIB" -a -n "$lpak_src_file" ; then          if test -z "$LPAKLIB" -a -n "$lpak_src_file" ; then
5535              echo $ac_n "checking for linpack source file $lpak_src_file ""... $ac_c" 1>&6              echo $ac_n "checking for linpack source file $lpak_src_file ""... $ac_c" 1>&6
5536  echo "configure:5453: checking for linpack source file $lpak_src_file " >&5  echo "configure:5537: checking for linpack source file $lpak_src_file " >&5
5537              if test -f $lpak_src_file ; then              if test -f $lpak_src_file ; then
5538                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
5539              LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a"              LPAKLIB="$ascpwd/ascend4/archive/libasclpak.a"
# Line 5506  case "$with_fortran$with_lsod" in Line 5590  case "$with_fortran$with_lsod" in
5590      #  to build it; useful for testing configure.      #  to build it; useful for testing configure.
5591          lsod_src_file="$srcdir/lsod/lsode.f"          lsod_src_file="$srcdir/lsod/lsode.f"
5592          echo $ac_n "checking for lsod source file $lsod_src_file ""... $ac_c" 1>&6          echo $ac_n "checking for lsod source file $lsod_src_file ""... $ac_c" 1>&6
5593  echo "configure:5510: checking for lsod source file $lsod_src_file " >&5  echo "configure:5594: checking for lsod source file $lsod_src_file " >&5
5594          if test -f $lsod_src_file ; then          if test -f $lsod_src_file ; then
5595              echo "$ac_t""yes" 1>&6              echo "$ac_t""yes" 1>&6
5596              LSODLIB="$ascpwd/ascend4/archive/libinteg.a"              LSODLIB="$ascpwd/ascend4/archive/libinteg.a"
# Line 5531  do Line 5615  do
5615  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
5616  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
5617  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5618  echo "configure:5535: checking for $ac_word" >&5  echo "configure:5619: checking for $ac_word" >&5
5619  if eval "test \"`echo '$''{'ac_cv_path_LSODLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_LSODLIB'+set}'`\" = set"; then
5620    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5621  else  else
# Line 5569  done Line 5653  done
5653          lsod_src_file="$srcdir/lsod/lsode.f"          lsod_src_file="$srcdir/lsod/lsode.f"
5654          if test -z "$LSODLIB" -a -n "$lsod_src_file" ; then          if test -z "$LSODLIB" -a -n "$lsod_src_file" ; then
5655              echo $ac_n "checking for lsod source file $lsod_src_file ""... $ac_c" 1>&6              echo $ac_n "checking for lsod source file $lsod_src_file ""... $ac_c" 1>&6
5656  echo "configure:5573: checking for lsod source file $lsod_src_file " >&5  echo "configure:5657: checking for lsod source file $lsod_src_file " >&5
5657              if test -f $lsod_src_file ; then              if test -f $lsod_src_file ; then
5658                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
5659              LSODLIB="$ascpwd/ascend4/archive/libinteg.a"              LSODLIB="$ascpwd/ascend4/archive/libinteg.a"
# Line 5640  do Line 5724  do
5724  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
5725  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
5726  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5727  echo "configure:5644: checking for $ac_word" >&5  echo "configure:5728: checking for $ac_word" >&5
5728  if eval "test \"`echo '$''{'ac_cv_path_CONOPTLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_CONOPTLIB'+set}'`\" = set"; then
5729    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5730  else  else
# Line 5680  done Line 5764  done
5764          conopt_src_file=""          conopt_src_file=""
5765          if test -z "$CONOPTLIB" -a -n "$conopt_src_file" ; then          if test -z "$CONOPTLIB" -a -n "$conopt_src_file" ; then
5766              echo $ac_n "checking for conopt source file $conopt_src_file ""... $ac_c" 1>&6              echo $ac_n "checking for conopt source file $conopt_src_file ""... $ac_c" 1>&6
5767  echo "configure:5684: checking for conopt source file $conopt_src_file " >&5  echo "configure:5768: checking for conopt source file $conopt_src_file " >&5
5768              if test -f $conopt_src_file ; then              if test -f $conopt_src_file ; then
5769                  echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
5770              CONOPTLIB="$ascpwd/ascend4/archive/libconsub.a"              CONOPTLIB="$ascpwd/ascend4/archive/libconsub.a"
# Line 5997  ac_given_INSTALL="$INSTALL" Line 6081  ac_given_INSTALL="$INSTALL"
6081    
6082  trap 'rm -fr `echo "ascend4/ConfigAscend:ascend4/ConfigAscend.in  trap 'rm -fr `echo "ascend4/ConfigAscend:ascend4/ConfigAscend.in
6083      ascend4/Makefile      ascend4/Makefile
6084      ascend4/bin/ascend      ascend4/bin/ascend4.sh
6085      ascend4/Makefile.Rules:ascend4/Makefile.Rules.in      ascend4/Makefile.Rules:ascend4/Makefile.Rules.in
6086      ascend4/archive/Makefile      ascend4/archive/Makefile
6087      ascend4/bin/Makefile      ascend4/bin/Makefile
# Line 6163  cat >> $CONFIG_STATUS <<EOF Line 6247  cat >> $CONFIG_STATUS <<EOF
6247    
6248  CONFIG_FILES=\${CONFIG_FILES-"ascend4/ConfigAscend:ascend4/ConfigAscend.in  CONFIG_FILES=\${CONFIG_FILES-"ascend4/ConfigAscend:ascend4/ConfigAscend.in
6249      ascend4/Makefile      ascend4/Makefile
6250      ascend4/bin/ascend      ascend4/bin/ascend4.sh
6251      ascend4/Makefile.Rules:ascend4/Makefile.Rules.in      ascend4/Makefile.Rules:ascend4/Makefile.Rules.in
6252      ascend4/archive/Makefile      ascend4/archive/Makefile
6253      ascend4/bin/Makefile      ascend4/bin/Makefile

Legend:
Removed from v.6  
changed lines
  Added in v.7

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22