runlttv: use cmd line arguments instead of environment variables
[lttv.git] / configure.ac
index fbc267bb7f1fc88b0a47dfa967f9fff698066a8f..cbfb9bd83f2d791ca0476d9e03454be9f316db9c 100644 (file)
@@ -21,9 +21,8 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.57)
-AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
-#AC_WITH_LTDL  # not needed ?
-AM_INIT_AUTOMAKE(lttv,0.12.17-01072009)
+AC_INIT([lttv], [0.12.17-01072009], [ltt-dev@lists.casi.polymtl.ca])
+AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
@@ -38,9 +37,9 @@ fi
 AM_CONDITIONAL(BUILD_LIB_ONLY, test "$with_liblttvtraceread_only" = "yes")
 
 
-# If requested, avoid building LLTv part
+# If requested, avoid building LTTV part
 AC_ARG_ENABLE(lttv-gui,
-[  --disable-lttv-gui      Do not build LTTv gui, only build textmode LTTv])
+[  --disable-lttv-gui      Do not build LTTV gui, only build textmode LTTV])
 
 if test -z "$enable_lttv_gui"; then
         enable_lttv_gui=${enable_lttv_gui_default-yes}
@@ -82,7 +81,9 @@ if test $JAVA_SDK; then
         if test -d $JAVA_SDK; then
                 AC_MSG_RESULT([using java include in $JAVA_SDK])
                 SUBDIRS=`find $JAVA_SDK/include -type d`
+               CFLAGS+=" "
                 CFLAGS+=`for x in $SUBDIRS; do echo -n "-I$x "; done`
+               CFLAGS+=" "
         else
                 AC_MSG_ERROR(Unable to find java include file in $JAVA_JDK)
         fi
This page took 0.023053 seconds and 4 git commands to generate.