Fixed stupid configure bug that failed to recognise gcc and set wrong options.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1998-10-07 09:24:15 +00:00
parent b26e2dc41d
commit 7cacdad3e2
2 changed files with 12 additions and 12 deletions

12
configure vendored
View File

@@ -6968,7 +6968,7 @@ CREATE_SHARED=
case "${canonical}" in
*-hp-hpux* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
CXXFLAGS="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
CFLAGS="${CFLAGS} -z -D_HPUX_SOURCE"
PICFLAGS="+z"
@@ -6995,7 +6995,7 @@ EOF
;;
*-*-solaris2* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-KPIC"
else
PICFLAGS="-fPIC"
@@ -7008,7 +7008,7 @@ EOF
;;
*-*-sunos4* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-PIC"
else
PICFLAGS="-fPIC"
@@ -7036,7 +7036,7 @@ EOF
;;
*-*-dgux5* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-K PIC"
else
PICFLAGS="-fPIC"
@@ -7049,7 +7049,7 @@ EOF
;;
*-*-sysv5* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-K PIC"
else
PICFLAGS="-fPIC"
@@ -7062,7 +7062,7 @@ EOF
;;
*-*-aix* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-bM\:SRE"
else
PICFLAGS="-fPIC"

View File

@@ -1481,7 +1481,7 @@ CREATE_SHARED=
case "${canonical}" in
*-hp-hpux* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
CXXFLAGS="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
CFLAGS="${CFLAGS} -z -D_HPUX_SOURCE"
PICFLAGS="+z"
@@ -1505,7 +1505,7 @@ case "${canonical}" in
;;
*-*-solaris2* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-KPIC"
else
PICFLAGS="-fPIC"
@@ -1515,7 +1515,7 @@ case "${canonical}" in
;;
*-*-sunos4* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-PIC"
else
PICFLAGS="-fPIC"
@@ -1537,7 +1537,7 @@ case "${canonical}" in
;;
*-*-dgux5* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-K PIC"
else
PICFLAGS="-fPIC"
@@ -1547,7 +1547,7 @@ case "${canonical}" in
;;
*-*-sysv5* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-K PIC"
else
PICFLAGS="-fPIC"
@@ -1557,7 +1557,7 @@ case "${canonical}" in
;;
*-*-aix* )
if test "${CC}" != "gcc" ; then
if test "$GCC" != "yes" ; then
PICFLAGS="-bM\:SRE"
else
PICFLAGS="-fPIC"