mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-07 19:35:50 +01:00
Add GLIB_ASSERT_SET() as a helper for adding "must be set when
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com> * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as a helper for adding "must be set when cross-compiling" errors. * configure.in: For all cached variables without defaults, error out if they aren't set.
This commit is contained in:
parent
bf2ae7b7e5
commit
299b90ed7b
@ -1,3 +1,12 @@
|
||||
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
|
||||
a helper for adding "must be set when cross-compiling"
|
||||
errors.
|
||||
|
||||
* configure.in: For all cached variables without defaults,
|
||||
error out if they aren't set.
|
||||
|
||||
Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Also assume AC_LINK_IFELSE() is
|
||||
|
@ -1,3 +1,12 @@
|
||||
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
|
||||
a helper for adding "must be set when cross-compiling"
|
||||
errors.
|
||||
|
||||
* configure.in: For all cached variables without defaults,
|
||||
error out if they aren't set.
|
||||
|
||||
Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Also assume AC_LINK_IFELSE() is
|
||||
|
@ -1,3 +1,12 @@
|
||||
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
|
||||
a helper for adding "must be set when cross-compiling"
|
||||
errors.
|
||||
|
||||
* configure.in: For all cached variables without defaults,
|
||||
error out if they aren't set.
|
||||
|
||||
Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Also assume AC_LINK_IFELSE() is
|
||||
|
@ -1,3 +1,12 @@
|
||||
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
|
||||
a helper for adding "must be set when cross-compiling"
|
||||
errors.
|
||||
|
||||
* configure.in: For all cached variables without defaults,
|
||||
error out if they aren't set.
|
||||
|
||||
Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Also assume AC_LINK_IFELSE() is
|
||||
|
@ -1,3 +1,12 @@
|
||||
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
|
||||
a helper for adding "must be set when cross-compiling"
|
||||
errors.
|
||||
|
||||
* configure.in: For all cached variables without defaults,
|
||||
error out if they aren't set.
|
||||
|
||||
Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Also assume AC_LINK_IFELSE() is
|
||||
|
@ -1,3 +1,12 @@
|
||||
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
|
||||
a helper for adding "must be set when cross-compiling"
|
||||
errors.
|
||||
|
||||
* configure.in: For all cached variables without defaults,
|
||||
error out if they aren't set.
|
||||
|
||||
Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Also assume AC_LINK_IFELSE() is
|
||||
|
@ -1,3 +1,12 @@
|
||||
Wed Dec 11 17:00:20 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
|
||||
a helper for adding "must be set when cross-compiling"
|
||||
errors.
|
||||
|
||||
* configure.in: For all cached variables without defaults,
|
||||
error out if they aren't set.
|
||||
|
||||
Wed Dec 11 15:52:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Also assume AC_LINK_IFELSE() is
|
||||
|
@ -741,6 +741,8 @@ if test "$ac_cv_func_memmove" != "yes"; then
|
||||
}
|
||||
return(0);
|
||||
}],glib_cv_working_bcopy=yes,glib_cv_working_bcopy=no)])
|
||||
|
||||
GLIB_ASSERT_SET(glib_cv_working_bcopy)
|
||||
if test "$glib_cv_working_bcopy" = "yes"; then
|
||||
AC_DEFINE(HAVE_WORKING_BCOPY,1,[Have a working bcopy])
|
||||
fi
|
||||
@ -1031,6 +1033,7 @@ dnl *** check whether we need preceeding underscores
|
||||
[])
|
||||
rm -f plugin.c plugin.$ac_objext plugin.lo
|
||||
])
|
||||
GLIB_ASSERT_SET(glib_cv_uscore)
|
||||
if test "x$glib_cv_uscore" = "xyes"; then
|
||||
G_MODULE_NEED_USCORE=1
|
||||
else
|
||||
@ -1557,6 +1560,7 @@ int main () {
|
||||
} ],
|
||||
[ac_cv_func_posix_getpwuid_r=yes],
|
||||
[ac_cv_func_posix_getpwuid_r=no])])
|
||||
GLIB_ASSERT_SET(ac_cv_func_posix_getpwuid_r)
|
||||
if test "$ac_cv_func_posix_getpwuid_r" = yes; then
|
||||
AC_DEFINE(HAVE_POSIX_GETPWUID_R,1,
|
||||
[Have POSIX function getpwuid_r])
|
||||
@ -1570,6 +1574,7 @@ int main () {
|
||||
sizeof (buffer));],
|
||||
[ac_cv_func_nonposix_getpwuid_r=yes],
|
||||
[ac_cv_func_nonposix_getpwuid_r=no])])
|
||||
GLIB_ASSERT_SET(ac_cv_func_nonposix_getpwuid_r)
|
||||
if test "$ac_cv_func_nonposix_getpwuid_r" = yes; then
|
||||
AC_DEFINE(HAVE_NONPOSIX_GETPWUID_R,1,
|
||||
[Have non-POSIX function getpwuid_r])
|
||||
@ -1661,6 +1666,7 @@ main()
|
||||
[glib_cv_use_pid_surrogate=yes],
|
||||
[glib_cv_use_pid_surrogate=no],
|
||||
[])])
|
||||
GLIB_ASSERT_SET(glib_cv_use_pid_surrogate)
|
||||
if test "$glib_cv_use_pid_surrogate" = "yes" ; then
|
||||
AC_DEFINE(G_THREAD_USE_PID_SURROGATE, 1,
|
||||
[whether to use the PID niceness surrogate for thread priorities])
|
||||
|
Loading…
x
Reference in New Issue
Block a user