Changeset 34088 for trunk/Ohana/configure.tcsh
- Timestamp:
- Jun 26, 2012, 11:46:01 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/configure.tcsh (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/configure.tcsh
r31669 r34088 10 10 set optimize = 0 11 11 set pedantic = 1 12 set no_as_needed = 0 13 set debug_build = 0 12 14 set memcheck = 0 13 15 set use_tcmalloc = 0 … … 31 33 while ("$1" != "") 32 34 switch ("$1") 33 # options passed by jhbuild or others which we ignore35 # options passed by build systems which we ignore 34 36 case --enable-maintainer-mode 35 37 case --no-create 36 38 case --no-recursion 39 case --disable-shared 40 case --enable-shared 41 case --disable-static 42 case --enable-static 43 breaksw; 44 # key/value options passed by build systems which we ignore 37 45 case --sbindir* 38 46 case --libexecdir* … … 49 57 endif 50 58 breaksw; 51 case --disable-shared 52 case --enable-shared 53 case --disable-static 54 case --enable-static 55 echo "" 56 echo "WARNING: Ohana can't turn shared/static builds on/off." 57 echo "" 58 breaksw; 59 case --enable-no-as-needed 60 set no_as_needed = 1 61 breaksw; 62 case --enable-debug-build 63 set debug_build = 1 64 set pedantic = 0 65 echo "disabling pedantic build" 66 endif 67 breaksw; 68 # options used by Ohana, but not gpcsw 59 69 case --vararch 60 70 set vararch = 1 … … 80 90 case --pedantic 81 91 set pedantic = 1 92 if ($debug_build) then 93 echo "--pedantic and --enable-debug-build are mutually exclusive" 94 exit 2; 95 endif 82 96 breaksw; 83 97 case --no-pedantic … … 203 217 set CPPFLAGS = "" 204 218 endif 219 205 220 if ($pedantic) set CPPFLAGS = "$CPPFLAGS -Wall -Werror" 221 if ($debug_build) set CPPFLAGS = "$CPPFLAGS -Wall" 206 222 if ($memcheck) set CPPFLAGS = "$CPPFLAGS -DOHANA_MEMORY" 207 223 … … 211 227 if ($profile) set LDFLAGS = "$LDFLAGS -Wl,--start-group -Wl,-Bstatic -Wl,-Bdynamic" 212 228 229 if ($no_as_needed) set LDFLAGS = "$LDFLAGS -Wl,--no-as-needed" 230 213 231 set syslibpath = "/lib /usr/lib /usr/X11R6/lib /usr/local/lib" 232 set xtrlibpath = `checkpaths.pl lib` 233 set syslibpath = "$syslibpath $xtrlibpath" 234 214 235 set needlibs = "" 215 236 set needlibs = "$needlibs png" … … 226 247 227 248 set sysincpath = "/usr/include /usr/local/include /usr/X11R6/include" 249 set xtrincpath = `checkpaths.pl include` 250 set sysincpath = "$sysincpath $xtrincpath" 228 251 229 252 set needincs = "" … … 334 357 echo "setting architecture to: $arch" 335 358 359 # add 360 336 361 # set up the basic directory names: 337 362 set root = `pwd` … … 707 732 EOF 708 733 exit 2; 734
Note:
See TracChangeset
for help on using the changeset viewer.
