projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build: in_git_repo is used before being set
[lttng-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index a99c0d3c5fafa5a66b9f08d5c4e67a08f573891c..07ebecd0fdeb40752b32dc7b480db97b84f30077 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-40,6
+40,11
@@
AM_CONDITIONAL([HAVE_OBJCOPY], [test "x$OBJCOPY" != xno])
AC_PATH_PROG([PGREP], [pgrep], [no])
AM_CONDITIONAL([HAVE_PGREP], [test "x$PGREP" != "xno"])
AC_PATH_PROG([PGREP], [pgrep], [no])
AM_CONDITIONAL([HAVE_PGREP], [test "x$PGREP" != "xno"])
+# set $IN_GIT_REPO if we're in the Git repository; the `bootstrap` file
+# is not distributed in tarballs
+AS_IF([test -f "$srcdir/bootstrap"], [in_git_repo=yes], [in_git_repo=no])
+AM_CONDITIONAL([IN_GIT_REPO], [test "x$in_git_repo" = "xyes"])
+
# check for bison
AC_PROG_YACC
BISON=$YACC
# check for bison
AC_PROG_YACC
BISON=$YACC
@@
-686,11
+691,6
@@
if test "x$test_java_agent_jul" = "xyes" || test "x$test_java_agent_log4j" = "xy
fi
fi
fi
fi
-# set $IN_GIT_REPO if we're in the Git repository; the `bootstrap` file
-# is not distributed in tarballs
-AS_IF([test -f "$srcdir/bootstrap"], [in_git_repo=yes], [in_git_repo=no])
-AM_CONDITIONAL([IN_GIT_REPO], [test "x$in_git_repo" = "xyes"])
-
# enable building man pages (user's intention)
AC_ARG_ENABLE(
man-pages,
# enable building man pages (user's intention)
AC_ARG_ENABLE(
man-pages,
This page took
0.024485 seconds
and
4
git commands to generate.