diff options
author | Owen Taylor <otaylor@redhat.com> | 1998-12-02 14:55:27 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-12-02 14:55:27 +0000 |
commit | beab982e3b8547c1f7d95e6d8f51d4ad430a7694 (patch) | |
tree | 320b704f249ec6bab3cb176847422a4482e73e15 /configure.in | |
parent | c8477277fec2943a203242cf6bf5c43c9a141693 (diff) |
Merge main loop into head. This probably breaks Win32, until
someone does the necessary updates.
Sat Nov 28 12:53:47 1998 Owen Taylor <otaylor@redhat.com>
* Makefile.am configure.in acconfig.h giochannel.c
glib.h glist.c gmain.c gutils.c:
- Revised GIOChannel to provide a generic virtual-function
based interface.
- Added unix fd-based GIOChannel's
- Added generic main-loop abstraction
- Added timeouts and idle functions using main-loop abstraction.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 8e104e7e0..00817003e 100644 --- a/configure.in +++ b/configure.in @@ -226,6 +226,7 @@ AC_CHECK_HEADERS(float.h, AC_DEFINE(HAVE_FLOAT_H)) AC_CHECK_HEADERS(limits.h, AC_DEFINE(HAVE_LIMITS_H)) AC_CHECK_HEADERS(pwd.h, AC_DEFINE(HAVE_PWD_H)) AC_CHECK_HEADERS(sys/param.h, AC_DEFINE(HAVE_SYS_PARAM_H)) +AC_CHECK_HEADERS(sys/poll.h, AC_DEFINE(HAVE_SYS_POLL_H)) AC_CHECK_HEADERS(sys/select.h, AC_DEFINE(HAVE_SYS_SELECT_H)) AC_CHECK_HEADERS(sys/time.h, AC_DEFINE(HAVE_SYS_TIME_H)) AC_CHECK_HEADERS(sys/times.h, AC_DEFINE(HAVE_SYS_TIMES_H)) @@ -233,7 +234,7 @@ AC_CHECK_HEADERS(unistd.h, AC_DEFINE(HAVE_UNISTD_H)) AC_CHECK_HEADERS(values.h, AC_DEFINE(HAVE_VALUES_H)) # Check for some functions -AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp) +AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf strcasecmp strncasecmp poll) # Check for sys_errlist AC_MSG_CHECKING(for sys_errlist) @@ -549,6 +550,9 @@ outfile_EOF if test x$glib_values_h = xyes; then echo '#include <values.h>' >> $outfile fi + if test x$glib_sys_poll_h = xyes; then + echo '#include <sys/poll.h>' >> $outfile + fi cat >> $outfile <<outfile_EOF @@ -697,6 +701,10 @@ x$ac_cv_header_values_h) ;; esac +if test x$ac_cv_header_sys_poll_h = xyes ; then + glib_sys_poll_h=yes +fi + case 2 in $ac_cv_sizeof_short) gint16=short;; $ac_cv_sizeof_int) gint16=int;; |