]> git.eshelyaron.com Git - emacs.git/commitdiff
Updated.
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 14 Jun 2007 06:56:48 +0000 (06:56 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 14 Jun 2007 06:56:48 +0000 (06:56 +0000)
configure

index 057e4720dd06c9ac5fbc456b8761893a31ee9373..b60013c2d5f3ac04cbfacf2a287456ae9bbf58a3 100755 (executable)
--- a/configure
+++ b/configure
@@ -13067,13 +13067,6 @@ echo "${ECHO_T}yes" >&6; }
       else
        { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
-        { { echo "$as_me:$LINENO: error: libXpm is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-xpm=no if you don't wan't to link with libXpm" >&5
-echo "$as_me: error: libXpm is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-xpm=no if you don't wan't to link with libXpm" >&2;}
-   { (exit 1); exit 1; }; }
       fi
     fi
   fi
 fi
 
 
-    if  test "${HAVE_JPEG}" != "yes"; then
-      { { echo "$as_me:$LINENO: error: libjpeg is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-jpeg=no if you don't wan't to link with libjpeg" >&5
-echo "$as_me: error: libjpeg is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-jpeg=no if you don't wan't to link with libjpeg" >&2;}
-   { (exit 1); exit 1; }; }
-    fi
   fi
 
 
@@ -13542,15 +13526,6 @@ if test $ac_cv_lib_png_png_get_channels = yes; then
 fi
 
     fi
-    if  test "${HAVE_PNG}" != "yes"; then
-      { { echo "$as_me:$LINENO: error: libpng is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-png=no if you don't wan't to link with libpng" >&5
-echo "$as_me: error: libpng is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-png=no if you don't wan't to link with libpng" >&2;}
-   { (exit 1); exit 1; }; }
-    fi
   fi
 
   if test "${HAVE_PNG}" = "yes"; then
 fi
 
 
-    if  test "${HAVE_TIFF}" != "yes"; then
-      { { echo "$as_me:$LINENO: error: libtiff is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-tiff=no if you don't wan't to link with libtiff" >&5
-echo "$as_me: error: libtiff is required, but I didn't find it.
-Maybe some development libraries/packages are missing?
-Use --with-tiff=no if you don't wan't to link with libtiff" >&2;}
-   { (exit 1); exit 1; }; }
-    fi
   fi
 
   if test "${HAVE_TIFF}" = "yes"; then
@@ -14073,13 +14039,36 @@ cat >>confdefs.h <<\_ACEOF
 #define HAVE_GIF 1
 _ACEOF
 
-  else
-    { { echo "$as_me:$LINENO: error: libgif or libungif is required, but I didn't find it.
+  fi
+fi
+
+if test "${HAVE_X11}" = "yes"; then
+  MISSING=""
+  WITH_NO=""
+  test "${with_xpm}" != "no" && test "${HAVE_XPM}" != "yes" &&
+    MISSING="libXpm" && WITH_NO="--with-xpm=no"
+  test "${with_jpeg}" != "no" && test "${HAVE_JPEG}" != "yes" &&
+    MISSING="$MISSING libjpeg" && WITH_NO="$WITH_NO --with-jpeg=no"
+  test "${with_png}" != "no" && test "${HAVE_PNG}" != "yes" &&
+    MISSING="$MISSING libpng" && WITH_NO="$WITH_NO --with-png=no"
+  test "${with_gif}" != "no" && test "${HAVE_GIF}" != "yes" &&
+    MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
+  test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
+    MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
+
+  if test "X${MISSING}" != X; then
+    { { echo "$as_me:$LINENO: error: The following required libraries was not found:
+    $MISSING
 Maybe some development libraries/packages are missing?
-Use --with-gif=no if you don't wan't to link with libgif/ungif" >&5
-echo "$as_me: error: libgif or libungif is required, but I didn't find it.
+If you don't want to link with them give
+    $WITH_NO
+as options to configure" >&5
+echo "$as_me: error: The following required libraries was not found:
+    $MISSING
 Maybe some development libraries/packages are missing?
-Use --with-gif=no if you don't wan't to link with libgif/ungif" >&2;}
+If you don't want to link with them give
+    $WITH_NO
+as options to configure" >&2;}
    { (exit 1); exit 1; }; }
   fi
 fi
@@ -23423,6 +23412,7 @@ fi
 
 
 
+
 #### Report on what we decided to do.
 #### Report GTK as a toolkit, even if it doesn't use Xt.
 #### It makes printing result more understandable as using GTK sets