Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1174 committed - Have the configure script work with an I2util version installed like a...

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1174 committed - Have the configure script work with an I2util version installed like a...


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1174 committed - Have the configure script work with an I2util version installed like a...
  • Date: Fri, 09 Jan 2015 15:47:37 +0000

Revision: 1174
Author:

Date: Fri Jan 9 15:47:26 2015 UTC
Log: Have the configure script work with an I2util version installed like a normal library


https://code.google.com/p/ndt/source/detail?r=1174

Modified:
/trunk/configure.ac

=======================================
--- /trunk/configure.ac Fri Jan 9 15:36:25 2015 UTC
+++ /trunk/configure.ac Fri Jan 9 15:47:26 2015 UTC
@@ -220,13 +220,13 @@
I2UTILINCS="-I/usr/local/I2util/include $I2UTILINCS"
I2UTILLDFLAGS="-L/usr/local/I2util/lib $I2UTILLDFLAGS"
I2UTILLIBDEPS="/usr/local/I2util/lib/libI2util.a"
- fi

- if test -z "$I2UTILLDFLAGS"; then
- AC_MSG_ERROR([couldn't find I2util library])
else
- I2UTILLIBS="$I2UTILLDFLAGS -lI2util"
+ AC_SEARCH_LIBS([I2AddrByNode],I2util, ,AC_MSG_ERROR([Couldn't find I2util library]))
+ AC_CHECK_HEADERS([I2util/util.h I2util/conf.h], ,AC_MSG_ERROR([Couldn't find I2util header files]), [AC_INCLUDES_DEFAULT])
fi
+
+ I2UTILLIBS="$I2UTILLDFLAGS -lI2util"
fi

AC_SUBST(I2UTILLDFLAGS)


  • [ndt-dev] [ndt] r1174 committed - Have the configure script work with an I2util version installed like a..., ndt, 01/09/2015

Archive powered by MHonArc 2.6.16.

Top of Page