forked from old/legacy-imlib2
parent
fdfdd8bf14
commit
4963ee522a
18
configure.in
18
configure.in
|
@ -11,14 +11,20 @@ AM_CONFIG_HEADER(config.h)
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
||||||
AC_MSG_CHECKING([if gcc supports __attribute__((visibility("hidden")))])
|
|
||||||
AC_COMPILE_IFELSE([
|
case $host_os in
|
||||||
void __attribute__((visibility("hidden"))) func (void) {}
|
solaris*)
|
||||||
],
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_CHECKING([if gcc supports __attribute__((visibility("hidden")))])
|
||||||
|
AC_COMPILE_IFELSE([
|
||||||
|
void __attribute__((visibility("hidden"))) func (void) {}
|
||||||
|
],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(USE_HIDDEN_FUNCTION_ATTRIBUTE,1,
|
AC_DEFINE(USE_HIDDEN_FUNCTION_ATTRIBUTE,1,
|
||||||
[Define this to 1 if `hidden' attribute for internal functions is used.])],
|
[Define this to 1 if `hidden' attribute for internal functions is used.])],
|
||||||
[AC_MSG_RESULT(no)])
|
[AC_MSG_RESULT(no)])
|
||||||
|
esac
|
||||||
|
|
||||||
AM_PROG_CC_STDC
|
AM_PROG_CC_STDC
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
@ -112,6 +118,10 @@ case $host_cpu in
|
||||||
amd64) amd64="yes";;
|
amd64) amd64="yes";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case $host_os in
|
||||||
|
solaris*) mmx="no";;
|
||||||
|
esac
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_ENABLE(mmx,
|
AC_ARG_ENABLE(mmx,
|
||||||
[ --enable-mmx attempt compiling using x86 mmx assembly @<:@default=auto@:>@],
|
[ --enable-mmx attempt compiling using x86 mmx assembly @<:@default=auto@:>@],
|
||||||
|
|
Loading…
Reference in New Issue