Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a20c0e12
Commit
a20c0e12
authored
May 21, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Make the lack of FreeType an error, and add a --without option for it.
parent
76adea11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
18 deletions
+26
-18
configure
configure
+22
-9
configure.ac
configure.ac
+4
-9
No files found.
configure
View file @
a20c0e12
...
...
@@ -1387,6 +1387,7 @@ Optional Packages:
--without-curses do not use (n)curses
--without-esd do not use the EsounD sound support
--without-fontconfig do not use fontconfig
--without-freetype do not use the FreeType library
--without-gphoto do not use gphoto (Digital Camera support)
--without-glu do not use the GLU library
--without-hal do not use HAL (dynamic device support)
...
...
@@ -1967,6 +1968,12 @@ if test "${with_fontconfig+set}" = set; then
fi
# Check whether --with-freetype was given.
if
test
"
${
with_freetype
+set
}
"
=
set
;
then
withval
=
$with_freetype
;
fi
# Check whether --with-gphoto was given.
if
test
"
${
with_gphoto
+set
}
"
=
set
;
then
withval
=
$with_gphoto
;
...
...
@@ -13866,7 +13873,7 @@ fi
done
test
-n
"
$ft_devel
"
||
ft_devel
=
"false"
if
test
"
$ft_devel
"
!=
"false"
if
test
"
$ft_devel
"
!=
"false"
-a
"x
$with_freetype
"
!=
"xno"
then
ac_freetype_libs
=
`
$ft_devel
--libs
`
ac_freetype_incl
=
`
$ft_devel
--cflags
`
...
...
@@ -14245,19 +14252,25 @@ _ACEOF
FREETYPEINCL
=
"
$ac_freetype_incl
"
FONTSSUBDIRS
=
"fonts"
fi
fi
fi
if
test
"x
$FREETYPELIBS
"
=
"x"
then
wine_warnings
=
"
$wine_warnings
|FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned."
else
FONTSSUBDIRS
=
"fonts"
if
test
"x
$FREETYPELIBS
"
=
"x"
;
then
case
"x
$with_freetype
"
in
xno
)
;;
*
)
{
{
echo
"
$as_me
:
$LINENO
: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this."
>
&5
echo
"
$as_me
: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
;;
esac
fi
{
echo
"
$as_me
:
$LINENO
: checking for parport header/ppdev.h"
>
&5
echo
$ECHO_N
"checking for parport header/ppdev.h...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_c_ppdev
+set
}
"
=
set
;
then
...
...
configure.ac
View file @
a20c0e12
...
...
@@ -34,6 +34,7 @@ AC_ARG_WITH(curses, AS_HELP_STRING([--without-curses],[do not use (n)curses])
AC_ARG_WITH(esd, AS_HELP_STRING([--without-esd],[do not use the EsounD sound support]))
AC_ARG_WITH(fontconfig,AS_HELP_STRING([--without-fontconfig],[do not use fontconfig]),
[if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi])
AC_ARG_WITH(freetype, AS_HELP_STRING([--without-freetype],[do not use the FreeType library]))
AC_ARG_WITH(gphoto, AS_HELP_STRING([--without-gphoto],[do not use gphoto (Digital Camera support)]))
AC_ARG_WITH(glu, AS_HELP_STRING([--without-glu],[do not use the GLU library]),
[if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi])
...
...
@@ -974,7 +975,7 @@ WINE_NOTICE_WITH(ldap,[test "x$LDAPLIBS" = "x"],
dnl **** Check for FreeType 2 ****
AC_CHECK_PROGS(ft_devel,[freetype-config freetype2-config],false)
if test "$ft_devel" != "false"
if test "$ft_devel" != "false"
-a "x$with_freetype" != "xno"
then
ac_freetype_libs=`$ft_devel --libs`
ac_freetype_incl=`$ft_devel --cflags`
...
...
@@ -1014,18 +1015,12 @@ then
AC_DEFINE(HAVE_FREETYPE, 1, [Define if FreeType 2 is installed])
AC_SUBST(FREETYPELIBS,"$ac_freetype_libs")
AC_SUBST(FREETYPEINCL,"$ac_freetype_incl")
AC_SUBST(FONTSSUBDIRS,"fonts")
fi
fi
fi
dnl Only build the fonts dir if we have freetype
if test "x$FREETYPELIBS" = "x"
then
WINE_WARNING([FreeType development files not found.
WINE_ERROR_WITH(freetype,[test "x$FREETYPELIBS" = "x"],[FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.])
else
AC_SUBST(FONTSSUBDIRS,"fonts")
fi
dnl **** Check for parport (currently Linux only) ****
AC_CACHE_CHECK([for parport header/ppdev.h], ac_cv_c_ppdev,
...
...
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