summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>1999-10-09 18:04:21 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>1999-10-09 18:04:21 +0000
commit15dcd0a2c50d308b3e1536d31f4c72cf87e896a1 (patch)
treec493e99f559939b5fe298a54c6eeda58f30bec3d
parentccfef94ec597381aa6cafe806abb8083fe21132c (diff)
downloadirssi-15dcd0a2c50d308b3e1536d31f4c72cf87e896a1.zip
popt-gnome.h isn't used anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@39 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--acconfig.h1
-rw-r--r--configure.in8
-rw-r--r--src/common.h8
3 files changed, 3 insertions, 14 deletions
diff --git a/acconfig.h b/acconfig.h
index 3ff17f52..66b749ad 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -14,7 +14,6 @@
#undef HAVE_IPV6
#undef HAVE_POPT_H
-#undef HAVE_POPT_GNOME_H
#undef HAVE_SOCKS_H
#undef HAVE_NCURSES_USE_DEFAULT_COLORS
diff --git a/configure.in b/configure.in
index 120c0826..0042c991 100644
--- a/configure.in
+++ b/configure.in
@@ -196,10 +196,6 @@ else
PROG_LIBS="$PROG_LIBS $poptlib -lpopt"
if test -f $popt_dir/include/popt.h; then
AC_DEFINE(HAVE_POPT_H)
- else
- if test -f $popt_dir/include/popt-gnome.h; then
- AC_DEFINE(HAVE_POPT_GNOME_H)
- fi
fi
fi
@@ -262,11 +258,9 @@ if test "x$want_gnome" = "xyes"; then
AC_DEFINE(HAVE_GTK)
AC_DEFINE(HAVE_GNOME)
AC_DEFINE(HAVE_IMLIB)
- AC_DEFINE(HAVE_POPT_GNOME_H)
GNOME_SUPPORT_CHECKS
- dnl ** needed for including popt-gnome.h
- CFLAGS="$CFLAGS $GNOME_INCLUDEDIR"
+ GUI_CFLAGS="$GNOME_INCLUDEDIR"
dnl **
dnl ** check for gnome panel applet library
diff --git a/src/common.h b/src/common.h
index ca777c27..f176ea0e 100644
--- a/src/common.h
+++ b/src/common.h
@@ -27,13 +27,9 @@
#include <sys/utsname.h>
#ifdef HAVE_POPT_H
-#include <popt.h>
+# include <popt.h>
#else
-# ifdef HAVE_POPT_GNOME_H
-# include <popt-gnome.h>
-# else
-# include <lib-popt/popt.h>
-# endif
+# include <src/lib-popt/popt.h>
#endif
#ifdef HAVE_UNISTD_H