From: <enl...@li...> - 2002-01-21 23:05:31
|
Enlightenment CVS committal Author : mej Project : eterm Module : libast Dir : eterm/libast Modified Files: ChangeLog Makefile.am acinclude.m4 configure.in Removed Files: conf.c debug.c file.c libast.h libast_internal.h mem.c msgs.c snprintf.c strings.c Log Message: Mon Jan 21 18:02:20 2002 Michael Jennings (mej) Don't try this at home. This package has been discombobulated by trained professionals. =================================================================== RCS file: /cvsroot/enlightenment/eterm/libast/ChangeLog,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- ChangeLog 2001/09/22 16:25:29 1.17 +++ ChangeLog 2002/01/21 23:04:57 1.18 @@ -111,3 +111,8 @@ Fixed a compilation issue on some systems where libX11 would not be linked in with the test program. This is libast 0.4. ---------------------------------------------------------------------- +Mon Jan 21 18:02:20 2002 Michael Jennings (mej) + +Don't try this at home. This package has been discombobulated by +trained professionals. +---------------------------------------------------------------------- =================================================================== RCS file: /cvsroot/enlightenment/eterm/libast/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- Makefile.am 2001/09/22 16:25:29 1.6 +++ Makefile.am 2002/01/21 23:04:58 1.7 @@ -1,15 +1,9 @@ -# $Id: Makefile.am,v 1.6 2001/09/22 16:25:29 mej Exp $ +# $Id: Makefile.am,v 1.7 2002/01/21 23:04:58 mej Exp $ AUTOMAKE_OPTIONS = foreign -SUBDIRS = . test +SUBDIRS = include src test bin_SCRIPTS = libast-config -lib_LTLIBRARIES = libast.la -include_HEADERS = libast.h - -libast_la_SOURCES = conf.c debug.c file.c mem.c msgs.c strings.c snprintf.c libast.h libast_internal.h - -libast_la_LDFLAGS = -version-info 1:3:0 EXTRA_DIST = README =================================================================== RCS file: /cvsroot/enlightenment/eterm/libast/acinclude.m4,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- acinclude.m4 2000/10/30 22:02:42 1.1 +++ acinclude.m4 2002/01/21 23:04:58 1.2 @@ -1,3 +1,17 @@ +dnl +AC_DEFUN(AST_SIZE_TYPE, +[BIT_SIZE=[$1] +BYTE_SIZE=`expr $BIT_SIZE '/' 8` +case $BYTE_SIZE in + $ac_cv_sizeof_char) eval INT_${BIT_SIZE}_TYPE=char ;; + $ac_cv_sizeof_short) eval INT_${BIT_SIZE}_TYPE=short ;; + $ac_cv_sizeof_int) eval INT_${BIT_SIZE}_TYPE=int ;; + $ac_cv_sizeof_long) eval INT_${BIT_SIZE}_TYPE=long ;; + $ac_cv_sizeof_long_long) eval INT_${BIT_SIZE}_TYPE="'long long'" ;; +esac +test -z "`eval echo '$'INT_${BIT_SIZE}_TYPE`" && eval INT_${BIT_SIZE}_TYPE=long +]) + dnl acl.m4 -- Written by Duncan Simpson <dp...@io...> dnl Posted to BUGTRAQ on 17 June 1999 dnl Used by encouragement. :-) =================================================================== RCS file: /cvsroot/enlightenment/eterm/libast/configure.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- configure.in 2001/09/22 16:25:29 1.5 +++ configure.in 2002/01/21 23:04:58 1.6 @@ -1,4 +1,4 @@ -dnl# $Id: configure.in,v 1.5 2001/09/22 16:25:29 mej Exp $ +dnl# $Id: configure.in,v 1.6 2002/01/21 23:04:58 mej Exp $ AC_INIT(configure.in) AM_INIT_AUTOMAKE(libast, 0.4) @@ -53,13 +53,21 @@ AC_LN_S AC_CHECK_SIZEOF(char, 1) -AC_CHECK_SIZEOF(short, 4) +AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(long, 4) -AC_CHECK_SIZEOF(void *, 4) AC_CHECK_SIZEOF(long long, 8) AC_C_BIGENDIAN +AST_SIZE_TYPE(8) +AC_SUBST(INT_8_TYPE) +AST_SIZE_TYPE(16) +AC_SUBST(INT_16_TYPE) +AST_SIZE_TYPE(32) +AC_SUBST(INT_32_TYPE) +AST_SIZE_TYPE(64) +AC_SUBST(INT_64_TYPE) + AC_C_CONST AC_C_INLINE AC_PATH_XTRA @@ -214,7 +222,9 @@ AM_CONFIG_HEADER(config.h) -AC_OUTPUT(Makefile test/Makefile libast-config libast.spec) +AC_OUTPUT(${srcdir}/include/libast/types.h Makefile include/Makefile \ + include/libast/Makefile src/Makefile test/Makefile \ + libast-config libast.spec) test -f libast-config && chmod 755 libast-config echo " |