Changeset 604


Ignore:
Timestamp:
Jul 8, 2011, 5:57:04 PM (14 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5: make cups working again

Location:
trunk/server/source3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/build.cmd

    r489 r604  
    66/* version 0.3.0 from 17.08.2010 Silvan (redone a lot) */
    77/* version 0.3.1 from 20.08.2010 Silvan (added version.ecs check) */
     8/* version 0.3.2 from 08.07.2011 Silvan (pythonhome may be not set) */
    89
    910/* load the sysfuncs if not already loaded */
     
    1516
    1617/* init the version string (don't forget to change) */
    17 version = "0.3.1"
    18 version_date = "20.08.2010"
     18version = "0.3.2"
     19version_date = "08.07.2011"
    1920
    2021
     
    131132    if sEnvVar <> '' then do
    132133    sPythonVersion = PythonVersion(sEnvVar);
    133     end
    134134    if sPythonVersion <> '-1' then do
    135135    call lineout cacheFile, "ac_cv_path_PYTHON_CONFIG='" || sEnvVar || "/config/" || sPythonVersion || "'";
    136136    call lineout cacheFile, "ac_cv_path_PYTHON='" || sEnvVar || "'";
     137    end
    137138    end
    138139
  • trunk/server/source3/configure

    r599 r604  
    1394413944fi
    1394513945
     13946
     13947
    1394613948        if test "x$CUPS_CONFIG" != x; then
    1394713949
    13948                 ac_save_CFLAGS=$CFLAGS
    1394913950                ac_save_LDFLAGS=$LDFLAGS
    13950                 ac_save_PRINT_LIBS=$PRINT_LIBS
    13951                 case "$host_os" in
     13951                case "$host_os" in
    1395213952                                *os2*)
    13953                  PRINT_LIBS="$PRINT_LIBS -lcups -lpthread"
     13953                 PRINT_LIBS="$PRINT_LIBS -lpthread -lz"
    1395413954                                 ;;
    1395513955                                 *)
    13956                 CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`"
    13957                 LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`"
    13958                 PRINT_LIBS="$PRINT_LIBS -lcups"
    13959                                  ;;
     13956                                 ;;
    1396013957                 esac
    13961                 for ac_header in cups/cups.h cups/language.h
     13958                ac_save_PRINT_LIBS=$PRINT_LIBS
     13959                for ac_header in cups/cups.h cups/language.h
    1396213960do :
    1396313961  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
Note: See TracChangeset for help on using the changeset viewer.