set PAPI_LIB_DIR="" when we don't have PAPI (clean up package.conf)
authorSimon Marlow <marlowsd@gmail.com>
Tue, 22 Jul 2008 14:13:27 +0000 (14:13 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 22 Jul 2008 14:13:27 +0000 (14:13 +0000)
rts/Makefile

index a17eb2a..6fe6069 100644 (file)
@@ -291,7 +291,11 @@ ifneq "$(PapiLibDirs)" ""
 SRC_LD_OPTS += -L$(PapiLibDirs)
 endif
 
-endif # GhcRtsWithPapi==YES
+else # GhcRtsWithPapi==YES
+
+PACKAGE_CPP_OPTS += -DPAPI_LIB_DIR=""
+
+endif
 
 #-----------------------------------------------------------------------------
 # make depend setup