summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches/patch-aa
blob: ffca752bf2500209ff44a6f09121e061e17e3164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$NetBSD: patch-aa,v 1.14 2004/09/05 16:49:03 jschauma Exp $

--- configure.orig	Mon Apr 12 09:58:40 2004
+++ configure	Mon Apr 12 10:01:34 2004
@@ -59,7 +59,7 @@
 LIBIMAGE=auto				# auto-enable build of SGI -limage apps
 : ${CC=}				# name of C compiler to use
 : ${CCOMPILER=}				# full pathname of C compiler
-: ${OPTIMIZER=-O}			# Optimization flag
+: ${OPTIMIZER=}			# Optimization flag
 : ${ENVOPTS=}				# CC opts for ANSI C compilation
 : ${MAKE=make}				# make to use
 
@@ -488,7 +488,7 @@
 
 checkCompiler()
 {
-    compiler=$1
+    compiler="$*"
     if isGNU $compiler; then
 	ISGCC=yes
     else
@@ -514,7 +514,7 @@
     $RM dummy dummy.o
     capture $compiler -o dummy ${C_ANSI} dummy.c && {
 	CC=$compiler;
-	test -z "${CCOMPILER-}" && CCOMPILER=`findApp $compiler $PATH`
+	test -z "${CCOMPILER-}" && CCOMPILER=$compiler
 	test -z "${ENVOPTS-}"   && ENVOPTS="${C_ANSI-}"
 	return 0
     }
@@ -1743,6 +1743,9 @@
 	    -[LR]/*)	echo "$i" ;;
 	    -L*)	echo "$i" | sed 's;^-L;-L../;' ;;
 	    -R*)	echo "$i" | sed 's;^-R;-R../;' ;;
+	    -rpath*)	echo "$i" ;;
+	    -W*)	echo "$i" ;;
+	    -*)		echo "$i" ;;
 	    *)		echo "../$i" ;;
 	    esac
 	done) | tr '\012' ' '