Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
[gnokii.git] / configure.in
index 0a30589..e755049 100644 (file)
@@ -32,9 +32,7 @@ test x"$prefix" = xNONE && prefix="$ac_default_prefix"
 
 AC_ARG_ENABLE(debug, 
        [  --enable-debug          compile with debug code],
-       [ if test "x$GCC" = "xyes"; then
-               CFLAGS="-ggdb3 -Wall"
-         fi
+       [ CFLAGS="-ggdb3 -Wall"
          AC_DEFINE(DEBUG)
          debug="yes" ],
        [ debug="no"  ]
@@ -330,7 +328,7 @@ else
       AC_MSG_WARN(Disabling xgnokii.)
    else
       AC_CHECK_LIB(Xpm, XpmWriteFileFromXpmImage,
-            [ XPM_CFLAGS="-I$x_includes" XPM_LIBS="-L$x_libraries -lX11 -lXpm"
+            [ XPM_CFLAGS="-I$x_includes" XPM_LIBS="-L$x_libraries -lXpm -lX11"
               AC_DEFINE(XPM) ],
             AC_MSG_WARN(Cannot found library libXpm - disabling XPM support.),
             [ -L$x_libraries -lX11 ]