Ticket #37137: glib2-configure.in.diff

File glib2-configure.in.diff, 671 bytes (added by cooljeanius (Eric Gallager), 12 years ago)

patch to apply to glib2's configure.in file (which really should be renamed to "configure.ac")

  • configure.

    old new  
    877877AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h])
    878878AC_CHECK_HEADERS([sys/select.h sys/types.h stdint.h inttypes.h sched.h malloc.h])
    879879AC_CHECK_HEADERS([sys/vfs.h sys/mount.h sys/vmount.h sys/statfs.h sys/statvfs.h])
    880 AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
     880if [ "`uname`" != "Darwin" ]; then
     881        AC_CHECK_HEADERS([mntent.h])
     882fi
     883AC_CHECK_HEADERS([sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
    881884AC_CHECK_HEADERS([sys/uio.h])
    882885
    883886# check for structure fields