24605 echo "${ECHO_T}$dbus_cv_va_val_copy" >&6
24606
24607 if test "x$dbus_cv_va_val_copy" = "xno"; then
24608
24609 cat >>confdefs.h <<\_ACEOF
24610 #define DBUS_VA_COPY_AS_ARRAY 1
24611 _ACEOF
24612
24613 fi
24614
24615
24616 #### Atomic integers (checks by Sebastian Wilhelmi for GLib)
24617 echo "$as_me:$LINENO: checking whether to use inline assembler routines for atomic integers" >&5
24618 echo $ECHO_N "checking whether to use inline assembler routines for atomic integers... $ECHO_C" >&6
24619 have_atomic_inc=no
24620 if test x"$GCC" = xyes; then
24621 if test "x$enable_ansi" = "xyes"; then
24622 echo "$as_me:$LINENO: result: no" >&5
24623 echo "${ECHO_T}no" >&6
24624 else
24625 case $host_cpu in
24626 i386)
24627 echo "$as_me:$LINENO: result: no" >&5
24628 echo "${ECHO_T}no" >&6
24629 ;;
24630 i?86)
24631 echo "$as_me:$LINENO: result: i486" >&5
24632 echo "${ECHO_T}i486" >&6
24633
24634 cat >>confdefs.h <<_ACEOF
24635 #define DBUS_USE_ATOMIC_INT_486 1
24636 _ACEOF
24637
24638 have_atomic_inc=yes
24639 ;;
24640 *)
24641 echo "$as_me:$LINENO: result: no" >&5
24642 echo "${ECHO_T}no" >&6
24643 ;;
24644 esac
24645 fi
25788
25789 dbus_have_struct_cmsgcred=no
25790 fi
25791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25792 echo "$as_me:$LINENO: result: $dbus_have_struct_cmsgcred" >&5
25793 echo "${ECHO_T}$dbus_have_struct_cmsgcred" >&6
25794
25795 if test x$dbus_have_struct_cmsgcred = xyes; then
25796
25797 cat >>confdefs.h <<\_ACEOF
25798 #define HAVE_CMSGCRED 1
25799 _ACEOF
25800
25801 fi
25802
25803
25804 #### Abstract sockets
25805
25806 echo "$as_me:$LINENO: checking abstract socket namespace" >&5
25807 echo $ECHO_N "checking abstract socket namespace... $ECHO_C" >&6
25808 ac_ext=c
25809 ac_cpp='$CPP $CPPFLAGS'
25810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25813
25814 if test "$cross_compiling" = yes; then
25815 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25816 See \`config.log' for more details." >&5
25817 echo "$as_me: error: cannot run test program while cross compiling
25818 See \`config.log' for more details." >&2;}
25819 { (exit 1); exit 1; }; }
25820 else
25821 cat >conftest.$ac_ext <<_ACEOF
25822 /* confdefs.h. */
25823 _ACEOF
25824 cat confdefs.h >>conftest.$ac_ext
25825 cat >>conftest.$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25827
25880 have_abstract_sockets=yes
25881 else
25882 echo "$as_me: program exited with status $ac_status" >&5
25883 echo "$as_me: failed program was:" >&5
25884 sed 's/^/| /' conftest.$ac_ext >&5
25885
25886 ( exit $ac_status )
25887 have_abstract_sockets=no
25888 fi
25889 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25890 fi
25891 ac_ext=c
25892 ac_cpp='$CPP $CPPFLAGS'
25893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25896
25897 echo "$as_me:$LINENO: result: $have_abstract_sockets" >&5
25898 echo "${ECHO_T}$have_abstract_sockets" >&6
25899
25900 if test x$enable_abstract_sockets = xyes; then
25901 if test x$have_abstract_sockets = xno; then
25902 { { echo "$as_me:$LINENO: error: Abstract sockets explicitly required, and support not detected." >&5
25903 echo "$as_me: error: Abstract sockets explicitly required, and support not detected." >&2;}
25904 { (exit 1); exit 1; }; }
25905 fi
25906 fi
25907
25908 if test x$enable_abstract_sockets = xno; then
25909 have_abstract_sockets=no;
25910 fi
25911
25912 if test x$have_abstract_sockets = xyes ; then
25913 DBUS_PATH_OR_ABSTRACT=abstract
25914
25915 cat >>confdefs.h <<\_ACEOF
25916 #define HAVE_ABSTRACT_SOCKETS 1
25917 _ACEOF
25918
25919 else
30359 DBUS_INIT_SCRIPTS_SLACKWARE_FALSE=
30360 fi
30361
30362
30363 ##### Set up location for system bus socket
30364 if ! test -z "$with_system_socket"; then
30365 DBUS_SYSTEM_SOCKET=$with_system_socket
30366 else
30367 DBUS_SYSTEM_SOCKET=${EXPANDED_LOCALSTATEDIR}/run/dbus/system_bus_socket
30368 fi
30369
30370
30371
30372 cat >>confdefs.h <<_ACEOF
30373 #define DBUS_SYSTEM_SOCKET "$DBUS_SYSTEM_SOCKET"
30374 _ACEOF
30375
30376
30377 ## system bus only listens on local domain sockets, and never
30378 ## on an abstract socket (so only root can create the socket)
30379 DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=$DBUS_SYSTEM_SOCKET"
30380
30381
30382 cat >>confdefs.h <<_ACEOF
30383 #define DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "$DBUS_SYSTEM_BUS_DEFAULT_ADDRESS"
30384 _ACEOF
30385
30386
30387 #### Set up the pid file
30388 if ! test -z "$with_system_pid_file"; then
30389 DBUS_SYSTEM_PID_FILE=$with_system_pid_file
30390 elif test x$operating_system = xredhat ; then
30391 DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/messagebus.pid
30392 else
30393 DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/dbus/pid
30394 fi
30395
30396
30397
30398 #### Directory to check for console ownership
30399 if ! test -z "$with_console_auth_dir"; then
|
24605 echo "${ECHO_T}$dbus_cv_va_val_copy" >&6
24606
24607 if test "x$dbus_cv_va_val_copy" = "xno"; then
24608
24609 cat >>confdefs.h <<\_ACEOF
24610 #define DBUS_VA_COPY_AS_ARRAY 1
24611 _ACEOF
24612
24613 fi
24614
24615
24616 #### Atomic integers (checks by Sebastian Wilhelmi for GLib)
24617 echo "$as_me:$LINENO: checking whether to use inline assembler routines for atomic integers" >&5
24618 echo $ECHO_N "checking whether to use inline assembler routines for atomic integers... $ECHO_C" >&6
24619 have_atomic_inc=no
24620 if test x"$GCC" = xyes; then
24621 if test "x$enable_ansi" = "xyes"; then
24622 echo "$as_me:$LINENO: result: no" >&5
24623 echo "${ECHO_T}no" >&6
24624 else
24625 case $target_cpu in
24626 i386)
24627 echo "$as_me:$LINENO: result: no" >&5
24628 echo "${ECHO_T}no" >&6
24629 ;;
24630 i?86)
24631 echo "$as_me:$LINENO: result: i486" >&5
24632 echo "${ECHO_T}i486" >&6
24633
24634 cat >>confdefs.h <<_ACEOF
24635 #define DBUS_USE_ATOMIC_INT_486 1
24636 _ACEOF
24637
24638 have_atomic_inc=yes
24639 ;;
24640 *)
24641 echo "$as_me:$LINENO: result: no" >&5
24642 echo "${ECHO_T}no" >&6
24643 ;;
24644 esac
24645 fi
25788
25789 dbus_have_struct_cmsgcred=no
25790 fi
25791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25792 echo "$as_me:$LINENO: result: $dbus_have_struct_cmsgcred" >&5
25793 echo "${ECHO_T}$dbus_have_struct_cmsgcred" >&6
25794
25795 if test x$dbus_have_struct_cmsgcred = xyes; then
25796
25797 cat >>confdefs.h <<\_ACEOF
25798 #define HAVE_CMSGCRED 1
25799 _ACEOF
25800
25801 fi
25802
25803
25804 #### Abstract sockets
25805
25806 echo "$as_me:$LINENO: checking abstract socket namespace" >&5
25807 echo $ECHO_N "checking abstract socket namespace... $ECHO_C" >&6
25808 if test x$have_abstract_sockets = x; then
25809 ac_ext=c
25810 ac_cpp='$CPP $CPPFLAGS'
25811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25814
25815 if test "$cross_compiling" = yes; then
25816 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25817 See \`config.log' for more details." >&5
25818 echo "$as_me: error: cannot run test program while cross compiling
25819 See \`config.log' for more details." >&2;}
25820 { (exit 1); exit 1; }; }
25821 else
25822 cat >conftest.$ac_ext <<_ACEOF
25823 /* confdefs.h. */
25824 _ACEOF
25825 cat confdefs.h >>conftest.$ac_ext
25826 cat >>conftest.$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25828
25881 have_abstract_sockets=yes
25882 else
25883 echo "$as_me: program exited with status $ac_status" >&5
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.$ac_ext >&5
25886
25887 ( exit $ac_status )
25888 have_abstract_sockets=no
25889 fi
25890 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25891 fi
25892 ac_ext=c
25893 ac_cpp='$CPP $CPPFLAGS'
25894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
25898 echo "$as_me:$LINENO: result: $have_abstract_sockets" >&5
25899 echo "${ECHO_T}$have_abstract_sockets" >&6
25900
25901 # here if have_abstract_sockets is cached
25902 else
25903 echo "$as_me:$LINENO: result: $have_abstract_sockets" >&5
25904 echo "${ECHO_T}$have_abstract_sockets (cached)" >&6
25905 fi
25906
25907 if test x$enable_abstract_sockets = xyes; then
25908 if test x$have_abstract_sockets = xno; then
25909 { { echo "$as_me:$LINENO: error: Abstract sockets explicitly required, and support not detected." >&5
25910 echo "$as_me: error: Abstract sockets explicitly required, and support not detected." >&2;}
25911 { (exit 1); exit 1; }; }
25912 fi
25913 fi
25914
25915 if test x$enable_abstract_sockets = xno; then
25916 have_abstract_sockets=no;
25917 fi
25918
25919 if test x$have_abstract_sockets = xyes ; then
25920 DBUS_PATH_OR_ABSTRACT=abstract
25921
25922 cat >>confdefs.h <<\_ACEOF
25923 #define HAVE_ABSTRACT_SOCKETS 1
25924 _ACEOF
25925
25926 else
30366 DBUS_INIT_SCRIPTS_SLACKWARE_FALSE=
30367 fi
30368
30369
30370 ##### Set up location for system bus socket
30371 if ! test -z "$with_system_socket"; then
30372 DBUS_SYSTEM_SOCKET=$with_system_socket
30373 else
30374 DBUS_SYSTEM_SOCKET=${EXPANDED_LOCALSTATEDIR}/run/dbus/system_bus_socket
30375 fi
30376
30377
30378
30379 cat >>confdefs.h <<_ACEOF
30380 #define DBUS_SYSTEM_SOCKET "$DBUS_SYSTEM_SOCKET"
30381 _ACEOF
30382
30383
30384 ## system bus only listens on local domain sockets, and never
30385 ## on an abstract socket (so only root can create the socket)
30386 ## DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=$DBUS_SYSTEM_SOCKET"
30388 DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:abstract=$DBUS_SYSTEM_SOCKET"
30389
30390
30391 cat >>confdefs.h <<_ACEOF
30392 #define DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "$DBUS_SYSTEM_BUS_DEFAULT_ADDRESS"
30393 _ACEOF
30394
30395
30396 #### Set up the pid file
30397 if ! test -z "$with_system_pid_file"; then
30398 DBUS_SYSTEM_PID_FILE=$with_system_pid_file
30399 elif test x$operating_system = xredhat ; then
30400 DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/messagebus.pid
30401 else
30402 DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/dbus/pid
30403 fi
30404
30405
30406
30407 #### Directory to check for console ownership
30408 if ! test -z "$with_console_auth_dir"; then
|