summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorPeter Eisentraut2003-03-21 17:18:34 +0000
committerPeter Eisentraut2003-03-21 17:18:34 +0000
commit1a7f4ed5252dd08d9bbf26a67ddf22c38528c636 (patch)
tree4daa4d5d3dcc8d050bf8d8afbe2d4fc568455a3c /src/template
parent93331d8318325305cad9c5224eb4b86663214846 (diff)
Make "win" a separate port from "cygwin". This means you can now
configure under native Windows (MinGW that is), but you won't get very far compiling yet. The dynaloader files are from Jan Wieck's patch set.
Diffstat (limited to 'src/template')
-rw-r--r--src/template/cygwin2
-rw-r--r--src/template/win5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/template/cygwin b/src/template/cygwin
new file mode 100644
index 00000000000..e6c4ac67e18
--- /dev/null
+++ b/src/template/cygwin
@@ -0,0 +1,2 @@
+CFLAGS=-O2
+SRCH_LIB=/usr/local/lib
diff --git a/src/template/win b/src/template/win
index e6c4ac67e18..c5366cf4935 100644
--- a/src/template/win
+++ b/src/template/win
@@ -1,2 +1,3 @@
-CFLAGS=-O2
-SRCH_LIB=/usr/local/lib
+if test "$GCC" = yes; then
+ CFLAGS=-O2
+fi