Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
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
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
Sander, Oliver
dune-gfe
Commits
81e5f609
Commit
81e5f609
authored
16 years ago
by
Oliver Sander
Committed by
sander@PCPOOL.MI.FU-BERLIN.DE
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
obsolete
[[Imported from SVN: r2612]]
parent
b0b2f41f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
autogen.sh
+0
-102
0 additions, 102 deletions
autogen.sh
with
0 additions
and
102 deletions
autogen.sh
deleted
100755 → 0
+
0
−
102
View file @
b0b2f41f
#!/bin/sh
# : duneproject 4749 2006-10-19 16:31:22Z christi $
# barf on errors
set
-e
usage
()
{
echo
"Usage: ./autogen.sh [options]"
echo
" --ac=, --acversion=VERSION use a specific VERSION of autoconf"
echo
" --am=, --amversion=VERSION use a specific VERSION of automake"
echo
" -h, --help you already found this :-)"
}
for
OPT
in
"
$@
"
;
do
set
+e
# stolen from configure...
# when no option is set, this returns an error code
arg
=
`
expr
"x
$OPT
"
:
'x[^=]*=\(.*\)'
`
set
-e
case
"
$OPT
"
in
--ac
=
*
|
--acversion
=
*
)
if
test
"x
$arg
"
=
"x"
;
then
usage
;
exit
1
;
fi
ACVERSION
=
$arg
;;
--am
=
*
|
--amversion
=
*
)
if
test
"x
$arg
"
=
"x"
;
then
usage
;
exit
1
;
fi
AMVERSION
=
$arg
;;
-h
|
--help
)
usage
;
exit
0
;;
*
)
if
test
-d
"
$OPT
/m4"
;
then
ACLOCAL_FLAGS
=
"
$ACLOCAL_FLAGS
-I
$OPT
/m4"
fi
if
test
-d
"/share/aclocal"
;
then
ACLOCAL_FLAGS
=
" -I /share/aclocal"
fi
if
test
-d
"
$OPT
/am"
;
then
am_dir
=
"
$OPT
/am"
fi
PATH
=
$PATH
:
$OPT
/bin
;;
esac
done
## report parameters
if
test
"x
$ACVERSION
"
!=
"x"
;
then
echo
"Forcing autoconf version
$ACVERSION
"
if
!
which autoconf
$ACVERSION
>
/dev/null
;
then
echo
echo
"Error: Could not find autoconf
$ACVERSION
"
echo
" Did you specify a wrong version?"
exit
1
fi
fi
if
test
"x
$AMVERSION
"
!=
"x"
;
then
echo
"Forcing automake version
$AMVERSION
"
if
!
which automake
$AMVERSION
>
/dev/null
;
then
echo
echo
"Error: Could not find automake
$AMVERSION
"
echo
" Did you specify a wrong version?"
exit
1
fi
fi
## run autotools
echo
"--> libtoolize..."
# this script won't rewrite the files if they already exist. This is a
# PITA when you want to upgrade libtool, thus I'm setting --force
libtoolize
--force
# prepare everything
echo
"--> aclocal..."
aclocal
$AMVERSION
$ACLOCAL_FLAGS
# applications should provide a config.h for now
echo
"--> autoheader..."
autoheader
$ACVERSION
# create a link to the dune-common am directory
echo
"--> linking dune-common/am..."
rm
-f
am
ln
-s
$am_dir
am
# call automake/conf
echo
"--> automake..."
automake
$AMVERSION
--add-missing
echo
"--> autoconf..."
autoconf
$ACVERSION
## tell the user what to do next
echo
"Now run ./configure "
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