• Jan Djärv's avatar
    Add HAVE_GLIB check instead of checking individual libraries that use GLib. · 55a87246
    Jan Djärv authored
    * configure.ac (HAVE_GLIB): Add GLib check.  Set XGSELOBJ if GLib is
    used.  Remove xgselect.o from XOBJ.
    * src/Makefile.in (XGSELOBJ): New, xgselect.o if GLib is used, or empty.
    * src/process.c (wait_reading_process_output): Call xg_select if HAVE_GLIB.
    * src/xgselect.c: Replace #if defined ... with #ifdef HAVE_GLIB.
process.c 210 KB