comparison aclocal.m4 @ 3233:98d0ee053ba4

[project @ 1999-01-27 20:23:40 by jwe]
author jwe
date Wed, 27 Jan 1999 20:23:46 +0000
parents dae85431bade
children dd00769643ae
comparison
equal deleted inserted replaced
3232:3f6ae91e86b0 3233:98d0ee053ba4
673 if test $octave_cv_cxx_new_friend_template_decl = yes; then 673 if test $octave_cv_cxx_new_friend_template_decl = yes; then
674 AC_DEFINE(CXX_NEW_FRIEND_TEMPLATE_DECL) 674 AC_DEFINE(CXX_NEW_FRIEND_TEMPLATE_DECL)
675 fi 675 fi
676 ]) 676 ])
677 dnl 677 dnl
678 dnl Check to see if C compiler handles FLAG command line option and 678 dnl Check to see if C compiler handles FLAG command line option. If
679 dnl add it to CFLAGS if it does. 679 dnl two arguments are specified, execute the second arg as shell
680 dnl commands. Otherwise, add FLAG to CFLAGS if the compiler accepts
681 dnl the flag.
680 dnl 682 dnl
681 dnl OCTAVE_CC_FLAG 683 dnl OCTAVE_CC_FLAG
682 AC_DEFUN(OCTAVE_CC_FLAG, [ 684 AC_DEFUN(OCTAVE_CC_FLAG, [
683 ac_safe=`echo "$1" | sed 'y%./+-%__p_%'` 685 ac_safe=`echo "$1" | sed 'y%./+-%__p_%'`
684 AC_MSG_CHECKING(whether ${CC-cc} accepts $1) 686 AC_MSG_CHECKING(whether ${CC-cc} accepts $1)
702 AC_MSG_RESULT(no) 704 AC_MSG_RESULT(no)
703 ifelse([$3], , , [$3]) 705 ifelse([$3], , , [$3])
704 fi 706 fi
705 ]) 707 ])
706 dnl 708 dnl
707 dnl Check to see if C++ compiler handles FLAG command line option and 709 dnl Check to see if C++ compiler handles FLAG command line option. If
708 dnl add it to CXXFLAGS if it does. 710 dnl two arguments are specified, execute the second arg as shell
711 dnl commands. Otherwise, add FLAG to CXXFLAGS if the compiler accepts
712 dnl the flag.
709 dnl 713 dnl
710 dnl OCTAVE_CXX_FLAG 714 dnl OCTAVE_CXX_FLAG
711 AC_DEFUN(OCTAVE_CXX_FLAG, [ 715 AC_DEFUN(OCTAVE_CXX_FLAG, [
712 ac_safe=`echo "$1" | sed 'y%./+-%__p_%'` 716 ac_safe=`echo "$1" | sed 'y%./+-%__p_%'`
713 AC_MSG_CHECKING(whether ${CXX-g++} accepts $1) 717 AC_MSG_CHECKING(whether ${CXX-g++} accepts $1)