]> git.sur5r.net Git - i3/i3/blobdiff - configure.ac
Move SYSCONFDIR definition to makefile
[i3/i3] / configure.ac
index 4f67d5ea867775734381d84af816ed8d7a5c362d..f2bf26f80e7c7cff73ead84be91744fcc8deb858 100644 (file)
@@ -59,8 +59,6 @@ AX_CHECK_ENABLE_DEBUG([yes], , [UNUSED_NDEBUG], [$is_release])
 
 AC_PROG_CC_C99
 
-AC_DEFINE_UNQUOTED(SYSCONFDIR, "`eval echo $sysconfdir`", [Location of system configuration files])
-
 # For strnlen() and vasprintf().
 AC_USE_SYSTEM_EXTENSIONS
 
@@ -155,7 +153,7 @@ else
 fi
 
 in_git_worktree=`git rev-parse --is-inside-work-tree 2>/dev/null`
-if "$in_git_worktree" == "true"; then
+if [[ "$in_git_worktree" = "true" ]]; then
        git_dir=`git rev-parse --git-dir 2>/dev/null`
        srcdir=`dirname "$git_dir"`
        exclude_dir=`pwd | sed "s,^$srcdir,,g"`