Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
src
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
H5hut
src
Commits
339c8640
Commit
339c8640
authored
Aug 04, 2011
by
gsell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix problems with autogen.sh on ScientificLinux 5 and new autotools
parent
d2a55f9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
23 deletions
+22
-23
autogen.sh
autogen.sh
+22
-23
No files found.
autogen.sh
View file @
339c8640
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
ACLOCAL_FLAGS
=
"-I m4
$ACLOCAL_FLAGS
"
LIBTOOLIZE_FLAGS
=
"--force
$LIBTOOLIZE_FLAGS
"
AUTOMAKE_FLAGS
=
"--add-missing --copy --foreign
$AUTOMAKE_FLAGS
"
LIBTOOLIZE
=
`
which libtoolize
`
if
[
"
$LIBTOOLIZE
"
=
""
]
;
then
LIBTOOLIZE
=
`
which glibtoolize
`
LIBTOOLIZE
=
`
which glibtoolize
`
fi
if
[
"
$LIBTOOLIZE
"
=
""
]
;
then
echo
"libtoolize not found"
1>&2
exit
1
echo
"libtoolize not found"
1>&2
exit
1
fi
echo
"+ making misc files ..."
touch
NEWS README AUTHORS ChangeLog
echo
libtoolize
$LIBTOOLIZE_FLAGS
||
{
echo
"libtoolize failed"
exit
1
}
echo
echo
"+ running aclocal ..."
aclocal
$ACLOCAL_FLAGS
||
{
echo
echo
"aclocal failed - check that all needed development files are present on system"
exit
1
echo
"aclocal failed - check that all needed development files are present on system"
exit
1
}
echo
echo
"+ running autoheader ... "
autoheader
||
{
echo
echo
"autoheader failed"
exit
1
}
echo
echo
"+ running libtoolize ... "
$LIBTOOLIZE
--force
||
{
echo
echo
"libtoolize failed"
exit
1
echo
"autoheader failed"
exit
1
}
echo
echo
"+ running autoconf ... "
autoconf
||
{
echo
echo
"autoconf failed"
exit
1
echo
"autoconf failed"
exit
1
}
echo
echo
"+ running automake ... "
automake
-a
-c
--foreign
||
{
echo
echo
"automake failed"
exit
1
automake
$AUTOMAKE_FLAGS
||
{
echo
"automake failed"
exit
1
}
Write
Preview
Markdown
is supported
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