Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
f6c337ce
Commit
f6c337ce
authored
26 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Now defaults to using poll(2) on Solaris, AIX, HP-UX, OSF1 and IRIX.
Rev: src/configure.in:1.243
parent
dd425bf7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/configure.in
+67
-56
67 additions, 56 deletions
src/configure.in
with
67 additions
and
56 deletions
src/configure.in
+
67
−
56
View file @
f6c337ce
AC_REVISION("$Id: configure.in,v 1.24
2
1998/09/29 19:
3
2:2
4
grubba Exp $")
AC_REVISION("$Id: configure.in,v 1.24
3
1998/09/29 19:
5
2:
5
2 grubba Exp $")
AC_INIT(interpret.c)
AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h)
AC_CONFIG_HEADER(machine.h)
...
@@ -104,63 +104,8 @@ SMARTLINK="`echo $CC| sed -e 's/smartlink.*/smartlink/'`"
...
@@ -104,63 +104,8 @@ SMARTLINK="`echo $CC| sed -e 's/smartlink.*/smartlink/'`"
AC_SUBST(SMARTLINK)
AC_SUBST(SMARTLINK)
export REALCC SMARTLINK
export REALCC SMARTLINK
#############################################################################
#############################################################################
AC_ARG_WITH(dynamic_modules, [ --without-dynamic-modules link modules statically],[],[with_dynamic_modules=yes])
AC_ARG_WITH(include-path,[ --with-include-path A list of paths to search for include files.])
AC_ARG_WITH(lib-path, [ --with-lib-path A list of paths to search for libraries.])
AC_ARG_WITH(gdbm, [ --without-gdbm no GNU database manager support ])
AC_ARG_WITH(gmp, [ --without-gmp no Support bignums])
AC_ARG_WITH(readline, [ --without-readline no support for command line editing])
AC_ARG_WITH(debug, [ --without-debug disable run debugging],[],[with_debug=])
AC_ARG_WITH(rtldebug, [ --without-rtldebug disable run time self tests],[],[with_rtldebug=])
AC_ARG_WITH(cdebug, [ --without-cdebug disable -g],[],[with_cdebug=])
AC_ARG_WITH(threads, [ --without-threads no threads support],[],[with_threads=yes])
AC_ARG_WITH(zlib, [ --without-zlib no gz compression support],[],[with_zlib=yes])
AC_ARG_WITH(ssleay, [ --without-ssleay no support for the secure socket protocol],[],[with_ssleay=yes])
AC_ARG_WITH(mysql, [ --without-mysql no support for the Mysql database],[],[with_mysql=yes])
AC_ARG_WITH(dmalloc, [ --with-dmalloc enable memory-leak tests],[AC_DEFINE(DEBUG_MALLOC,10)],[])
AC_ARG_WITH(profiling, [ --with-profiling add code used to profile pike code ],[AC_DEFINE(PROFILING)],[])
AC_ARG_WITH(poll, [ --with-poll use poll instead of select],[AC_DEFINE(HAVE_AND_USE_POLL)],[])
AC_ARG_WITH(max-fd, [ --with-max-fd=X set how many filedescriptors can be used at once],[pike_cv_max_open_fd=$withval],[])
AC_ARG_WITH(oob, [ --with-oob enable out-of-band data handling],[AC_DEFINE(WITH_OOB)],[])
AC_ARG_WITH(thread-trace,[ --with-trace-threads enable individual tracing of threads],[AC_DEFINE(TRACE_THREADS)],[])
AC_ARG_WITH(compiler-trace,[ --with-compiler-trace enable tracing of the compiler],[AC_DEFINE(YYDEBUG)],[])
#
# Allow --with(out)-debug to toggle both cdebug and rtldebug, but
# let --with(out)-{c,rtl}debug take precedence.
#
if test "x$with_cdebug" = x ; then
with_cdebug="$with_debug"
fi
if test "x$with_rtldebug" = x ; then
with_rtldebug="$with_debug"
fi
#
# Defaults for cdebug and rtldebug here:
#
if test "x$with_cdebug" = x ; then
with_cdebug=yes
fi
if test "x$with_rtldebug" = x ; then
with_rtldebug=yes
fi
if test "x$with_rtldebug" = xyes ; then
AC_DEFINE(DEBUG)
fi
#############################################################################
AC_AIX
AC_AIX
AC_MINIX
AC_MINIX
...
@@ -219,6 +164,72 @@ AC_SUBST(LD)
...
@@ -219,6 +164,72 @@ AC_SUBST(LD)
#############################################################################
#############################################################################
AC_ARG_WITH(dynamic_modules, [ --without-dynamic-modules link modules statically],[],[with_dynamic_modules=yes])
AC_ARG_WITH(include-path,[ --with-include-path A list of paths to search for include files.])
AC_ARG_WITH(lib-path, [ --with-lib-path A list of paths to search for libraries.])
AC_ARG_WITH(gdbm, [ --without-gdbm no GNU database manager support ])
AC_ARG_WITH(gmp, [ --without-gmp no Support bignums])
AC_ARG_WITH(readline, [ --without-readline no support for command line editing])
AC_ARG_WITH(debug, [ --without-debug disable run debugging],[],[with_debug=])
AC_ARG_WITH(rtldebug, [ --without-rtldebug disable run time self tests],[],[with_rtldebug=])
AC_ARG_WITH(cdebug, [ --without-cdebug disable -g],[],[with_cdebug=])
AC_ARG_WITH(threads, [ --without-threads no threads support],[],[with_threads=yes])
AC_ARG_WITH(zlib, [ --without-zlib no gz compression support],[],[with_zlib=yes])
AC_ARG_WITH(ssleay, [ --without-ssleay no support for the secure socket protocol],[],[with_ssleay=yes])
AC_ARG_WITH(mysql, [ --without-mysql no support for the Mysql database],[],[with_mysql=yes])
AC_ARG_WITH(dmalloc, [ --with-dmalloc enable memory-leak tests],[AC_DEFINE(DEBUG_MALLOC,10)],[])
AC_ARG_WITH(profiling, [ --with-profiling add code used to profile pike code ],[AC_DEFINE(PROFILING)],[])
AC_ARG_WITH(poll, [ --with-poll use poll instead of select],[],[
# Neither --with-poll nor --without-poll specified
case "x$pike_cv_sys_os" in
Solaris|AIX|HP-UX|OSF1|IRIX)
AC_MSG_WARN([Defaulting to --with-poll since OS is $pike_cv_sys_os.])
with_poll=yes;
;;
esac
])
AC_ARG_WITH(max-fd, [ --with-max-fd=X set how many filedescriptors can be used at once],[pike_cv_max_open_fd=$withval],[])
AC_ARG_WITH(oob, [ --with-oob enable out-of-band data handling],[AC_DEFINE(WITH_OOB)],[])
AC_ARG_WITH(thread-trace,[ --with-trace-threads enable individual tracing of threads],[AC_DEFINE(TRACE_THREADS)],[])
AC_ARG_WITH(compiler-trace,[ --with-compiler-trace enable tracing of the compiler],[AC_DEFINE(YYDEBUG)],[])
if test "x$with_poll" = "xyes"; then
AC_DEFINE(HAVE_AND_USE_POLL)
else :; fi
#
# Allow --with(out)-debug to toggle both cdebug and rtldebug, but
# let --with(out)-{c,rtl}debug take precedence.
#
if test "x$with_cdebug" = x ; then
with_cdebug="$with_debug"
fi
if test "x$with_rtldebug" = x ; then
with_rtldebug="$with_debug"
fi
#
# Defaults for cdebug and rtldebug here:
#
if test "x$with_cdebug" = x ; then
with_cdebug=yes
fi
if test "x$with_rtldebug" = x ; then
with_rtldebug=yes
fi
if test "x$with_rtldebug" = xyes ; then
AC_DEFINE(DEBUG)
fi
#############################################################################
# option, cache_name, variable
# option, cache_name, variable
AC_DEFUN(AC_SYS_COMPILER_FLAG,
AC_DEFUN(AC_SYS_COMPILER_FLAG,
[
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment