Test if HAVE_G2C is defined rather than if it's value is non-zero.
This commit is contained in:
parent
8ed05f0e65
commit
bcda90f017
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20588
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
--- makefile.orig Wed Sep 25 09:32:22 1996
|
||||
+++ makefile Sun Jun 20 13:35:05 1999
|
||||
+++ makefile Fri Aug 6 19:37:41 1999
|
||||
@@ -1,6 +1,6 @@
|
||||
PURIFY = #purify
|
||||
PURELINK = #purelink
|
||||
|
@ -30,7 +30,7 @@
|
|||
# F77LIBS = -lxlf -lxlf90 -lxlfutil # IBM
|
||||
# F77LIBS = -lfor # DEC Alpha
|
||||
-# F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
|
||||
+.if $(HAVE_G2C)
|
||||
+.if defined(HAVE_G2C)
|
||||
+F77LIBS = -lg2c # PC LINUX, XFree86 3.1.1
|
||||
+.else
|
||||
+F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- makefile.orig Wed Sep 25 09:32:22 1996
|
||||
+++ makefile Sun Jun 20 13:35:05 1999
|
||||
+++ makefile Fri Aug 6 19:37:41 1999
|
||||
@@ -1,6 +1,6 @@
|
||||
PURIFY = #purify
|
||||
PURELINK = #purelink
|
||||
|
@ -30,7 +30,7 @@
|
|||
# F77LIBS = -lxlf -lxlf90 -lxlfutil # IBM
|
||||
# F77LIBS = -lfor # DEC Alpha
|
||||
-# F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
|
||||
+.if $(HAVE_G2C)
|
||||
+.if defined(HAVE_G2C)
|
||||
+F77LIBS = -lg2c # PC LINUX, XFree86 3.1.1
|
||||
+.else
|
||||
+F77LIBS = -lf2c # PC LINUX, XFree86 3.1.1
|
||||
|
|
Loading…
Reference in a new issue