summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-10-30 19:58:49 +0100
committerGravatar Jonathan Beck2008-10-30 20:00:55 +0100
commite46784e5cfe7dbf760d9ab3c0a31c95305a86808 (patch)
tree3369724dd04d741fe5751a8157b799382183f42d /configure.ac
parent41778c3dcd0bf0ede8f526d9045a023a9188d455 (diff)
downloadlibimobiledevice-e46784e5cfe7dbf760d9ab3c0a31c95305a86808.tar.gz
libimobiledevice-e46784e5cfe7dbf760d9ab3c0a31c95305a86808.tar.bz2
move dev specific tools to dev/ subdir.
update autoconf files accordingly
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac23
1 files changed, 15 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 24eec9b..286b1d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,13 +43,20 @@ AC_ARG_ENABLE([dev-tools],
43 [build development helper tools (default is no)])], 43 [build development helper tools (default is no)])],
44 [build_dev_tools=true], 44 [build_dev_tools=true],
45 [build_dev_tools=false]) 45 [build_dev_tools=false])
46AM_CONDITIONAL([BUILD_DEV_TOOLS], [test x$build_dev_tools = xtrue]) 46if test "$build_dev_tools" = true; then
47 DEV_SUB=dev
48else
49 DEV_SUB=
50fi
51AC_SUBST([DEV_SUB])
47 52
48AC_ARG_ENABLE([debug-code], 53AC_ARG_ENABLE([debug-code],
49 [AS_HELP_STRING([--enable-debug-code], 54 [AS_HELP_STRING([--disable-debug-code],
50 [enable debug message reporting in library (default is yes)])], 55 [disable debug message reporting in library (default is yes)])],
51 [debug_code=true], 56 [no_debug_code=false],
52 [debug_code=false]) 57 [no_debug_code=true])
53AM_CONDITIONAL([STRIP_DEBUG_CODE], [test x$debug_code = xfalse]) 58if test "$no_debug_code" = true; then
54 59 AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code])
55AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile libiphone-1.0.pc) 60fi
61
62AC_OUTPUT(Makefile src/Makefile include/Makefile fdi/Makefile dev/Makefile libiphone-1.0.pc)