Commit 033b256f authored by Ralf Mueller's avatar Ralf Mueller
Browse files

Rename Ruby/Python conditionals + display them in cdi.settings

parent c16c9c89
......@@ -140,6 +140,8 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_PYTHON = @ENABLE_PYTHON@
ENABLE_RUBY = @ENABLE_RUBY@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
F77 = @F77@
......
......@@ -124,6 +124,8 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_PYTHON = @ENABLE_PYTHON@
ENABLE_RUBY = @ENABLE_RUBY@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
F77 = @F77@
......
......@@ -50,6 +50,8 @@
"jasper" : {
"lib" : "@JASPER_LDFLAGS@"
},
"enable_python" : @ENABLE_PYTHON@,
"enable_ruby" : @ENABLE_RUBY@,
"USER_NAME" : "@USER_NAME@",
"HOST_NAME" : "@HOST_NAME@",
"SYSTEM_TYPE" : "@SYSTEM_TYPE@"
......
......@@ -610,14 +610,16 @@ LTLIBOBJS
LIBOBJS
CREATE_INTERFACES_FALSE
CREATE_INTERFACES_TRUE
WITH_PYTHON_FALSE
WITH_PYTHON_TRUE
ENABLE_PYTHON
ENABLE_PYTHON_FALSE
ENABLE_PYTHON_TRUE
PYTHON
WITH_RUBY_FALSE
WITH_RUBY_TRUE
ENABLE_RUBY
ENABLE_RUBY_FALSE
ENABLE_RUBY_TRUE
RUBY
WITH_SWIG_FALSE
WITH_SWIG_TRUE
ENABLE_SWIG_FALSE
ENABLE_SWIG_TRUE
SWIG
FCMODCASE
FCMODEXT
......@@ -23850,11 +23852,11 @@ else
fi
 
if test "x$SWIG" != "x"; then
WITH_SWIG_TRUE=
WITH_SWIG_FALSE='#'
ENABLE_SWIG_TRUE=
ENABLE_SWIG_FALSE='#'
else
WITH_SWIG_TRUE='#'
WITH_SWIG_FALSE=
ENABLE_SWIG_TRUE='#'
ENABLE_SWIG_FALSE=
fi
 
# ----------------------------------------------------------------------
......@@ -23898,16 +23900,15 @@ $as_echo "no" >&6; }
fi
 
 
RUBY_INCLUDES="-I$($RUBY config/interface.rb)"
RUBY_INCLUDES="$($RUBY config/interface.rb)"
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $RUBY_INCLUDES"
ac_fn_c_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
if test "x$ac_cv_header_ruby_h" = x""yes; then :
 
else
enable_ruby=no
RUBY=
enable_ruby=no
RUBY=
 
fi
 
......@@ -23915,14 +23916,14 @@ fi
CPPFLAGS=$save_CPPFLAGS
if test "x$RUBY" != "x"; then :
if test "x$SWIG" = "x"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: Python bindings: Swig is disabled, pregenerated files will be used. Use '--enable-swig' for swig usage" >&5
$as_echo "$as_me: Python bindings: Swig is disabled, pregenerated files will be used. Use '--enable-swig' for swig usage" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Ruby bindings: Swig is disabled, pregenerated files will be used. Use '--enable-swig' for swig usage" >&5
$as_echo "$as_me: Ruby bindings: Swig is disabled, pregenerated files will be used. Use '--enable-swig' for swig usage" >&6;}
fi
else
if test `$SWIG -help 2>&1 | $GREP -c '\-ruby *- Generate'` = 0; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: No (swig does not support -ruby option)" >&5
$as_echo "$as_me: No (swig does not support -ruby option)" >&6;}
enable_ruby=no
enable_ruby=no
 
fi
fi
......@@ -23931,13 +23932,20 @@ else
fi
 
if test "x$enable_ruby" != "xno"; then
WITH_RUBY_TRUE=
WITH_RUBY_FALSE='#'
ENABLE_RUBY_TRUE=
ENABLE_RUBY_FALSE='#'
else
WITH_RUBY_TRUE='#'
WITH_RUBY_FALSE=
ENABLE_RUBY_TRUE='#'
ENABLE_RUBY_FALSE=
fi
 
if test "x$enable_ruby" != "xno"; then :
ENABLE_RUBY=true
else
ENABLE_RUBY=false
fi
# ----------------------------------------------------------------------
# Create the Ruby Interface via swig
# Check whether --enable-python was given.
......@@ -23986,9 +23994,8 @@ fi
if test "x$ac_cv_header_Python_h" = x""yes; then :
 
else
enable_python="No (missing header)"
PYTHON=
enable_python=no
PYTHON=
 
fi
 
......@@ -24003,7 +24010,7 @@ else
if test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: No (swig does not support -python option)" >&5
$as_echo "$as_me: No (swig does not support -python option)" >&6;}
enable_python=no
enable_python=no
 
fi
fi
......@@ -24011,14 +24018,21 @@ else
enable_python=no
fi
 
if test "x$enable_python" = "xyes"; then
WITH_PYTHON_TRUE=
WITH_PYTHON_FALSE='#'
if test "x$enable_python" != "xno"; then
ENABLE_PYTHON_TRUE=
ENABLE_PYTHON_FALSE='#'
else
WITH_PYTHON_TRUE='#'
WITH_PYTHON_FALSE=
ENABLE_PYTHON_TRUE='#'
ENABLE_PYTHON_FALSE=
fi
 
if test "x$enable_python" != "xno"; then :
ENABLE_PYTHON=true
else
ENABLE_PYTHON=false
fi
# ----------------------------------------------------------------------
if test "x$enable_ruby" = "xyes" -o "x$enable_python" = "xyes"; then
CREATE_INTERFACES_TRUE=
......@@ -24212,16 +24226,16 @@ if test -z "${CREATE_ISOC_TRUE}" && test -z "${CREATE_ISOC_FALSE}"; then
as_fn_error $? "conditional \"CREATE_ISOC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${WITH_SWIG_TRUE}" && test -z "${WITH_SWIG_FALSE}"; then
as_fn_error $? "conditional \"WITH_SWIG\" was never defined.
if test -z "${ENABLE_SWIG_TRUE}" && test -z "${ENABLE_SWIG_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_SWIG\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${WITH_RUBY_TRUE}" && test -z "${WITH_RUBY_FALSE}"; then
as_fn_error $? "conditional \"WITH_RUBY\" was never defined.
if test -z "${ENABLE_RUBY_TRUE}" && test -z "${ENABLE_RUBY_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_RUBY\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${CREATE_INTERFACES_TRUE}" && test -z "${CREATE_INTERFACES_FALSE}"; then
......
......@@ -111,28 +111,29 @@ AC_ARG_ENABLE(swig,
[AS_HELP_STRING([--enable-swig],[use swig to create extra bindings [default=no] (EXPERIMENTAL)])],
[AC_CHECK_PROG(SWIG,swig,swig)],
[enable_swig=no])
AM_CONDITIONAL(WITH_SWIG,[test "x$SWIG" != "x"])
AM_CONDITIONAL(ENABLE_SWIG,[test "x$SWIG" != "x"])
# ----------------------------------------------------------------------
# Create the Ruby Interface via swig
AC_ARG_ENABLE(ruby,
[AS_HELP_STRING([--enable-ruby],[ruby language bindings [default=no] (EXPERIMENTAL)])],
[AC_CHECK_PROG(RUBY,ruby,ruby)
RUBY_INCLUDES="-I$($RUBY config/interface.rb)"
RUBY_INCLUDES="$($RUBY config/interface.rb)"
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $RUBY_INCLUDES"
AC_CHECK_HEADER([ruby.h],,[
enable_ruby=no
RUBY=
])
AC_CHECK_HEADER([ruby.h],,[enable_ruby=no
RUBY=
])
CPPFLAGS=$save_CPPFLAGS
AS_IF([test "x$RUBY" != "x"],
[AS_IF([test "x$SWIG" = "x"],
[AC_MSG_NOTICE([Python bindings: Swig is disabled, pregenerated files will be used. Use '--enable-swig' for swig usage])])],
[AS_IF([test `$SWIG -help 2>&1 | $GREP -c '\-ruby *- Generate'` = 0],[AC_MSG_NOTICE([No (swig does not support -ruby option)])
enable_ruby=no
])])],
[AC_MSG_NOTICE([Ruby bindings: Swig is disabled, pregenerated files will be used. Use '--enable-swig' for swig usage])])],
[AS_IF([test `$SWIG -help 2>&1 | $GREP -c '\-ruby *- Generate'` = 0],
[AC_MSG_NOTICE([No (swig does not support -ruby option)])
enable_ruby=no
])])],
[enable_ruby=no])
AM_CONDITIONAL(WITH_RUBY,[test "x$enable_ruby" != "xno"])
AM_CONDITIONAL(ENABLE_RUBY,[test "x$enable_ruby" != "xno"])
AS_IF([test "x$enable_ruby" != "xno"],[AC_SUBST([ENABLE_RUBY],[true])],[AC_SUBST([ENABLE_RUBY],[false])])
# ----------------------------------------------------------------------
# Create the Ruby Interface via swig
AC_ARG_ENABLE(python,
......@@ -141,19 +142,20 @@ AC_ARG_ENABLE(python,
PYTHON_INCLUDES="-I$($PYTHON -c 'from distutils import sysconfig;print sysconfig.get_python_lib(1,1)' | $SED 's/lib/include/')"
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
AC_CHECK_HEADER([Python.h],,[
enable_python="No (missing header)"
PYTHON=
])
AC_CHECK_HEADER([Python.h],,[enable_python=no
PYTHON=
])
CPPFLAGS=$save_CPPFLAGS
AS_IF([test "x$PYTHON" != "x"],
[AS_IF([test "x$SWIG" = "x"],
[AC_MSG_NOTICE([Python bindings: Swig is disabled, pregenerated files will be used. Use '--enable-swig' for swig usage])])],
[AS_IF([test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0],[AC_MSG_NOTICE([No (swig does not support -python option)])
enable_python=no
])])],
[AS_IF([test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0],
[AC_MSG_NOTICE([No (swig does not support -python option)])
enable_python=no
])])],
[enable_python=no])
AM_CONDITIONAL(WITH_PYTHON, [test "x$enable_python" = "xyes"])
AM_CONDITIONAL(ENABLE_PYTHON, [test "x$enable_python" != "xno"])
AS_IF([test "x$enable_python" != "xno"],[AC_SUBST([ENABLE_PYTHON],[true])],[AC_SUBST([ENABLE_PYTHON],[false])])
# ----------------------------------------------------------------------
AM_CONDITIONAL(CREATE_INTERFACES, [test "x$enable_ruby" = "xyes" -o "x$enable_python" = "xyes"])
# ----------------------------------------------------------------------
......
......@@ -139,6 +139,8 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_PYTHON = @ENABLE_PYTHON@
ENABLE_RUBY = @ENABLE_RUBY@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
F77 = @F77@
......
......@@ -29,14 +29,14 @@ CdiInfo_LDADD = $(top_builddir)/interfaces/libcdipp.la
CdiInfo_LDFLAGS = @NETCDF_LDFLAGS@ @HDF5_LDFLAGS@ @SZLIB_LDFLAGS@ @ZLIB_LDFLAGS@ $(LDFLAGS)
#
#
if WITH_RUBY
if ENABLE_RUBY
BINDINGS += rubyObj
# Ruby ====================================================
rubyLibMakefile:
cd ruby; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(locallibs) $(LDFLAGS)" INCFLAGS="-I../../src" ruby extconfLib.rb
rubyLibWrapper: cdilib.i
if WITH_SWIG
if ENABLE_SWIG
$(SWIG) -ruby -module CdiLib -o ruby/cdilib_wrap.c $(AM_CPPFLAGS) cdilib.i
endif
......@@ -50,7 +50,7 @@ rubyObjMakefile:
cd ruby; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(LDFLAGS)" INCFLAGS="-I../" ruby extconfObj.rb
rubyObjWrapper: cdiobj.i
if WITH_SWIG
if ENABLE_SWIG
$(SWIG) -ruby -c++ -module CdiObj -o ruby/cdiobj_wrap.cpp $(AM_CPPFLAGS) cdiobj.i
endif
......@@ -64,11 +64,11 @@ rubyObjInstall: rubyObj
@cd ruby; make install
endif
# =========================================================
if WITH_PYTHON
if ENABLE_PYTHON
BINDINGS += pythonObj
# Python ==================================================
pythonLibWrapper: cdilib.i
if WITH_SWIG
if ENABLE_SWIG
$(SWIG) -python -module CdiLib -o python/cdilib_wrap.c $(AM_CPPFLAGS) cdilib.i
endif
......@@ -79,7 +79,7 @@ pythonLibTest: pythonLib
@cd python; python testLib.py
# =========================================================
pythonObjWrapper: cdiobj.i
if WITH_SWIG
if ENABLE_SWIG
$(SWIG) -python -c++ -module CdiObj -o python/cdiobj_wrap.cpp $(AM_CPPFLAGS) cdiobj.i
endif
......
......@@ -42,9 +42,9 @@ noinst_PROGRAMS = $(am__EXEEXT_1)
@CREATE_INTERFACES_TRUE@am__append_3 = libcdipp.la
#
#
@WITH_RUBY_TRUE@am__append_4 = rubyObj
@ENABLE_RUBY_TRUE@am__append_4 = rubyObj
# =========================================================
@WITH_PYTHON_TRUE@am__append_5 = pythonObj
@ENABLE_PYTHON_TRUE@am__append_5 = pythonObj
subdir = interfaces
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
......@@ -136,6 +136,8 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_PYTHON = @ENABLE_PYTHON@
ENABLE_RUBY = @ENABLE_RUBY@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
F77 = @F77@
......@@ -620,53 +622,53 @@ uninstall-am: uninstall-binPROGRAMS
uninstall-binPROGRAMS
# Ruby ====================================================
@WITH_RUBY_TRUE@rubyLibMakefile:
@WITH_RUBY_TRUE@ cd ruby; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(locallibs) $(LDFLAGS)" INCFLAGS="-I../../src" ruby extconfLib.rb
@ENABLE_RUBY_TRUE@rubyLibMakefile:
@ENABLE_RUBY_TRUE@ cd ruby; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(locallibs) $(LDFLAGS)" INCFLAGS="-I../../src" ruby extconfLib.rb
@WITH_RUBY_TRUE@rubyLibWrapper: cdilib.i
@WITH_RUBY_TRUE@@WITH_SWIG_TRUE@ $(SWIG) -ruby -module CdiLib -o ruby/cdilib_wrap.c $(AM_CPPFLAGS) cdilib.i
@ENABLE_RUBY_TRUE@rubyLibWrapper: cdilib.i
@ENABLE_RUBY_TRUE@@ENABLE_SWIG_TRUE@ $(SWIG) -ruby -module CdiLib -o ruby/cdilib_wrap.c $(AM_CPPFLAGS) cdilib.i
@WITH_RUBY_TRUE@rubyLib: rubyLibWrapper rubyLibMakefile
@WITH_RUBY_TRUE@ @cd ruby; make
@ENABLE_RUBY_TRUE@rubyLib: rubyLibWrapper rubyLibMakefile
@ENABLE_RUBY_TRUE@ @cd ruby; make
@WITH_RUBY_TRUE@rubyLibTest: rubyLib
@WITH_RUBY_TRUE@ @cd ruby; ruby testLib.rb
@ENABLE_RUBY_TRUE@rubyLibTest: rubyLib
@ENABLE_RUBY_TRUE@ @cd ruby; ruby testLib.rb
# =========================================================
@WITH_RUBY_TRUE@rubyObjMakefile:
@WITH_RUBY_TRUE@ cd ruby; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(LDFLAGS)" INCFLAGS="-I../" ruby extconfObj.rb
@ENABLE_RUBY_TRUE@rubyObjMakefile:
@ENABLE_RUBY_TRUE@ cd ruby; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(LDFLAGS)" INCFLAGS="-I../" ruby extconfObj.rb
@WITH_RUBY_TRUE@rubyObjWrapper: cdiobj.i
@WITH_RUBY_TRUE@@WITH_SWIG_TRUE@ $(SWIG) -ruby -c++ -module CdiObj -o ruby/cdiobj_wrap.cpp $(AM_CPPFLAGS) cdiobj.i
@ENABLE_RUBY_TRUE@rubyObjWrapper: cdiobj.i
@ENABLE_RUBY_TRUE@@ENABLE_SWIG_TRUE@ $(SWIG) -ruby -c++ -module CdiObj -o ruby/cdiobj_wrap.cpp $(AM_CPPFLAGS) cdiobj.i
@WITH_RUBY_TRUE@rubyObj: rubyObjWrapper rubyObjMakefile
@WITH_RUBY_TRUE@ @cd ruby; make
@ENABLE_RUBY_TRUE@rubyObj: rubyObjWrapper rubyObjMakefile
@ENABLE_RUBY_TRUE@ @cd ruby; make
@WITH_RUBY_TRUE@rubyObjTest: rubyObj
@WITH_RUBY_TRUE@ @cd ruby; ruby testObj.rb
@ENABLE_RUBY_TRUE@rubyObjTest: rubyObj
@ENABLE_RUBY_TRUE@ @cd ruby; ruby testObj.rb
@WITH_RUBY_TRUE@rubyObjInstall: rubyObj
@WITH_RUBY_TRUE@ @cd ruby; make install
@ENABLE_RUBY_TRUE@rubyObjInstall: rubyObj
@ENABLE_RUBY_TRUE@ @cd ruby; make install
# Python ==================================================
@WITH_PYTHON_TRUE@pythonLibWrapper: cdilib.i
@WITH_PYTHON_TRUE@@WITH_SWIG_TRUE@ $(SWIG) -python -module CdiLib -o python/cdilib_wrap.c $(AM_CPPFLAGS) cdilib.i
@ENABLE_PYTHON_TRUE@pythonLibWrapper: cdilib.i
@ENABLE_PYTHON_TRUE@@ENABLE_SWIG_TRUE@ $(SWIG) -python -module CdiLib -o python/cdilib_wrap.c $(AM_CPPFLAGS) cdilib.i
@WITH_PYTHON_TRUE@pythonLib: pythonLibWrapper
@WITH_PYTHON_TRUE@ @cd python; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(LDFLAGS)" INCFLAGS="-I../../src" python setupLib.py build_ext --inplace
@ENABLE_PYTHON_TRUE@pythonLib: pythonLibWrapper
@ENABLE_PYTHON_TRUE@ @cd python; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(LDFLAGS)" INCFLAGS="-I../../src" python setupLib.py build_ext --inplace
@WITH_PYTHON_TRUE@pythonLibTest: pythonLib
@WITH_PYTHON_TRUE@ @cd python; python testLib.py
@ENABLE_PYTHON_TRUE@pythonLibTest: pythonLib
@ENABLE_PYTHON_TRUE@ @cd python; python testLib.py
# =========================================================
@WITH_PYTHON_TRUE@pythonObjWrapper: cdiobj.i
@WITH_PYTHON_TRUE@@WITH_SWIG_TRUE@ $(SWIG) -python -c++ -module CdiObj -o python/cdiobj_wrap.cpp $(AM_CPPFLAGS) cdiobj.i
@ENABLE_PYTHON_TRUE@pythonObjWrapper: cdiobj.i
@ENABLE_PYTHON_TRUE@@ENABLE_SWIG_TRUE@ $(SWIG) -python -c++ -module CdiObj -o python/cdiobj_wrap.cpp $(AM_CPPFLAGS) cdiobj.i
@WITH_PYTHON_TRUE@pythonObj: pythonObjWrapper
@WITH_PYTHON_TRUE@ cd python; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="-L../../src/.libs $(LDFLAGS)" INCFLAGS="-I../" python setupObj.py build_ext --inplace
@ENABLE_PYTHON_TRUE@pythonObj: pythonObjWrapper
@ENABLE_PYTHON_TRUE@ cd python; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="-L../../src/.libs $(LDFLAGS)" INCFLAGS="-I../" python setupObj.py build_ext --inplace
@WITH_PYTHON_TRUE@pythonObjTest: pythonObj
@WITH_PYTHON_TRUE@ @cd python; python testObj.py
@ENABLE_PYTHON_TRUE@pythonObjTest: pythonObj
@ENABLE_PYTHON_TRUE@ @cd python; python testObj.py
@WITH_PYTHON_TRUE@pythonObjInstall: pythonObj
@WITH_PYTHON_TRUE@ @cd python; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(locallibs) $(LDFLAGS)" INCFLAGS="-I../" python setupObj.py install
@ENABLE_PYTHON_TRUE@pythonObjInstall: pythonObj
@ENABLE_PYTHON_TRUE@ @cd python; CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" LDFLAGS="$(locallibs) $(LDFLAGS)" INCFLAGS="-I../" python setupObj.py install
# =========================================================
help:
@echo "#=====================================================#"
......
......@@ -142,6 +142,8 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_PYTHON = @ENABLE_PYTHON@
ENABLE_RUBY = @ENABLE_RUBY@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
F77 = @F77@
......
......@@ -105,6 +105,8 @@ ENABLE_CGRIBEX = @ENABLE_CGRIBEX@
ENABLE_EXTRA = @ENABLE_EXTRA@
ENABLE_GRIB = @ENABLE_GRIB@
ENABLE_IEG = @ENABLE_IEG@
ENABLE_PYTHON = @ENABLE_PYTHON@
ENABLE_RUBY = @ENABLE_RUBY@
ENABLE_SERVICE = @ENABLE_SERVICE@
EXEEXT = @EXEEXT@
F77 = @F77@
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment