Browse Source

change NSPR to depend on header file, not library

David Rose 20 years ago
parent
commit
dd69dd3322
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/Config.pp

+ 1 - 1
dtool/Config.pp

@@ -317,7 +317,7 @@
 #define NSPR_IPATH /usr/include/nspr
 #define NSPR_IPATH /usr/include/nspr
 #define NSPR_LPATH
 #define NSPR_LPATH
 #define NSPR_LIBS nspr4
 #define NSPR_LIBS nspr4
-#defer HAVE_NSPR $[libtest $[NSPR_LPATH],$[NSPR_LIBS]]
+#defer HAVE_NSPR $[isfile $[NSPR_IPATH]/prtypes.h]
 
 
 // Is a third-party STL library installed, and where?  This is only
 // Is a third-party STL library installed, and where?  This is only
 // necessary if the default include and link lines that come with the
 // necessary if the default include and link lines that come with the