Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
cpp-libs
libnice
Commits
1493a381
Commit
1493a381
authored
Mar 01, 2016
by
Philip Withnall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Update autogen.sh from GNOME template
https://wiki.gnome.org/Projects/GnomeCommon/Migration#autogen.sh
parent
bc620c0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
23 deletions
+34
-23
autogen.sh
autogen.sh
+34
-23
No files found.
autogen.sh
View file @
1493a381
#!/bin/sh
set
-e
test
-
d
m4
||
mkdir
m4
gtkdocize
||
exit
1
autoreconf
-fi
# Honor NOCONFIGURE for compatibility with gnome-autogen.sh
if
test
x
"
$NOCONFIGURE
"
=
x
;
then
run_configure
=
true
for
arg
in
$*
;
do
case
$arg
in
--no-configure
)
run_configure
=
false
;;
*
)
;;
esac
done
else
run_configure
=
false
# Run this to generate all the initial makefiles, etc.
test
-n
"
$srcdir
"
||
srcdir
=
$(
dirname
"
$0
"
)
test
-
n
"
$srcdir
"
||
srcdir
=
.
olddir
=
$(
pwd
)
cd
$srcdir
(
test
-f
configure.ac
)
||
{
echo
"*** ERROR: Directory '
$srcdir
' does not look like the top-level project directory ***"
exit
1
}
# shellcheck disable=SC2016
PKG_NAME
=
$(
autoconf
--trace
'AC_INIT:$1'
configure.ac
)
if
[
"$#"
=
0
-a
"x
$NOCONFIGURE
"
=
"x"
]
;
then
echo
"*** WARNING: I am going to run 'configure' with no arguments."
>
&2
echo
"*** If you wish to pass any to it, please specify them on the"
>
&2
echo
"*** '
$0
' command line."
>
&2
echo
""
>
&2
fi
if
test
$run_configure
=
true
;
then
./configure
"
$@
"
aclocal
--install
||
exit
1
gtkdocize
--copy
||
exit
1
autoreconf
--verbose
--force
--install
||
exit
1
cd
"
$olddir
"
if
[
"
$NOCONFIGURE
"
=
""
]
;
then
$srcdir
/configure
"
$@
"
||
exit
1
if
[
"
$1
"
=
"--help"
]
;
then
exit
0
else
echo
"Now type 'make' to compile
$PKG_NAME
"
||
exit
1
fi
else
echo
"Skipping configure process."
fi
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