Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas


Modified Files:
        configure.in 


Log Message:


do autoconf options properly

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- configure.in        10 Sep 2003 08:52:17 -0000      1.61
+++ configure.in        15 Oct 2003 04:20:29 -0000      1.62
@@ -128,13 +128,19 @@
 AC_MSG_CHECKING(whether software x11 backend is to be built)
 
 AC_ARG_ENABLE(software-x11, [  --enable-software-x11           enable the Software 
X11 rendering backend], [
-          AC_MSG_RESULT(yes)
-          AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, test "$enableval" = "yes")
-          AC_DEFINE(BUILD_ENGINE_SOFTWARE_X11)
-           x_dir="/usr/X11R6";
-           x_cflags="-I"$x_dir"/include"
-           x_libs="-L"$x_dir"/lib -lX11 -lXext"
-          ENGINE_SOFTWARE_X11_PRG="evas_software_x11_test evas_software_x11_perf_test 
evas_software_x11_perf_load"
+          if [ test "$enableval" = "yes" ]; then
+            AC_MSG_RESULT(yes)
+            AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, test "$enableval" = "yes")
+            AC_DEFINE(BUILD_ENGINE_SOFTWARE_X11)
+             x_dir="/usr/X11R6";
+             x_cflags="-I"$x_dir"/include"
+             x_libs="-L"$x_dir"/lib -lX11 -lXext"
+            ENGINE_SOFTWARE_X11_PRG="evas_software_x11_test 
evas_software_x11_perf_test evas_software_x11_perf_load"
+          else
+            AC_MSG_RESULT(no)
+            AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, false)
+            ENGINE_SOFTWARE_X11_PRG=""
+          fi
         ], [
           AC_MSG_RESULT(no)
           AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_X11, false)
@@ -145,11 +151,17 @@
 AC_MSG_CHECKING(whether directfb backend is to be built)
 
 AC_ARG_ENABLE(directfb, [  --enable-directfb                enable the DirectFB 
rendering backend], [
-          AC_MSG_RESULT(yes)
-          AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, true)
-          AC_DEFINE(BUILD_ENGINE_DIRECTFB)
-          PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16)
-          ENGINE_DIRECTFB_PRG="evas_directfb_test evas_directfb_window"
+          if [ test "$enableval" = "yes" ]; then
+            AC_MSG_RESULT(yes)
+            AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, true)
+            AC_DEFINE(BUILD_ENGINE_DIRECTFB)
+            PKG_CHECK_MODULES(DIRECTFB, directfb >= 0.9.16)
+            ENGINE_DIRECTFB_PRG="evas_directfb_test evas_directfb_window"
+          else
+            AC_MSG_RESULT(no)
+            AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, false)
+            ENGINE_DIRECTFB_PRG=""
+          fi
        ], [
           AC_MSG_RESULT(no)
           AM_CONDITIONAL(BUILD_ENGINE_DIRECTFB, false)
@@ -160,10 +172,16 @@
 AC_MSG_CHECKING(whether fb backend is to be built)
 
 AC_ARG_ENABLE(fb, [  --enable-fb                     enable the FB rendering 
backend], [
-          AC_MSG_RESULT(yes)
-          AM_CONDITIONAL(BUILD_ENGINE_FB, true)
-          AC_DEFINE(BUILD_ENGINE_FB)
-          ENGINE_FB_PRG="evas_fb_test"
+          if [ test "$enableval" = "yes" ]; then
+            AC_MSG_RESULT(yes)
+            AM_CONDITIONAL(BUILD_ENGINE_FB, true)
+            AC_DEFINE(BUILD_ENGINE_FB)
+            ENGINE_FB_PRG="evas_fb_test"
+          else
+            AC_MSG_RESULT(no)
+            AM_CONDITIONAL(BUILD_ENGINE_FB, false)
+            ENGINE_FB_PRG=""
+          fi
        ], [
           AC_MSG_RESULT(no)
           AM_CONDITIONAL(BUILD_ENGINE_FB, false)
@@ -174,10 +192,16 @@
 AC_MSG_CHECKING(whether buffer backend is to be built)
 
 AC_ARG_ENABLE(buffer, [  --enable-buffer                 enable the Buffer rendering 
backend], [
-          AC_MSG_RESULT(yes)
-          AM_CONDITIONAL(BUILD_ENGINE_BUFFER, true)
-          AC_DEFINE(BUILD_ENGINE_BUFFER)
-          ENGINE_BUFFER_PRG="evas_buffer_test"
+          if [ test "$enableval" = "yes" ]; then
+            AC_MSG_RESULT(yes)
+            AM_CONDITIONAL(BUILD_ENGINE_BUFFER, true)
+            AC_DEFINE(BUILD_ENGINE_BUFFER)
+            ENGINE_BUFFER_PRG="evas_buffer_test"
+          else
+            AC_MSG_RESULT(no)
+            AM_CONDITIONAL(BUILD_ENGINE_BUFFER, false)
+            ENGINE_BUFFER_PRG=""
+          fi
        ], [
           AC_MSG_RESULT(no)
           AM_CONDITIONAL(BUILD_ENGINE_BUFFER, false)
@@ -188,13 +212,19 @@
 AC_MSG_CHECKING(whether software qtopia backend is to be built)
 
 AC_ARG_ENABLE(software-qtopia, [  --enable-software-qtopia     enable the Software 
Qtopia rendering backend], [
-          AC_MSG_RESULT(yes)
-          AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, test "$enableval" = "yes")
-          AC_DEFINE(BUILD_ENGINE_SOFTWARE_QTOPIA)
-           qt_cflags="-fno-exceptions -fno-rtti -I"$qt_dir"/include"
-           qt_libs="-L"$qt_dir"/lib -lqte -lqpe"
-          qt_moc=$qt_dir"/bin/moc"
-          ENGINE_SOFTWARE_QTOPIA_PRG="evas_software_qtopia_test"
+          if [ test "$enableval" = "yes" ]; then
+            AC_MSG_RESULT(yes)
+            AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, test "$enableval" = "yes")
+            AC_DEFINE(BUILD_ENGINE_SOFTWARE_QTOPIA)
+             qt_cflags="-fno-exceptions -fno-rtti -I"$qt_dir"/include"
+             qt_libs="-L"$qt_dir"/lib -lqte -lqpe"
+            qt_moc=$qt_dir"/bin/moc"
+            ENGINE_SOFTWARE_QTOPIA_PRG="evas_software_qtopia_test"
+          else
+            AC_MSG_RESULT(no)
+            AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, false)
+            ENGINE_SOFTWARE_QTOPIA_PRG=""
+          fi
         ], [
           AC_MSG_RESULT(no)
           AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_QTOPIA, false)
@@ -205,18 +235,25 @@
 AC_MSG_CHECKING(whether gl x11 backend is to be built)
 
 AC_ARG_ENABLE(gl-x11, [  --enable-gl-x11              enable the OpenGL X11 display 
engine], [
-          AC_MSG_RESULT(yes)
-          AM_CONDITIONAL(BUILD_ENGINE_GL_X11, test "$enableval" = "yes")
-          AC_DEFINE(BUILD_ENGINE_GL_X11)
-          AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "$enableval" = "yes")
-          AC_DEFINE(BUILD_ENGINE_GL_COMMON)
-           x_dir="/usr/X11R6";
-           x_cflags="-I"$x_dir"/include"
-           x_libs="-L"$x_dir"/lib -lX11 -lXext"
-           gl_cflags="-I/usr/include"
-           gl_libs="-L/usr/lib -lGL -lGLU -lpthread"
-          gl_dir=""
-          ENGINE_GL_X11_PRG="evas_gl_x11_test"
+          if [ test "$enableval" = "yes" ]; then
+            AC_MSG_RESULT(yes)
+            AM_CONDITIONAL(BUILD_ENGINE_GL_X11, test "$enableval" = "yes")
+            AC_DEFINE(BUILD_ENGINE_GL_X11)
+            AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, test "$enableval" = "yes")
+            AC_DEFINE(BUILD_ENGINE_GL_COMMON)
+             x_dir="/usr/X11R6";
+             x_cflags="-I"$x_dir"/include"
+             x_libs="-L"$x_dir"/lib -lX11 -lXext"
+             gl_cflags="-I/usr/include"
+             gl_libs="-L/usr/lib -lGL -lGLU -lpthread"
+            gl_dir=""
+            ENGINE_GL_X11_PRG="evas_gl_x11_test"
+          else
+            AC_MSG_RESULT(no)
+            AM_CONDITIONAL(BUILD_ENGINE_GL_X11, false)
+            AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, false)
+            ENGINE_GL_X11_PRG=""
+          fi
         ], [
           AC_MSG_RESULT(no)
           AM_CONDITIONAL(BUILD_ENGINE_GL_X11, false)
@@ -231,10 +268,14 @@
 
 AC_ARG_ENABLE(image-loader-png, 
   [  --enable-image-loader-png       enable png image loader], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_LOADER_PNG)
-      png_cflags=""
-      png_libs="-lpng -lz"
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(BUILD_LOADER_PNG)
+        png_cflags=""
+        png_libs="-lpng -lz"
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -242,10 +283,14 @@
 
 AC_ARG_ENABLE(image-loader-jpeg, 
   [  --enable-image-loader-jpeg      enable jpeg image loader], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_LOADER_JPEG)
-      jpeg_cflags=""
-      jpeg_libs="-ljpeg"
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+       AC_DEFINE(BUILD_LOADER_JPEG)
+       jpeg_cflags=""
+       jpeg_libs="-ljpeg"
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -253,10 +298,14 @@
 
 AC_ARG_ENABLE(image-loader-eet, 
   [  --enable-image-loader-eet       enable eet image loader], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_LOADER_EET)
-      eet_cflags=`eet-config --cflags`
-      eet_libs=`eet-config --libs`
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+       AC_DEFINE(BUILD_LOADER_EET)
+       eet_cflags=`eet-config --cflags`
+       eet_libs=`eet-config --libs`
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -264,10 +313,14 @@
 
 AC_ARG_ENABLE(image-loader-edb, 
   [  --enable-image-loader-edb       enable edb image loader], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_LOADER_EDB)
-      edb_cflags=`edb-config --cflags`
-      edb_libs=`edb-config --libs`" -lz"
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+       AC_DEFINE(BUILD_LOADER_EDB)
+       edb_cflags=`edb-config --cflags`
+       edb_libs=`edb-config --libs`" -lz"
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -277,8 +330,12 @@
 
 AC_ARG_ENABLE(small-dither-mask, 
   [  --enable-small-dither-mask      enable small dither mask code], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_SMALL_DITHER_MASK)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+       AC_DEFINE(BUILD_SMALL_DITHER_MASK)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -288,8 +345,12 @@
 
 AC_ARG_ENABLE(cpu-p2-only, 
   [  --enable-cpu-p2-only            enable assumption of pentium2/amd cpu], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(HARD_CODED_P2)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(HARD_CODED_P2)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -297,8 +358,12 @@
 
 AC_ARG_ENABLE(cpu-p3-only, 
   [  --enable-cpu-p3-only            enable assumption of pentium3 and up cpu], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(HARD_CODED_P3)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(HARD_CODED_P3)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -308,8 +373,12 @@
 
 AC_ARG_ENABLE(cpu-mmx, 
   [  --enable-cpu-mmx                enable mmx code], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_MMX)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(BUILD_MMX)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -317,8 +386,12 @@
 
 AC_ARG_ENABLE(cpu-sse, 
   [  --enable-cpu-sse                enable sse code], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_SSE)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(BUILD_SSE)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -326,8 +399,12 @@
 
 AC_ARG_ENABLE(cpu-c, 
   [  --enable-cpu-c                  enable C code], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_C)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(BUILD_C)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -337,8 +414,12 @@
 
 AC_ARG_ENABLE(scale-sample, 
   [  --enable-scale-sample           enable sampling scaler code], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_SCALE_SAMPLE)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(BUILD_SCALE_SAMPLE)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -346,8 +427,12 @@
 
 AC_ARG_ENABLE(scale-smooth, 
   [  --enable-scale-smooth           enable sampling scaler code], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_SCALE_SMOOTH)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(BUILD_SCALE_SMOOTH)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -355,8 +440,12 @@
 
 AC_ARG_ENABLE(scale-trilinear, 
   [  --enable-scale-trilinear        enable tri-linear scaler code], [
-      AC_MSG_RESULT(yes)
-      AC_DEFINE(BUILD_SCALE_TRILINEAR)
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+        AC_DEFINE(BUILD_SCALE_TRILINEAR)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -366,8 +455,12 @@
 
 AC_ARG_ENABLE(convert-8-rgb-332, 
   [  --enable-convert-8-rgb-332      enable 8bpp 332 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_8_RGB_332)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -375,8 +468,12 @@
 
 AC_ARG_ENABLE(convert-8-rgb-666, 
   [  --enable-convert-8-rgb-666      enable 8bpp 666 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_8_RGB_666)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -384,8 +481,12 @@
 
 AC_ARG_ENABLE(convert-8-rgb-232, 
   [  --enable-convert-8-rgb-232      enable 8bpp 232 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_8_RGB_232)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -393,8 +494,12 @@
 
 AC_ARG_ENABLE(convert-8-rgb-222, 
   [  --enable-convert-8-rgb-222      enable 8bpp 222 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_8_RGB_222)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -402,8 +507,12 @@
 
 AC_ARG_ENABLE(convert-8-rgb-221, 
   [  --enable-convert-8-rgb-221      enable 8bpp 221 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_8_RGB_221)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -411,8 +520,12 @@
 
 AC_ARG_ENABLE(convert-8-rgb-111, 
   [  --enable-convert-8-rgb-111      enable 8bpp 111 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_8_RGB_111)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -420,8 +533,12 @@
 
 AC_ARG_ENABLE(convert-16-rgb-565, 
   [  --enable-convert-16-rgb-565     enable 16bpp 565 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_16_RGB_565)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -429,8 +546,12 @@
 
 AC_ARG_ENABLE(convert-16-rgb-555, 
   [  --enable-convert-16-rgb-555     enable 16bpp 555 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_16_RGB_555)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -438,8 +559,12 @@
 
 AC_ARG_ENABLE(convert-16-rgb-444, 
   [  --enable-convert-16-rgb-444     enable 16bpp 444 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_16_RGB_444)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -447,8 +572,12 @@
 
 AC_ARG_ENABLE(convert-16-rgb-ipq, 
   [  --enable-convert-16-rgb-ipq     enable 16bpp 565 (444 ipaq) converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_16_RGB_454645)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -456,8 +585,12 @@
 
 AC_ARG_ENABLE(convert-16-rgb-rot-0, 
   [  --enable-convert-16-rgb-rot-0   enable 16bpp rotation 0 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_16_RGB_ROT0)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -465,8 +598,12 @@
 
 AC_ARG_ENABLE(convert-16-rgb-rot-270, 
   [  --enable-convert-16-rgb-rot-270 enable 16bpp rotation 270 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_16_RGB_ROT270)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -474,8 +611,12 @@
 
 AC_ARG_ENABLE(convert-16-rgb-rot-90, 
   [  --enable-convert-16-rgb-rot-90  enable 16bpp rotation 90 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_16_RGB_ROT90)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -483,8 +624,12 @@
 
 AC_ARG_ENABLE(convert-24-rgb-888, 
   [  --enable-convert-24-rgb-888     enable 24bpp rgb 888 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_24_RGB_888)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -492,8 +637,12 @@
 
 AC_ARG_ENABLE(convert-24-bgr-888, 
   [  --enable-convert-24-bgr-888     enable 24bpp bgr 888 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_24_BGR_888)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -501,8 +650,12 @@
 
 AC_ARG_ENABLE(convert-32-rgb-8888, 
   [  --enable-convert-32-rgb-8888    enable 32bpp rgb 8888 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_32_RGB_8888)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -510,8 +663,12 @@
 
 AC_ARG_ENABLE(convert-32-rgbx-8888, 
   [  --enable-convert-32-rgbx-8888    enable 32bpp rgbx 8888 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_32_RGBX_8888)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -519,8 +676,12 @@
 
 AC_ARG_ENABLE(convert-32-bgr-8888, 
   [  --enable-convert-32-bgr-8888    enable 32bpp bgr 8888 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_32_BGR_8888)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -528,8 +689,12 @@
 
 AC_ARG_ENABLE(convert-32-bgrx-8888, 
   [  --enable-convert-32-bgrx-8888    enable 32bpp bgrx 8888 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_32_BGRX_8888)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -537,8 +702,12 @@
 
 AC_ARG_ENABLE(convert-32-rgb-rot-0, 
   [  --enable-convert-32-rgb-rot-0   enable 32bpp rotation 0 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_32_RGB_ROT0)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -546,8 +715,12 @@
 
 AC_ARG_ENABLE(convert-32-rgb-rot-270, 
   [  --enable-convert-32-rgb-rot-270 enable 32bpp rotation 270 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_32_RGB_ROT270)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 
@@ -555,8 +728,12 @@
 
 AC_ARG_ENABLE(convert-32-rgb-rot-90, 
   [  --enable-convert-32-rgb-rot-90 enable 32bpp rotation 90 converter code], [
+      if [ test "$enableval" = "yes" ]; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(BUILD_CONVERT_32_RGB_ROT90)
+      else
+        AC_MSG_RESULT(no)
+      fi
   ], AC_MSG_RESULT(no)
 )
 




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to