Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/eet
Dir : e17/libs/eet
Modified Files:
configure.in eet.pc.in
Log Message:
* Add conversion functions to replace the use of snprintf with %a
* remove useless defines
* minor cleanups
fixes bugs #181 and #182
===================================================================
RCS file: /cvs/e/e17/libs/eet/configure.in,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- configure.in 8 Sep 2007 09:35:40 -0000 1.77
+++ configure.in 25 Sep 2007 18:26:48 -0000 1.78
@@ -72,28 +72,6 @@
], AC_MSG_WARN([Cannot check when cross-compiling -- assuming null is okay])
)
-AC_MSG_CHECKING([OS libc C99 '%a' support])
-AC_TRY_RUN([
-#include <stdio.h>
-int main(int argc, char **argv) {
- char buf[4096];
- float ival = 0.1234, oval = 0.0;
- snprintf(buf, sizeof(buf), "%a", (double)ival);
- sscanf(buf, "%a", &oval);
- if (ival != oval) return -1;
- return 0;
-}
-], AC_MSG_RESULT([yes]), [
- AC_MSG_RESULT([no])
- AC_MSG_ERROR([Unsupported Operating System!
-Your OS does not support C99's '%a' string format. Eet cannot function without
-it. Please contact your OS vendor to get updates for C99 '%a' floating point
-format read/write support or change operating systems for one with support
-for an already very old standard. (Linux is known to support this, as is
-Solaris 10)])
-], AC_MSG_WARN([Cannot check when cross-compiling -- assuming C99 '%a' support
is OK])
-)
-
if test "x${bindir}" = 'xNONE'; then
if test "x${prefix}" = "xNONE"; then
PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
@@ -115,7 +93,7 @@
PACKAGE_LIB_DIR="${libdir}"
fi
AC_SUBST(PACKAGE_LIB_DIR)
-
+
if test "x${prefix}" = "xNONE"; then
PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}"
else
@@ -156,9 +134,6 @@
echo
echo " Installation.........: make install"
echo
-echo " prefix.........: $prefix"
-echo " binaries.......: $bindir"
-echo " libraries......: $libdir"
-echo " headers........: $includedir"
+echo " prefix.............: $prefix"
#echo " documentation..: $datadir/$PACKAGE/doc"
echo
===================================================================
RCS file: /cvs/e/e17/libs/eet/eet.pc.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- eet.pc.in 22 Mar 2007 15:22:32 -0000 1.5
+++ eet.pc.in 25 Sep 2007 18:26:48 -0000 1.6
@@ -7,5 +7,5 @@
Description: Library for speedy data storage, retrieval, and compression
Version: @VERSION@
Libs: -L${libdir} -leet
-Libs.private: -lz -ljpeg
+Libs.private: -lz -ljpeg @fnmatch_libs@ @winsock_libs@ -lm
Cflags: -I${includedir}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs