Commits

Ondřej Surý  committed 11ac773

Remove unneeded -lX11 when linking with -lXpm

  • Participants
  • Parent commits 2e07150

Comments (0)

Files changed (1)

File configure.ac

 
 if test "$withval" != no; then
   AC_CHECK_LIB(Xpm,XpmReadFileToXpmImage,
-    [LIBS="-lXpm -lX11 $LIBS"
+    [LIBS="-lXpm $LIBS"
      FEATURES="GD_XPM $FEATURES"
-     AC_DEFINE(HAVE_LIBXPM, 1, [ Define if you have the Xpm library. ])],,
-    [-lX11])
+     AC_DEFINE(HAVE_LIBXPM, 1, [ Define if you have the Xpm library. ])])
 else
   ac_cv_lib_Xpm_XpmReadFileToXpmImage=no
 fi