* configure.in: use AC_USE_SYSTEM_EXTENSIONS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df5b0f317b
commit
31049a6fd6
@ -1,7 +1,7 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
AC_INIT()
|
AC_INIT()
|
||||||
|
|
||||||
AC_PREREQ(2.58)
|
AC_PREREQ(2.60)
|
||||||
|
|
||||||
AC_ARG_WITH(baseruby,
|
AC_ARG_WITH(baseruby,
|
||||||
[ --with-baseruby=RUBY use RUBY as baseruby; RUBY is the pathname of ruby],
|
[ --with-baseruby=RUBY use RUBY as baseruby; RUBY is the pathname of ruby],
|
||||||
@ -243,8 +243,7 @@ AC_PROG_MAKE_SET
|
|||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
# checks for UNIX variants that set C preprocessor variables
|
# checks for UNIX variants that set C preprocessor variables
|
||||||
AC_AIX
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
AC_MINIX
|
|
||||||
|
|
||||||
AC_SUBST(RM, ['rm -f'])
|
AC_SUBST(RM, ['rm -f'])
|
||||||
AC_SUBST(CP, ['cp'])
|
AC_SUBST(CP, ['cp'])
|
||||||
@ -1624,7 +1623,6 @@ fi
|
|||||||
MINIDLNOBJ=dln.o
|
MINIDLNOBJ=dln.o
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
linux*)
|
linux*)
|
||||||
XCFLAGS="$XCFLAGS -D_GNU_SOURCE=1"
|
|
||||||
;;
|
;;
|
||||||
netbsd*)
|
netbsd*)
|
||||||
CFLAGS="$CFLAGS -pipe"
|
CFLAGS="$CFLAGS -pipe"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user