mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
configure.ac: call $CC not gcc
This commit is contained in:
parent
47bb8fff64
commit
343256752a
2 changed files with 5 additions and 1 deletions
4
CHANGES
4
CHANGES
|
@ -256,6 +256,10 @@ Corrections:
|
||||||
|
|
||||||
Fixed the end-close option, it just did not work.
|
Fixed the end-close option, it just did not work.
|
||||||
|
|
||||||
|
In configure.ac was a direct call to gcc instead of $CC which broke
|
||||||
|
cross compiling.
|
||||||
|
Thanks to Fergus Dall for sending a patch.
|
||||||
|
|
||||||
Coding:
|
Coding:
|
||||||
Introduced groups_t instead of uint32_t, for more flexibility.
|
Introduced groups_t instead of uint32_t, for more flexibility.
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ fi
|
||||||
# find out which defines gcc passes to cpp, so makedepend does not run into
|
# find out which defines gcc passes to cpp, so makedepend does not run into
|
||||||
# (harmless) "error architecture not supported"
|
# (harmless) "error architecture not supported"
|
||||||
AC_MSG_CHECKING(which defines needed for makedepend)
|
AC_MSG_CHECKING(which defines needed for makedepend)
|
||||||
__cpp_defs=`gcc -v -E - </dev/null 2>&1 |$FGREP -e '/cpp ' -e '/cc1 '`
|
__cpp_defs=`$CC -v -E - </dev/null 2>&1 |$FGREP -e '/cpp ' -e '/cc1 '`
|
||||||
SYSDEFS=`aa=; for a in $__cpp_defs
|
SYSDEFS=`aa=; for a in $__cpp_defs
|
||||||
do case "$a" in -D*) aa="$aa $a";; esac; done; echo "$aa"`
|
do case "$a" in -D*) aa="$aa $a";; esac; done; echo "$aa"`
|
||||||
AC_SUBST(SYSDEFS)
|
AC_SUBST(SYSDEFS)
|
||||||
|
|
Loading…
Reference in a new issue