changed the default value of --enable-syslog in configure.ac

This commit is contained in:
hyung-hwan 2009-01-24 00:36:34 +00:00
parent 8150f4843d
commit ae55f22bf9
5 changed files with 10 additions and 18 deletions

View File

@ -4,12 +4,12 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
bin_PROGRAMS = qseawk bin_PROGRAMS = qseawk
qseawk_SOURCES = awk.c qseawk_SOURCES = awk.c
qseawk_LDFLAGS = -L../../lib/awk -L../../lib/utl qseawk_LDFLAGS = -L../../lib/awk
qseawk_LDADD = -lqseawk $(LIBM) qseawk_LDADD = -lqseawk $(LIBM)
if ENABLE_CXX if ENABLE_CXX
bin_PROGRAMS += qseawk++ bin_PROGRAMS += qseawk++
qseawk___SOURCES = Awk.cpp qseawk___SOURCES = Awk.cpp
qseawk___LDFLAGS = -L../../lib/awk -L../../lib/utl qseawk___LDFLAGS = -L../../lib/awk
qseawk___LDADD = -lqseawk++ $(LIBM) qseawk___LDADD = -lqseawk++ $(LIBM)
endif endif

View File

@ -210,10 +210,10 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
AM_CPPFLAGS = -I$(top_srcdir)/include AM_CPPFLAGS = -I$(top_srcdir)/include
qseawk_SOURCES = awk.c qseawk_SOURCES = awk.c
qseawk_LDFLAGS = -L../../lib/awk -L../../lib/utl qseawk_LDFLAGS = -L../../lib/awk
qseawk_LDADD = -lqseawk $(LIBM) qseawk_LDADD = -lqseawk $(LIBM)
@ENABLE_CXX_TRUE@qseawk___SOURCES = Awk.cpp @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) @ENABLE_CXX_TRUE@qseawk___LDADD = -lqseawk++ $(LIBM)
all: all-am all: all-am

4
qse/configure vendored
View File

@ -1502,7 +1502,7 @@ Optional Features:
--enable-wchar use wchar_t a default charater type when enabled --enable-wchar use wchar_t a default charater type when enabled
(default. yes) (default. yes)
--enable-syscall use the syscall() function to call system calls --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-debug build the library in the debug mode (default. no)
--enable-objc build the library for Objective-C if an Objective-C --enable-objc build the library for Objective-C if an Objective-C
compiler is available (default. yes) compiler is available (default. yes)
@ -29084,7 +29084,7 @@ fi
if test "${enable_syscall+set}" = set; then if test "${enable_syscall+set}" = set; then
enableval=$enable_syscall; enable_syscall_is=$enableval enableval=$enable_syscall; enable_syscall_is=$enableval
else else
enable_syscall_is=no enable_syscall_is=yes
fi fi
if test "${enable_syscall_is}" = "yes" if test "${enable_syscall_is}" = "yes"

View File

@ -164,11 +164,11 @@ else
fi fi
AC_ARG_ENABLE([syscall], [AC_HELP_STRING([--enable-syscall], AC_ARG_ENABLE([syscall], [AC_HELP_STRING([--enable-syscall],
[use the syscall() function to call system calls (default. no)])], [use the syscall() function to call system calls (default. yes)])],
enable_syscall_is=$enableval,enable_syscall_is=no) enable_syscall_is=$enableval,enable_syscall_is=yes)
if test "${enable_syscall_is}" = "yes" if test "${enable_syscall_is}" = "yes"
then 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 fi
AC_ARG_ENABLE([debug], [AC_HELP_STRING([--enable-debug], AC_ARG_ENABLE([debug], [AC_HELP_STRING([--enable-debug],

View File

@ -249,7 +249,7 @@
/* sizeof(__int8) */ /* sizeof(__int8) */
#undef QSE_SIZEOF___INT8 #undef QSE_SIZEOF___INT8
/* use the syscall() function */ /* use the syscall() function to invoke a system call */
#undef QSE_USE_SYSCALL #undef QSE_USE_SYSCALL
/* package version */ /* package version */
@ -314,11 +314,3 @@
/* Version number of package */ /* Version number of package */
#undef VERSION #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