Sfoglia il codice sorgente

Define LOCALSTATEDIR in orconfig.h

svn:r4171
Nick Mathewson 20 anni fa
parent
commit
86e73d7005
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      configure.in

+ 2 - 0
configure.in

@@ -329,6 +329,8 @@ AC_SUBST(BINDIR)
 
 LOCALSTATEDIR=`eval echo $localstatedir`
 AC_SUBST(LOCALSTATEDIR)
+AC_DEFINE_UNQUOTED(LOCALSTATEDIR,"$LOCALSTATEDIR")
+AC_DEFINE([LOCALSTATEDIR], [], [Default location to store state files.])
 
 # Set CFLAGS _after_ all the above checks, since our warnings are stricter
 # than autoconf's macros like.