Changeset 274 for branches/samba-3.3.x/source/configure
- Timestamp:
- Jun 17, 2009, 2:19:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/configure
r224 r274 76541 76541 76542 76542 76543 ############################################ 76544 # See if we have the a broken readlink syscall. 76545 76546 { $as_echo "$as_me:$LINENO: checking for a broken readlink syscall" >&5 76547 $as_echo_n "checking for a broken readlink syscall... " >&6; } 76548 if test "${samba_cv_HAVE_BROKEN_READLINK+set}" = set; then 76549 $as_echo_n "(cached) " >&6 76550 else 76551 76552 if test "$cross_compiling" = yes; then 76553 samba_cv_HAVE_BROKEN_READLINK=cross 76554 else 76555 cat >conftest.$ac_ext <<_ACEOF 76556 /* confdefs.h. */ 76557 _ACEOF 76558 cat confdefs.h >>conftest.$ac_ext 76559 cat >>conftest.$ac_ext <<_ACEOF 76560 /* end confdefs.h. */ 76561 #include "${srcdir-.}/../tests/readlink.c" 76562 _ACEOF 76563 rm -f conftest$ac_exeext 76564 if { (ac_try="$ac_link" 76565 case "(($ac_try" in 76566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 76567 *) ac_try_echo=$ac_try;; 76568 esac 76569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 76570 $as_echo "$ac_try_echo") >&5 76571 (eval "$ac_link") 2>&5 76572 ac_status=$? 76573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 76574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 76575 { (case "(($ac_try" in 76576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 76577 *) ac_try_echo=$ac_try;; 76578 esac 76579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 76580 $as_echo "$ac_try_echo") >&5 76581 (eval "$ac_try") 2>&5 76582 ac_status=$? 76583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 76584 (exit $ac_status); }; }; then 76585 samba_cv_HAVE_BROKEN_READLINK=no 76586 else 76587 $as_echo "$as_me: program exited with status $ac_status" >&5 76588 $as_echo "$as_me: failed program was:" >&5 76589 sed 's/^/| /' conftest.$ac_ext >&5 76590 76591 ( exit $ac_status ) 76592 samba_cv_HAVE_BROKEN_READLINK=yes 76593 fi 76594 rm -rf conftest.dSYM 76595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 76596 fi 76597 76598 76599 76600 fi 76601 { $as_echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_READLINK" >&5 76602 $as_echo "$samba_cv_HAVE_BROKEN_READLINK" >&6; } 76603 if test x"$samba_cv_HAVE_BROKEN_READLINK" = x"yes"; then 76604 76605 cat >>confdefs.h <<\_ACEOF 76606 #define HAVE_BROKEN_READLINK 1 76607 _ACEOF 76608 76609 fi 76543 76610 76544 76611 #################################################
Note:
See TracChangeset
for help on using the changeset viewer.