mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Specifically check for X11/extensions/sync.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@39197 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e37551c342
commit
65edc2e961
3 changed files with 30 additions and 3 deletions
12
config.h.in
12
config.h.in
|
@ -53,9 +53,6 @@
|
|||
/* Define to 1 if you have the `Xt' library (-lXt). */
|
||||
#undef HAVE_LIBXT
|
||||
|
||||
/* Define to 1 if you have the `shape' extension. */
|
||||
#undef HAVE_XSHAPE
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
|
@ -98,6 +95,12 @@
|
|||
/* Define if you have the wgl library */
|
||||
#undef HAVE_WGL
|
||||
|
||||
/* Define to 1 if you have the <X11/extensions/shape.h> header file. */
|
||||
#undef HAVE_X11_EXTENSIONS_SHAPE_H
|
||||
|
||||
/* Define to 1 if you have the <X11/extensions/sync.h> header file. */
|
||||
#undef HAVE_X11_EXTENSIONS_SYNC_H
|
||||
|
||||
/* Define to 1 if you have the <X11/extensions/XShm.h> header file. */
|
||||
#undef HAVE_X11_EXTENSIONS_XSHM_H
|
||||
|
||||
|
@ -114,6 +117,9 @@
|
|||
/* Define to 1 if you have 'XInternAtoms' function. */
|
||||
#undef HAVE_XINTERNATOMS
|
||||
|
||||
/* Define to enable Xshape support */
|
||||
#undef HAVE_XSHAPE
|
||||
|
||||
/* Define to 1 if you have the `Xutf8LookupString' function. */
|
||||
#undef HAVE_XUTF8LOOKUPSTRING
|
||||
|
||||
|
|
16
configure
vendored
16
configure
vendored
|
@ -4932,6 +4932,22 @@ fi
|
|||
|
||||
fi
|
||||
|
||||
for ac_header in X11/extensions/sync.h
|
||||
do :
|
||||
ac_fn_c_check_header_compile "$LINENO" "X11/extensions/sync.h" "ac_cv_header_X11_extensions_sync_h" "#include <X11/X.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
"
|
||||
if test "x$ac_cv_header_X11_extensions_sync_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_X11_EXTENSIONS_SYNC_H 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
|
||||
LIBS="$X_LIBS $LIBS"
|
||||
fi
|
||||
|
||||
|
|
|
@ -213,6 +213,11 @@ if test $set_x_paths = yes; then
|
|||
,)
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS(X11/extensions/sync.h,,,
|
||||
[#include <X11/X.h>
|
||||
#include <X11/Xutil.h>
|
||||
])
|
||||
|
||||
LIBS="$X_LIBS $LIBS"
|
||||
fi
|
||||
AC_SUBST(X_PRE_LIBS)
|
||||
|
|
Loading…
Reference in a new issue