Changeset 223 for branches/samba-3.3.x/source/configure.in
- Timestamp:
- May 24, 2009, 7:51:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/configure.in
r222 r223 251 251 AC_MSG_CHECKING(GNU ld release version) 252 252 changequote(,)dnl 253 ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n 's,^.* \([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'`253 ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*[^0-9\.]\+\([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'` 254 254 ac_cv_gnu_ld_vernr_major=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 1` 255 255 ac_cv_gnu_ld_vernr_minor=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 2` … … 263 263 ac_cv_gnu_ld_no_default_allow_shlib_undefined=yes 264 264 fi 265 if test "$ac_cv_gnu_ld_vernr_major" -gt 2 || test "$ac_cv_gnu_ld_vernr_major" =2 && test "$ac_cv_gnu_ld_vernr_minor" -ge 12; then265 if test "$ac_cv_gnu_ld_vernr_major" -gt 2 || test "$ac_cv_gnu_ld_vernr_major" = 2 && test "$ac_cv_gnu_ld_vernr_minor" -ge 12; then 266 266 ac_cv_gnu_ld_version_script=yes 267 267 fi … … 863 863 AC_CHECK_FUNCS(dirfd) 864 864 if test x"$ac_cv_func_dirfd" = x"yes"; then 865 default_shared_modules="$default_shared_modules vfs_syncops "865 default_shared_modules="$default_shared_modules vfs_syncops vfs_dirsort" 866 866 fi 867 867 … … 6169 6169 6170 6170 AC_ARG_ENABLE(dnssd, 6171 [AS_HELP_STRING([--enable-dnssd], [Enable DNS service discovery support (default= auto)])])6171 [AS_HELP_STRING([--enable-dnssd], [Enable DNS service discovery support (default=no)])]) 6172 6172 6173 6173 AC_SUBST(DNSSD_LIBS) 6174 if test x"$enable_dnssd" != x"no"; then6174 if test x"$enable_dnssd" == x"yes"; then 6175 6175 have_dnssd_support=yes 6176 6176 … … 6198 6198 fi 6199 6199 6200 fi 6201 6202 ################################################# 6203 # Check if user wants avahi support 6204 6205 AC_ARG_ENABLE(avahi, 6206 [AS_HELP_STRING([--enable-avahi], [Enable Avahi support (default=auto)])]) 6207 6208 AC_SUBST(AVAHI_LIBS) 6209 if test x"$enable_avahi" != x"no"; then 6210 have_avahi_support=yes 6211 6212 AC_CHECK_HEADERS(avahi-common/watch.h) 6213 if test x"$ac_cv_header_avahi_common_watch_h" != x"yes"; then 6214 have_avahi_support=no 6215 fi 6216 6217 AC_CHECK_HEADERS(avahi-client/client.h) 6218 if test x"$ac_cv_header_avahi_common_watch_h" != x"yes"; then 6219 have_avahi_support=no 6220 fi 6221 6222 AC_CHECK_LIB_EXT(avahi-client, AVAHI_LIBS, avahi_client_new) 6223 if test x"$ac_cv_lib_ext_avahi_client_avahi_client_new" != x"yes"; then 6224 have_avahi_support=no 6225 fi 6226 6227 if test x"$have_avahi_support" = x"yes"; then 6228 AC_DEFINE(WITH_AVAHI_SUPPORT, 1, 6229 [Whether to enable avahi support]) 6230 AC_SUBST(AVAHI_OBJ, "lib/avahi.o smbd/avahi_register.o") 6231 else 6232 if test x"$enable_avahi" = x"yes"; then 6233 AC_MSG_ERROR(avahi support not available) 6234 fi 6235 fi 6200 6236 fi 6201 6237 … … 6402 6438 SMB_MODULE(vfs_acl_tdb, \$(VFS_ACL_TDB_OBJ), "bin/acl_tdb.$SHLIBEXT", VFS) 6403 6439 SMB_MODULE(vfs_smb_traffic_analyzer, \$(VFS_SMB_TRAFFIC_ANALYZER_OBJ), "bin/smb_traffic_analyzer.$SHLIBEXT", VFS) 6440 SMB_MODULE(vfs_dirsort, \$(VFS_DIRSORT_OBJ), "bin/dirsort.$SHLIBEXT", VFS) 6404 6441 6405 6442
Note:
See TracChangeset
for help on using the changeset viewer.