--- ray/makeall 2009/10/31 22:29:06 1.24 +++ ray/makeall 2010/11/29 17:22:44 1.25 @@ -1,5 +1,5 @@ #!/bin/csh -f -# RCSid $Id: makeall,v 1.24 2009/10/31 22:29:06 greg Exp $ +# RCSid $Id: makeall,v 1.25 2010/11/29 17:22:44 greg Exp $ # # Make all the Radiance programs # @@ -114,7 +114,7 @@ case 1: # SPARC Station set arch=sun set mach="-I/usr/openwin/include -L/usr/openwin/lib -DNOSTEREO" set opt="-O" - set compat="strcmp.o" + set compat="strcmp.o timegm.o" breaksw case 2: # Linux set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO" @@ -152,6 +152,8 @@ case 6: # Other echo -n "Are you using the GNU C compiler [n]? " if ( "$<" =~ [yY]* ) then set extras="CC=gcc" + else + set compat="$compat timegm.o" endif set arch=other breaksw