浏览代码

Define LOCALSTATEDIR in orconfig.h

svn:r4171
Nick Mathewson 20 年之前
父节点
当前提交
86e73d7005
共有 1 个文件被更改,包括 2 次插入0 次删除
  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.