Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
fontconfig
fontconfig
Commits
7ac6af66
Commit
7ac6af66
authored
Jan 09, 2018
by
Akira TAGOH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up
parent
94683a12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
74 deletions
+13
-74
autogen.sh
autogen.sh
+13
-72
configure.ac
configure.ac
+0
-2
No files found.
autogen.sh
View file @
7ac6af66
...
...
@@ -40,15 +40,10 @@ cd $srcdir
PROJECT
=
Fontconfig
TEST_TYPE
=
-f
FILE
=
fontconfig/fontconfig.h
ACLOCAL
=
${
ACLOCAL
-aclocal
}
ACLOCAL_FLAGS
=
"-I m4"
LIBTOOLIZE
=
${
LIBTOOLIZE
-libtoolize
}
AUTOMAKE
=
${
AUTOMAKE
-automake
}
AUTOHEADER
=
${
AUTOHEADER
-autoheader
}
AUTOCONF
=
${
AUTOCONF
-autoconf
}
AUTOPOINT
=
${
AUTOPOINT
-autopoint
}
AUTORECONF
=
${
AUTORECONF
-autoreconf
}
AUTORECONF_FLAGS
=
"-i"
GPERF
=
${
GPERF
-gperf
}
PYTHON
=
${
PYTHON
-python
}
LIBTOOLIZE_FLAGS
=
"--copy --force"
GETTEXTIZE
=
${
GETTEXTIZE
-gettextize
}
GETTEXTIZE_FLAGS
=
"--force --no-changelog"
...
...
@@ -62,14 +57,6 @@ DIE=0
DIE
=
1
}
(
$PYTHON
--version
)
< /dev/null
>
/dev/null 2>&1
||
{
echo
echo
"You must have python installed to compile
$PROJECT
."
echo
"Install the appropriate package for your distribution."
echo
"or get the source tarball at https://www.python.org/downloads/source/"
DIE
=
1
}
have_libtool
=
false
if
$LIBTOOLIZE
--version
< /dev/null
>
/dev/null 2>&1
;
then
libtool_version
=
`
$LIBTOOLIZE
--version
|
sed
's/^.* \([0-9][.][0-9.]*\)[^ ]*$/\1/'
`
...
...
@@ -93,37 +80,20 @@ fi
echo
"or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE
=
1
}
(
$AUTO
CONF
--version
)
< /dev/null
>
/dev/null 2>&1
||
{
(
$AUTO
POINT
--version
)
< /dev/null
>
/dev/null 2>&1
||
{
echo
echo
"You must have auto
conf
installed to compile
$PROJECT
."
echo
"
libtoo
l the appropriate package for your distribution,"
echo
"You must have auto
point
installed to compile
$PROJECT
."
echo
"
Instal
l the appropriate package for your distribution,"
echo
"or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE
=
1
}
have_automake
=
false
need_libtoolize
=
true
if
$AUTOMAKE
--version
< /dev/null
>
/dev/null 2>&1
;
then
automake_version
=
`
$AUTOMAKE
--version
|
grep
'automake (GNU automake)'
|
sed
's/^[^0-9]*\(.*\)/\1/'
`
case
$automake_version
in
1.2
*
|
1.3
*
|
1.4
)
;;
1.4
*
)
have_automake
=
true
need_libtoolize
=
false
;;
*
)
have_automake
=
true
;;
esac
fi
if
$have_automake
;
then
:
;
else
(
$AUTORECONF
--version
)
< /dev/null
>
/dev/null 2>&1
||
{
echo
echo
"You must have auto
make 1.4-p1
installed to compile
$PROJECT
."
echo
"
Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.4-p1.tar.gz
"
echo
"
(
or
a newer version if it is available)
"
echo
"You must have auto
reconf
installed to compile
$PROJECT
."
echo
"
Install the appropriate package for your distribution,
"
echo
"or
get the source tarball at ftp://ftp.gnu.org/pub/gnu/
"
DIE
=
1
fi
}
if
test
"
$DIE
"
-eq
1
;
then
exit
1
...
...
@@ -141,38 +111,9 @@ if test -z "$AUTOGEN_SUBDIR_MODE" -a -z "$NOCONFIGURE"; then
fi
fi
[
-f
configure.ac~
]
&&
rm
configure.ac~
[
-f
Makefile.am~
]
&&
rm
Makefile.am~
echo
Running
$GETTEXTIZE
$GETTEXTIZE_FLAGS
$GETTEXTIZE
$GETTEXTIZE_FLAGS
# revert changes from gettextize for workaround...
[
-f
configure.ac~
]
&&
mv
configure.ac~ configure.ac
[
-f
Makefile.am~
]
&&
mv
Makefile.am~ Makefile.am
echo
Running
$GETTEXTIZE
$GETTEXTIZE_FLAGS
--po-dir
=
po-conf
$GETTEXTIZE
$GETTEXTIZE_FLAGS
--po-dir
=
po-conf
[
-f
configure.ac~
]
&&
mv
configure.ac~ configure.ac
[
-f
Makefile.am~
]
&&
mv
Makefile.am~ Makefile.am
echo
Running
$ACLOCAL
$ACLOCAL_FLAGS
$ACLOCAL
$ACLOCAL_FLAGS
# optionally run autoheader
if
$AUTOHEADER
--version
< /dev/null
>
/dev/null 2>&1
;
then
echo
Running
$AUTOHEADER
$AUTOHEADER
fi
case
$need_libtoolize
in
true
)
echo
Running
$LIBTOOLIZE
$LIBTOOLIZE_FLAGS
$LIBTOOLIZE
$LIBTOOLIZE_FLAGS
;;
esac
echo
Running
$AUTORECONF
$AUTORECONF_FLAGS
$AUTORECONF
$AUTORECONF_FLAGS
echo
Running
$AUTOMAKE
-a
$am_opt
$AUTOMAKE
-a
$am_opt
echo
Running
$AUTOCONF
$AUTOCONF
cd
$ORIGDIR
if
test
-z
"
$AUTOGEN_SUBDIR_MODE
"
-a
-z
"
$NOCONFIGURE
"
;
then
...
...
configure.ac
View file @
7ac6af66
...
...
@@ -53,8 +53,6 @@ m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], AC_SUBST([pkgconfigdir], ${libdir}/
AM_MISSING_PROG([GIT], [git])
AM_MISSING_PROG([GPERF], [gperf])
AM_PATH_PYTHON(,, [:])
AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
AC_MSG_CHECKING([for RM macro])
_predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
...
...
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