mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
Add __EXTENSIONS__ macro when under Solaris
darcs-hash:20060801013018-ac50b-08925f5e5239e48ca3024717d5fec2e82138ca5a.gz
This commit is contained in:
11
configure.ac
11
configure.ac
@@ -206,6 +206,17 @@ if test $target_cpu = powerpc; then
|
|||||||
AC_DEFINE([TPUTS_KLUDGE],[1],[Evil kludge to get Power based machines to work])
|
AC_DEFINE([TPUTS_KLUDGE],[1],[Evil kludge to get Power based machines to work])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([if we are under Solaris])
|
||||||
|
case $target_os in
|
||||||
|
solaris*)
|
||||||
|
CFLAGS="$CFLAGS -D__EXTENSIONS__=1"
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
# Set up PREFIX and related preprocessor symbols. Fish needs to know
|
# Set up PREFIX and related preprocessor symbols. Fish needs to know
|
||||||
# where it will be installed. One of the reasons for this is so that
|
# where it will be installed. One of the reasons for this is so that
|
||||||
|
|||||||
Reference in New Issue
Block a user