Don't use -ansi on MacOS X.

merge-requests/1/head
Henning Geinitz 2004-04-18 14:35:37 +00:00
rodzic e7152b70df
commit c959d2a2ee
4 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -1,3 +1,7 @@
2004-04-17 Henning Meier-Geinitz <henning@meier-geinitz.de>
* acinclude.m4 aclocal.m4 configure: Don't use -ansi on MacOS X.
2004-04-17 Henning Meier-Geinitz <henning@meier-geinitz.de>
* acinclude.m4 aclocal.m4 configure: If the test for gphoto2-config

Wyświetl plik

@ -42,7 +42,7 @@ if test "${ac_cv_c_compiler_gnu}" = "yes"; then
# OS/2 and others don't include some headers with -ansi enabled
ANSI_FLAG=-ansi
case "${host_os}" in
solaris* | hpux* | os2* )
solaris* | hpux* | os2* | darwin* )
ANSI_FLAG=
;;
esac

2
aclocal.m4 vendored
Wyświetl plik

@ -54,7 +54,7 @@ if test "${ac_cv_c_compiler_gnu}" = "yes"; then
# OS/2 and others don't include some headers with -ansi enabled
ANSI_FLAG=-ansi
case "${host_os}" in
solaris* | hpux* | os2* )
solaris* | hpux* | os2* | darwin* )
ANSI_FLAG=
;;
esac

2
configure vendored
Wyświetl plik

@ -3301,7 +3301,7 @@ if test "${ac_cv_c_compiler_gnu}" = "yes"; then
# OS/2 and others don't include some headers with -ansi enabled
ANSI_FLAG=-ansi
case "${host_os}" in
solaris* | hpux* | os2* )
solaris* | hpux* | os2* | darwin* )
ANSI_FLAG=
;;
esac