From ae55f22bf90fe12d3a238e2cc3071dc7d6ba4b2f Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 24 Jan 2009 00:36:34 +0000 Subject: [PATCH] changed the default value of --enable-syslog in configure.ac --- qse/cmd/awk/Makefile.am | 4 ++-- qse/cmd/awk/Makefile.in | 4 ++-- qse/configure | 4 ++-- qse/configure.ac | 6 +++--- qse/include/qse/config.h.in | 10 +--------- 5 files changed, 10 insertions(+), 18 deletions(-) diff --git a/qse/cmd/awk/Makefile.am b/qse/cmd/awk/Makefile.am index 09237774..abde90da 100644 --- a/qse/cmd/awk/Makefile.am +++ b/qse/cmd/awk/Makefile.am @@ -4,12 +4,12 @@ AM_CPPFLAGS = -I$(top_srcdir)/include bin_PROGRAMS = qseawk qseawk_SOURCES = awk.c -qseawk_LDFLAGS = -L../../lib/awk -L../../lib/utl +qseawk_LDFLAGS = -L../../lib/awk qseawk_LDADD = -lqseawk $(LIBM) if ENABLE_CXX bin_PROGRAMS += qseawk++ qseawk___SOURCES = Awk.cpp -qseawk___LDFLAGS = -L../../lib/awk -L../../lib/utl +qseawk___LDFLAGS = -L../../lib/awk qseawk___LDADD = -lqseawk++ $(LIBM) endif diff --git a/qse/cmd/awk/Makefile.in b/qse/cmd/awk/Makefile.in index 97cc3ece..0e461ff5 100644 --- a/qse/cmd/awk/Makefile.in +++ b/qse/cmd/awk/Makefile.in @@ -210,10 +210,10 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CPPFLAGS = -I$(top_srcdir)/include qseawk_SOURCES = awk.c -qseawk_LDFLAGS = -L../../lib/awk -L../../lib/utl +qseawk_LDFLAGS = -L../../lib/awk qseawk_LDADD = -lqseawk $(LIBM) @ENABLE_CXX_TRUE@qseawk___SOURCES = Awk.cpp -@ENABLE_CXX_TRUE@qseawk___LDFLAGS = -L../../lib/awk -L../../lib/utl +@ENABLE_CXX_TRUE@qseawk___LDFLAGS = -L../../lib/awk @ENABLE_CXX_TRUE@qseawk___LDADD = -lqseawk++ $(LIBM) all: all-am diff --git a/qse/configure b/qse/configure index 995d6ce1..5ffd4bce 100755 --- a/qse/configure +++ b/qse/configure @@ -1502,7 +1502,7 @@ Optional Features: --enable-wchar use wchar_t a default charater type when enabled (default. yes) --enable-syscall use the syscall() function to call system calls - (default. no) + (default. yes) --enable-debug build the library in the debug mode (default. no) --enable-objc build the library for Objective-C if an Objective-C compiler is available (default. yes) @@ -29084,7 +29084,7 @@ fi if test "${enable_syscall+set}" = set; then enableval=$enable_syscall; enable_syscall_is=$enableval else - enable_syscall_is=no + enable_syscall_is=yes fi if test "${enable_syscall_is}" = "yes" diff --git a/qse/configure.ac b/qse/configure.ac index 14cb3b8e..3b162642 100644 --- a/qse/configure.ac +++ b/qse/configure.ac @@ -164,11 +164,11 @@ else fi AC_ARG_ENABLE([syscall], [AC_HELP_STRING([--enable-syscall], - [use the syscall() function to call system calls (default. no)])], - enable_syscall_is=$enableval,enable_syscall_is=no) + [use the syscall() function to call system calls (default. yes)])], + enable_syscall_is=$enableval,enable_syscall_is=yes) if test "${enable_syscall_is}" = "yes" then - AC_DEFINE([QSE_USE_SYSCALL],[],[use the syscall() function]) + AC_DEFINE([QSE_USE_SYSCALL],[],[use the syscall() function to invoke a system call]) fi AC_ARG_ENABLE([debug], [AC_HELP_STRING([--enable-debug], diff --git a/qse/include/qse/config.h.in b/qse/include/qse/config.h.in index def81655..7101546e 100644 --- a/qse/include/qse/config.h.in +++ b/qse/include/qse/config.h.in @@ -249,7 +249,7 @@ /* sizeof(__int8) */ #undef QSE_SIZEOF___INT8 -/* use the syscall() function */ +/* use the syscall() function to invoke a system call */ #undef QSE_USE_SYSCALL /* package version */ @@ -314,11 +314,3 @@ /* Version number of package */ #undef VERSION - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ -#if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -#elif ! defined __LITTLE_ENDIAN__ -# undef WORDS_BIGENDIAN -#endif