diff --git a/configure b/configure
index fff1672ae6a20b17ee18c22be50afbcd479c2c9d..dbb00a74a9612fcc38103167ad1fb6c97352f306 100755
--- a/configure
+++ b/configure
@@ -3355,7 +3355,7 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6
 if test $ac_cv_lib_jpeg_jpeg_destroy_decompress = yes; then
-  VERSION_FLAGS="${VERSION_FLAGS} -DHAVE_LIBJPG" GUI_LIBS="${GUI_LIBS} -ljpeg"
+  VERSION_FLAGS="${VERSION_FLAGS} -DHAVE_LIBJPEG" GUI_LIBS="${GUI_LIBS} -ljpeg"
 fi
 
 fi
diff --git a/configure.in b/configure.in
index d4a303c2000a60fd265c2367d88323d20115392e..7f75591a485e7c927e2690265115714f54346f1a 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-dnl "$Id: configure.in,v 1.8 2003-02-12 16:12:27 geuzaine Exp $"
+dnl "$Id: configure.in,v 1.9 2003-02-12 16:20:31 geuzaine Exp $"
 dnl
 dnl Machine independent configuration script for Gmsh.
 dnl
@@ -119,7 +119,7 @@ fi
 dnl Check if libjpeg is available (in case fltk didn't find it) to enable/disable gl2jpg
 AC_CHECK_HEADER(jpeglib.h,
   AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
-    VERSION_FLAGS="${VERSION_FLAGS} -DHAVE_LIBJPG" GUI_LIBS="${GUI_LIBS} -ljpeg"))
+    VERSION_FLAGS="${VERSION_FLAGS} -DHAVE_LIBJPEG" GUI_LIBS="${GUI_LIBS} -ljpeg"))
 
 dnl Check if if should build the parallel version
 if test "x$enable_parallel" = "xyes"; then