blob: c328e9cc79ab45cef5513b14cb951365d460daf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -urN viewmol-2.4.1.orig/source/getmachine viewmol-2.4.1/source/getmachine
--- viewmol-2.4.1.orig/source/getmachine 2004-08-29 08:04:09.000000000 -0700
+++ viewmol-2.4.1/source/getmachine 2005-12-02 09:30:49.000000000 -0800
@@ -269,19 +269,11 @@
makedir
cat ../.config.$os > makefile
use_icc=`type icc 2> /dev/null`
- if [ "$use_icc" = "" ]
- then
findProcessor
echo 'COMPILER=gcc' >> makefile
echo "OPT=-O6 -mcpu=$processor -fomit-frame-pointer -ffast-math -malign-double" >> makefile
echo 'CFLAGS=-Wall -I/usr/X11R6/include -DLINUX -Wno-strict-aliasing' >> makefile
echo "LDFLAGS=$LINKFORSHARED" >> makefile
- else
- echo 'COMPILER=icc' >> makefile
- echo 'OPT=-O2 -ipo' >> makefile
- echo 'CFLAGS=-I/opt/intel/compiler50/ia32/include -I/usr/X11R6/include -DLINUX' >> makefile
- echo "LDFLAGS=$LINKFORSHARED -ipo" >> makefile
- fi
echo 'SCANDIR=' >> makefile
echo 'INCLUDE=$(TIFFINCLUDE) -I$(PNGINCLUDE) -I$(PYTHONINCLUDE)' >> makefile
echo 'LIBRARY=$(LIBTIFF) $(LIBPNG) -L$(LIBPYTHON)' >> makefile
|