Changeset 590 for trunk/server/source3/configure.in
- Timestamp:
- Jul 1, 2011, 8:40:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/configure.in
r488 r590 771 771 esac 772 772 AC_CHECK_HEADERS(cups/cups.h cups/language.h) 773 773 774 if test x"$ac_cv_header_cups_cups_h" = xyes -a \ 774 775 x"$ac_cv_header_cups_language_h" = xyes; then 776 # try linking with -lcups alone first. That should work unless libcups is 777 # underlinked. With cups-config --libs we pull in unwanted and unneeded 778 # dendencies including thread libraries - use cups-config only if really 779 # required. 780 AC_CHECK_LIB_EXT(cups, ac_save_PRINT_LIBS , httpConnect, 781 [PRINT_LIBS"$ac_save_PRINT_LIBS -lcups"], 782 [AC_MSG_WARN([your cups library doesn't link with -lcups alone, it might be underlinked.]) ; 783 PRINT_LIBS="$ac_save_PRINT_LIBS `$CUPS_CONFIG --libs`"]) 784 775 785 AC_DEFINE(HAVE_CUPS,1,[Whether we have CUPS]) 776 786 samba_cv_HAVE_CUPS=yes
Note:
See TracChangeset
for help on using the changeset viewer.