dbus ChangeLog,1.1145,1.1146 configure.in,1.187,1.188
John Palmieri
johnp at kemper.freedesktop.org
Fri Oct 13 13:32:50 PDT 2006
Update of /cvs/dbus/dbus
In directory kemper:/tmp/cvs-serv5704
Modified Files:
ChangeLog configure.in
Log Message:
* configure.in: when checking for posix getpwnam_r assume true
for cross compiles
Index: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.1145
retrieving revision 1.1146
diff -u -d -r1.1145 -r1.1146
--- ChangeLog 13 Oct 2006 20:01:16 -0000 1.1145
+++ ChangeLog 13 Oct 2006 20:32:48 -0000 1.1146
@@ -1,4 +1,9 @@
-2006-10-11 John (J5) Palmieri <johnp at redhat.com>
+2006-10-13 John (J5) Palmieri <johnp at redhat.com>
+
+ * configure.in: when checking for posix getpwnam_r assume true
+ for cross compiles
+
+2006-10-13 John (J5) Palmieri <johnp at redhat.com>
* configure.in: Check for gethostbyname first before we check for it
in libnsl. On gnu systems it is implemeneted
Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- configure.in 13 Oct 2006 20:01:16 -0000 1.187
+++ configure.in 13 Oct 2006 20:32:48 -0000 1.188
@@ -532,6 +532,11 @@
AC_CHECK_HEADERS(errno.h)
+# checking for a posix version of getpwnam_r
+# if we are cross compiling and can not run the test
+# assume getpwnam_r is the posix version
+# it is up to the person cross compiling to change
+# this behavior if desired
AC_CACHE_CHECK([for posix getpwnam_r],
ac_cv_func_posix_getpwnam_r,
[AC_TRY_RUN([
@@ -548,7 +553,8 @@
|| error == ENOSYS;
} ],
[ac_cv_func_posix_getpwnam_r=yes],
- [ac_cv_func_posix_getpwnam_r=no])])
+ [ac_cv_func_posix_getpwnam_r=no],
+ [ac_cv_func_posix_getpwnam_r=yes])])
if test "$ac_cv_func_posix_getpwnam_r" = yes; then
AC_DEFINE(HAVE_POSIX_GETPWNAM_R,1,
[Have POSIX function getpwnam_r])
More information about the dbus-commit
mailing list