Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Tobias Leibner
dune-common
Commits
abbcbb38
Commit
abbcbb38
authored
15 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
test for empty command line params _after_ parsing the options, not before
[[Imported from SVN: r5723]]
parent
43b29cef
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
bin/dunecontrol
+14
-17
14 additions, 17 deletions
bin/dunecontrol
with
14 additions
and
17 deletions
bin/dunecontrol
+
14
−
17
View file @
abbcbb38
...
...
@@ -422,19 +422,8 @@ print_module_list() {
echo
-n
"
$(
eval echo
\$
NAME_
$1
)
"
}
if
test
"x
$1
"
=
"x"
;
then
usage
exit
1
fi
trap
onfailure EXIT
# clear command opts
#for i in $COMMANDS; do
# COMMAND=$(echo $i | tr '[:lower:]' '[:upper:]')
# export ${COMMAND}_FLAGS=""
#done
# clear variables
export
SEARCH_MODULES
=
""
export
MODULES
=
""
...
...
@@ -561,6 +550,12 @@ while test $# -gt 0; do
shift
done
# we assume there should be a command...
if
test
"x
$1
"
=
"x"
;
then
usage
exit
1
fi
while
test
$#
-gt
0
;
do
# get command
command
=
$1
...
...
@@ -648,10 +643,11 @@ m4_define([DUNE_AC_INIT],[
AC_SUBST([DUNE_MAINTAINER_NAME], [
$maintainer
])
DUNE_PARSE_MODULE_VERSION([
$name
], [
$version
])
# don't build shared libs per default, this is way better for debugging...
m4_ifdef([LT_INIT],
[LT_INIT([disable-shared])],
[AC_DEFUN([LT_OUTPUT])])
AC_DISABLE_SHARED
# m4_ifdef([LT_INIT],
# [LT_INIT([disable-shared])],
# [AC_DEFUN([LT_OUTPUT])])
# AC_DISABLE_SHARED
LT_INIT([disable-shared])
REQUIRES="
$requires
"
AC_SUBST(REQUIRES, [
$REQUIRES
])
...
...
@@ -662,9 +658,10 @@ AC_DEFUN([DUNE_CHECK_MOD_DEPENDENCIES], [
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CPP])
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_PROG_CXXCPP])
#
AC_REQUIRE([AC_PROG_CXXCPP])
AC_REQUIRE([AC_PROG_LIBTOOL])
m4_ifdef([AC_LIBTOOL_LANG_CXX_CONFIG],[AC_LIBTOOL_LANG_CXX_CONFIG])
# AC_REQUIRE([AC_LIBTOOL_LANG_CXX_CONFIG])
# m4_ifdef([],[AC_LIBTOOL_LANG_CXX_CONFIG])
EOF
### initialize AM_CONDITIONAL for suggestions that were not found
for
name
in
$(
eval echo
\$
SUGS_
$mainmod
)
;
do
...
...
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