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
#!/bin/sh
set
-e
# Run this to generate all the initial makefiles, etc.
test
-n
"
$srcdir
"
||
srcdir
=
$(
dirname
"
$0
"
)
test
-
d
m4
||
mkdir
m4
test
-
n
"
$srcdir
"
||
srcdir
=
.
gtkdocize
||
exit
1
olddir
=
$(
pwd
)
autoreconf
-fi
cd
$srcdir
# Honor NOCONFIGURE for compatibility with gnome-autogen.sh
if
test
x
"
$NOCONFIGURE
"
=
x
;
then
(
test
-f
configure.ac
)
||
{
run_configure
=
true
echo
"*** ERROR: Directory '
$srcdir
' does not look like the top-level project directory ***"
for
arg
in
$*
;
do
exit
1
case
$arg
in
}
--no-configure
)
run_configure
=
false
# shellcheck disable=SC2016
;;
PKG_NAME
=
$(
autoconf
--trace
'AC_INIT:$1'
configure.ac
)
*
)
;;
if
[
"$#"
=
0
-a
"x
$NOCONFIGURE
"
=
"x"
]
;
then
esac
echo
"*** WARNING: I am going to run 'configure' with no arguments."
>
&2
done
echo
"*** If you wish to pass any to it, please specify them on the"
>
&2
else
echo
"*** '
$0
' command line."
>
&2
run_configure
=
false
echo
""
>
&2
fi
fi
if
test
$run_configure
=
true
;
then
aclocal
--install
||
exit
1
./configure
"
$@
"
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
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