*** empty log message ***

This commit is contained in:
hyung-hwan 2006-11-19 14:55:20 +00:00
parent 824819873e
commit dfac894468
6 changed files with 82 additions and 2839 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: rex.c,v 1.44 2006-11-19 10:47:06 bacon Exp $ * $Id: rex.c,v 1.45 2006-11-19 14:52:30 bacon Exp $
*/ */
#include <ase/awk/awk_i.h> #include <ase/awk/awk_i.h>
@ -15,7 +15,7 @@ enum
{ {
LEVEL_TOP, LEVEL_TOP,
LEVEL_CHARSET, LEVEL_CHARSET,
LEVEL_RANGE, LEVEL_RANGE
}; };
enum enum

View File

@ -1,5 +1,5 @@
/* /*
* $Id: run.c,v 1.274 2006-11-19 11:55:16 bacon Exp $ * $Id: run.c,v 1.275 2006-11-19 14:55:20 bacon Exp $
*/ */
#include <ase/awk/awk_i.h> #include <ase/awk/awk_i.h>
@ -5388,8 +5388,8 @@ run->awk->syscas.dprintf (ASE_T("len = %d str=[%s]\n"),
static int __shorten_record (ase_awk_run_t* run, ase_size_t nflds) static int __shorten_record (ase_awk_run_t* run, ase_size_t nflds)
{ {
ase_awk_val_t* v; ase_awk_val_t* v = ASE_NULL;
ase_char_t* ofs_free = ASE_NULL, * ofs; ase_char_t* ofs_free = ASE_NULL, * ofs = ASE_NULL;
ase_size_t ofs_len, i; ase_size_t ofs_len, i;
ase_awk_str_t tmp; ase_awk_str_t tmp;

View File

@ -1,5 +1,5 @@
/* /*
* $Id: tree.h,v 1.79 2006-11-19 11:55:17 bacon Exp $ * $Id: tree.h,v 1.80 2006-11-19 14:52:30 bacon Exp $
*/ */
#ifndef _ASE_AWK_TREE_H_ #ifndef _ASE_AWK_TREE_H_
@ -62,7 +62,7 @@ enum ase_awk_nde_type_t
ASE_AWK_NDE_POS, ASE_AWK_NDE_POS,
/* ---------------------------------- */ /* ---------------------------------- */
ASE_AWK_NDE_GETLINE, ASE_AWK_NDE_GETLINE
}; };
enum ase_awk_in_type_t enum ase_awk_in_type_t

View File

@ -28,48 +28,8 @@
#define ASE_SIZEOF_FLOAT 0 #define ASE_SIZEOF_FLOAT 0
#define ASE_SIZEOF_DOUBLE 0 #define ASE_SIZEOF_DOUBLE 0
#define ASE_SIZEOF_LONG_DOUBLE 0 #define ASE_SIZEOF_LONG_DOUBLE 0
#define ASE_SIZEOF_PID_T 0
#define ASE_SIZEOF_WCHAR_T 0 #define ASE_SIZEOF_WCHAR_T 0
/* fcntl.h */
#undef ASE_HAVE_FCNTL_H
/* limits.h */
#undef ASE_HAVE_LIMITS_H
/* stdarg.h */
#undef ASE_HAVE_STDARG_H
/* stddef.h */
#undef ASE_HAVE_STDDEF_H
/* unistd.h */
#undef ASE_HAVE_UNISTD_H
/* wchar.h */
#undef ASE_HAVE_WCHAR_H
/* poll.h */
#undef ASE_HAVE_POLL_H
/* sys/poll.h */
#undef ASE_HAVE_SYS_EPOLL_H
/* pthread.h */
#undef ASE_HAVE_PTHREAD_H
/* sys/sysinfo.h */
#undef ASE_HAVE_SYS_SYSINFO_H
/* sys/sysinfo.mem_unit */
#undef ASE_HAVE_SYS_SYSINFO_MEM_UNIT
/* in6.scope_id */
#undef ASE_HAVE_IN6_SCOPE_ID
/* sockaddr_storage.ss_family */
#undef ASE_HAVE_SS_FAMILY
/* char is wchar */ /* char is wchar */
#undef ASE_CHAR_IS_WCHAR #undef ASE_CHAR_IS_WCHAR

2818
ase/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
AC_PREREQ(2.53) AC_PREREQ(2.53)
AC_INIT([ase], [deb-0.1.0]) AC_INIT([ase], [deb-0.1.0])
AC_REVISION([$Revision: 1.72 $]) AC_REVISION([$Revision: 1.73 $])
AC_CONFIG_HEADER([conf_unx.h]) AC_CONFIG_HEADER([conf_unx.h])
# Checks for programs. # Checks for programs.
@ -9,46 +9,9 @@ AC_PROG_CC
AC_PROG_RANLIB AC_PROG_RANLIB
# Checks for libraries. # Checks for libraries.
AC_CHECK_LIB(pthread, pthread_create)
AC_CHECK_LIB(nsl, gethostbyname)
AC_CHECK_LIB(socket, connect)
AC_CHECK_LIB(rt, nanosleep)
# Checks for header files. # Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADER([unistd.h], [AC_DEFINE([ASE_HAVE_UNISTD_H],[],[unistd.h])])
AC_CHECK_HEADER([fcntl.h], [AC_DEFINE([ASE_HAVE_FCNTL_H],[],[fcntl.h])])
AC_CHECK_HEADER([stdarg.h], [AC_DEFINE([ASE_HAVE_STDARG_H],[],[stdarg.h])])
AC_CHECK_HEADER([stddef.h], [AC_DEFINE([ASE_HAVE_STDDEF_H],[],[stddef.h])])
AC_CHECK_HEADER([limits.h], [AC_DEFINE([ASE_HAVE_LIMITS_H],[],[limits.h])])
AC_CHECK_HEADER([wchar.h], [AC_DEFINE([ASE_HAVE_WCHAR_H],[],[wchar.h])])
AC_CHECK_HEADER([poll.h], [AC_DEFINE([ASE_HAVE_POLL_H],[],[poll.h])])
AC_CHECK_HEADER([sys/epoll.h], [AC_DEFINE([ASE_HAVE_SYS_EPOLL_H],[],[sys/epoll.h])])
AC_CHECK_HEADER([pthread.h], [AC_DEFINE([ASE_HAVE_PTHREAD_H],[],[pthread.h])])
AC_CHECK_HEADER([sys/sysinfo.h],
[AC_DEFINE([ASE_HAVE_SYS_SYSINFO_H],[],[sys/sysinfo.h])])
# Checks for structure members
AC_CHECK_HEADER([sys/sysinfo.h], [
AC_CHECK_MEMBER(struct sysinfo.mem_unit,
[AC_DEFINE([ASE_HAVE_SYS_SYSINFO_MEM_UNIT],[],[sys/sysinfo.mem_unit])],
[],
[#include <sys/sysinfo.h>])])
AC_CHECK_MEMBER(struct sockaddr_in6.sin6_scope_id,
[AC_DEFINE([ASE_HAVE_IN6_SCOPE_ID],[],[in6.scope_id])],
[],
[#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>])
AC_CHECK_MEMBER(struct sockaddr_storage.ss_family,
[AC_DEFINE([ASE_HAVE_SS_FAMILY],[],[sockaddr_storage.ss_family])],
[],
[#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>])
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_BIGENDIAN( AC_C_BIGENDIAN(
@ -75,7 +38,6 @@ AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(float) AC_CHECK_SIZEOF(float)
AC_CHECK_SIZEOF(double) AC_CHECK_SIZEOF(double)
AC_CHECK_SIZEOF(long double) AC_CHECK_SIZEOF(long double)
AC_CHECK_SIZEOF(pid_t)
AC_CHECK_SIZEOF(wchar_t) AC_CHECK_SIZEOF(wchar_t)
AC_DEFINE_UNQUOTED(ASE_SIZEOF_CHAR,${ac_cv_sizeof_char}) AC_DEFINE_UNQUOTED(ASE_SIZEOF_CHAR,${ac_cv_sizeof_char})
@ -93,18 +55,9 @@ AC_DEFINE_UNQUOTED(ASE_SIZEOF_VOID_P,${ac_cv_sizeof_void_p})
AC_DEFINE_UNQUOTED(ASE_SIZEOF_FLOAT,${ac_cv_sizeof_float}) AC_DEFINE_UNQUOTED(ASE_SIZEOF_FLOAT,${ac_cv_sizeof_float})
AC_DEFINE_UNQUOTED(ASE_SIZEOF_DOUBLE,${ac_cv_sizeof_double}) AC_DEFINE_UNQUOTED(ASE_SIZEOF_DOUBLE,${ac_cv_sizeof_double})
AC_DEFINE_UNQUOTED(ASE_SIZEOF_LONG_DOUBLE,${ac_cv_sizeof_long_double}) AC_DEFINE_UNQUOTED(ASE_SIZEOF_LONG_DOUBLE,${ac_cv_sizeof_long_double})
AC_DEFINE_UNQUOTED(ASE_SIZEOF_PID_T,${ac_cv_sizeof_pid_t})
AC_DEFINE_UNQUOTED(ASE_SIZEOF_WCHAR_T,${ac_cv_sizeof_wchar_t}) AC_DEFINE_UNQUOTED(ASE_SIZEOF_WCHAR_T,${ac_cv_sizeof_wchar_t})
#AC_CHECK_FUNC(nanosleep,[AC_DEFINE([ASE_HAVE_NANOSLEEP])],
# [AC_CHECK_LIB(rt,nanosleep, LIBS="${LIBS} -lrt",
# [AC_CHECK_LIB(posix4,nanosleep, LIBS="${LIBS} -lposix4")])])
# Checks for library functions. # Checks for library functions.
#AC_FUNC_MEMCMP
#AC_FUNC_REALLOC
#AC_CHECK_FUNCS([memset])
AC_ARG_ENABLE([wchar], [AC_HELP_STRING([--enable-wchar], AC_ARG_ENABLE([wchar], [AC_HELP_STRING([--enable-wchar],
[use wchar_t a default charater type when enabled (default. yes)])], [use wchar_t a default charater type when enabled (default. yes)])],
enable_wchar_is=$enableval,enable_wchar_is=yes) enable_wchar_is=$enableval,enable_wchar_is=yes)