Skip to content
Browse files

Use configure sysconfdir for LSETCDIR

  • Loading branch information...
1 parent 5533b54 commit d157fb7add0f0668889a5f54e8decebd8a4c9902 @cluck cluck committed Feb 29, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 common.mk
  2. +1 −1 lsf/lsf.h
View
2 common.mk
@@ -2,3 +2,5 @@
# Copyright (C) 2012 Claudio Luck
#
+AM_CPPFLAGS = -DSYSCONFDIR=\"${sysconfdir}\"
+
View
2 lsf/lsf.h
@@ -770,7 +770,7 @@ typedef void (*SIGFUNCTYPE)(int);
typedef struct stat LS_STAT_T;
#define LSTMPDIR lsTmpDir_
#define LSDEVNULL "/dev/null"
-#define LSETCDIR "/opt/openlava/etc"
+#define LSETCDIR SYSCONFDIR
#define closesocket close
#define CLOSESOCKET(s) close((s))
#define SOCK_CALL_FAIL(c) ((c) < 0 )

0 comments on commit d157fb7

Please sign in to comment.
Something went wrong with that request. Please try again.