Changes in / [d1831e:e38750]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rd1831e re38750  
    319319  enable_levmar="no")
    320320AC_MSG_RESULT($enable_levmar)
    321 # don't use AS_IF here as it expands (and tests) AC_F77_FUN even if levmar
     321# don't use AS_IF here as it expands (and tests) AC_F77_FUN evene if levmar
    322322# is disabled.
    323 if test x"$enable_levmar" = xyes; then
    324         AX_LAPACK([enable_levmar=yes],
    325                 [enable_levmar=no
    326                 AC_MSG_WARN(["Missing LAPACK, disabling off levmar"])
    327                 ]
    328         )
     323if test x"$enable_levmar" = x"yes"; then
     324        AX_LAPACK([enable_levmar=yes],[enable_levmar=no])
    329325fi
    330 AS_IF([test x"$enable_levmar" = xyes],[
    331         AC_MSG_CHECKING(for levmar presence via given path )
     326AS_IF([test x"$enable_levmar" = x"yes"],[
    332327        AC_ARG_WITH(
    333328                [levmar],
    334329                [AS_HELP_STRING([--with-levmar], [give path to LevMar package])],
    335                 [have_levmar_path=$withval
    336                 enable_levmar=yes],
     330                [have_levmar_path=$withval],
    337331                [enable_levmar=no])
    338         AC_MSG_RESULT($enable_levmar)
    339         AS_IF([test -n "$have_levmar_path"],[
    340                 LEVMAR_CPPFLAGS="-I${have_levmar_path}/include"
    341                 LEVMAR_LDFLAGS="-L${have_levmar_path}/lib"
    342                 LEVMAR_LIBS="-llevmar"],[
    343                 PKG_CHECK_MODULES([LEVMAR],[levmar],[enable_levmar=yes],[
    344                         AC_MSG_CHECKING(for levmar presence via locate)
    345                         enable_levmar=no
    346                         levmar_lib=`locate liblevmar.a | head -n 1 | xargs dirname`
    347                         levmar_include=`locate levmar.h | head -n 1 | xargs dirname`
    348                         if test -n "$levmar_lib"; then
    349                                 if test -n "$levmar_include"; then
    350                                         enable_levmar=yes
    351                                         LEVMAR_CPPFLAGS="-I${levmar_include}"
    352                                         LEVMAR_LDFLAGS="-L${levmar_lib}"
    353                                         LEVMAR_LIBS="-llevmar"
    354                                 fi
    355                         fi
    356                         AC_MSG_RESULT($enable_levmar)
    357                 ])
    358         ])
    359         ],[enable_levmar=no]
    360 )
    361 AC_MSG_CHECKING(for levmar usability)
    362 AS_IF([test x"$enable_levmar" = xyes],[
     332                ],[enable_levmar=no])
     333AS_IF([test x"$enable_levmar" = x"yes"],[
     334        LEVMAR_CPPFLAGS="-I${have_levmar_path}/include"
     335        LEVMAR_LDFLAGS="-L${have_levmar_path}/lib"
     336        LEVMAR_LIBS="-llevmar"
    363337        AC_SUBST(LEVMAR_CPPFLAGS)
    364338        AC_SUBST(LEVMAR_LDFLAGS)
    365339        AC_SUBST(LEVMAR_LIBS)
    366         AC_DEFINE(HAVE_LEVMAR,1, ["use levmar for non-linear minimisation/potential fitting."])])
    367 AC_MSG_RESULT($enable_levmar)
     340        AC_DEFINE(HAVE_LEVMAR,1, ["use levmar for non-linear minimisation/potential fitting."])
     341        ],[AC_MSG_WARN(["Missing LAPACK, disabling off levmar"])])
    368342AM_CONDITIONAL([CONDLEVMAR], [test x"$enable_levmar" = x"yes"])
    369343
  • debian/changelog

    rd1831e re38750  
    44  * This is my first Debian package.
    55 
    6  -- Frederik Heber <heber@molecuilder.com>  Sun, 09 Aug 2015 21:37:00 +0100
     6 -- Frederik Heber <heber@ins.uni-bonn.de>  Sun, 09 Aug 2015 21:37:00 +0100
  • debian/control

    rd1831e re38750  
    44Maintainer: Frederik Heber <heber@molecuilder.com>
    55Build-Depends: debhelper (>=9), cdbs, autoconf, automake (>=1.11), pkg-config,
    6  gfortran, libgpg-error0, libboost-dev (>=1.46), libboost-python-dev (>=1.46),
    7  libboost-program-options-dev (>=1.46), libboost-serialization-dev (>=1.46),
    8  libboost-graph-dev (>=1.46), libboost-system-dev (>=1.46),
    9  libboost-filesystem-dev (>=1.46), libboost-iostreams-dev (>=1.46),
    10  libboost-python-dev (>=1.46), python (>=2.7), python-dev (>=2.7), libgsl0-dev,
    11  libcodepatterns-dev (>=1.3.0), liblapack-dev (>= 3.3.1), levmar (>=2.6),
    12  units, libcppunit-dev (>=1.12), libqt4-dev (>=4.8.5), libqt4-3d-dev (>=1.0),
    13  libqwt5-qt4-dev (>=5.2.2), doxygen (>=1.7.6), graphviz (>= 2.26.3)
     6 gfortran, libgpg-error0, libboost-dev (>=1.46), python2.7, libgsl0-dev,
     7 libcodepatterns (>=1.3.0), levmar (>=2.6), units, libcppunit-dev (>=1.12),
     8 libqt4-dev (>=4.8.5),
    149Build-Conflicts: autoconf2.13, automake1.4
    1510Standards-Version: 3.9.3
  • m4/qwt.m4

    rd1831e re38750  
    4343  mol_ac_qwt_name=qwt
    4444  CXXFLAGS="$CXXFLAGS $QT_CFLAGS"
    45   if test -z "$mol_ac_qwt_include_path"; then
    46         mol_ac_qwt_include_path=`locate qwt.h | xargs dirname`
    47   fi
    4845  if test -n "$mol_ac_qwt_include_path"; then
    4946    mol_ac_qwt_cxxflags="-I$mol_ac_qwt_include_path"
     
    5148  fi
    5249  LDFLAGS="$LDFLAGS $QT_LDFLAGS"
    53   if test -z "$mol_ac_qwt_lib_path"; then
    54         mol_ac_qwt_lib_path=`locate libqwt-qt4.so | head -n 1 | xargs dirname`
    55   fi
    5650  if test -n "$mol_ac_qwt_lib_path"; then
    5751    for mol_ac_qwt_candidate in \
Note: See TracChangeset for help on using the changeset viewer.