]> Creatis software - gdcm.git/blobdiff - configure.in
ENH: Some cosmetic cleanup of gdcmFile, main changes are: lgrTotal -> ImageDataSize...
[gdcm.git] / configure.in
index cac0e468f41d686bdb3de27c5403e48345b3ad3f..7164f9a490ee880432a240006aff4540f9c62259 100644 (file)
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/gdcmDict.cxx)
 
-AM_INIT_AUTOMAKE(gdcm, 0.1.0)
+AM_INIT_AUTOMAKE(gdcm, 0.3.0)
 AM_MAINTAINER_MODE
 AM_CONFIG_HEADER(src/config.h)
 
@@ -37,8 +37,10 @@ AM_CONDITIONAL(HAVE_DOXYGEN, $DOXYGEN)
 AC_SUBST(HAVE_DOXYGEN)
 
 dnl Let people disable the doxygen stuff.
-AC_ARG_ENABLE(docygen, [  --enable-doxygen         Use doxygen to build documentation (default=auto)], enable_doxygen="$enableval",
-enable_doxygen=auto)
+AC_ARG_ENABLE(docygen,
+  [  --enable-doxygen        Use doxygen to build documentation (default=auto)],
+  [enable_doxygen="$enableval"],
+  [enable_doxygen=auto])
 
 if test x$enable_doxygen = xauto ; then
   if test x$DOXYGEN = xtrue ; then
@@ -54,12 +56,13 @@ AM_CONDITIONAL(ENABLE_DOXYGEN, test x$enable_doxygen = xyes)
 
 dnl Checks for Python
 AC_ARG_ENABLE(python,
-        [  --enable-python      Enable Python language support (default=no).],,
-        [enable_python="no"])
+     [  --enable-python         Enable Python language support (default=no).],
+     ,
+     [enable_python="no"])
 dnl AC_MSG_RESULT($enable_python)
 build_python=no
 if test "yes" = "$enable_python"; then
-    AM_PATH_PYTHON(2.0)
+    AM_PATH_PYTHON(2.0.0)
     if test -n "$PYTHON"; then
         AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
         build_python=yes;
@@ -70,8 +73,9 @@ AM_CONDITIONAL(BUILD_PYTHON, test x$build_python = xyes)
 
 dnl Checks for vtk
 AC_ARG_ENABLE(vtk,
-        [  --enable-vtk      Enable vtk extensions support (default=no).],,
-        [enable_vtk="no"])
+    [  --enable-vtk            Enable vtk extensions support (default=no).],
+    ,
+    [enable_vtk="no"])
 AM_CONDITIONAL(BUILD_VTK, test x$enable_vtk = xyes)
 
 dnl produce Makefile.in files
@@ -79,6 +83,10 @@ AC_OUTPUT([
 Makefile 
 gdcm.spec
 src/Makefile
+src/jpeg/Makefile
+src/jpeg/libijg8/Makefile
+src/jpeg/libijg12/Makefile
+src/jpeg/ljpg/Makefile
 gdcmPython/Makefile
 Test/Makefile
 Dicts/Makefile