aboutsummaryrefslogtreecommitdiffstats
path: root/math/grace/files/patch-aa
blob: 4e26813042c17e520f9663cb57f8d35d50ff3973 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
*** configure.orig	Tue Sep 15 14:51:57 1998
--- configure	Wed Dec 23 16:46:57 1998
***************
*** 660,665 ****
--- 660,666 ----
    case "${host}" in
      i?86-*-linux-*) CONF_FILE="ix86-linux";;
      *-*-linux-*) CONF_FILE="linux";;
+     *-*-freebsd*) CONF_FILE="freebsd";;
      i?86-*-sco-*) CONF_FILE="ix86-sco";;
      i?86-*-cygwin32) CONF_FILE="ix86-cygwin32";;
      alpha*-dec-osf4.*) CONF_FILE="alpha-osf4";;
***************
*** 4729,4735 ****
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-ldf  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4735 "configure"
  #include "confdefs.h"
--- 4730,4736 ----
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lmfhdf -ldf -lz $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 4735 "configure"
  #include "confdefs.h"
***************
*** 4753,4759 ****
  fi
  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!   NETCDF_LIBS="$NETCDF_LIBS -ldf"; cat >> confdefs.h <<\EOF
  #define HAVE_MFHDF 1
  EOF
  
--- 4754,4760 ----
  fi
  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!   NETCDF_LIBS="$NETCDF_LIBS -lmfhdf -ldf -lz"; cat >> confdefs.h <<\EOF
  #define HAVE_MFHDF 1
  EOF
  
***************
*** 6858,6861 ****
  chmod +x $CONFIG_STATUS
  rm -fr confdefs* $ac_clean_files
  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
- 
--- 6859,6861 ----