| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | $NetBSD: patch-aa,v 1.22 2011/09/22 01:20:20 christos Exp $ | | 1 | $NetBSD: patch-aa,v 1.23 2011/11/29 19:26:28 bouyer Exp $ |
2 | | | 2 | |
3 | --- configure.orig 2011-09-06 07:41:25.000000000 -0400 | | 3 | --- configure.orig 2011-09-06 13:41:25.000000000 +0200 |
4 | +++ configure 2011-09-21 10:55:42.000000000 -0400 | | 4 | +++ configure 2011-11-29 18:59:56.000000000 +0100 |
5 | @@ -1,60 +1,81 @@ | | 5 | @@ -1,60 +1,81 @@ |
6 | #! /bin/sh | | 6 | #! /bin/sh |
7 | # Guess values for system-dependent variables and create Makefiles. | | 7 | # Guess values for system-dependent variables and create Makefiles. |
8 | -# Generated by GNU Autoconf 2.61. | | 8 | -# Generated by GNU Autoconf 2.61. |
9 | +# Generated by GNU Autoconf 2.64. | | 9 | +# Generated by GNU Autoconf 2.64. |
10 | # | | 10 | # |
11 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | | 11 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
12 | -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | | 12 | -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
13 | +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software | | 13 | +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
14 | +# Foundation, Inc. | | 14 | +# Foundation, Inc. |
15 | +# | | 15 | +# |
16 | # This configure script is free software; the Free Software Foundation | | 16 | # This configure script is free software; the Free Software Foundation |
17 | # gives unlimited permission to copy, distribute and modify it. | | 17 | # gives unlimited permission to copy, distribute and modify it. |
| @@ -39505,43 +39505,36 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -39505,43 +39505,36 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
39505 | + ;; | | 39505 | + ;; |
39506 | + esac | | 39506 | + esac |
39507 | + ;; | | 39507 | + ;; |
39508 | +*:*) | | 39508 | +*:*) |
39509 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 39509 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
39510 | +$as_echo "no" >&6; } | | 39510 | +$as_echo "no" >&6; } |
39511 | + atalk_libname="lib" | | 39511 | + atalk_libname="lib" |
39512 | + ;; | | 39512 | + ;; |
39513 | +esac | | 39513 | +esac |
39514 | | | 39514 | |
39515 | - [ -n "$atalk_libname" ] || { { echo "$as_me:$LINENO: error: internal error, atalk_libname undefined" >&5 | | 39515 | - [ -n "$atalk_libname" ] || { { echo "$as_me:$LINENO: error: internal error, atalk_libname undefined" >&5 |
39516 | -echo "$as_me: error: internal error, atalk_libname undefined" >&2;} | | 39516 | -echo "$as_me: error: internal error, atalk_libname undefined" >&2;} |
39517 | - { (exit 1); exit 1; }; } | | 39517 | - { (exit 1); exit 1; }; } |
39518 | | | 39518 | - |
39519 | - if test "x$zeroconf" != "xno"; then | | 39519 | - if test "x$zeroconf" != "xno"; then |
39520 | - savedcppflags="$CPPFLAGS" | | 39520 | - savedcppflags="$CPPFLAGS" |
39521 | - savedldflags="$LDFLAGS" | | 39521 | - savedldflags="$LDFLAGS" |
39522 | | | 39522 | |
39523 | - if test "x$zeroconf" = "xyes" -o "x$zeroconf" = "xtry"; then | | 39523 | - if test "x$zeroconf" = "xyes" -o "x$zeroconf" = "xtry"; then |
39524 | - zeroconf_dir="/usr" | | 39524 | - zeroconf_dir="/usr" |
39525 | - else | | 39525 | - else |
39526 | - zeroconf_dir="$zeroconf" | | 39526 | - zeroconf_dir="$zeroconf" |
39527 | - fi | | 39527 | - fi |
39528 | +netatalk_cv_admin_group=yes | | | |
39529 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for administrative group support" >&5 | | | |
39530 | +$as_echo_n "checking for administrative group support... " >&6; } | | | |
39531 | +# Check whether --enable-admin-group was given. | | | |
39532 | +if test "${enable_admin_group+set}" = set; then : | | | |
39533 | + enableval=$enable_admin_group; | | | |
39534 | + if test x"$enableval" = x"no"; then | | | |
39535 | | | 39528 | |
39536 | - # mDNS support using Avahi | | 39529 | - # mDNS support using Avahi |
39537 | - if test "${ac_cv_header_avahi_client_client_h+set}" = set; then | | 39530 | - if test "${ac_cv_header_avahi_client_client_h+set}" = set; then |
39538 | - { echo "$as_me:$LINENO: checking for avahi-client/client.h" >&5 | | 39531 | - { echo "$as_me:$LINENO: checking for avahi-client/client.h" >&5 |
39539 | -echo $ECHO_N "checking for avahi-client/client.h... $ECHO_C" >&6; } | | 39532 | -echo $ECHO_N "checking for avahi-client/client.h... $ECHO_C" >&6; } |
39540 | -if test "${ac_cv_header_avahi_client_client_h+set}" = set; then | | 39533 | -if test "${ac_cv_header_avahi_client_client_h+set}" = set; then |
39541 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | | 39534 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
39542 | -fi | | 39535 | -fi |
39543 | -{ echo "$as_me:$LINENO: result: $ac_cv_header_avahi_client_client_h" >&5 | | 39536 | -{ echo "$as_me:$LINENO: result: $ac_cv_header_avahi_client_client_h" >&5 |
39544 | -echo "${ECHO_T}$ac_cv_header_avahi_client_client_h" >&6; } | | 39537 | -echo "${ECHO_T}$ac_cv_header_avahi_client_client_h" >&6; } |
39545 | -else | | 39538 | -else |
39546 | - # Is the header compilable? | | 39539 | - # Is the header compilable? |
39547 | -{ echo "$as_me:$LINENO: checking avahi-client/client.h usability" >&5 | | 39540 | -{ echo "$as_me:$LINENO: checking avahi-client/client.h usability" >&5 |
| @@ -39566,39 +39559,45 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -39566,39 +39559,45 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
39566 | - ac_status=$? | | 39559 | - ac_status=$? |
39567 | - grep -v '^ *+' conftest.er1 >conftest.err | | 39560 | - grep -v '^ *+' conftest.er1 >conftest.err |
39568 | - rm -f conftest.er1 | | 39561 | - rm -f conftest.er1 |
39569 | - cat conftest.err >&5 | | 39562 | - cat conftest.err >&5 |
39570 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 39563 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
39571 | - (exit $ac_status); } && { | | 39564 | - (exit $ac_status); } && { |
39572 | - test -z "$ac_c_werror_flag" || | | 39565 | - test -z "$ac_c_werror_flag" || |
39573 | - test ! -s conftest.err | | 39566 | - test ! -s conftest.err |
39574 | - } && test -s conftest.$ac_objext; then | | 39567 | - } && test -s conftest.$ac_objext; then |
39575 | - ac_header_compiler=yes | | 39568 | - ac_header_compiler=yes |
39576 | -else | | 39569 | -else |
39577 | - echo "$as_me: failed program was:" >&5 | | 39570 | - echo "$as_me: failed program was:" >&5 |
39578 | -sed 's/^/| /' conftest.$ac_ext >&5 | | 39571 | -sed 's/^/| /' conftest.$ac_ext >&5 |
39579 | +$as_echo "#define ADMIN_GRP 0" >>confdefs.h | | 39572 | +netatalk_cv_admin_group=yes |
| | | 39573 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for administrative group support" >&5 |
| | | 39574 | +$as_echo_n "checking for administrative group support... " >&6; } |
| | | 39575 | +# Check whether --enable-admin-group was given. |
| | | 39576 | +if test "${enable_admin_group+set}" = set; then : |
| | | 39577 | + enableval=$enable_admin_group; |
| | | 39578 | + if test x"$enableval" = x"no"; then |
39580 | | | 39579 | |
39581 | - ac_header_compiler=no | | 39580 | - ac_header_compiler=no |
39582 | -fi | | 39581 | -fi |
39583 | + netatalk_cv_admin_group=no | | 39582 | +$as_echo "#define ADMIN_GRP 0" >>confdefs.h |
39584 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | | |
39585 | +$as_echo "no" >&6; } | | | |
39586 | + else | | | |
39587 | | | 39583 | |
39588 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 39584 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
39589 | -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | | 39585 | -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
39590 | -echo "${ECHO_T}$ac_header_compiler" >&6; } | | 39586 | -echo "${ECHO_T}$ac_header_compiler" >&6; } |
39591 | +$as_echo "#define ADMIN_GRP 1" >>confdefs.h | | 39587 | + netatalk_cv_admin_group=no |
| | | 39588 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| | | 39589 | +$as_echo "no" >&6; } |
| | | 39590 | + else |
39592 | | | 39591 | |
39593 | -# Is the header present? | | 39592 | -# Is the header present? |
39594 | -{ echo "$as_me:$LINENO: checking avahi-client/client.h presence" >&5 | | 39593 | -{ echo "$as_me:$LINENO: checking avahi-client/client.h presence" >&5 |
39595 | -echo $ECHO_N "checking avahi-client/client.h presence... $ECHO_C" >&6; } | | 39594 | -echo $ECHO_N "checking avahi-client/client.h presence... $ECHO_C" >&6; } |
39596 | -cat >conftest.$ac_ext <<_ACEOF | | 39595 | -cat >conftest.$ac_ext <<_ACEOF |
39597 | -/* confdefs.h. */ | | 39596 | -/* confdefs.h. */ |
39598 | -_ACEOF | | 39597 | -_ACEOF |
39599 | -cat confdefs.h >>conftest.$ac_ext | | 39598 | -cat confdefs.h >>conftest.$ac_ext |
39600 | -cat >>conftest.$ac_ext <<_ACEOF | | 39599 | -cat >>conftest.$ac_ext <<_ACEOF |
39601 | -/* end confdefs.h. */ | | 39600 | -/* end confdefs.h. */ |
39602 | -#include <avahi-client/client.h> | | 39601 | -#include <avahi-client/client.h> |
39603 | -_ACEOF | | 39602 | -_ACEOF |
39604 | -if { (ac_try="$ac_cpp conftest.$ac_ext" | | 39603 | -if { (ac_try="$ac_cpp conftest.$ac_ext" |
| @@ -39608,26 +39607,28 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -39608,26 +39607,28 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
39608 | -esac | | 39607 | -esac |
39609 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 39608 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
39610 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 39609 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
39611 | - ac_status=$? | | 39610 | - ac_status=$? |
39612 | - grep -v '^ *+' conftest.er1 >conftest.err | | 39611 | - grep -v '^ *+' conftest.er1 >conftest.err |
39613 | - rm -f conftest.er1 | | 39612 | - rm -f conftest.er1 |
39614 | - cat conftest.err >&5 | | 39613 | - cat conftest.err >&5 |
39615 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 39614 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
39616 | - (exit $ac_status); } >/dev/null && { | | 39615 | - (exit $ac_status); } >/dev/null && { |
39617 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 39616 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
39618 | - test ! -s conftest.err | | 39617 | - test ! -s conftest.err |
39619 | - }; then | | 39618 | - }; then |
39620 | - ac_header_preproc=yes | | 39619 | - ac_header_preproc=yes |
| | | 39620 | +$as_echo "#define ADMIN_GRP 1" >>confdefs.h |
| | | 39621 | + |
39621 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | | 39622 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
39622 | +$as_echo "yes" >&6; } | | 39623 | +$as_echo "yes" >&6; } |
39623 | + fi | | 39624 | + fi |
39624 | else | | 39625 | else |
39625 | - echo "$as_me: failed program was:" >&5 | | 39626 | - echo "$as_me: failed program was:" >&5 |
39626 | -sed 's/^/| /' conftest.$ac_ext >&5 | | 39627 | -sed 's/^/| /' conftest.$ac_ext >&5 |
39627 | | | 39628 | |
39628 | - ac_header_preproc=no | | 39629 | - ac_header_preproc=no |
39629 | + | | 39630 | + |
39630 | +$as_echo "#define ADMIN_GRP 1" >>confdefs.h | | 39631 | +$as_echo "#define ADMIN_GRP 1" >>confdefs.h |
39631 | + | | 39632 | + |
39632 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | | 39633 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
39633 | +$as_echo "yes" >&6; } | | 39634 | +$as_echo "yes" >&6; } |
| @@ -39695,27 +39696,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -39695,27 +39696,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
39695 | else | | 39696 | else |
39696 | ac_check_lib_save_LIBS=$LIBS | | 39697 | ac_check_lib_save_LIBS=$LIBS |
39697 | -LIBS="-lavahi-client $LIBS" | | 39698 | -LIBS="-lavahi-client $LIBS" |
39698 | -cat >conftest.$ac_ext <<_ACEOF | | 39699 | -cat >conftest.$ac_ext <<_ACEOF |
39699 | -/* confdefs.h. */ | | 39700 | -/* confdefs.h. */ |
39700 | -_ACEOF | | 39701 | -_ACEOF |
39701 | -cat confdefs.h >>conftest.$ac_ext | | 39702 | -cat confdefs.h >>conftest.$ac_ext |
39702 | -cat >>conftest.$ac_ext <<_ACEOF | | 39703 | -cat >>conftest.$ac_ext <<_ACEOF |
39703 | +LIBS="-lafsauthent $LIBS" | | 39704 | +LIBS="-lafsauthent $LIBS" |
39704 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 39705 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
39705 | /* end confdefs.h. */ | | 39706 | /* end confdefs.h. */ |
39706 | | | 39707 | |
39707 | /* Override any GCC internal prototype to avoid an error. | | 39708 | /* Override any GCC internal prototype to avoid an error. |
39708 | @@ -28490,4215 +13833,2927 @@ | | 39709 | @@ -28490,4215 +13833,2919 @@ |
39709 | #ifdef __cplusplus | | 39710 | #ifdef __cplusplus |
39710 | extern "C" | | 39711 | extern "C" |
39711 | #endif | | 39712 | #endif |
39712 | -char avahi_client_new (); | | 39713 | -char avahi_client_new (); |
39713 | +char pioctl (); | | 39714 | +char pioctl (); |
39714 | int | | 39715 | int |
39715 | main () | | 39716 | main () |
39716 | { | | 39717 | { |
39717 | -return avahi_client_new (); | | 39718 | -return avahi_client_new (); |
39718 | +return pioctl (); | | 39719 | +return pioctl (); |
39719 | ; | | 39720 | ; |
39720 | return 0; | | 39721 | return 0; |
39721 | } | | 39722 | } |
| @@ -40405,37 +40406,37 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -40405,37 +40406,37 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
40405 | -_ACEOF | | 40406 | -_ACEOF |
40406 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 40407 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
40407 | +$as_echo "no" >&6; } | | 40408 | +$as_echo "no" >&6; } |
40408 | + | | 40409 | + |
40409 | | | 40410 | |
40410 | fi | | 40411 | fi |
40411 | | | 40412 | |
40412 | -done | | 40413 | -done |
40413 | | | 40414 | |
40414 | +# Check whether --enable-largefile was given. | | 40415 | +# Check whether --enable-largefile was given. |
40415 | +if test "${enable_largefile+set}" = set; then : | | 40416 | +if test "${enable_largefile+set}" = set; then : |
40416 | + enableval=$enable_largefile; | | 40417 | + enableval=$enable_largefile; |
40417 | +fi | | 40418 | +fi |
40418 | + | | | |
40419 | +if test "$enable_largefile" != no; then | | | |
40420 | + wx_largefile=no | | | |
40421 | | | 40419 | |
40422 | - if test x"$ac_cv_header_security_pam_appl_h" = x"no" -a x"$ac_cv_header_pam_pam_appl_h" = x"no"; then | | 40420 | - if test x"$ac_cv_header_security_pam_appl_h" = x"no" -a x"$ac_cv_header_pam_pam_appl_h" = x"no"; then |
40423 | - pam_found=no | | 40421 | - pam_found=no |
40424 | - else | | 40422 | - else |
40425 | - { echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 | | 40423 | - { echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 |
40426 | -echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } | | 40424 | -echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } |
40427 | -if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | | 40425 | -if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then |
40428 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | | 40426 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 40427 | +if test "$enable_largefile" != no; then |
| | | 40428 | + wx_largefile=no |
| | | 40429 | + |
40429 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | | 40430 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
40430 | +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | | 40431 | +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
40431 | +if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | | 40432 | +if test "${ac_cv_sys_file_offset_bits+set}" = set; then : |
40432 | + $as_echo_n "(cached) " >&6 | | 40433 | + $as_echo_n "(cached) " >&6 |
40433 | else | | 40434 | else |
40434 | - ac_check_lib_save_LIBS=$LIBS | | 40435 | - ac_check_lib_save_LIBS=$LIBS |
40435 | -LIBS="-lpam $LIBS" | | 40436 | -LIBS="-lpam $LIBS" |
40436 | -cat >conftest.$ac_ext <<_ACEOF | | 40437 | -cat >conftest.$ac_ext <<_ACEOF |
40437 | -/* confdefs.h. */ | | 40438 | -/* confdefs.h. */ |
40438 | -_ACEOF | | 40439 | -_ACEOF |
40439 | -cat confdefs.h >>conftest.$ac_ext | | 40440 | -cat confdefs.h >>conftest.$ac_ext |
40440 | -cat >>conftest.$ac_ext <<_ACEOF | | 40441 | -cat >>conftest.$ac_ext <<_ACEOF |
40441 | -/* end confdefs.h. */ | | 40442 | -/* end confdefs.h. */ |
| @@ -40479,53 +40480,51 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -40479,53 +40480,51 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
40479 | - (exit $ac_status); } && { | | 40480 | - (exit $ac_status); } && { |
40480 | - test -z "$ac_c_werror_flag" || | | 40481 | - test -z "$ac_c_werror_flag" || |
40481 | - test ! -s conftest.err | | 40482 | - test ! -s conftest.err |
40482 | - } && test -s conftest$ac_exeext && | | 40483 | - } && test -s conftest$ac_exeext && |
40483 | - $as_test_x conftest$ac_exeext; then | | 40484 | - $as_test_x conftest$ac_exeext; then |
40484 | - ac_cv_lib_pam_pam_set_item=yes | | 40485 | - ac_cv_lib_pam_pam_set_item=yes |
40485 | +if ac_fn_c_try_compile "$LINENO"; then : | | 40486 | +if ac_fn_c_try_compile "$LINENO"; then : |
40486 | + ac_cv_sys_file_offset_bits=64 | | 40487 | + ac_cv_sys_file_offset_bits=64 |
40487 | else | | 40488 | else |
40488 | - echo "$as_me: failed program was:" >&5 | | 40489 | - echo "$as_me: failed program was:" >&5 |
40489 | -sed 's/^/| /' conftest.$ac_ext >&5 | | 40490 | -sed 's/^/| /' conftest.$ac_ext >&5 |
40490 | - | | 40491 | - |
40491 | - ac_cv_lib_pam_pam_set_item=no | | 40492 | - ac_cv_lib_pam_pam_set_item=no |
40492 | -fi | | 40493 | + ac_cv_sys_file_offset_bits=no |
40493 | - | | 40494 | fi |
| | | 40495 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 40496 | |
40494 | -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | | 40497 | -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
40495 | - conftest$ac_exeext conftest.$ac_ext | | 40498 | - conftest$ac_exeext conftest.$ac_ext |
40496 | -LIBS=$ac_check_lib_save_LIBS | | 40499 | -LIBS=$ac_check_lib_save_LIBS |
40497 | + ac_cv_sys_file_offset_bits=no | | 40500 | -fi |
40498 | fi | | | |
40499 | -{ echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 | | 40501 | -{ echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 |
40500 | -echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } | | 40502 | -echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } |
40501 | -if test $ac_cv_lib_pam_pam_set_item = yes; then | | 40503 | -if test $ac_cv_lib_pam_pam_set_item = yes; then |
40502 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 40504 | - |
40503 | | | | |
40504 | - PAM_LIBS="$PAM_LDFLAGS -lpam" | | 40505 | - PAM_LIBS="$PAM_LDFLAGS -lpam" |
40505 | - pam_found="yes" | | 40506 | - pam_found="yes" |
40506 | | | 40507 | |
40507 | fi | | 40508 | fi |
40508 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | | 40509 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 |
40509 | +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } | | 40510 | +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
40510 | | | 40511 | |
40511 | - fi | | 40512 | - fi |
40512 | - CFLAGS="$savedCFLAGS" | | 40513 | - CFLAGS="$savedCFLAGS" |
40513 | - LDFLAGS="$savedLDFLAGS" | | 40514 | - LDFLAGS="$savedLDFLAGS" |
40514 | - LIBS="$savedLIBS" | | 40515 | - LIBS="$savedLIBS" |
40515 | - fi | | 40516 | - fi |
40516 | + if test "$ac_cv_sys_file_offset_bits" != no; then | | 40517 | - |
40517 | + wx_largefile=yes | | | |
40518 | | | | |
40519 | - netatalk_cv_install_pam=yes | | 40518 | - netatalk_cv_install_pam=yes |
40520 | - if test x"$pam_found" = "xyes" -a "x$PAMDIR" = "xNONE"; then | | 40519 | - if test x"$pam_found" = "xyes" -a "x$PAMDIR" = "xNONE"; then |
40521 | - { echo "$as_me:$LINENO: WARNING: PAM support can be compiled, but the install location for the netatalk.pamd file could not be determined. Either install this file by hand or specify the install path." >&5 | | 40520 | - { echo "$as_me:$LINENO: WARNING: PAM support can be compiled, but the install location for the netatalk.pamd file could not be determined. Either install this file by hand or specify the install path." >&5 |
40522 | -echo "$as_me: WARNING: PAM support can be compiled, but the install location for the netatalk.pamd file could not be determined. Either install this file by hand or specify the install path." >&2;} | | 40521 | -echo "$as_me: WARNING: PAM support can be compiled, but the install location for the netatalk.pamd file could not be determined. Either install this file by hand or specify the install path." >&2;} |
40523 | - netatalk_cv_install_pam=no | | 40522 | - netatalk_cv_install_pam=no |
40524 | - else | | 40523 | - else |
40525 | - { echo "$as_me:$LINENO: checking for includable common PAM config" >&5 | | 40524 | - { echo "$as_me:$LINENO: checking for includable common PAM config" >&5 |
40526 | -echo $ECHO_N "checking for includable common PAM config... $ECHO_C" >&6; } | | 40525 | -echo $ECHO_N "checking for includable common PAM config... $ECHO_C" >&6; } |
40527 | - pampath="${PAMDIR}etc/pam.d" | | 40526 | - pampath="${PAMDIR}etc/pam.d" |
40528 | - if test -f "$pampath/common-auth" ; then | | 40527 | - if test -f "$pampath/common-auth" ; then |
40529 | - PAM_DIRECTIVE=include | | 40528 | - PAM_DIRECTIVE=include |
40530 | - PAM_AUTH=common-auth | | 40529 | - PAM_AUTH=common-auth |
40531 | - PAM_ACCOUNT=common-account | | 40530 | - PAM_ACCOUNT=common-account |
| @@ -40540,503 +40539,507 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -40540,503 +40539,507 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
40540 | - elif test -f "$pampath/system" ; then | | 40539 | - elif test -f "$pampath/system" ; then |
40541 | - PAM_DIRECTIVE=include | | 40540 | - PAM_DIRECTIVE=include |
40542 | - PAM_AUTH=system | | 40541 | - PAM_AUTH=system |
40543 | - PAM_ACCOUNT=system | | 40542 | - PAM_ACCOUNT=system |
40544 | - PAM_PASSWORD=system | | 40543 | - PAM_PASSWORD=system |
40545 | - PAM_SESSION=system | | 40544 | - PAM_SESSION=system |
40546 | - else | | 40545 | - else |
40547 | - PAM_DIRECTIVE=required | | 40546 | - PAM_DIRECTIVE=required |
40548 | - PAM_AUTH=pam_unix.so | | 40547 | - PAM_AUTH=pam_unix.so |
40549 | - PAM_ACCOUNT=pam_unix.so | | 40548 | - PAM_ACCOUNT=pam_unix.so |
40550 | - PAM_PASSWORD="pam_unix.so use_authtok" | | 40549 | - PAM_PASSWORD="pam_unix.so use_authtok" |
40551 | - PAM_SESSION=pam_unix.so | | 40550 | - PAM_SESSION=pam_unix.so |
40552 | - fi | | 40551 | - fi |
40553 | +cat >>confdefs.h <<_ACEOF | | 40552 | - |
40554 | +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | | | |
40555 | +_ACEOF | | | |
40556 | | | | |
40557 | - if test "x$PAM_DIRECTIVE" != "xrequired" ; then | | 40553 | - if test "x$PAM_DIRECTIVE" != "xrequired" ; then |
40558 | - { echo "$as_me:$LINENO: result: yes ($PAM_DIRECTIVE $PAM_AUTH)" >&5 | | 40554 | - { echo "$as_me:$LINENO: result: yes ($PAM_DIRECTIVE $PAM_AUTH)" >&5 |
40559 | -echo "${ECHO_T}yes ($PAM_DIRECTIVE $PAM_AUTH)" >&6; } | | 40555 | -echo "${ECHO_T}yes ($PAM_DIRECTIVE $PAM_AUTH)" >&6; } |
40560 | - else | | 40556 | - else |
40561 | - { echo "$as_me:$LINENO: result: no (using defaut pam_unix.so)" >&5 | | 40557 | - { echo "$as_me:$LINENO: result: no (using defaut pam_unix.so)" >&5 |
40562 | -echo "${ECHO_T}no (using defaut pam_unix.so)" >&6; } | | 40558 | -echo "${ECHO_T}no (using defaut pam_unix.so)" >&6; } |
40563 | - fi | | 40559 | - fi |
40564 | - fi | | 40560 | - fi |
40565 | + fi | | 40561 | - |
40566 | | | | |
40567 | - { echo "$as_me:$LINENO: checking whether to enable PAM support" >&5 | | 40562 | - { echo "$as_me:$LINENO: checking whether to enable PAM support" >&5 |
40568 | -echo $ECHO_N "checking whether to enable PAM support... $ECHO_C" >&6; } | | 40563 | -echo $ECHO_N "checking whether to enable PAM support... $ECHO_C" >&6; } |
40569 | - if test "x$pam_found" = "xno"; then | | 40564 | - if test "x$pam_found" = "xno"; then |
40570 | - netatalk_cv_install_pam=no | | 40565 | - netatalk_cv_install_pam=no |
40571 | - if test "x$require_pam" = "xyes"; then | | 40566 | - if test "x$require_pam" = "xyes"; then |
40572 | - { { echo "$as_me:$LINENO: error: PAM support missing" >&5 | | 40567 | - { { echo "$as_me:$LINENO: error: PAM support missing" >&5 |
40573 | -echo "$as_me: error: PAM support missing" >&2;} | | 40568 | -echo "$as_me: error: PAM support missing" >&2;} |
40574 | - { (exit 1); exit 1; }; } | | 40569 | - { (exit 1); exit 1; }; } |
40575 | - else | | 40570 | - else |
40576 | - { echo "$as_me:$LINENO: result: no" >&5 | | 40571 | - { echo "$as_me:$LINENO: result: no" >&5 |
40577 | -echo "${ECHO_T}no" >&6; } | | 40572 | -echo "${ECHO_T}no" >&6; } |
40578 | - fi | | 40573 | - fi |
40579 | - : | | 40574 | - : |
40580 | - else | | 40575 | - else |
40581 | - { echo "$as_me:$LINENO: result: yes" >&5 | | 40576 | - { echo "$as_me:$LINENO: result: yes" >&5 |
40582 | -echo "${ECHO_T}yes" >&6; } | | 40577 | -echo "${ECHO_T}yes" >&6; } |
40583 | + if test "x$wx_largefile" != "xyes"; then | | 40578 | - |
40584 | | | | |
40585 | - use_pam_so=yes | | 40579 | - use_pam_so=yes |
40586 | - compile_pam=yes | | 40580 | - compile_pam=yes |
40587 | - netatalk_cv_use_pam=yes | | 40581 | - netatalk_cv_use_pam=yes |
| | | 40582 | + if test "$ac_cv_sys_file_offset_bits" != no; then |
| | | 40583 | + wx_largefile=yes |
| | | 40584 | |
| | | 40585 | -cat >>confdefs.h <<\_ACEOF |
| | | 40586 | -#define USE_PAM 1 |
| | | 40587 | +cat >>confdefs.h <<_ACEOF |
| | | 40588 | +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
| | | 40589 | _ACEOF |
| | | 40590 | |
| | | 40591 | + fi |
| | | 40592 | |
| | | 40593 | - fi |
| | | 40594 | - |
| | | 40595 | - |
| | | 40596 | - ac_new_flags="" |
| | | 40597 | - for i in $PAM_LIBS; do |
| | | 40598 | - case $i in |
| | | 40599 | - -L/usr/lib|-L/usr/lib/|-L/usr|-L/usr/) ;; |
| | | 40600 | - *) ac_new_flags="$ac_new_flags $i" ;; |
| | | 40601 | - esac |
| | | 40602 | - done |
| | | 40603 | - PAM_LIBS=$ac_new_flags |
| | | 40604 | - |
| | | 40605 | - |
| | | 40606 | - ac_new_flags="" |
| | | 40607 | - for i in $PAM_CFLAGS; do |
| | | 40608 | - case $i in |
| | | 40609 | - -I/usr/include|-I/usr/include/) ;; |
| | | 40610 | - *) ac_new_flags="$ac_new_flags $i" ;; |
| | | 40611 | - esac |
| | | 40612 | - done |
| | | 40613 | - PAM_CFLAGS=$ac_new_flags |
| | | 40614 | - |
| | | 40615 | + if test "x$wx_largefile" != "xyes"; then |
| | | 40616 | |
40588 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | | 40617 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
40589 | +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | | 40618 | +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
40590 | +if test "${ac_cv_sys_large_files+set}" = set; then : | | 40619 | +if test "${ac_cv_sys_large_files+set}" = set; then : |
40591 | + $as_echo_n "(cached) " >&6 | | 40620 | + $as_echo_n "(cached) " >&6 |
40592 | +else | | 40621 | +else |
40593 | | | 40622 | |
40594 | -cat >>confdefs.h <<\_ACEOF | | | |
40595 | -#define USE_PAM 1 | | | |
40596 | -_ACEOF | | | |
40597 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 40623 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
40598 | +/* end confdefs.h. */ | | 40624 | +/* end confdefs.h. */ |
40599 | +#define _LARGE_FILES 1 | | 40625 | +#define _LARGE_FILES 1 |
40600 | + #include <sys/types.h> | | 40626 | + #include <sys/types.h> |
40601 | +int | | 40627 | +int |
40602 | +main () | | 40628 | +main () |
40603 | +{ | | 40629 | +{ |
40604 | +typedef struct { | | 40630 | +typedef struct { |
40605 | + unsigned int field: sizeof(off_t) == 8; | | 40631 | + unsigned int field: sizeof(off_t) == 8; |
40606 | +} wxlf; | | 40632 | +} wxlf; |
40607 | | | 40633 | |
40608 | + ; | | 40634 | + ; |
40609 | + return 0; | | 40635 | + return 0; |
40610 | +} | | 40636 | +} |
40611 | +_ACEOF | | 40637 | +_ACEOF |
40612 | +if ac_fn_c_try_compile "$LINENO"; then : | | 40638 | +if ac_fn_c_try_compile "$LINENO"; then : |
40613 | + ac_cv_sys_large_files=1 | | 40639 | + ac_cv_sys_large_files=1 |
40614 | +else | | 40640 | +else |
40615 | + ac_cv_sys_large_files=no | | 40641 | + ac_cv_sys_large_files=no |
40616 | +fi | | 40642 | +fi |
40617 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 40643 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
40618 | | | 40644 | |
40619 | - fi | | | |
40620 | | | 40645 | |
40621 | +fi | | 40646 | +fi |
40622 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | | 40647 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 |
40623 | +$as_echo "$ac_cv_sys_large_files" >&6; } | | 40648 | +$as_echo "$ac_cv_sys_large_files" >&6; } |
40624 | | | 40649 | |
40625 | - ac_new_flags="" | | | |
40626 | - for i in $PAM_LIBS; do | | | |
40627 | - case $i in | | | |
40628 | - -L/usr/lib|-L/usr/lib/|-L/usr|-L/usr/) ;; | | | |
40629 | - *) ac_new_flags="$ac_new_flags $i" ;; | | | |
40630 | - esac | | | |
40631 | - done | | | |
40632 | - PAM_LIBS=$ac_new_flags | | | |
40633 | + if test "$ac_cv_sys_large_files" != no; then | | 40650 | + if test "$ac_cv_sys_large_files" != no; then |
40634 | + wx_largefile=yes | | 40651 | + wx_largefile=yes |
40635 | | | 40652 | |
40636 | +cat >>confdefs.h <<_ACEOF | | 40653 | +cat >>confdefs.h <<_ACEOF |
40637 | +#define _LARGE_FILES $ac_cv_sys_large_files | | 40654 | +#define _LARGE_FILES $ac_cv_sys_large_files |
40638 | +_ACEOF | | 40655 | +_ACEOF |
40639 | | | 40656 | |
40640 | - ac_new_flags="" | | | |
40641 | - for i in $PAM_CFLAGS; do | | | |
40642 | - case $i in | | | |
40643 | - -I/usr/include|-I/usr/include/) ;; | | | |
40644 | - *) ac_new_flags="$ac_new_flags $i" ;; | | | |
40645 | - esac | | | |
40646 | - done | | | |
40647 | - PAM_CFLAGS=$ac_new_flags | | | |
40648 | + fi | | | |
40649 | + | | | |
40650 | + fi | | 40657 | + fi |
40651 | | | 40658 | |
40652 | | | | |
40653 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit off_t" >&5 | | | |
40654 | +$as_echo_n "checking for 64 bit off_t... " >&6; } | | | |
40655 | +if test "${netatalk_cv_SIZEOF_OFF_T+set}" = set; then : | | | |
40656 | + $as_echo_n "(cached) " >&6 | | | |
40657 | +else | | | |
40658 | | | | |
40659 | + if test "$cross_compiling" = yes; then : | | | |
40660 | + netatalk_cv_SIZEOF_OFF_T=cross | | | |
40661 | +else | | | |
40662 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | | |
40663 | +/* end confdefs.h. */ | | | |
40664 | +#include <stdio.h> | | | |
40665 | +#include <stdlib.h> | | | |
40666 | +#include <sys/stat.h> | | | |
40667 | +main() { exit((sizeof(off_t) == 8) ? 0 : 1); } | | | |
40668 | +_ACEOF | | | |
40669 | +if ac_fn_c_try_run "$LINENO"; then : | | | |
40670 | + netatalk_cv_SIZEOF_OFF_T=yes | | | |
40671 | +else | | | |
40672 | + netatalk_cv_SIZEOF_OFF_T=no | | | |
40673 | +fi | | | |
40674 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | | | |
40675 | + conftest.$ac_objext conftest.beam conftest.$ac_ext | | | |
40676 | +fi | | | |
40677 | | | | |
40678 | +fi | | | |
40679 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_SIZEOF_OFF_T" >&5 | | | |
40680 | +$as_echo "$netatalk_cv_SIZEOF_OFF_T" >&6; } | | | |
40681 | | | | |
40682 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5 | | | |
40683 | +$as_echo_n "checking if large file support is available... " >&6; } | | | |
40684 | + if test "x$netatalk_cv_SIZEOF_OFF_T" != "xno"; then | | | |
40685 | | | | |
40686 | +$as_echo "#define HAVE_LARGEFILE_SUPPORT /**/" >>confdefs.h | | | |
40687 | | | | |
40688 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | | | |
40689 | +$as_echo "yes" >&6; } | | | |
40690 | + : | | | |
40691 | + else | | | |
40692 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | | |
40693 | +$as_echo "no" >&6; } | | | |
40694 | + as_fn_error "AFP 3.x support requires Large File Support." "$LINENO" 5 | | | |
40695 | + fi | | 40659 | + fi |
40696 | +fi | | | |
40697 | | | | |
40698 | | | | |
40699 | | | | |
40700 | + savedcflags="$CFLAGS" | | | |
40701 | + savedldflags="$LDFLAGS" | | | |
40702 | + ICONV_CFLAGS="" | | | |
40703 | + ICONV_LIBS="" | | | |
40704 | | | 40660 | |
40705 | -netatalk_cv_use_shadowpw=no | | 40661 | -netatalk_cv_use_shadowpw=no |
40706 | | | 40662 | |
40707 | -# Check whether --with-shadow was given. | | 40663 | -# Check whether --with-shadow was given. |
40708 | -if test "${with_shadow+set}" = set; then | | 40664 | -if test "${with_shadow+set}" = set; then |
40709 | - withval=$with_shadow; netatalk_cv_use_shadowpw="$withval" | | 40665 | - withval=$with_shadow; netatalk_cv_use_shadowpw="$withval" |
40710 | +# Check whether --with-libiconv was given. | | 40666 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit off_t" >&5 |
40711 | +if test "${with_libiconv+set}" = set; then : | | 40667 | +$as_echo_n "checking for 64 bit off_t... " >&6; } |
40712 | + withval=$with_libiconv; case "$withval" in | | 40668 | +if test "${netatalk_cv_SIZEOF_OFF_T+set}" = set; then : |
40713 | + no) | | 40669 | + $as_echo_n "(cached) " >&6 |
40714 | + ;; | | | |
40715 | + yes) | | | |
40716 | + ;; | | | |
40717 | + *) | | | |
40718 | + ICONV_CFLAGS="-I$withval/include" | | | |
40719 | + ICONV_LIBS="-L$withval/$atalk_libname" | | | |
40720 | + ;; | | | |
40721 | + esac | | | |
40722 | else | | 40670 | else |
40723 | - netatalk_cv_use_shadowpw=auto | | 40671 | - netatalk_cv_use_shadowpw=auto |
40724 | + withval="no" | | 40672 | - |
40725 | | | 40673 | -fi |
40726 | fi | | 40674 | - |
40727 | | | | |
40728 | | | 40675 | |
40729 | -if test "x$netatalk_cv_use_shadowpw" != "xno"; then | | 40676 | -if test "x$netatalk_cv_use_shadowpw" != "xno"; then |
40730 | - if test "${ac_cv_header_shadow_h+set}" = set; then | | 40677 | - if test "${ac_cv_header_shadow_h+set}" = set; then |
40731 | - { echo "$as_me:$LINENO: checking for shadow.h" >&5 | | 40678 | - { echo "$as_me:$LINENO: checking for shadow.h" >&5 |
40732 | -echo $ECHO_N "checking for shadow.h... $ECHO_C" >&6; } | | 40679 | -echo $ECHO_N "checking for shadow.h... $ECHO_C" >&6; } |
40733 | -if test "${ac_cv_header_shadow_h+set}" = set; then | | 40680 | -if test "${ac_cv_header_shadow_h+set}" = set; then |
40734 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | | 40681 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
40735 | -fi | | 40682 | -fi |
40736 | -{ echo "$as_me:$LINENO: result: $ac_cv_header_shadow_h" >&5 | | 40683 | -{ echo "$as_me:$LINENO: result: $ac_cv_header_shadow_h" >&5 |
40737 | -echo "${ECHO_T}$ac_cv_header_shadow_h" >&6; } | | 40684 | -echo "${ECHO_T}$ac_cv_header_shadow_h" >&6; } |
40738 | -else | | 40685 | + if test "$cross_compiling" = yes; then : |
| | | 40686 | + netatalk_cv_SIZEOF_OFF_T=cross |
| | | 40687 | else |
40739 | - # Is the header compilable? | | 40688 | - # Is the header compilable? |
40740 | -{ echo "$as_me:$LINENO: checking shadow.h usability" >&5 | | 40689 | -{ echo "$as_me:$LINENO: checking shadow.h usability" >&5 |
40741 | -echo $ECHO_N "checking shadow.h usability... $ECHO_C" >&6; } | | 40690 | -echo $ECHO_N "checking shadow.h usability... $ECHO_C" >&6; } |
40742 | -cat >conftest.$ac_ext <<_ACEOF | | 40691 | -cat >conftest.$ac_ext <<_ACEOF |
40743 | -/* confdefs.h. */ | | 40692 | -/* confdefs.h. */ |
40744 | -_ACEOF | | 40693 | -_ACEOF |
40745 | -cat confdefs.h >>conftest.$ac_ext | | 40694 | -cat confdefs.h >>conftest.$ac_ext |
40746 | -cat >>conftest.$ac_ext <<_ACEOF | | 40695 | -cat >>conftest.$ac_ext <<_ACEOF |
40747 | -/* end confdefs.h. */ | | 40696 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| | | 40697 | /* end confdefs.h. */ |
40748 | -$ac_includes_default | | 40698 | -$ac_includes_default |
40749 | -#include <shadow.h> | | 40699 | -#include <shadow.h> |
40750 | -_ACEOF | | 40700 | +#include <stdio.h> |
| | | 40701 | +#include <stdlib.h> |
| | | 40702 | +#include <sys/stat.h> |
| | | 40703 | +main() { exit((sizeof(off_t) == 8) ? 0 : 1); } |
| | | 40704 | _ACEOF |
40751 | -rm -f conftest.$ac_objext | | 40705 | -rm -f conftest.$ac_objext |
40752 | -if { (ac_try="$ac_compile" | | 40706 | -if { (ac_try="$ac_compile" |
40753 | -case "(($ac_try" in | | 40707 | -case "(($ac_try" in |
40754 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 40708 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
40755 | - *) ac_try_echo=$ac_try;; | | 40709 | - *) ac_try_echo=$ac_try;; |
40756 | -esac | | 40710 | -esac |
40757 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 40711 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
40758 | - (eval "$ac_compile") 2>conftest.er1 | | 40712 | - (eval "$ac_compile") 2>conftest.er1 |
40759 | - ac_status=$? | | 40713 | - ac_status=$? |
40760 | - grep -v '^ *+' conftest.er1 >conftest.err | | 40714 | - grep -v '^ *+' conftest.er1 >conftest.err |
40761 | - rm -f conftest.er1 | | 40715 | - rm -f conftest.er1 |
40762 | - cat conftest.err >&5 | | 40716 | - cat conftest.err >&5 |
40763 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 40717 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
40764 | - (exit $ac_status); } && { | | 40718 | - (exit $ac_status); } && { |
40765 | - test -z "$ac_c_werror_flag" || | | 40719 | - test -z "$ac_c_werror_flag" || |
40766 | - test ! -s conftest.err | | 40720 | - test ! -s conftest.err |
40767 | - } && test -s conftest.$ac_objext; then | | 40721 | - } && test -s conftest.$ac_objext; then |
40768 | - ac_header_compiler=yes | | 40722 | - ac_header_compiler=yes |
40769 | -else | | 40723 | +if ac_fn_c_try_run "$LINENO"; then : |
| | | 40724 | + netatalk_cv_SIZEOF_OFF_T=yes |
| | | 40725 | else |
40770 | - echo "$as_me: failed program was:" >&5 | | 40726 | - echo "$as_me: failed program was:" >&5 |
40771 | -sed 's/^/| /' conftest.$ac_ext >&5 | | 40727 | -sed 's/^/| /' conftest.$ac_ext >&5 |
40772 | - | | 40728 | + netatalk_cv_SIZEOF_OFF_T=no |
| | | 40729 | +fi |
| | | 40730 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| | | 40731 | + conftest.$ac_objext conftest.beam conftest.$ac_ext |
| | | 40732 | +fi |
| | | 40733 | |
40773 | - ac_header_compiler=no | | 40734 | - ac_header_compiler=no |
40774 | -fi | | 40735 | fi |
40775 | + CFLAGS="$ICONV_CFLAGS $CFLAGS" | | 40736 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_SIZEOF_OFF_T" >&5 |
40776 | + LDFLAGS="$LDFLAGS $ICONV_LIBS -liconv" | | 40737 | +$as_echo "$netatalk_cv_SIZEOF_OFF_T" >&6; } |
40777 | | | 40738 | |
40778 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 40739 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
40779 | -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | | 40740 | -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
40780 | -echo "${ECHO_T}$ac_header_compiler" >&6; } | | 40741 | -echo "${ECHO_T}$ac_header_compiler" >&6; } |
40781 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv" >&5 | | 40742 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5 |
40782 | +$as_echo_n "checking for libiconv... " >&6; } | | 40743 | +$as_echo_n "checking if large file support is available... " >&6; } |
40783 | +if test "${netatalk_cv_iconv+set}" = set; then : | | 40744 | + if test "x$netatalk_cv_SIZEOF_OFF_T" != "xno"; then |
40784 | + $as_echo_n "(cached) " >&6 | | | |
40785 | +else | | | |
40786 | | | 40745 | |
40787 | -# Is the header present? | | 40746 | -# Is the header present? |
40788 | -{ echo "$as_me:$LINENO: checking shadow.h presence" >&5 | | 40747 | -{ echo "$as_me:$LINENO: checking shadow.h presence" >&5 |
40789 | -echo $ECHO_N "checking shadow.h presence... $ECHO_C" >&6; } | | 40748 | -echo $ECHO_N "checking shadow.h presence... $ECHO_C" >&6; } |
40790 | -cat >conftest.$ac_ext <<_ACEOF | | 40749 | -cat >conftest.$ac_ext <<_ACEOF |
40791 | -/* confdefs.h. */ | | 40750 | -/* confdefs.h. */ |
40792 | -_ACEOF | | 40751 | -_ACEOF |
40793 | -cat confdefs.h >>conftest.$ac_ext | | 40752 | -cat confdefs.h >>conftest.$ac_ext |
40794 | -cat >>conftest.$ac_ext <<_ACEOF | | 40753 | -cat >>conftest.$ac_ext <<_ACEOF |
40795 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 40754 | -/* end confdefs.h. */ |
40796 | /* end confdefs.h. */ | | | |
40797 | -#include <shadow.h> | | 40755 | -#include <shadow.h> |
40798 | -_ACEOF | | 40756 | -_ACEOF |
40799 | -if { (ac_try="$ac_cpp conftest.$ac_ext" | | 40757 | -if { (ac_try="$ac_cpp conftest.$ac_ext" |
40800 | -case "(($ac_try" in | | 40758 | -case "(($ac_try" in |
40801 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 40759 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
40802 | - *) ac_try_echo=$ac_try;; | | 40760 | - *) ac_try_echo=$ac_try;; |
40803 | -esac | | 40761 | -esac |
40804 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 40762 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
40805 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | | 40763 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
40806 | - ac_status=$? | | 40764 | - ac_status=$? |
40807 | - grep -v '^ *+' conftest.er1 >conftest.err | | 40765 | - grep -v '^ *+' conftest.er1 >conftest.err |
40808 | - rm -f conftest.er1 | | 40766 | - rm -f conftest.er1 |
40809 | - cat conftest.err >&5 | | 40767 | - cat conftest.err >&5 |
40810 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 40768 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
40811 | - (exit $ac_status); } >/dev/null && { | | 40769 | - (exit $ac_status); } >/dev/null && { |
40812 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 40770 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
40813 | - test ! -s conftest.err | | 40771 | - test ! -s conftest.err |
40814 | - }; then | | 40772 | - }; then |
40815 | - ac_header_preproc=yes | | 40773 | - ac_header_preproc=yes |
40816 | -else | | 40774 | -else |
40817 | - echo "$as_me: failed program was:" >&5 | | 40775 | - echo "$as_me: failed program was:" >&5 |
40818 | -sed 's/^/| /' conftest.$ac_ext >&5 | | 40776 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 40777 | +$as_echo "#define HAVE_LARGEFILE_SUPPORT /**/" >>confdefs.h |
40819 | | | 40778 | |
40820 | - ac_header_preproc=no | | 40779 | - ac_header_preproc=no |
40821 | -fi | | 40780 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
40822 | +#include <stdlib.h> | | 40781 | +$as_echo "yes" >&6; } |
40823 | +#include <iconv.h> | | 40782 | + : |
| | | 40783 | + else |
| | | 40784 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| | | 40785 | +$as_echo "no" >&6; } |
| | | 40786 | + as_fn_error "AFP 3.x support requires Large File Support." "$LINENO" 5 |
| | | 40787 | + fi |
| | | 40788 | fi |
40824 | | | 40789 | |
40825 | -rm -f conftest.err conftest.$ac_ext | | 40790 | -rm -f conftest.err conftest.$ac_ext |
40826 | -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | | 40791 | -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
40827 | -echo "${ECHO_T}$ac_header_preproc" >&6; } | | 40792 | -echo "${ECHO_T}$ac_header_preproc" >&6; } |
40828 | +int | | | |
40829 | +main () | | | |
40830 | +{ | | | |
40831 | | | 40793 | |
40832 | -# So? What about this header? | | 40794 | -# So? What about this header? |
40833 | -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | | 40795 | -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
40834 | - yes:no: ) | | 40796 | - yes:no: ) |
40835 | - { echo "$as_me:$LINENO: WARNING: shadow.h: accepted by the compiler, rejected by the preprocessor!" >&5 | | 40797 | - { echo "$as_me:$LINENO: WARNING: shadow.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
40836 | -echo "$as_me: WARNING: shadow.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | | 40798 | -echo "$as_me: WARNING: shadow.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
40837 | - { echo "$as_me:$LINENO: WARNING: shadow.h: proceeding with the compiler's result" >&5 | | 40799 | - { echo "$as_me:$LINENO: WARNING: shadow.h: proceeding with the compiler's result" >&5 |
40838 | -echo "$as_me: WARNING: shadow.h: proceeding with the compiler's result" >&2;} | | 40800 | -echo "$as_me: WARNING: shadow.h: proceeding with the compiler's result" >&2;} |
40839 | - ac_header_preproc=yes | | 40801 | - ac_header_preproc=yes |
40840 | - ;; | | 40802 | - ;; |
40841 | - no:yes:* ) | | 40803 | - no:yes:* ) |
40842 | - { echo "$as_me:$LINENO: WARNING: shadow.h: present but cannot be compiled" >&5 | | 40804 | - { echo "$as_me:$LINENO: WARNING: shadow.h: present but cannot be compiled" >&5 |
40843 | -echo "$as_me: WARNING: shadow.h: present but cannot be compiled" >&2;} | | 40805 | -echo "$as_me: WARNING: shadow.h: present but cannot be compiled" >&2;} |
40844 | - { echo "$as_me:$LINENO: WARNING: shadow.h: check for missing prerequisite headers?" >&5 | | 40806 | - { echo "$as_me:$LINENO: WARNING: shadow.h: check for missing prerequisite headers?" >&5 |
40845 | -echo "$as_me: WARNING: shadow.h: check for missing prerequisite headers?" >&2;} | | 40807 | -echo "$as_me: WARNING: shadow.h: check for missing prerequisite headers?" >&2;} |
40846 | - { echo "$as_me:$LINENO: WARNING: shadow.h: see the Autoconf documentation" >&5 | | 40808 | - { echo "$as_me:$LINENO: WARNING: shadow.h: see the Autoconf documentation" >&5 |
40847 | -echo "$as_me: WARNING: shadow.h: see the Autoconf documentation" >&2;} | | 40809 | -echo "$as_me: WARNING: shadow.h: see the Autoconf documentation" >&2;} |
40848 | - { echo "$as_me:$LINENO: WARNING: shadow.h: section \"Present But Cannot Be Compiled\"" >&5 | | 40810 | - { echo "$as_me:$LINENO: WARNING: shadow.h: section \"Present But Cannot Be Compiled\"" >&5 |
40849 | -echo "$as_me: WARNING: shadow.h: section \"Present But Cannot Be Compiled\"" >&2;} | | 40811 | -echo "$as_me: WARNING: shadow.h: section \"Present But Cannot Be Compiled\"" >&2;} |
40850 | - { echo "$as_me:$LINENO: WARNING: shadow.h: proceeding with the preprocessor's result" >&5 | | 40812 | - { echo "$as_me:$LINENO: WARNING: shadow.h: proceeding with the preprocessor's result" >&5 |
40851 | -echo "$as_me: WARNING: shadow.h: proceeding with the preprocessor's result" >&2;} | | 40813 | -echo "$as_me: WARNING: shadow.h: proceeding with the preprocessor's result" >&2;} |
40852 | - { echo "$as_me:$LINENO: WARNING: shadow.h: in the future, the compiler will take precedence" >&5 | | 40814 | - { echo "$as_me:$LINENO: WARNING: shadow.h: in the future, the compiler will take precedence" >&5 |
40853 | -echo "$as_me: WARNING: shadow.h: in the future, the compiler will take precedence" >&2;} | | 40815 | -echo "$as_me: WARNING: shadow.h: in the future, the compiler will take precedence" >&2;} |
40854 | + iconv_t cd = iconv_open("",""); | | | |
40855 | + iconv(cd,NULL,NULL,NULL,NULL); | | | |
40856 | + iconv_close(cd); | | | |
40857 | | | 40816 | |
40858 | - ;; | | 40817 | - ;; |
40859 | -esac | | 40818 | -esac |
40860 | -{ echo "$as_me:$LINENO: checking for shadow.h" >&5 | | 40819 | -{ echo "$as_me:$LINENO: checking for shadow.h" >&5 |
40861 | -echo $ECHO_N "checking for shadow.h... $ECHO_C" >&6; } | | 40820 | -echo $ECHO_N "checking for shadow.h... $ECHO_C" >&6; } |
40862 | -if test "${ac_cv_header_shadow_h+set}" = set; then | | 40821 | -if test "${ac_cv_header_shadow_h+set}" = set; then |
40863 | - echo $ECHO_N "(cached) $ECHO_C" >&6 | | 40822 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
40864 | + ; | | 40823 | + savedcflags="$CFLAGS" |
40865 | + return 0; | | 40824 | + savedldflags="$LDFLAGS" |
40866 | +} | | 40825 | + ICONV_CFLAGS="" |
40867 | +_ACEOF | | 40826 | + ICONV_LIBS="" |
40868 | +if ac_fn_c_try_link "$LINENO"; then : | | 40827 | + |
40869 | + netatalk_cv_iconv=yes | | 40828 | + |
| | | 40829 | +# Check whether --with-libiconv was given. |
| | | 40830 | +if test "${with_libiconv+set}" = set; then : |
| | | 40831 | + withval=$with_libiconv; case "$withval" in |
| | | 40832 | + no) |
| | | 40833 | + ;; |
| | | 40834 | + yes) |
| | | 40835 | + ;; |
| | | 40836 | + *) |
| | | 40837 | + ICONV_CFLAGS="-I$withval/include" |
| | | 40838 | + ICONV_LIBS="-L$withval/$atalk_libname" |
| | | 40839 | + ;; |
| | | 40840 | + esac |
40870 | else | | 40841 | else |
40871 | - ac_cv_header_shadow_h=$ac_header_preproc | | 40842 | - ac_cv_header_shadow_h=$ac_header_preproc |
40872 | + netatalk_cv_iconv=no | | 40843 | -fi |
40873 | fi | | | |
40874 | -{ echo "$as_me:$LINENO: result: $ac_cv_header_shadow_h" >&5 | | 40844 | -{ echo "$as_me:$LINENO: result: $ac_cv_header_shadow_h" >&5 |
40875 | -echo "${ECHO_T}$ac_cv_header_shadow_h" >&6; } | | 40845 | -echo "${ECHO_T}$ac_cv_header_shadow_h" >&6; } |
40876 | - | | 40846 | + withval="no" |
40877 | +rm -f core conftest.err conftest.$ac_objext \ | | 40847 | |
40878 | + conftest$ac_exeext conftest.$ac_ext | | | |
40879 | fi | | 40848 | fi |
40880 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_iconv" >&5 | | | |
40881 | +$as_echo "$netatalk_cv_iconv" >&6; } | | | |
40882 | | | 40849 | |
40883 | + if test x"$netatalk_cv_iconv" = x"yes"; then | | | |
40884 | + ICONV_LIBS="$ICONV_LIBS -liconv" | | | |
40885 | + else | | | |
40886 | + CFLAGS="$savedcflags" | | | |
40887 | + LDFLAGS="$savedldflags" | | | |
40888 | + ICONV_LIBS="" | | | |
40889 | + ICONV_CFLAGS="" | | | |
40890 | + if test x"$withval" != x"no"; then | | | |
40891 | + as_fn_error "libiconv not found" "$LINENO" 5 | | | |
40892 | + fi | | | |
40893 | + fi | | | |
40894 | | | 40850 | |
40895 | - if test x"$ac_cv_header_shadow_h" = x"yes"; then | | 40851 | - if test x"$ac_cv_header_shadow_h" = x"yes"; then |
40896 | - netatalk_cv_use_shadowpw=yes | | 40852 | - netatalk_cv_use_shadowpw=yes |
| | | 40853 | + CFLAGS="$ICONV_CFLAGS $CFLAGS" |
| | | 40854 | + LDFLAGS="$LDFLAGS $ICONV_LIBS -liconv" |
40897 | | | 40855 | |
40898 | -cat >>confdefs.h <<\_ACEOF | | 40856 | -cat >>confdefs.h <<\_ACEOF |
40899 | -#define SHADOWPW 1 | | 40857 | -#define SHADOWPW 1 |
40900 | -_ACEOF | | 40858 | -_ACEOF |
| | | 40859 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv" >&5 |
| | | 40860 | +$as_echo_n "checking for libiconv... " >&6; } |
| | | 40861 | +if test "${netatalk_cv_iconv+set}" = set; then : |
| | | 40862 | + $as_echo_n "(cached) " >&6 |
| | | 40863 | +else |
40901 | | | 40864 | |
40902 | - else | | 40865 | - else |
40903 | - if test "x$shadowpw" = "xyes"; then | | 40866 | - if test "x$shadowpw" = "xyes"; then |
40904 | - { { echo "$as_me:$LINENO: error: shadow support not available" >&5 | | 40867 | - { { echo "$as_me:$LINENO: error: shadow support not available" >&5 |
40905 | -echo "$as_me: error: shadow support not available" >&2;} | | 40868 | -echo "$as_me: error: shadow support not available" >&2;} |
40906 | - { (exit 1); exit 1; }; } | | 40869 | - { (exit 1); exit 1; }; } |
40907 | - else | | 40870 | - else |
40908 | - netatalk_cv_use_shadowpw=no | | 40871 | - netatalk_cv_use_shadowpw=no |
40909 | - fi | | 40872 | - fi |
40910 | - fi | | 40873 | - fi |
40911 | -fi | | 40874 | -fi |
40912 | + ac_new_flags="" | | 40875 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
40913 | + for i in $ICONV_CFLAGS; do | | 40876 | +/* end confdefs.h. */ |
40914 | + case $i in | | | |
40915 | + -I/usr/include|-I/usr/include/) ;; | | | |
40916 | + *) ac_new_flags="$ac_new_flags $i" ;; | | | |
40917 | + esac | | | |
40918 | + done | | | |
40919 | + ICONV_CFLAGS=$ac_new_flags | | | |
40920 | | | 40877 | |
40921 | -{ echo "$as_me:$LINENO: checking whether shadow support should be enabled" >&5 | | 40878 | -{ echo "$as_me:$LINENO: checking whether shadow support should be enabled" >&5 |
40922 | -echo $ECHO_N "checking whether shadow support should be enabled... $ECHO_C" >&6; } | | 40879 | -echo $ECHO_N "checking whether shadow support should be enabled... $ECHO_C" >&6; } |
40923 | -if test "x$netatalk_cv_use_shadowpw" = "xyes"; then | | 40880 | -if test "x$netatalk_cv_use_shadowpw" = "xyes"; then |
40924 | - { echo "$as_me:$LINENO: result: yes" >&5 | | 40881 | - { echo "$as_me:$LINENO: result: yes" >&5 |
40925 | -echo "${ECHO_T}yes" >&6; } | | 40882 | -echo "${ECHO_T}yes" >&6; } |
40926 | -else | | 40883 | +#include <stdlib.h> |
| | | 40884 | +#include <iconv.h> |
| | | 40885 | + |
| | | 40886 | +int |
| | | 40887 | +main () |
| | | 40888 | +{ |
| | | 40889 | + |
| | | 40890 | + iconv_t cd = iconv_open("",""); |
| | | 40891 | + iconv(cd,NULL,NULL,NULL,NULL); |
| | | 40892 | + iconv_close(cd); |
| | | 40893 | + |
| | | 40894 | + ; |
| | | 40895 | + return 0; |
| | | 40896 | +} |
| | | 40897 | +_ACEOF |
| | | 40898 | +if ac_fn_c_try_link "$LINENO"; then : |
| | | 40899 | + netatalk_cv_iconv=yes |
| | | 40900 | else |
40927 | - { echo "$as_me:$LINENO: result: no" >&5 | | 40901 | - { echo "$as_me:$LINENO: result: no" >&5 |
40928 | -echo "${ECHO_T}no" >&6; } | | 40902 | -echo "${ECHO_T}no" >&6; } |
40929 | -fi | | 40903 | + netatalk_cv_iconv=no |
| | | 40904 | +fi |
| | | 40905 | +rm -f core conftest.err conftest.$ac_objext \ |
| | | 40906 | + conftest$ac_exeext conftest.$ac_ext |
| | | 40907 | fi |
| | | 40908 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_iconv" >&5 |
| | | 40909 | +$as_echo "$netatalk_cv_iconv" >&6; } |
40930 | | | 40910 | |
40931 | + ac_new_flags="" | | 40911 | + if test x"$netatalk_cv_iconv" = x"yes"; then |
40932 | + for i in $ICONV_LIBS; do | | 40912 | + ICONV_LIBS="$ICONV_LIBS -liconv" |
40933 | + case $i in | | 40913 | + else |
40934 | + -L/usr/lib|-L/usr/lib/|-L/usr|-L/usr/) ;; | | 40914 | + CFLAGS="$savedcflags" |
40935 | + *) ac_new_flags="$ac_new_flags $i" ;; | | 40915 | + LDFLAGS="$savedldflags" |
40936 | + esac | | 40916 | + ICONV_LIBS="" |
40937 | + done | | 40917 | + ICONV_CFLAGS="" |
40938 | + ICONV_LIBS=$ac_new_flags | | 40918 | + if test x"$withval" != x"no"; then |
| | | 40919 | + as_fn_error "libiconv not found" "$LINENO" 5 |
| | | 40920 | + fi |
| | | 40921 | + fi |
40939 | | | 40922 | |
40940 | | | 40923 | |
40941 | -netatalk_cv_use_shellcheck=yes | | 40924 | -netatalk_cv_use_shellcheck=yes |
40942 | -{ echo "$as_me:$LINENO: checking whether checking for a valid shell should be enabled" >&5 | | 40925 | -{ echo "$as_me:$LINENO: checking whether checking for a valid shell should be enabled" >&5 |
40943 | -echo $ECHO_N "checking whether checking for a valid shell should be enabled... $ECHO_C" >&6; } | | 40926 | -echo $ECHO_N "checking whether checking for a valid shell should be enabled... $ECHO_C" >&6; } |
40944 | -# Check whether --enable-shell-check was given. | | 40927 | -# Check whether --enable-shell-check was given. |
40945 | -if test "${enable_shell_check+set}" = set; then | | 40928 | -if test "${enable_shell_check+set}" = set; then |
40946 | - enableval=$enable_shell_check; | | 40929 | - enableval=$enable_shell_check; |
40947 | - if test "$enableval" = "no"; then | | 40930 | - if test "$enableval" = "no"; then |
40948 | | | 40931 | |
40949 | -cat >>confdefs.h <<\_ACEOF | | 40932 | -cat >>confdefs.h <<\_ACEOF |
40950 | -#define DISABLE_SHELLCHECK 1 | | 40933 | -#define DISABLE_SHELLCHECK 1 |
40951 | -_ACEOF | | 40934 | -_ACEOF |
| | | 40935 | + ac_new_flags="" |
| | | 40936 | + for i in $ICONV_CFLAGS; do |
| | | 40937 | + case $i in |
| | | 40938 | + -I/usr/include|-I/usr/include/) ;; |
| | | 40939 | + *) ac_new_flags="$ac_new_flags $i" ;; |
| | | 40940 | + esac |
| | | 40941 | + done |
| | | 40942 | + ICONV_CFLAGS=$ac_new_flags |
40952 | | | 40943 | |
40953 | - { echo "$as_me:$LINENO: result: no" >&5 | | 40944 | - { echo "$as_me:$LINENO: result: no" >&5 |
40954 | -echo "${ECHO_T}no" >&6; } | | 40945 | -echo "${ECHO_T}no" >&6; } |
40955 | - netatalk_cv_use_shellcheck=no | | 40946 | - netatalk_cv_use_shellcheck=no |
40956 | - else | | 40947 | - else |
40957 | - { echo "$as_me:$LINENO: result: yes" >&5 | | 40948 | - { echo "$as_me:$LINENO: result: yes" >&5 |
40958 | -echo "${ECHO_T}yes" >&6; } | | 40949 | -echo "${ECHO_T}yes" >&6; } |
40959 | - fi | | 40950 | - fi |
40960 | | | 40951 | |
| | | 40952 | -else |
| | | 40953 | + ac_new_flags="" |
| | | 40954 | + for i in $ICONV_LIBS; do |
| | | 40955 | + case $i in |
| | | 40956 | + -L/usr/lib|-L/usr/lib/|-L/usr|-L/usr/) ;; |
| | | 40957 | + *) ac_new_flags="$ac_new_flags $i" ;; |
| | | 40958 | + esac |
| | | 40959 | + done |
| | | 40960 | + ICONV_LIBS=$ac_new_flags |
| | | 40961 | |
| | | 40962 | - { echo "$as_me:$LINENO: result: yes" >&5 |
| | | 40963 | -echo "${ECHO_T}yes" >&6; } |
| | | 40964 | |
| | | 40965 | |
| | | 40966 | -fi |
| | | 40967 | |
| | | 40968 | |
40961 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 | | 40969 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 |
40962 | +$as_echo_n "checking for working iconv... " >&6; } | | 40970 | +$as_echo_n "checking for working iconv... " >&6; } |
40963 | +if test "${netatalk_cv_HAVE_USABLE_ICONV+set}" = set; then : | | 40971 | +if test "${netatalk_cv_HAVE_USABLE_ICONV+set}" = set; then : |
40964 | + $as_echo_n "(cached) " >&6 | | 40972 | + $as_echo_n "(cached) " >&6 |
40965 | else | | 40973 | +else |
40966 | | | 40974 | |
40967 | - { echo "$as_me:$LINENO: result: yes" >&5 | | 40975 | - check=maybe |
40968 | -echo "${ECHO_T}yes" >&6; } | | 40976 | - # Check whether --enable-tcp-wrappers was given. |
40969 | - | | 40977 | -if test "${enable_tcp_wrappers+set}" = set; then |
| | | 40978 | - enableval=$enable_tcp_wrappers; |
| | | 40979 | - if test "x$enableval" = "xno"; then |
| | | 40980 | - wrapcheck=no |
| | | 40981 | - else |
| | | 40982 | - wrapcheck=yes |
| | | 40983 | - fi |
40970 | + if test "$cross_compiling" = yes; then : | | 40984 | + if test "$cross_compiling" = yes; then : |
40971 | + netatalk_cv_HAVE_USABLE_ICONV=cross | | 40985 | + netatalk_cv_HAVE_USABLE_ICONV=cross |
40972 | +else | | 40986 | +else |
40973 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 40987 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
40974 | +/* end confdefs.h. */ | | 40988 | +/* end confdefs.h. */ |
40975 | +\ | | 40989 | +\ |
40976 | +#include <iconv.h> | | 40990 | +#include <iconv.h> |
40977 | +main() { | | 40991 | +main() { |
40978 | + iconv_t cd = iconv_open("ASCII", "UTF-8"); | | 40992 | + iconv_t cd = iconv_open("ASCII", "UTF-8"); |
40979 | + if (cd == 0 || cd == (iconv_t)-1) return -1; | | 40993 | + if (cd == 0 || cd == (iconv_t)-1) return -1; |
40980 | + return 0; | | 40994 | + return 0; |
40981 | +} | | 40995 | +} |
40982 | | | 40996 | |
40983 | +_ACEOF | | 40997 | +_ACEOF |
40984 | +if ac_fn_c_try_run "$LINENO"; then : | | 40998 | +if ac_fn_c_try_run "$LINENO"; then : |
40985 | + netatalk_cv_HAVE_USABLE_ICONV=yes | | 40999 | + netatalk_cv_HAVE_USABLE_ICONV=yes |
40986 | +else | | 41000 | +else |
40987 | + netatalk_cv_HAVE_USABLE_ICONV=no | | 41001 | + netatalk_cv_HAVE_USABLE_ICONV=no |
40988 | +fi | | 41002 | +fi |
40989 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | | 41003 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
40990 | + conftest.$ac_objext conftest.beam conftest.$ac_ext | | 41004 | + conftest.$ac_objext conftest.beam conftest.$ac_ext |
40991 | fi | | | |
40992 | | | | |
40993 | +fi | | 41005 | +fi |
| | | 41006 | |
| | | 41007 | fi |
40994 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_HAVE_USABLE_ICONV" >&5 | | 41008 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_HAVE_USABLE_ICONV" >&5 |
40995 | +$as_echo "$netatalk_cv_HAVE_USABLE_ICONV" >&6; } | | 41009 | +$as_echo "$netatalk_cv_HAVE_USABLE_ICONV" >&6; } |
40996 | | | 41010 | |
40997 | + if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"yes"; then | | 41011 | + if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"yes"; then |
40998 | | | 41012 | |
40999 | - check=maybe | | | |
41000 | - # Check whether --enable-tcp-wrappers was given. | | | |
41001 | -if test "${enable_tcp_wrappers+set}" = set; then | | | |
41002 | - enableval=$enable_tcp_wrappers; | | | |
41003 | - if test "x$enableval" = "xno"; then | | | |
41004 | - wrapcheck=no | | | |
41005 | - else | | | |
41006 | - wrapcheck=yes | | | |
41007 | - fi | | | |
41008 | - | | | |
41009 | +$as_echo "#define HAVE_USABLE_ICONV 1" >>confdefs.h | | | |
41010 | | | | |
41011 | -fi | | | |
41012 | + fi | | | |
41013 | | | | |
41014 | + if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"yes"; then | | | |
41015 | + if test "${am_cv_proto_iconv+set}" = set; then : | | | |
41016 | + $as_echo_n "(cached) " >&6 | | | |
41017 | +else | | | |
41018 | | | | |
41019 | - enable=no | | 41013 | - enable=no |
41020 | - netatalk_cv_tcpwrap=no | | 41014 | - netatalk_cv_tcpwrap=no |
41021 | - if test "x$wrapcheck" != "xno"; then | | 41015 | - if test "x$wrapcheck" != "xno"; then |
41022 | - saved_LIBS=$LIBS | | 41016 | - saved_LIBS=$LIBS |
41023 | - W_LIBS="-lwrap" | | 41017 | - W_LIBS="-lwrap" |
41024 | - LIBS="$LIBS $W_LIBS" | | 41018 | - LIBS="$LIBS $W_LIBS" |
41025 | - cat >conftest.$ac_ext <<_ACEOF | | 41019 | - cat >conftest.$ac_ext <<_ACEOF |
41026 | -/* confdefs.h. */ | | 41020 | -/* confdefs.h. */ |
41027 | -_ACEOF | | 41021 | -_ACEOF |
41028 | -cat confdefs.h >>conftest.$ac_ext | | 41022 | -cat confdefs.h >>conftest.$ac_ext |
41029 | -cat >>conftest.$ac_ext <<_ACEOF | | 41023 | -cat >>conftest.$ac_ext <<_ACEOF |
| | | 41024 | +$as_echo "#define HAVE_USABLE_ICONV 1" >>confdefs.h |
| | | 41025 | + |
| | | 41026 | + fi |
| | | 41027 | + |
| | | 41028 | + if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"yes"; then |
| | | 41029 | + if test "${am_cv_proto_iconv+set}" = set; then : |
| | | 41030 | + $as_echo_n "(cached) " >&6 |
| | | 41031 | +else |
| | | 41032 | + |
41030 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 41033 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
41031 | /* end confdefs.h. */ | | 41034 | /* end confdefs.h. */ |
41032 | - int allow_severity = 0; int deny_severity = 0; | | 41035 | - int allow_severity = 0; int deny_severity = 0; |
41033 | +\ | | 41036 | +\ |
41034 | +#include <stdlib.h> | | 41037 | +#include <stdlib.h> |
41035 | +#include <iconv.h> | | 41038 | +#include <iconv.h> |
41036 | +extern | | 41039 | +extern |
41037 | +#ifdef __cplusplus | | 41040 | +#ifdef __cplusplus |
41038 | +"C" | | 41041 | +"C" |
41039 | +#endif | | 41042 | +#endif |
41040 | +#if defined(__STDC__) || defined(__cplusplus) | | 41043 | +#if defined(__STDC__) || defined(__cplusplus) |
41041 | +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); | | 41044 | +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); |
41042 | +#else | | 41045 | +#else |
| @@ -41123,52 +41126,52 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -41123,52 +41126,52 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
41123 | - test -z "$ac_c_werror_flag" || | | 41126 | - test -z "$ac_c_werror_flag" || |
41124 | - test ! -s conftest.err | | 41127 | - test ! -s conftest.err |
41125 | - } && test -s conftest$ac_exeext && | | 41128 | - } && test -s conftest$ac_exeext && |
41126 | - $as_test_x conftest$ac_exeext; then | | 41129 | - $as_test_x conftest$ac_exeext; then |
41127 | - netatalk_cv_tcpwrap=yes | | 41130 | - netatalk_cv_tcpwrap=yes |
41128 | + if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"yes"; then | | 41131 | + if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"yes"; then |
41129 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv supports UCS-2-INTERNAL" >&5 | | 41132 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv supports UCS-2-INTERNAL" >&5 |
41130 | +$as_echo_n "checking whether iconv supports UCS-2-INTERNAL... " >&6; } | | 41133 | +$as_echo_n "checking whether iconv supports UCS-2-INTERNAL... " >&6; } |
41131 | +if test "${netatalk_cv_HAVE_UCS2INTERNAL+set}" = set; then : | | 41134 | +if test "${netatalk_cv_HAVE_UCS2INTERNAL+set}" = set; then : |
41132 | + $as_echo_n "(cached) " >&6 | | 41135 | + $as_echo_n "(cached) " >&6 |
41133 | else | | 41136 | else |
41134 | - echo "$as_me: failed program was:" >&5 | | 41137 | - echo "$as_me: failed program was:" >&5 |
41135 | -sed 's/^/| /' conftest.$ac_ext >&5 | | 41138 | -sed 's/^/| /' conftest.$ac_ext >&5 |
41136 | - | | | |
41137 | - netatalk_cv_tcpwrap=no | | | |
41138 | -fi | | | |
41139 | - | | | |
41140 | -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | | | |
41141 | - conftest$ac_exeext conftest.$ac_ext | | | |
41142 | | | 41139 | |
| | | 41140 | - netatalk_cv_tcpwrap=no |
41143 | + if test "$cross_compiling" = yes; then : | | 41141 | + if test "$cross_compiling" = yes; then : |
41144 | + netatalk_cv_HAVEUCS2INTERNAL=cross | | 41142 | + netatalk_cv_HAVEUCS2INTERNAL=cross |
41145 | +else | | 41143 | +else |
41146 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 41144 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
41147 | +/* end confdefs.h. */ | | 41145 | +/* end confdefs.h. */ |
41148 | +\ | | 41146 | +\ |
41149 | +#include <iconv.h> | | 41147 | +#include <iconv.h> |
41150 | +int main() { | | 41148 | +int main() { |
41151 | + iconv_t cd = iconv_open("ASCII", "UCS-2-INTERNAL"); | | 41149 | + iconv_t cd = iconv_open("ASCII", "UCS-2-INTERNAL"); |
41152 | + if (cd == 0 || cd == (iconv_t)-1) return -1; | | 41150 | + if (cd == 0 || cd == (iconv_t)-1) return -1; |
41153 | + return 0; | | 41151 | + return 0; |
41154 | +} | | 41152 | +} |
41155 | | | 41153 | + |
41156 | +_ACEOF | | 41154 | +_ACEOF |
41157 | +if ac_fn_c_try_run "$LINENO"; then : | | 41155 | +if ac_fn_c_try_run "$LINENO"; then : |
41158 | + netatalk_cv_HAVE_UCS2INTERNAL=yes | | 41156 | + netatalk_cv_HAVE_UCS2INTERNAL=yes |
41159 | +else | | 41157 | +else |
41160 | + netatalk_cv_HAVE_UCS2INTERNAL=no | | 41158 | + netatalk_cv_HAVE_UCS2INTERNAL=no |
41161 | +fi | | 41159 | fi |
| | | 41160 | - |
| | | 41161 | -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| | | 41162 | - conftest$ac_exeext conftest.$ac_ext |
| | | 41163 | - |
| | | 41164 | - |
41162 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | | 41165 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
41163 | + conftest.$ac_objext conftest.beam conftest.$ac_ext | | 41166 | + conftest.$ac_objext conftest.beam conftest.$ac_ext |
41164 | fi | | 41167 | fi |
41165 | | | 41168 | |
41166 | -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | | 41169 | -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
41167 | - conftest$ac_exeext conftest.$ac_ext | | 41170 | - conftest$ac_exeext conftest.$ac_ext |
41168 | - | | 41171 | - |
41169 | - LIBS=$saved_LIBS | | 41172 | - LIBS=$saved_LIBS |
41170 | - fi | | 41173 | - fi |
41171 | +fi | | 41174 | +fi |
41172 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_HAVE_UCS2INTERNAL" >&5 | | 41175 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $netatalk_cv_HAVE_UCS2INTERNAL" >&5 |
41173 | +$as_echo "$netatalk_cv_HAVE_UCS2INTERNAL" >&6; } | | 41176 | +$as_echo "$netatalk_cv_HAVE_UCS2INTERNAL" >&6; } |
41174 | | | 41177 | |
| @@ -41572,143 +41575,142 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -41572,143 +41575,142 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
41572 | + USE_TDB_BACKEND_FALSE='#' | | 41575 | + USE_TDB_BACKEND_FALSE='#' |
41573 | else | | 41576 | else |
41574 | - { echo "$as_me:$LINENO: result: no" >&5 | | 41577 | - { echo "$as_me:$LINENO: result: no" >&5 |
41575 | -echo "${ECHO_T}no" >&6; } | | 41578 | -echo "${ECHO_T}no" >&6; } |
41576 | + USE_TDB_BACKEND_TRUE='#' | | 41579 | + USE_TDB_BACKEND_TRUE='#' |
41577 | + USE_TDB_BACKEND_FALSE= | | 41580 | + USE_TDB_BACKEND_FALSE= |
41578 | fi | | 41581 | fi |
41579 | | | 41582 | |
41580 | | | 41583 | |
41581 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking default DID scheme" >&5 | | 41584 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking default DID scheme" >&5 |
41582 | +$as_echo_n "checking default DID scheme... " >&6; } | | 41585 | +$as_echo_n "checking default DID scheme... " >&6; } |
41583 | | | 41586 | |
41584 | - if test "x$CUPS_CONFIG" != x; then | | 41587 | - if test "x$CUPS_CONFIG" != x; then |
41585 | - | | | |
41586 | -cat >>confdefs.h <<\_ACEOF | | | |
41587 | -#define HAVE_CUPS 1 | | | |
41588 | -_ACEOF | | | |
41589 | +# Check whether --with-cnid-default-backend was given. | | 41588 | +# Check whether --with-cnid-default-backend was given. |
41590 | +if test "${with_cnid_default_backend+set}" = set; then : | | 41589 | +if test "${with_cnid_default_backend+set}" = set; then : |
41591 | + withval=$with_cnid_default_backend; | | 41590 | + withval=$with_cnid_default_backend; |
41592 | + if test x"$withval" = x; then | | 41591 | + if test x"$withval" = x; then |
41593 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ignored" >&5 | | 41592 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ignored" >&5 |
41594 | +$as_echo "ignored" >&6; } | | 41593 | +$as_echo "ignored" >&6; } |
41595 | + else | | 41594 | + else |
41596 | + DEFAULT_CNID_SCHEME=$withval | | 41595 | + DEFAULT_CNID_SCHEME=$withval |
41597 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_CNID_SCHEME" >&5 | | 41596 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_CNID_SCHEME" >&5 |
41598 | +$as_echo "$DEFAULT_CNID_SCHEME" >&6; } | | 41597 | +$as_echo "$DEFAULT_CNID_SCHEME" >&6; } |
41599 | + fi | | 41598 | + fi |
41600 | | | 41599 | |
| | | 41600 | -cat >>confdefs.h <<\_ACEOF |
| | | 41601 | -#define HAVE_CUPS 1 |
| | | 41602 | -_ACEOF |
| | | 41603 | +else |
| | | 41604 | |
41601 | - CUPS_CFLAGS="`$CUPS_CONFIG --cflags`" | | 41605 | - CUPS_CFLAGS="`$CUPS_CONFIG --cflags`" |
41602 | - CUPS_LDFLAGS="`$CUPS_CONFIG --ldflags`" | | 41606 | - CUPS_LDFLAGS="`$CUPS_CONFIG --ldflags`" |
41603 | - CUPS_LIBS="`$CUPS_CONFIG --libs`" | | 41607 | - CUPS_LIBS="`$CUPS_CONFIG --libs`" |
41604 | - CUPS_VERSION="`$CUPS_CONFIG --version`" | | 41608 | - CUPS_VERSION="`$CUPS_CONFIG --version`" |
41605 | +else | | 41609 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_CNID_SCHEME" >&5 |
| | | 41610 | +$as_echo "$DEFAULT_CNID_SCHEME" >&6; } |
41606 | | | 41611 | |
41607 | -cat >>confdefs.h <<_ACEOF | | 41612 | -cat >>confdefs.h <<_ACEOF |
41608 | -#define CUPS_API_VERSION "`$CUPS_CONFIG --api-version`" | | 41613 | -#define CUPS_API_VERSION "`$CUPS_CONFIG --api-version`" |
41609 | -_ACEOF | | 41614 | -_ACEOF |
41610 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_CNID_SCHEME" >&5 | | | |
41611 | +$as_echo "$DEFAULT_CNID_SCHEME" >&6; } | | | |
41612 | | | | |
41613 | +fi | | 41615 | +fi |
41614 | | | 41616 | |
41615 | | | 41617 | |
41616 | + if test x"$DEFAULT_CNID_SCHEME" = x; then | | 41618 | + if test x"$DEFAULT_CNID_SCHEME" = x; then |
41617 | + as_fn_error "No DID schemes compiled in " "$LINENO" 5 | | 41619 | + as_fn_error "No DID schemes compiled in " "$LINENO" 5 |
41618 | + fi | | 41620 | + fi |
41619 | | | 41621 | |
41620 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether default CNID scheme has been activated" >&5 | | 41622 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether default CNID scheme has been activated" >&5 |
41621 | +$as_echo_n "checking whether default CNID scheme has been activated... " >&6; } | | 41623 | +$as_echo_n "checking whether default CNID scheme has been activated... " >&6; } |
41622 | + found_scheme=no | | 41624 | + found_scheme=no |
41623 | + for scheme in $compiled_backends ; do | | 41625 | + for scheme in $compiled_backends ; do |
41624 | + if test x"$scheme" = x"$DEFAULT_CNID_SCHEME"; then | | 41626 | + if test x"$scheme" = x"$DEFAULT_CNID_SCHEME"; then |
41625 | + found_scheme=yes | | 41627 | + found_scheme=yes |
41626 | + fi | | 41628 | + fi |
41627 | + done | | 41629 | + done |
41628 | + if test x"$found_scheme" = x"no"; then | | 41630 | + if test x"$found_scheme" = x"no"; then |
41629 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 41631 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
41630 | +$as_echo "no" >&6; } | | 41632 | +$as_echo "no" >&6; } |
41631 | + as_fn_error "Specified default CNID scheme $DEFAULT_CNID_SCHEME was not selected for compilation" "$LINENO" 5 | | 41633 | + as_fn_error "Specified default CNID scheme $DEFAULT_CNID_SCHEME was not selected for compilation" "$LINENO" 5 |
41632 | + else | | 41634 | + else |
41633 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | | 41635 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
41634 | +$as_echo "yes" >&6; } | | 41636 | +$as_echo "yes" >&6; } |
41635 | + fi | | 41637 | + fi |
41636 | | | 41638 | |
| | | 41639 | |
41637 | - { echo "$as_me:$LINENO: checking CUPS version" >&5 | | 41640 | - { echo "$as_me:$LINENO: checking CUPS version" >&5 |
41638 | -echo $ECHO_N "checking CUPS version... $ECHO_C" >&6; } | | 41641 | -echo $ECHO_N "checking CUPS version... $ECHO_C" >&6; } |
41639 | - { echo "$as_me:$LINENO: result: $CUPS_VERSION" >&5 | | 41642 | - { echo "$as_me:$LINENO: result: $CUPS_VERSION" >&5 |
41640 | -echo "${ECHO_T}$CUPS_VERSION" >&6; } | | 41643 | -echo "${ECHO_T}$CUPS_VERSION" >&6; } |
41641 | - netatalk_cv_use_cups=yes | | 41644 | - netatalk_cv_use_cups=yes |
| | | 41645 | +cat >>confdefs.h <<_ACEOF |
| | | 41646 | +#define DEFAULT_CNID_SCHEME "$DEFAULT_CNID_SCHEME" |
| | | 41647 | +_ACEOF |
41642 | | | 41648 | |
41643 | - if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"no" ; then | | 41649 | - if test x"$netatalk_cv_HAVE_USABLE_ICONV" = x"no" ; then |
41644 | - { echo "$as_me:$LINENO: WARNING: *** Warning: iconv not found on your system, using simple ascii mapping***" >&5 | | 41650 | - { echo "$as_me:$LINENO: WARNING: *** Warning: iconv not found on your system, using simple ascii mapping***" >&5 |
41645 | -echo "$as_me: WARNING: *** Warning: iconv not found on your system, using simple ascii mapping***" >&2;} | | 41651 | -echo "$as_me: WARNING: *** Warning: iconv not found on your system, using simple ascii mapping***" >&2;} |
41646 | - fi | | 41652 | - fi |
41647 | - spool_required="yes" | | 41653 | - spool_required="yes" |
41648 | - elif test x"$enable_cups" = "xyes"; then | | 41654 | - elif test x"$enable_cups" = "xyes"; then |
41649 | - { { echo "$as_me:$LINENO: error: *** CUPS not found. You might need to specify the path to cups-config ***" >&5 | | 41655 | - { { echo "$as_me:$LINENO: error: *** CUPS not found. You might need to specify the path to cups-config ***" >&5 |
41650 | -echo "$as_me: error: *** CUPS not found. You might need to specify the path to cups-config ***" >&2;} | | 41656 | -echo "$as_me: error: *** CUPS not found. You might need to specify the path to cups-config ***" >&2;} |
41651 | - { (exit 1); exit 1; }; } | | 41657 | - { (exit 1); exit 1; }; } |
41652 | - fi | | 41658 | - fi |
41653 | - fi | | 41659 | - fi |
41654 | +cat >>confdefs.h <<_ACEOF | | | |
41655 | +#define DEFAULT_CNID_SCHEME "$DEFAULT_CNID_SCHEME" | | | |
41656 | +_ACEOF | | | |
41657 | | | 41660 | |
41658 | - { echo "$as_me:$LINENO: checking whether CUPS support can be enabled" >&5 | | 41661 | - { echo "$as_me:$LINENO: checking whether CUPS support can be enabled" >&5 |
41659 | -echo $ECHO_N "checking whether CUPS support can be enabled... $ECHO_C" >&6; } | | 41662 | -echo $ECHO_N "checking whether CUPS support can be enabled... $ECHO_C" >&6; } |
41660 | - { echo "$as_me:$LINENO: result: $netatalk_cv_use_cups" >&5 | | 41663 | - { echo "$as_me:$LINENO: result: $netatalk_cv_use_cups" >&5 |
41661 | -echo "${ECHO_T}$netatalk_cv_use_cups" >&6; } | | 41664 | -echo "${ECHO_T}$netatalk_cv_use_cups" >&6; } |
41662 | | | 41665 | |
41663 | | | 41666 | |
41664 | | | | |
41665 | -# Check whether --with-spooldir was given. | | | |
41666 | -if test "${with_spooldir+set}" = set; then | | | |
41667 | - withval=$with_spooldir; | | | |
41668 | + if test "x$bdb_required" = "xyes"; then | | 41667 | + if test "x$bdb_required" = "xyes"; then |
41669 | + bdb_required=yes | | 41668 | + bdb_required=yes |
41670 | + else | | 41669 | + else |
41671 | + bdb_required=no | | 41670 | + bdb_required=no |
41672 | + fi | | 41671 | + fi |
41673 | | | 41672 | |
| | | 41673 | -# Check whether --with-spooldir was given. |
| | | 41674 | -if test "${with_spooldir+set}" = set; then |
| | | 41675 | - withval=$with_spooldir; |
| | | 41676 | |
41674 | - if test "$withval" = "no"; then | | 41677 | - if test "$withval" = "no"; then |
41675 | - if test x"$spool_required" = x"yes"; then | | 41678 | - if test x"$spool_required" = x"yes"; then |
41676 | - { { echo "$as_me:$LINENO: error: *** CUPS support requires a spooldir ***" >&5 | | 41679 | - { { echo "$as_me:$LINENO: error: *** CUPS support requires a spooldir ***" >&5 |
41677 | -echo "$as_me: error: *** CUPS support requires a spooldir ***" >&2;} | | 41680 | -echo "$as_me: error: *** CUPS support requires a spooldir ***" >&2;} |
41678 | - { (exit 1); exit 1; }; } | | 41681 | - { (exit 1); exit 1; }; } |
41679 | - else | | 41682 | - else |
41680 | | | 41683 | |
41681 | -cat >>confdefs.h <<\_ACEOF | | 41684 | -cat >>confdefs.h <<\_ACEOF |
41682 | -#define DISABLE_SPOOL 1 | | 41685 | -#define DISABLE_SPOOL 1 |
41683 | -_ACEOF | | 41686 | -_ACEOF |
| | | 41687 | + # Check whether --enable-quota was given. |
| | | 41688 | +if test "${enable_quota+set}" = set; then : |
| | | 41689 | + enableval=$enable_quota; |
| | | 41690 | +fi |
41684 | | | 41691 | |
41685 | - { echo "$as_me:$LINENO: result: spool disabled" >&5 | | 41692 | - { echo "$as_me:$LINENO: result: spool disabled" >&5 |
41686 | -echo "${ECHO_T}spool disabled" >&6; } | | 41693 | -echo "${ECHO_T}spool disabled" >&6; } |
41687 | - fi | | 41694 | - fi |
41688 | - elif test "$withval" != "yes"; then | | 41695 | - elif test "$withval" != "yes"; then |
41689 | - SPOOLDIR="$withval" | | 41696 | - SPOOLDIR="$withval" |
41690 | - { echo "$as_me:$LINENO: result: spooldir set to $withval" >&5 | | 41697 | - { echo "$as_me:$LINENO: result: spooldir set to $withval" >&5 |
41691 | -echo "${ECHO_T}spooldir set to $withval" >&6; } | | 41698 | -echo "${ECHO_T}spooldir set to $withval" >&6; } |
41692 | - else | | 41699 | - else |
41693 | - SPOOLDIR="${localstatedir}/spool/netatalk" | | 41700 | - SPOOLDIR="${localstatedir}/spool/netatalk" |
41694 | - { echo "$as_me:$LINENO: result: spool set to default" >&5 | | 41701 | - { echo "$as_me:$LINENO: result: spool set to default" >&5 |
41695 | -echo "${ECHO_T}spool set to default" >&6; } | | 41702 | -echo "${ECHO_T}spool set to default" >&6; } |
41696 | - fi | | 41703 | - fi |
41697 | + # Check whether --enable-quota was given. | | | |
41698 | +if test "${enable_quota+set}" = set; then : | | | |
41699 | + enableval=$enable_quota; | | | |
41700 | +fi | | | |
41701 | + | | | |
41702 | | | 41704 | |
41703 | + if test x$enable_quota != xno; then | | 41705 | + if test x$enable_quota != xno; then |
41704 | + QUOTA_LIBS="" | | 41706 | + QUOTA_LIBS="" |
41705 | + netatalk_cv_quotasupport="yes" | | 41707 | + netatalk_cv_quotasupport="yes" |
41706 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrpcsvc" >&5 | | 41708 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lrpcsvc" >&5 |
41707 | +$as_echo_n "checking for main in -lrpcsvc... " >&6; } | | 41709 | +$as_echo_n "checking for main in -lrpcsvc... " >&6; } |
41708 | +if test "${ac_cv_lib_rpcsvc_main+set}" = set; then : | | 41710 | +if test "${ac_cv_lib_rpcsvc_main+set}" = set; then : |
41709 | + $as_echo_n "(cached) " >&6 | | 41711 | + $as_echo_n "(cached) " >&6 |
41710 | else | | 41712 | else |
41711 | + ac_check_lib_save_LIBS=$LIBS | | 41713 | + ac_check_lib_save_LIBS=$LIBS |
41712 | +LIBS="-lrpcsvc $LIBS" | | 41714 | +LIBS="-lrpcsvc $LIBS" |
41713 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 41715 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
41714 | +/* end confdefs.h. */ | | 41716 | +/* end confdefs.h. */ |
| @@ -41741,106 +41743,100 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -41741,106 +41743,100 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
41741 | + for ac_header in rpc/rpc.h rpc/pmap_prot.h rpcsvc/rquota.h | | 41743 | + for ac_header in rpc/rpc.h rpc/pmap_prot.h rpcsvc/rquota.h |
41742 | +do : | | 41744 | +do : |
41743 | + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 41745 | + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
41744 | +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | | 41746 | +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
41745 | +eval as_val=\$$as_ac_Header | | 41747 | +eval as_val=\$$as_ac_Header |
41746 | + if test "x$as_val" = x""yes; then : | | 41748 | + if test "x$as_val" = x""yes; then : |
41747 | + cat >>confdefs.h <<_ACEOF | | 41749 | + cat >>confdefs.h <<_ACEOF |
41748 | +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 41750 | +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
41749 | +_ACEOF | | 41751 | +_ACEOF |
41750 | | | 41752 | |
41751 | - if test x"$spool_required" = x"yes"; then | | 41753 | - if test x"$spool_required" = x"yes"; then |
41752 | - USE_SPOOLDIR_TRUE= | | 41754 | - USE_SPOOLDIR_TRUE= |
41753 | - USE_SPOOLDIR_FALSE='#' | | 41755 | - USE_SPOOLDIR_FALSE='#' |
41754 | else | | 41756 | -else |
41755 | - USE_SPOOLDIR_TRUE='#' | | 41757 | - USE_SPOOLDIR_TRUE='#' |
41756 | - USE_SPOOLDIR_FALSE= | | 41758 | - USE_SPOOLDIR_FALSE= |
41757 | -fi | | | |
41758 | | | | |
41759 | + QUOTA_LIBS="" | | | |
41760 | + netatalk_cv_quotasupport="no" | | | |
41761 | | | | |
41762 | +$as_echo "#define NO_QUOTA_SUPPORT 1" >>confdefs.h | | | |
41763 | | | | |
41764 | | | | |
41765 | -{ echo "$as_me:$LINENO: checking to see if we can add '__attribute__((unused))' to CFLAGS" >&5 | | | |
41766 | -echo $ECHO_N "checking to see if we can add '__attribute__((unused))' to CFLAGS... $ECHO_C" >&6; } | | | |
41767 | -if test x$GCC != x ; then | | | |
41768 | - CFLAGS="-D_U_=\"__attribute__((unused))\" $CFLAGS" | | | |
41769 | - { echo "$as_me:$LINENO: result: yes" >&5 | | | |
41770 | -echo "${ECHO_T}yes" >&6; } | | | |
41771 | -else | | | |
41772 | - CFLAGS="-D_U_=\"\" $CFLAGS" | | | |
41773 | - { echo "$as_me:$LINENO: result: no" >&5 | | | |
41774 | -echo "${ECHO_T}no" >&6; } | | | |
41775 | fi | | 41759 | fi |
41776 | | | 41760 | |
41777 | +done | | 41761 | +done |
41778 | | | 41762 | |
41779 | -{ echo "$as_me:$LINENO: checking whether to use Filesystem Hierarchy Standard (FHS) compatibility" >&5 | | | |
41780 | -echo $ECHO_N "checking whether to use Filesystem Hierarchy Standard (FHS) compatibility... $ECHO_C" >&6; } | | | |
41781 | -# Check whether --enable-fhs was given. | | | |
41782 | -if test "${enable_fhs+set}" = set; then | | | |
41783 | - enableval=$enable_fhs; | | | |
41784 | - if test "$enableval" = "yes"; then | | | |
41785 | - uams_path="${libdir}/netatalk" | | | |
41786 | - sysconfdir="/etc" | | | |
41787 | - PKGCONFDIR=${sysconfdir}/netatalk | | | |
41788 | - SERVERTEXT="${PKGCONFDIR}/msg" | | | |
41789 | - use_pam_so=yes | | | |
41790 | - mandir="/usr/share/man" | | | |
41791 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfsquota in -lquota" >&5 | | 41763 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfsquota in -lquota" >&5 |
41792 | +$as_echo_n "checking for getfsquota in -lquota... " >&6; } | | 41764 | +$as_echo_n "checking for getfsquota in -lquota... " >&6; } |
41793 | +if test "${ac_cv_lib_quota_getfsquota+set}" = set; then : | | 41765 | +if test "${ac_cv_lib_quota_getfsquota+set}" = set; then : |
41794 | + $as_echo_n "(cached) " >&6 | | 41766 | + $as_echo_n "(cached) " >&6 |
41795 | +else | | 41767 | +else |
41796 | + ac_check_lib_save_LIBS=$LIBS | | 41768 | + ac_check_lib_save_LIBS=$LIBS |
41797 | +LIBS="-lquota -lprop -lrpcsvc $LIBS" | | 41769 | +LIBS="-lquota -lprop -lrpcsvc $LIBS" |
41798 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 41770 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
41799 | +/* end confdefs.h. */ | | 41771 | +/* end confdefs.h. */ |
41800 | | | 41772 | |
41801 | -cat >>confdefs.h <<\_ACEOF | | 41773 | - |
41802 | -#define FHS_COMPATIBILITY 1 | | 41774 | -{ echo "$as_me:$LINENO: checking to see if we can add '__attribute__((unused))' to CFLAGS" >&5 |
| | | 41775 | -echo $ECHO_N "checking to see if we can add '__attribute__((unused))' to CFLAGS... $ECHO_C" >&6; } |
| | | 41776 | -if test x$GCC != x ; then |
| | | 41777 | - CFLAGS="-D_U_=\"__attribute__((unused))\" $CFLAGS" |
| | | 41778 | - { echo "$as_me:$LINENO: result: yes" >&5 |
| | | 41779 | -echo "${ECHO_T}yes" >&6; } |
41803 | +/* Override any GCC internal prototype to avoid an error. | | 41780 | +/* Override any GCC internal prototype to avoid an error. |
41804 | + Use char because int might match the return type of a GCC | | 41781 | + Use char because int might match the return type of a GCC |
41805 | + builtin and then its argument prototype would still apply. */ | | 41782 | + builtin and then its argument prototype would still apply. */ |
41806 | +#ifdef __cplusplus | | 41783 | +#ifdef __cplusplus |
41807 | +extern "C" | | 41784 | +extern "C" |
41808 | +#endif | | 41785 | +#endif |
41809 | +char getfsquota (); | | 41786 | +char getfsquota (); |
41810 | +int | | 41787 | +int |
41811 | +main () | | 41788 | +main () |
41812 | +{ | | 41789 | +{ |
41813 | +return getfsquota (); | | 41790 | +return getfsquota (); |
41814 | + ; | | 41791 | + ; |
41815 | + return 0; | | 41792 | + return 0; |
41816 | +} | | 41793 | +} |
41817 | _ACEOF | | 41794 | +_ACEOF |
41818 | +if ac_fn_c_try_link "$LINENO"; then : | | 41795 | +if ac_fn_c_try_link "$LINENO"; then : |
41819 | + ac_cv_lib_quota_getfsquota=yes | | 41796 | + ac_cv_lib_quota_getfsquota=yes |
41820 | +else | | 41797 | else |
| | | 41798 | - CFLAGS="-D_U_=\"\" $CFLAGS" |
| | | 41799 | - { echo "$as_me:$LINENO: result: no" >&5 |
| | | 41800 | -echo "${ECHO_T}no" >&6; } |
41821 | + ac_cv_lib_quota_getfsquota=no | | 41801 | + ac_cv_lib_quota_getfsquota=no |
41822 | +fi | | 41802 | fi |
41823 | +rm -f core conftest.err conftest.$ac_objext \ | | 41803 | +rm -f core conftest.err conftest.$ac_objext \ |
41824 | + conftest$ac_exeext conftest.$ac_ext | | 41804 | + conftest$ac_exeext conftest.$ac_ext |
41825 | +LIBS=$ac_check_lib_save_LIBS | | 41805 | +LIBS=$ac_check_lib_save_LIBS |
41826 | +fi | | 41806 | +fi |
41827 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quota_getfsquota" >&5 | | 41807 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quota_getfsquota" >&5 |
41828 | +$as_echo "$ac_cv_lib_quota_getfsquota" >&6; } | | 41808 | +$as_echo "$ac_cv_lib_quota_getfsquota" >&6; } |
41829 | +if test "x$ac_cv_lib_quota_getfsquota" = x""yes; then : | | 41809 | +if test "x$ac_cv_lib_quota_getfsquota" = x""yes; then : |
41830 | + QUOTA_LIBS="-lquota -lprop -lrpcsvc" | | 41810 | + QUOTA_LIBS="-lquota -lprop -lrpcsvc" |
41831 | + | | 41811 | |
41832 | +$as_echo "#define HAVE_LIBQUOTA 1" >>confdefs.h | | 41812 | +$as_echo "#define HAVE_LIBQUOTA 1" >>confdefs.h |
41833 | + | | 41813 | |
| | | 41814 | -{ echo "$as_me:$LINENO: checking whether to use Filesystem Hierarchy Standard (FHS) compatibility" >&5 |
| | | 41815 | -echo $ECHO_N "checking whether to use Filesystem Hierarchy Standard (FHS) compatibility... $ECHO_C" >&6; } |
| | | 41816 | -# Check whether --enable-fhs was given. |
| | | 41817 | -if test "${enable_fhs+set}" = set; then |
| | | 41818 | - enableval=$enable_fhs; |
| | | 41819 | - if test "$enableval" = "yes"; then |
| | | 41820 | - uams_path="${libdir}/netatalk" |
| | | 41821 | - sysconfdir="/etc" |
| | | 41822 | - PKGCONFDIR=${sysconfdir}/netatalk |
| | | 41823 | - SERVERTEXT="${PKGCONFDIR}/msg" |
| | | 41824 | - use_pam_so=yes |
| | | 41825 | - mandir="/usr/share/man" |
| | | 41826 | - |
| | | 41827 | -cat >>confdefs.h <<\_ACEOF |
| | | 41828 | -#define FHS_COMPATIBILITY 1 |
| | | 41829 | -_ACEOF |
41834 | +fi | | 41830 | +fi |
41835 | | | 41831 | |
41836 | - { echo "$as_me:$LINENO: result: yes" >&5 | | 41832 | - { echo "$as_me:$LINENO: result: yes" >&5 |
41837 | -echo "${ECHO_T}yes" >&6; } | | 41833 | -echo "${ECHO_T}yes" >&6; } |
41838 | else | | 41834 | else |
41839 | - { echo "$as_me:$LINENO: result: no" >&5 | | 41835 | - { echo "$as_me:$LINENO: result: no" >&5 |
41840 | -echo "${ECHO_T}no" >&6; } | | 41836 | -echo "${ECHO_T}no" >&6; } |
41841 | + netatalk_cv_quotasupport="no" | | 41837 | + netatalk_cv_quotasupport="no" |
41842 | + | | 41838 | + |
41843 | +$as_echo "#define NO_QUOTA_SUPPORT 1" >>confdefs.h | | 41839 | +$as_echo "#define NO_QUOTA_SUPPORT 1" >>confdefs.h |
41844 | + | | 41840 | + |
41845 | fi | | 41841 | fi |
41846 | | | 41842 | |
| @@ -46003,27 +45999,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -46003,27 +45999,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
46003 | + | | 45999 | + |
46004 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_auth_parameters in -lsecurity" >&5 | | 46000 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_auth_parameters in -lsecurity" >&5 |
46005 | +$as_echo_n "checking for set_auth_parameters in -lsecurity... " >&6; } | | 46001 | +$as_echo_n "checking for set_auth_parameters in -lsecurity... " >&6; } |
46006 | +if test "${ac_cv_lib_security_set_auth_parameters+set}" = set; then : | | 46002 | +if test "${ac_cv_lib_security_set_auth_parameters+set}" = set; then : |
46007 | + $as_echo_n "(cached) " >&6 | | 46003 | + $as_echo_n "(cached) " >&6 |
46008 | +else | | 46004 | +else |
46009 | + ac_check_lib_save_LIBS=$LIBS | | 46005 | + ac_check_lib_save_LIBS=$LIBS |
46010 | +LIBS="-lsecurity $LIBS" | | 46006 | +LIBS="-lsecurity $LIBS" |
46011 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 46007 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
46012 | +/* end confdefs.h. */ | | 46008 | +/* end confdefs.h. */ |
46013 | | | 46009 | |
46014 | /* Override any GCC internal prototype to avoid an error. | | 46010 | /* Override any GCC internal prototype to avoid an error. |
46015 | Use char because int might match the return type of a GCC | | 46011 | Use char because int might match the return type of a GCC |
46016 | @@ -32706,1254 +16761,1024 @@ | | 46012 | @@ -32706,1254 +16753,1024 @@ |
46017 | #ifdef __cplusplus | | 46013 | #ifdef __cplusplus |
46018 | extern "C" | | 46014 | extern "C" |
46019 | #endif | | 46015 | #endif |
46020 | -char gss_acquire_cred (); | | 46016 | -char gss_acquire_cred (); |
46021 | -/* The GNU C library defines this for functions which it implements | | 46017 | -/* The GNU C library defines this for functions which it implements |
46022 | - to always fail with ENOSYS. Some functions are actually named | | 46018 | - to always fail with ENOSYS. Some functions are actually named |
46023 | - something starting with __ and the normal name is an alias. */ | | 46019 | - something starting with __ and the normal name is an alias. */ |
46024 | -#if defined __stub_gss_acquire_cred || defined __stub___gss_acquire_cred | | 46020 | -#if defined __stub_gss_acquire_cred || defined __stub___gss_acquire_cred |
46025 | -choke me | | 46021 | -choke me |
46026 | -#endif | | 46022 | -#endif |
46027 | - | | 46023 | - |
46028 | +char set_auth_parameters (); | | 46024 | +char set_auth_parameters (); |
46029 | int | | 46025 | int |
| @@ -48059,27 +48055,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -48059,27 +48055,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
48059 | else | | 48055 | else |
48060 | - ac_func_search_save_LIBS=$LIBS | | 48056 | - ac_func_search_save_LIBS=$LIBS |
48061 | -cat >conftest.$ac_ext <<_ACEOF | | 48057 | -cat >conftest.$ac_ext <<_ACEOF |
48062 | -/* confdefs.h. */ | | 48058 | -/* confdefs.h. */ |
48063 | -_ACEOF | | 48059 | -_ACEOF |
48064 | -cat confdefs.h >>conftest.$ac_ext | | 48060 | -cat confdefs.h >>conftest.$ac_ext |
48065 | -cat >>conftest.$ac_ext <<_ACEOF | | 48061 | -cat >>conftest.$ac_ext <<_ACEOF |
48066 | + ac_check_lib_save_LIBS=$LIBS | | 48062 | + ac_check_lib_save_LIBS=$LIBS |
48067 | +LIBS="-lgssapi $LIBS" | | 48063 | +LIBS="-lgssapi $LIBS" |
48068 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 48064 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
48069 | /* end confdefs.h. */ | | 48065 | /* end confdefs.h. */ |
48070 | | | 48066 | |
48071 | /* Override any GCC internal prototype to avoid an error. | | 48067 | /* Override any GCC internal prototype to avoid an error. |
48072 | @@ -33962,104 +17787,89 @@ | | 48068 | @@ -33962,104 +17779,89 @@ |
48073 | #ifdef __cplusplus | | 48069 | #ifdef __cplusplus |
48074 | extern "C" | | 48070 | extern "C" |
48075 | #endif | | 48071 | #endif |
48076 | -char getproplist (); | | 48072 | -char getproplist (); |
48077 | +char gss_display_status (); | | 48073 | +char gss_display_status (); |
48078 | int | | 48074 | int |
48079 | main () | | 48075 | main () |
48080 | { | | 48076 | { |
48081 | -return getproplist (); | | 48077 | -return getproplist (); |
48082 | +return gss_display_status (); | | 48078 | +return gss_display_status (); |
48083 | ; | | 48079 | ; |
48084 | return 0; | | 48080 | return 0; |
48085 | } | | 48081 | } |
| @@ -48227,27 +48223,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -48227,27 +48223,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
48227 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | | 48223 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
48228 | - <limits.h> exists even on freestanding compilers. */ | | 48224 | - <limits.h> exists even on freestanding compilers. */ |
48229 | - | | 48225 | - |
48230 | -#ifdef __STDC__ | | 48226 | -#ifdef __STDC__ |
48231 | -# include <limits.h> | | 48227 | -# include <limits.h> |
48232 | -#else | | 48228 | -#else |
48233 | -# include <assert.h> | | 48229 | -# include <assert.h> |
48234 | -#endif | | 48230 | -#endif |
48235 | - | | 48231 | - |
48236 | -#undef $ac_func | | 48232 | -#undef $ac_func |
48237 | | | 48233 | |
48238 | /* Override any GCC internal prototype to avoid an error. | | 48234 | /* Override any GCC internal prototype to avoid an error. |
48239 | Use char because int might match the return type of a GCC | | 48235 | Use char because int might match the return type of a GCC |
48240 | @@ -34067,98 +17877,196 @@ | | 48236 | @@ -34067,98 +17869,196 @@ |
48241 | #ifdef __cplusplus | | 48237 | #ifdef __cplusplus |
48242 | extern "C" | | 48238 | extern "C" |
48243 | #endif | | 48239 | #endif |
48244 | -char $ac_func (); | | 48240 | -char $ac_func (); |
48245 | -/* The GNU C library defines this for functions which it implements | | 48241 | -/* The GNU C library defines this for functions which it implements |
48246 | - to always fail with ENOSYS. Some functions are actually named | | 48242 | - to always fail with ENOSYS. Some functions are actually named |
48247 | - something starting with __ and the normal name is an alias. */ | | 48243 | - something starting with __ and the normal name is an alias. */ |
48248 | -#if defined __stub_$ac_func || defined __stub___$ac_func | | 48244 | -#if defined __stub_$ac_func || defined __stub___$ac_func |
48249 | -choke me | | 48245 | -choke me |
48250 | -#endif | | 48246 | -#endif |
48251 | - | | 48247 | - |
48252 | +char gss_display_status (); | | 48248 | +char gss_display_status (); |
48253 | int | | 48249 | int |
| @@ -48493,27 +48489,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -48493,27 +48489,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
48493 | + | | 48489 | + |
48494 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5 | | 48490 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5 |
48495 | +$as_echo_n "checking for ldap_init in -lldap... " >&6; } | | 48491 | +$as_echo_n "checking for ldap_init in -lldap... " >&6; } |
48496 | +if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then : | | 48492 | +if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then : |
48497 | + $as_echo_n "(cached) " >&6 | | 48493 | + $as_echo_n "(cached) " >&6 |
48498 | +else | | 48494 | +else |
48499 | + ac_check_lib_save_LIBS=$LIBS | | 48495 | + ac_check_lib_save_LIBS=$LIBS |
48500 | +LIBS="-lldap $LIBS" | | 48496 | +LIBS="-lldap $LIBS" |
48501 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 48497 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
48502 | +/* end confdefs.h. */ | | 48498 | +/* end confdefs.h. */ |
48503 | | | 48499 | |
48504 | /* Override any GCC internal prototype to avoid an error. | | 48500 | /* Override any GCC internal prototype to avoid an error. |
48505 | Use char because int might match the return type of a GCC | | 48501 | Use char because int might match the return type of a GCC |
48506 | @@ -34166,95 +18074,139 @@ | | 48502 | @@ -34166,95 +18066,139 @@ |
48507 | #ifdef __cplusplus | | 48503 | #ifdef __cplusplus |
48508 | extern "C" | | 48504 | extern "C" |
48509 | #endif | | 48505 | #endif |
48510 | -char $ac_func (); | | 48506 | -char $ac_func (); |
48511 | -/* The GNU C library defines this for functions which it implements | | 48507 | -/* The GNU C library defines this for functions which it implements |
48512 | - to always fail with ENOSYS. Some functions are actually named | | 48508 | - to always fail with ENOSYS. Some functions are actually named |
48513 | - something starting with __ and the normal name is an alias. */ | | 48509 | - something starting with __ and the normal name is an alias. */ |
48514 | -#if defined __stub_$ac_func || defined __stub___$ac_func | | 48510 | -#if defined __stub_$ac_func || defined __stub___$ac_func |
48515 | -choke me | | 48511 | -choke me |
48516 | -#endif | | 48512 | -#endif |
48517 | - | | 48513 | - |
48518 | +char ldap_init (); | | 48514 | +char ldap_init (); |
48519 | int | | 48515 | int |
| @@ -48701,27 +48697,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -48701,27 +48697,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
48701 | + *) | | 48697 | + *) |
48702 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5 | | 48698 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5 |
48703 | +$as_echo_n "checking for acl_get_file in -lacl... " >&6; } | | 48699 | +$as_echo_n "checking for acl_get_file in -lacl... " >&6; } |
48704 | +if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then : | | 48700 | +if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then : |
48705 | + $as_echo_n "(cached) " >&6 | | 48701 | + $as_echo_n "(cached) " >&6 |
48706 | +else | | 48702 | +else |
48707 | + ac_check_lib_save_LIBS=$LIBS | | 48703 | + ac_check_lib_save_LIBS=$LIBS |
48708 | +LIBS="-lacl $LIBS" | | 48704 | +LIBS="-lacl $LIBS" |
48709 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 48705 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
48710 | +/* end confdefs.h. */ | | 48706 | +/* end confdefs.h. */ |
48711 | | | 48707 | |
48712 | /* Override any GCC internal prototype to avoid an error. | | 48708 | /* Override any GCC internal prototype to avoid an error. |
48713 | Use char because int might match the return type of a GCC | | 48709 | Use char because int might match the return type of a GCC |
48714 | @@ -34262,98 +18214,41 @@ | | 48710 | @@ -34262,98 +18206,41 @@ |
48715 | #ifdef __cplusplus | | 48711 | #ifdef __cplusplus |
48716 | extern "C" | | 48712 | extern "C" |
48717 | #endif | | 48713 | #endif |
48718 | -char $ac_func (); | | 48714 | -char $ac_func (); |
48719 | -/* The GNU C library defines this for functions which it implements | | 48715 | -/* The GNU C library defines this for functions which it implements |
48720 | - to always fail with ENOSYS. Some functions are actually named | | 48716 | - to always fail with ENOSYS. Some functions are actually named |
48721 | - something starting with __ and the normal name is an alias. */ | | 48717 | - something starting with __ and the normal name is an alias. */ |
48722 | -#if defined __stub_$ac_func || defined __stub___$ac_func | | 48718 | -#if defined __stub_$ac_func || defined __stub___$ac_func |
48723 | -choke me | | 48719 | -choke me |
48724 | -#endif | | 48720 | -#endif |
48725 | - | | 48721 | - |
48726 | +char acl_get_file (); | | 48722 | +char acl_get_file (); |
48727 | int | | 48723 | int |
| @@ -48821,27 +48817,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -48821,27 +48817,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
48821 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | | 48817 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
48822 | - <limits.h> exists even on freestanding compilers. */ | | 48818 | - <limits.h> exists even on freestanding compilers. */ |
48823 | - | | 48819 | - |
48824 | -#ifdef __STDC__ | | 48820 | -#ifdef __STDC__ |
48825 | -# include <limits.h> | | 48821 | -# include <limits.h> |
48826 | -#else | | 48822 | -#else |
48827 | -# include <assert.h> | | 48823 | -# include <assert.h> |
48828 | -#endif | | 48824 | -#endif |
48829 | - | | 48825 | - |
48830 | -#undef $ac_func | | 48826 | -#undef $ac_func |
48831 | | | 48827 | |
48832 | /* Override any GCC internal prototype to avoid an error. | | 48828 | /* Override any GCC internal prototype to avoid an error. |
48833 | Use char because int might match the return type of a GCC | | 48829 | Use char because int might match the return type of a GCC |
48834 | @@ -34361,296 +18256,215 @@ | | 48830 | @@ -34361,296 +18248,215 @@ |
48835 | #ifdef __cplusplus | | 48831 | #ifdef __cplusplus |
48836 | extern "C" | | 48832 | extern "C" |
48837 | #endif | | 48833 | #endif |
48838 | -char $ac_func (); | | 48834 | -char $ac_func (); |
48839 | -/* The GNU C library defines this for functions which it implements | | 48835 | -/* The GNU C library defines this for functions which it implements |
48840 | - to always fail with ENOSYS. Some functions are actually named | | 48836 | - to always fail with ENOSYS. Some functions are actually named |
48841 | - something starting with __ and the normal name is an alias. */ | | 48837 | - something starting with __ and the normal name is an alias. */ |
48842 | -#if defined __stub_$ac_func || defined __stub___$ac_func | | 48838 | -#if defined __stub_$ac_func || defined __stub___$ac_func |
48843 | -choke me | | 48839 | -choke me |
48844 | -#endif | | 48840 | -#endif |
48845 | - | | 48841 | - |
48846 | +char getxattr (); | | 48842 | +char getxattr (); |
48847 | int | | 48843 | int |
| @@ -49265,27 +49261,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -49265,27 +49261,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
49265 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | | 49261 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
49266 | - <limits.h> exists even on freestanding compilers. */ | | 49262 | - <limits.h> exists even on freestanding compilers. */ |
49267 | - | | 49263 | - |
49268 | -#ifdef __STDC__ | | 49264 | -#ifdef __STDC__ |
49269 | -# include <limits.h> | | 49265 | -# include <limits.h> |
49270 | -#else | | 49266 | -#else |
49271 | -# include <assert.h> | | 49267 | -# include <assert.h> |
49272 | -#endif | | 49268 | -#endif |
49273 | - | | 49269 | - |
49274 | -#undef $ac_func | | 49270 | -#undef $ac_func |
49275 | | | 49271 | |
49276 | /* Override any GCC internal prototype to avoid an error. | | 49272 | /* Override any GCC internal prototype to avoid an error. |
49277 | Use char because int might match the return type of a GCC | | 49273 | Use char because int might match the return type of a GCC |
49278 | @@ -34658,57 +18472,70 @@ | | 49274 | @@ -34658,57 +18464,70 @@ |
49279 | #ifdef __cplusplus | | 49275 | #ifdef __cplusplus |
49280 | extern "C" | | 49276 | extern "C" |
49281 | #endif | | 49277 | #endif |
49282 | -char $ac_func (); | | 49278 | -char $ac_func (); |
49283 | -/* The GNU C library defines this for functions which it implements | | 49279 | -/* The GNU C library defines this for functions which it implements |
49284 | - to always fail with ENOSYS. Some functions are actually named | | 49280 | - to always fail with ENOSYS. Some functions are actually named |
49285 | - something starting with __ and the normal name is an alias. */ | | 49281 | - something starting with __ and the normal name is an alias. */ |
49286 | -#if defined __stub_$ac_func || defined __stub___$ac_func | | 49282 | -#if defined __stub_$ac_func || defined __stub___$ac_func |
49287 | -choke me | | 49283 | -choke me |
49288 | -#endif | | 49284 | -#endif |
49289 | - | | 49285 | - |
49290 | +char getproplist (); | | 49286 | +char getproplist (); |
49291 | int | | 49287 | int |
| @@ -49374,27 +49370,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -49374,27 +49370,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
49374 | + | | 49370 | + |
49375 | + for ac_func in delproplist fdelproplist add_proplist_entry get_proplist_entry | | 49371 | + for ac_func in delproplist fdelproplist add_proplist_entry get_proplist_entry |
49376 | +do : | | 49372 | +do : |
49377 | + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 49373 | + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
49378 | +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 49374 | +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
49379 | +eval as_val=\$$as_ac_var | | 49375 | +eval as_val=\$$as_ac_var |
49380 | + if test "x$as_val" = x""yes; then : | | 49376 | + if test "x$as_val" = x""yes; then : |
49381 | cat >>confdefs.h <<_ACEOF | | 49377 | cat >>confdefs.h <<_ACEOF |
49382 | -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 49378 | -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
49383 | +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 49379 | +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
49384 | _ACEOF | | 49380 | _ACEOF |
49385 | | | 49381 | |
49386 | else | | 49382 | else |
49387 | @@ -34716,97 +18543,91 @@ | | 49383 | @@ -34716,97 +18535,91 @@ |
49388 | fi | | 49384 | fi |
49389 | done | | 49385 | done |
49390 | | | 49386 | |
49391 | + for ac_func in sizeof_proplist_entry | | 49387 | + for ac_func in sizeof_proplist_entry |
49392 | +do : | | 49388 | +do : |
49393 | + ac_fn_c_check_func "$LINENO" "sizeof_proplist_entry" "ac_cv_func_sizeof_proplist_entry" | | 49389 | + ac_fn_c_check_func "$LINENO" "sizeof_proplist_entry" "ac_cv_func_sizeof_proplist_entry" |
49394 | +if test "x$ac_cv_func_sizeof_proplist_entry" = x""yes; then : | | 49390 | +if test "x$ac_cv_func_sizeof_proplist_entry" = x""yes; then : |
49395 | + cat >>confdefs.h <<_ACEOF | | 49391 | + cat >>confdefs.h <<_ACEOF |
49396 | +#define HAVE_SIZEOF_PROPLIST_ENTRY 1 | | 49392 | +#define HAVE_SIZEOF_PROPLIST_ENTRY 1 |
49397 | +_ACEOF | | 49393 | +_ACEOF |
49398 | | | 49394 | |
49399 | +else | | 49395 | +else |
49400 | + neta_cv_eas_sys_not_found=yes | | 49396 | + neta_cv_eas_sys_not_found=yes |
| @@ -49543,27 +49539,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -49543,27 +49539,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
49543 | -if test `eval echo '${'$as_ac_var'}'` = yes; then | | 49539 | -if test `eval echo '${'$as_ac_var'}'` = yes; then |
49544 | + for ac_func in extattr_set_fd extattr_set_file extattr_set_link | | 49540 | + for ac_func in extattr_set_fd extattr_set_file extattr_set_link |
49545 | +do : | | 49541 | +do : |
49546 | + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 49542 | + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
49547 | +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 49543 | +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
49548 | +eval as_val=\$$as_ac_var | | 49544 | +eval as_val=\$$as_ac_var |
49549 | + if test "x$as_val" = x""yes; then : | | 49545 | + if test "x$as_val" = x""yes; then : |
49550 | cat >>confdefs.h <<_ACEOF | | 49546 | cat >>confdefs.h <<_ACEOF |
49551 | -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 49547 | -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
49552 | +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 49548 | +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
49553 | _ACEOF | | 49549 | _ACEOF |
49554 | | | 49550 | |
49555 | else | | 49551 | else |
49556 | @@ -34818,24 +18639,18 @@ | | 49552 | @@ -34818,24 +18631,18 @@ |
49557 | | | 49553 | |
49558 | *freebsd4* | *dragonfly* ) | | 49554 | *freebsd4* | *dragonfly* ) |
49559 | | | 49555 | |
49560 | -cat >>confdefs.h <<\_ACEOF | | 49556 | -cat >>confdefs.h <<\_ACEOF |
49561 | -#define BROKEN_EXTATTR 1 | | 49557 | -#define BROKEN_EXTATTR 1 |
49562 | -_ACEOF | | 49558 | -_ACEOF |
49563 | +$as_echo "#define BROKEN_EXTATTR 1" >>confdefs.h | | 49559 | +$as_echo "#define BROKEN_EXTATTR 1" >>confdefs.h |
49564 | | | 49560 | |
49565 | ;; | | 49561 | ;; |
49566 | | | 49562 | |
49567 | *) | | 49563 | *) |
49568 | - { echo "$as_me:$LINENO: checking for library containing getxattr" >&5 | | 49564 | - { echo "$as_me:$LINENO: checking for library containing getxattr" >&5 |
49569 | -echo $ECHO_N "checking for library containing getxattr... $ECHO_C" >&6; } | | 49565 | -echo $ECHO_N "checking for library containing getxattr... $ECHO_C" >&6; } |
| @@ -49574,27 +49570,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -49574,27 +49570,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
49574 | +if test "${ac_cv_search_getxattr+set}" = set; then : | | 49570 | +if test "${ac_cv_search_getxattr+set}" = set; then : |
49575 | + $as_echo_n "(cached) " >&6 | | 49571 | + $as_echo_n "(cached) " >&6 |
49576 | else | | 49572 | else |
49577 | ac_func_search_save_LIBS=$LIBS | | 49573 | ac_func_search_save_LIBS=$LIBS |
49578 | -cat >conftest.$ac_ext <<_ACEOF | | 49574 | -cat >conftest.$ac_ext <<_ACEOF |
49579 | -/* confdefs.h. */ | | 49575 | -/* confdefs.h. */ |
49580 | -_ACEOF | | 49576 | -_ACEOF |
49581 | -cat confdefs.h >>conftest.$ac_ext | | 49577 | -cat confdefs.h >>conftest.$ac_ext |
49582 | -cat >>conftest.$ac_ext <<_ACEOF | | 49578 | -cat >>conftest.$ac_ext <<_ACEOF |
49583 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 49579 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
49584 | /* end confdefs.h. */ | | 49580 | /* end confdefs.h. */ |
49585 | | | 49581 | |
49586 | /* Override any GCC internal prototype to avoid an error. | | 49582 | /* Override any GCC internal prototype to avoid an error. |
49587 | @@ -34860,3156 +18675,3111 @@ | | 49583 | @@ -34860,3156 +18667,3111 @@ |
49588 | ac_res=-l$ac_lib | | 49584 | ac_res=-l$ac_lib |
49589 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | | 49585 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
49590 | fi | | 49586 | fi |
49591 | - rm -f conftest.$ac_objext conftest$ac_exeext | | 49587 | - rm -f conftest.$ac_objext conftest$ac_exeext |
49592 | -if { (ac_try="$ac_link" | | 49588 | -if { (ac_try="$ac_link" |
49593 | -case "(($ac_try" in | | 49589 | -case "(($ac_try" in |
49594 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 49590 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
49595 | - *) ac_try_echo=$ac_try;; | | 49591 | - *) ac_try_echo=$ac_try;; |
49596 | -esac | | 49592 | -esac |
49597 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | | 49593 | -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
49598 | - (eval "$ac_link") 2>conftest.er1 | | 49594 | - (eval "$ac_link") 2>conftest.er1 |
49599 | - ac_status=$? | | 49595 | - ac_status=$? |
49600 | - grep -v '^ *+' conftest.er1 >conftest.err | | 49596 | - grep -v '^ *+' conftest.er1 >conftest.err |
| @@ -55441,43 +55437,43 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -55441,43 +55437,43 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
55441 | -done | | 55437 | -done |
55442 | + | | 55438 | + |
55443 | + | | 55439 | + |
55444 | + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ | | 55440 | + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
55445 | + || (rm -f "$cfgfile"; exit 1) | | 55441 | + || (rm -f "$cfgfile"; exit 1) |
55446 | + | | 55442 | + |
55447 | + mv -f "$cfgfile" "$ofile" || | | 55443 | + mv -f "$cfgfile" "$ofile" || |
55448 | + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | | 55444 | + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
55449 | + chmod +x "$ofile" | | 55445 | + chmod +x "$ofile" |
55450 | + | | 55446 | + |
55451 | ;; | | 55447 | ;; |
55452 | "default":C) chmod a+x distrib/config/netatalk-config contrib/shell_utils/apple_* | | 55448 | "default":C) chmod a+x distrib/config/netatalk-config contrib/shell_utils/apple_* |
55453 | ;; | | 55449 | ;; |
55454 | @@ -38018,11 +21788,13 @@ | | 55450 | @@ -38018,11 +21780,13 @@ |
55455 | done # for ac_tag | | 55451 | done # for ac_tag |
55456 | | | 55452 | |
55457 | | | 55453 | |
55458 | -{ (exit 0); exit 0; } | | 55454 | -{ (exit 0); exit 0; } |
55459 | +as_fn_exit 0 | | 55455 | +as_fn_exit 0 |
55460 | _ACEOF | | 55456 | _ACEOF |
55461 | -chmod +x $CONFIG_STATUS | | 55457 | -chmod +x $CONFIG_STATUS |
55462 | ac_clean_files=$ac_clean_files_save | | 55458 | ac_clean_files=$ac_clean_files_save |
55463 | | | 55459 | |
55464 | +test $ac_write_fail = 0 || | | 55460 | +test $ac_write_fail = 0 || |
55465 | + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | | 55461 | + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
55466 | + | | 55462 | + |
55467 | | | 55463 | |
55468 | # configure is writing to config.log, and then calls config.status. | | 55464 | # configure is writing to config.log, and then calls config.status. |
55469 | # config.status does its own redirection, appending to config.log. | | 55465 | # config.status does its own redirection, appending to config.log. |
55470 | @@ -38042,108 +21814,112 @@ | | 55466 | @@ -38042,108 +21806,112 @@ |
55471 | exec 5>>config.log | | 55467 | exec 5>>config.log |
55472 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | | 55468 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
55473 | # would make configure fail if this is the last instruction. | | 55469 | # would make configure fail if this is the last instruction. |
55474 | - $ac_cs_success || { (exit 1); exit 1; } | | 55470 | - $ac_cs_success || { (exit 1); exit 1; } |
55475 | + $ac_cs_success || as_fn_exit $? | | 55471 | + $ac_cs_success || as_fn_exit $? |
55476 | +fi | | 55472 | +fi |
55477 | +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | | 55473 | +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
55478 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | | 55474 | + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
55479 | +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | | 55475 | +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
55480 | fi | | 55476 | fi |
55481 | | | 55477 | |
55482 | | | 55478 | |
55483 | | | 55479 | |
| @@ -55645,27 +55641,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 | | | @@ -55645,27 +55641,27 @@ $NetBSD: patch-aa,v 1.22 2011/09/22 01:2 |
55645 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Large file support (>2GB) for AFP3: $wx_largefile" >&5 | | 55641 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Large file support (>2GB) for AFP3: $wx_largefile" >&5 |
55646 | +$as_echo " Large file support (>2GB) for AFP3: $wx_largefile" >&6; } | | 55642 | +$as_echo " Large file support (>2GB) for AFP3: $wx_largefile" >&6; } |
55647 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Extended Attributes: $neta_cv_eas" >&5 | | 55643 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Extended Attributes: $neta_cv_eas" >&5 |
55648 | +$as_echo " Extended Attributes: $neta_cv_eas" >&6; } | | 55644 | +$as_echo " Extended Attributes: $neta_cv_eas" >&6; } |
55649 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: CNID:" >&5 | | 55645 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: CNID:" >&5 |
55650 | +$as_echo " CNID:" >&6; } | | 55646 | +$as_echo " CNID:" >&6; } |
55651 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: backends: $compiled_backends" >&5 | | 55647 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: backends: $compiled_backends" >&5 |
55652 | +$as_echo " backends: $compiled_backends" >&6; } | | 55648 | +$as_echo " backends: $compiled_backends" >&6; } |
55653 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: UAMS:" >&5 | | 55649 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: UAMS:" >&5 |
55654 | +$as_echo " UAMS:" >&6; } | | 55650 | +$as_echo " UAMS:" >&6; } |
55655 | uams_using_options="" | | 55651 | uams_using_options="" |
55656 | if test x"$netatalk_cv_use_pam" != x"no"; then | | 55652 | if test x"$netatalk_cv_use_pam" != x"no"; then |
55657 | uams_using_options="PAM" | | 55653 | uams_using_options="PAM" |
55658 | @@ -38152,76 +21928,76 @@ | | 55654 | @@ -38152,76 +21920,76 @@ |
55659 | uams_using_options="$uams_using_options SHADOW" | | 55655 | uams_using_options="$uams_using_options SHADOW" |
55660 | fi | | 55656 | fi |
55661 | if test "x$neta_cv_compile_dhx" = "xyes"; then | | 55657 | if test "x$neta_cv_compile_dhx" = "xyes"; then |
55662 | - { echo "$as_me:$LINENO: result: DHX ($uams_using_options)" >&5 | | 55658 | - { echo "$as_me:$LINENO: result: DHX ($uams_using_options)" >&5 |
55663 | -echo "${ECHO_T} DHX ($uams_using_options)" >&6; } | | 55659 | -echo "${ECHO_T} DHX ($uams_using_options)" >&6; } |
55664 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: DHX ($uams_using_options)" >&5 | | 55660 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: DHX ($uams_using_options)" >&5 |
55665 | +$as_echo " DHX ($uams_using_options)" >&6; } | | 55661 | +$as_echo " DHX ($uams_using_options)" >&6; } |
55666 | fi | | 55662 | fi |
55667 | if test "x$neta_cv_compile_dhx2" = "xyes"; then | | 55663 | if test "x$neta_cv_compile_dhx2" = "xyes"; then |
55668 | - { echo "$as_me:$LINENO: result: DHX2 ($uams_using_options)" >&5 | | 55664 | - { echo "$as_me:$LINENO: result: DHX2 ($uams_using_options)" >&5 |
55669 | -echo "${ECHO_T} DHX2 ($uams_using_options)" >&6; } | | 55665 | -echo "${ECHO_T} DHX2 ($uams_using_options)" >&6; } |
55670 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: DHX2 ($uams_using_options)" >&5 | | 55666 | + { $as_echo "$as_me:${as_lineno-$LINENO}: result: DHX2 ($uams_using_options)" >&5 |
55671 | +$as_echo " DHX2 ($uams_using_options)" >&6; } | | 55667 | +$as_echo " DHX2 ($uams_using_options)" >&6; } |