Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
78f2275f
Commit
78f2275f
authored
Mar 05, 2002
by
Leigh B. Stoller
Browse files
Turn event system on by default. Use --disable-events to not build it.
parent
916741c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
78f2275f
...
...
@@ -28,7 +28,6 @@ ac_help="$ac_help
--enable-debug Build with debug flags (-g -DDEBUG)
--disable-debug Build with optimization flags (-O2 -DNDEBUG -UDEBUG)"
ac_help
=
"
$ac_help
--enable-events Enable event system (default off)
--disable-events Disable events (requires Elvin libraries)"
ac_help
=
"
$ac_help
--enable-testmode Enable test mode
...
...
@@ -572,7 +571,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
echo
$ac_n
"checking host system type""...
$ac_c
"
1>&6
echo
"configure:57
6
: checking host system type"
>
&5
echo
"configure:57
5
: checking host system type"
>
&5
host_alias
=
$host
case
"
$host_alias
"
in
...
...
@@ -593,7 +592,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo
"
$ac_t
""
$host
"
1>&6
echo
$ac_n
"checking build system type""...
$ac_c
"
1>&6
echo
"configure:59
7
: checking build system type"
>
&5
echo
"configure:59
6
: checking build system type"
>
&5
build_alias
=
$build
case
"
$build_alias
"
in
...
...
@@ -619,7 +618,7 @@ fi
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:62
3
: checking for
$ac_word
"
>
&5
echo
"configure:62
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -651,7 +650,7 @@ fi
# Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
g++
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:65
5
: checking for
$ac_word
"
>
&5
echo
"configure:65
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CXX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -683,7 +682,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
ar
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:68
7
: checking for
$ac_word
"
>
&5
echo
"configure:68
6
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_AR
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -715,7 +714,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:71
9
: checking for
$ac_word
"
>
&5
echo
"configure:71
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -747,7 +746,7 @@ fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
strip
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:75
1
: checking for
$ac_word
"
>
&5
echo
"configure:75
0
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_STRIP
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -779,7 +778,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ssh", so it can be a program name with args.
set
dummy
${
ac_tool_prefix
}
ssh
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:78
3
: checking for
$ac_word
"
>
&5
echo
"configure:78
2
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_SSH
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1057,7 +1056,7 @@ fi
#
#
En
able event system. Relies on Elvin. O
ff
by default.
#
Dis
able event system. Relies on Elvin. O
n
by default.
#
# Check whether --enable-events or --disable-events was given.
if
test
"
${
enable_events
+set
}
"
=
set
;
then
...
...
@@ -1066,16 +1065,17 @@ if test "${enable_events+set}" = set; then
fi
if
test
"
$enable_events
"
=
"yes"
;
then
if
test
"
$enable_events
"
=
"no"
;
then
eventfiles
=
""
;
EVENTSYS
=
0
;
else
eventfiles
=
"event/GNUmakefile event/lib/GNUmakefile
\
event/sched/GNUmakefile event/test/GNUmakefile
\
event/tbgen/GNUmakefile event/tbgen/tevd.restart
\
event/example/GNUmakefile event/trafgen/GNUmakefile"
;
event/example/GNUmakefile event/trafgen/GNUmakefile
\
event/delay-agent/GNUmakefile"
;
optional_subdirs
=
"
$optional_subdirs
event"
;
EVENTSYS
=
1
;
else
eventfiles
=
""
;
EVENTSYS
=
0
;
fi
...
...
@@ -1219,9 +1219,10 @@ outfiles="$outfiles Makeconf GNUmakefile \
utils/GNUmakefile utils/vlandiff utils/vlansync utils/delay_config
\
utils/sshtb utils/create_image utils/node_admin utils/webcreateimage
\
www/GNUmakefile www/defs.php3 www/dbdefs.php3
\
vis/GNUmakefile vis/vistopology vis/webvistopology vis/top2gif vis/top2png vis/render
\
vis/GNUmakefile vis/vistopology vis/webvistopology vis/top2gif
\
vis/top2png vis/render
\
rc.d/GNUmakefile rc.d/2.mysql-server.sh rc.d/3.testbed.sh
\
rc.d/cvsupd.sh
\
rc.d/cvsupd.sh
rc.d/2.elvind.sh
\
$eventfiles
\
apache/GNUmakefile apache/apache.conf "
...
...
configure.in
View file @
78f2275f
...
...
@@ -198,22 +198,22 @@ fi
AC_SUBST(OPT_CFLAGS)
#
#
En
able event system. Relies on Elvin. O
ff
by default.
#
Dis
able event system. Relies on Elvin. O
n
by default.
#
AC_ARG_ENABLE(events,
[ --enable-events Enable event system (default off)
--disable-events Disable events (requires Elvin libraries)])
[ --disable-events Disable events (requires Elvin libraries)])
if test "$enable_events" = "yes"; then
if test "$enable_events" = "no"; then
eventfiles="";
EVENTSYS=0;
else
eventfiles="event/GNUmakefile event/lib/GNUmakefile \
event/sched/GNUmakefile event/test/GNUmakefile \
event/tbgen/GNUmakefile event/tbgen/tevd.restart \
event/example/GNUmakefile event/trafgen/GNUmakefile";
event/example/GNUmakefile event/trafgen/GNUmakefile \
event/delay-agent/GNUmakefile";
optional_subdirs="$optional_subdirs event";
EVENTSYS=1;
else
eventfiles="";
EVENTSYS=0;
fi
AC_SUBST(EVENTSYS)
...
...
@@ -291,9 +291,10 @@ outfiles="$outfiles Makeconf GNUmakefile \
utils/GNUmakefile utils/vlandiff utils/vlansync utils/delay_config \
utils/sshtb utils/create_image utils/node_admin utils/webcreateimage \
www/GNUmakefile www/defs.php3 www/dbdefs.php3 \
vis/GNUmakefile vis/vistopology vis/webvistopology vis/top2gif vis/top2png vis/render \
vis/GNUmakefile vis/vistopology vis/webvistopology vis/top2gif \
vis/top2png vis/render \
rc.d/GNUmakefile rc.d/2.mysql-server.sh rc.d/3.testbed.sh \
rc.d/cvsupd.sh \
rc.d/cvsupd.sh
rc.d/2.elvind.sh
\
$eventfiles \
apache/GNUmakefile apache/apache.conf "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment