summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-05-01 17:26:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-05-01 17:26:44 +0200
commit22adb47097d7a2092c20b06aeac64ef3699b7c42 (patch)
tree6759a1f1ffa161a92afbb4e622e8c33dca00bf18 /configure.ac
parentf0fef8377cae1ebd1b97fa1efce482983905ab94 (diff)
configure: add uuid-lib and uuid-includes arg
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7834b45..df1d308 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@
AC_PREREQ([2.59])
AC_INIT([testdisk],[6.14-WIP],[grenier@cgsecurity.org])
sinclude(acx_pthread.m4)
-TESTDISKDATE="January 2012"
+TESTDISKDATE="May 2012"
AC_SUBST(TESTDISKDATE)
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
AC_CONFIG_AUX_DIR(config)
@@ -184,6 +184,16 @@ AC_ARG_WITH(sudo-bin,
AS_HELP_STRING(--with-sudo-bin=PROG,location of the sudo binary),
[SUDO_BIN="${withval}"])
+AC_ARG_WITH(uuid-lib,
+ AS_HELP_STRING(--with-uuid-lib=DIR,location of the uuid library),
+ [ uuid_lib_a="${withval}/libuuid.a"
+ LDFLAGS="${LDFLAGS} -L${withval}" ])
+
+AC_ARG_WITH(uuid-includes,
+ AS_HELP_STRING(--with-uuid-includes=DIR,location of the uuid includes files),
+ [CPPFLAGS="${CPPFLAGS} -I${withval}"])
+
+
AC_ARG_ENABLE([missing-uuid-ok],
AS_HELP_STRING(--enable-missing-uuid-ok, [force compilation even if both uuidgen and uuid_generate are missing, for developpement only (default is NO)]),
[case "${enableval}" in