projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d36282
)
Never return -I/usr/include from --cflags. It's already in the default
author
Russ Allbery
<rra@stanford.edu>
Mon, 12 Jun 2006 19:47:52 +0000
(19:47 +0000)
committer
Russ Allbery
<rra@stanford.edu>
Mon, 12 Jun 2006 19:47:52 +0000
(19:47 +0000)
compiler search path, causes gcc warnings, and can cause obscure failures
with gcc by including system headers before gcc's internal headers.
Ticket: 3011
Version_Reported: 1.4.2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18116
dc483132
-0cff-0310-8789-
dd5450dbe970
src/krb5-config.in
patch
|
blob
|
history
diff --git
a/src/krb5-config.in
b/src/krb5-config.in
index dc9baa465eb4383d9fbcdcec612e89897c350982..cf2be4947de9e0a2ddc9c163d98bf9494d4f922f 100755
(executable)
--- a/
src/krb5-config.in
+++ b/
src/krb5-config.in
@@
-166,7
+166,11
@@
if test -n "$do_exec_prefix"; then
fi
if test -n "$do_cflags"; then
- echo "-I${includedir}"
+ if test x"$includedir" != x"/usr/include" ; then
+ echo "-I${includedir}"
+ else
+ echo ''
+ fi
fi