Changeset 644 for branches/samba-3.3.x/source
- Timestamp:
- Oct 25, 2011, 4:59:31 PM (14 years ago)
- Location:
- branches/samba-3.3.x/source
- Files:
-
- 5 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/build.cmd
r614 r644 5 5 /* version 0.2.0 from 09.06.2010 Herwig (a lot enhancements) */ 6 6 /* version 0.3.0 from 20.08.2010 Silvan (added version.ecs check and more) */ 7 /* version 0.3.1 from 25.10.2011 Silvan (added cups support) */ 7 8 8 9 /* load the sysfuncs if not already loaded */ … … 14 15 15 16 /* init the version string (don't forget to change) */ 16 version = "0.3. 0"17 version_date = "2 0.08.2010"17 version = "0.3.1" 18 version_date = "25.10.2011" 18 19 19 20 '@echo off' … … 47 48 48 49 options = 'build.options' 50 cacheFile = 'build.cache' 49 51 50 52 /* defaults */ … … 114 116 --disable-cups 115 117 */ 116 address cmd 'ksh ./configure --enable-pie=no --prefix=/samba --enable-static --disable-shared --disable-ldap --with-acl-support 2>&1 | tee configure.log' 118 119 /* we need to delete the cache file and redo it afterwards */ 120 ok = SysFileDelete(cacheFile); 121 122 /* is cups env set */ 123 sEnvVar = EnvGet('CUPS'); 124 if sEnvVar <> '' then do 125 call lineout cacheFile, "ac_cv_path_CUPS_CONFIG='" || sEnvVar || "'"; 126 end 127 128 ok = stream(cacheFile, 'c', 'close'); 129 130 /* run configure */ 131 address cmd 'ksh ./configure --enable-pie=no --prefix=/samba --enable-static --disable-shared --with-acl-support --cache-file=build.cache 2>&1 | tee configure.log' 117 132 address cmd 'ENDLOCAL' 118 133 end … … 219 234 say "Samba "verstring 220 235 return 236 237 /** 238 * Gets the value of sEnvVar. 239 */ 240 EnvGet: procedure 241 parse arg sEnvVar 242 if ((translate(sEnvVar) = 'BEGINLIBPATH') | (translate(sEnvVar) = 'ENDLIBPATH')) then 243 return SysQueryExtLibPath(substr(sEnvVar, 1, 1)); 244 return value(sEnvVar,, 'OS2ENVIRONMENT'); -
branches/samba-3.3.x/source/configure
r614 r644 13193 13193 ac_save_LDFLAGS=$LDFLAGS 13194 13194 ac_save_PRINT_LIBS=$PRINT_LIBS 13195 case "$host_os" in 13196 *os2*) 13197 PRINT_LIBS="$PRINT_LIBS -lcups -lpthread -lz" 13198 ;; 13199 *) 13195 13200 CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`" 13196 13201 LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`" 13197 13202 PRINT_LIBS="$PRINT_LIBS `$CUPS_CONFIG --libs`" 13203 ;; 13204 esac 13198 13205 for ac_header in cups/cups.h cups/language.h 13199 13206 do : -
branches/samba-3.3.x/source/dynconfig.c
r585 r644 295 295 if (!*buffer) 296 296 { 297 if ( os2_isClient())297 if (lp_is_in_client()) 298 298 { 299 299 snprintf(buffer, 260, "%s/samba/lock/client", getenv("ETC")); -
branches/samba-3.3.x/source/lib/os2helper.c
r585 r644 136 136 137 137 // we search with the exe name if we are in client mode 138 /* not used anymore, as lp_is_in_client() is used instead 138 139 bool os2_isClient() 139 140 { … … 153 154 } 154 155 } 155 156 */ 156 157 /* OS/2-specific random functions. these functions used to be based on APR 157 158 random code, but we discovered some nasty problems with it on fast hardware
Note:
See TracChangeset
for help on using the changeset viewer.