Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bc1f453978
commit
c3aec878e5
3609 changed files with 342772 additions and 0 deletions
61
trunk/paradiseo-eo/acinclude.m4
Normal file
61
trunk/paradiseo-eo/acinclude.m4
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# AC_APPLICATIONS()
|
||||
#
|
||||
# Compile applications unless user requests not to do it.
|
||||
AC_DEFUN([AC_APPLICATIONS],[dnl
|
||||
AC_ARG_ENABLE([applications],
|
||||
AC_HELP_STRING([--enable-applications], [build applications (default=yes)]),
|
||||
[ case "${enableval}" in
|
||||
yes) applications=true ;;
|
||||
no) applications=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for applications option) ;;
|
||||
esac],
|
||||
[applications=true])
|
||||
if test "$applications" = "true"; then
|
||||
AM_CONDITIONAL([USE_APPLICATIONS], true)
|
||||
else
|
||||
AM_CONDITIONAL([USE_APPLICATIONS], false)
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
|
||||
# AC_GNUPLOT()
|
||||
#
|
||||
# Compile applications unless user requests not to do it.
|
||||
AC_DEFUN([AC_GNUPLOT], [dnl
|
||||
AC_ARG_ENABLE([gnuplot],
|
||||
AC_HELP_STRING([--enable-gnuplot], [use gnuplot for graphical display (default=yes)]),
|
||||
[ac_cv_use_gnuplot=$enableval],
|
||||
[ac_cv_use_gnuplot=yes])
|
||||
AC_CACHE_CHECK([use gnuplot for graphical display],
|
||||
[ac_cv_use_gnuplot],
|
||||
[ac_cv_use_gnuplot=no])
|
||||
if test "$ac_cv_use_gnuplot" = "yes"; then
|
||||
AC_ARG_VAR([GNUPLOT], [gnuplot executable used for graphical display])
|
||||
AC_CHECK_PROG([GNUPLOT], [gnuplot], [gnuplot], [true])
|
||||
AC_DEFINE([HAVE_GNUPLOT], [1], [gnuplot graphical display])
|
||||
else
|
||||
AC_DEFINE([NO_GNUPLOT], [1], [no gnuplot graphical display -- deprecated, will be reomoved!])
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
|
||||
# AC_TUTORIAL()
|
||||
#
|
||||
# Compile tutorial unless user requests not to do it.
|
||||
AC_DEFUN([AC_TUTORIAL],[dnl
|
||||
AC_ARG_ENABLE([tutorial],
|
||||
AC_HELP_STRING([--enable-tutorial], [build tutorial (default=yes)]),
|
||||
[ case "${enableval}" in
|
||||
yes) tutorial=true ;;
|
||||
no) tutorial=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for tutorial option) ;;
|
||||
esac],
|
||||
[tutorial=true])
|
||||
if test "$tutorial" = "true"; then
|
||||
AM_CONDITIONAL([USE_TUTORIAL], true)
|
||||
else
|
||||
AM_CONDITIONAL([USE_TUTORIAL], false)
|
||||
fi
|
||||
])
|
||||
Loading…
Add table
Add a link
Reference in a new issue