123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- --- a/configure.fixed 2009-08-02 18:00:54.000000000 +0200
- +++ b/configure 2008-11-24 16:23:27.000000000 +0100
- @@ -23581,100 +23581,6 @@
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- -if test "$cross_compiling" = yes; then
- - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: cannot run test program while cross compiling
- -See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- -else
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- -/* end confdefs.h. */
- -
- -#include <sys/types.h>
- -#include <stdlib.h>
- -#include <string.h>
- -#include <stdio.h>
- -#include <sys/socket.h>
- -#include <sys/un.h>
- -#include <errno.h>
- -
- -int
- -main ()
- -{
- -
- - int listen_fd;
- - struct sockaddr_un addr;
- -
- - listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
- -
- - if (listen_fd < 0)
- - {
- - fprintf (stderr, "socket() failed: %s\n", strerror (errno));
- - exit (1);
- - }
- -
- - memset (&addr, '\0', sizeof (addr));
- - addr.sun_family = AF_UNIX;
- - strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
- - addr.sun_path[0] = '\0'; /* this is what makes it abstract */
- -
- - if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
- - {
- - fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
- - strerror (errno));
- - exit (1);
- - }
- - else
- - exit (0);
- -
- - ;
- - return 0;
- -}
- -_ACEOF
- -rm -f conftest$ac_exeext
- -if { (ac_try="$ac_link"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_link") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- - have_abstract_sockets=yes
- -else
- - echo "$as_me: program exited with status $ac_status" >&5
- -echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- -( exit $ac_status )
- -have_abstract_sockets=no
- -fi
- -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- -fi
- -
- -
- -ac_ext=c
- -ac_cpp='$CPP $CPPFLAGS'
- -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- -ac_compiler_gnu=$ac_cv_c_compiler_gnu
- -
- { echo "$as_me:$LINENO: result: $have_abstract_sockets" >&5
- echo "${ECHO_T}$have_abstract_sockets" >&6; }
-
|