Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
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
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
c1d523c7
Commit
c1d523c7
authored
7 years ago
by
Joshua Colp
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "BuildSystem: Use single bootstrap.sh for Asterisk and menuselect."
parents
7baaed0d
525c0251
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bootstrap.sh
+12
-5
12 additions, 5 deletions
bootstrap.sh
menuselect/bootstrap.sh
+0
-41
0 additions, 41 deletions
menuselect/bootstrap.sh
with
12 additions
and
46 deletions
bootstrap.sh
+
12
−
5
View file @
c1d523c7
...
...
@@ -44,11 +44,18 @@ check_for_app autoheader${MY_AC_VER}
check_for_app automake
${
MY_AM_VER
}
check_for_app aclocal
${
MY_AM_VER
}
echo
"Generating the configure script ..."
gen_configure
()
{
echo
"Generating the configure script for
$1
..."
shift
aclocal
${
MY_AM_VER
}
-I
autoconf
`
find third-party
-maxdepth
1
-type
d | xargs
-I
{}
echo
-I
{}
`
autoconf
${
MY_AC_VER
}
autoheader
${
MY_AC_VER
}
automake
${
MY_AM_VER
}
--add-missing
--copy
2>/dev/null
aclocal
${
MY_AM_VER
}
-I
"
$@
"
autoconf
${
MY_AC_VER
}
autoheader
${
MY_AC_VER
}
automake
${
MY_AM_VER
}
--add-missing
--copy
2>/dev/null
}
gen_configure
"Asterisk"
autoconf
`
find third-party
-maxdepth
1
-type
d | xargs
-I
{}
echo
-I
{}
`
cd
menuselect
gen_configure
"menuselect"
../autoconf
exit
0
This diff is collapsed.
Click to expand it.
menuselect/bootstrap.sh
deleted
100755 → 0
+
0
−
41
View file @
7baaed0d
#!/bin/sh
check_for_app
()
{
$1
--version
2>&1
>
/dev/null
if
[
$?
!=
0
]
then
echo
"Please install
$1
and run bootstrap.sh again!"
exit
1
fi
}
uname
-s
|
grep
-q
FreeBSD
if
[
$?
=
0
]
then
check_for_app autoconf259
check_for_app autoheader259
check_for_app automake19
check_for_app aclocal19
echo
"Generating the configure script ..."
aclocal19
-I
../autoconf 2>/dev/null
autoconf259
autoheader259
automake19
--add-missing
--copy
2>/dev/null
else
AUTOCONF_VERSION
=
2.59
AUTOMAKE_VERSION
=
1.9
export
AUTOCONF_VERSION
export
AUTOMAKE_VERSION
check_for_app autoconf
check_for_app autoheader
check_for_app automake
check_for_app aclocal
echo
"Generating the configure script ..."
aclocal
-I
../autoconf 2>/dev/null
autoconf
autoheader
automake
--add-missing
--copy
2>/dev/null
fi
exit
0
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