summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-03-13 01:14:19 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-03-13 01:14:19 +0000
commitb82992851ff1d2f4738052c07fb2bae5b88eda87 (patch)
tree965ded029657175aec369cebf9fecfd7150150c6 /configure.in
parent700891684e80e738fd92749acb0c552ca99f1ca9 (diff)
downloadgtk+-b82992851ff1d2f4738052c07fb2bae5b88eda87.tar.gz
Check for dirent.h and pwd.h.
* configure.in acconfig.h: Check for dirent.h and pwd.h. * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32 version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde expansion (based on HAVE_PWD_H), allow for drive letters UNC names not handled yet. Also, code from Craig Setera's port to Win32 that uses cygwin.dll
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 4c5b9794e6..4af37b70c2 100644
--- a/configure.in
+++ b/configure.in
@@ -269,6 +269,9 @@ AC_SUBST(glib_thread_cflags)
AC_SUBST(glib_thread_libs)
AC_SUBST(GLIB_DEPLIBS)
+AC_CHECK_HEADERS(dirent.h, AC_DEFINE(HAVE_DIRENT_H))
+AC_CHECK_HEADERS(pwd.h, AC_DEFINE(HAVE_PWD_H))
+
# Find the X11 include and library directories
AC_PATH_X
AC_PATH_XTRA