Subversion Repositories Scribus

Rev

Rev 2789 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2507 craig 1
dnl We have to check for libjpeg here, since the KDE magic looks for it *after*
2
dnl the body of configure.in.in has run.
3
if test -z "$LIBJPEG"; then
4
	libmissing jpeg required
5
	AC_MSG_ERROR([You need libjpeg to compile Scribus. See the BUILDING file.])
6
fi
7
 
1635 craig 8
echo
779 fschmid 9
echo "Configuration Summary:"
1635 craig 10
echo
11
 
2405 craig 12
if test -n "${missing_libs}" ; then
13
	# Summarize all missing optional libs, and give a short message about what to do
14
	# about it.
15
	echo "One or more libraries could not be found."
16
	echo "${libmissing_text}"
17
	echo "The missing libraries are: ${missing_libs}"
18
	echo "These are optional libraries, but if in doubt you should install"
19
	echo "them to ensure the full features of Scribus are available to you."
20
	echo
21
fi
22
 
1635 craig 23
FORMAT="   %-25s"
24
 
25
echo "Libraries:"
26
printf "${FORMAT}" "Freetype2 installed: "
27
if test "$hafree" = yes; then
2312 craig 28
	if test "$hafree_post219" = yes; then
1635 craig 29
		echo "Yes"
1599 craig 30
	else
2312 craig 31
		echo "Too old; Version 2.1.9 STRONGLY recommended"
1599 craig 32
	fi
779 fschmid 33
else
1635 craig 34
	echo "No"
779 fschmid 35
fi
1635 craig 36
 
37
printf "${FORMAT}" "Fontconfig found: "
38
if test "$hafontconfig" = yes; then
39
	echo "Yes"
1592 craig 40
else
1635 craig 41
	echo "No"
1592 craig 42
fi
1635 craig 43
 
44
printf "${FORMAT}" "CUPS installed: "
45
if test "$hacups" = yes; then
46
	echo "Yes"
779 fschmid 47
else
1635 craig 48
	echo "No"
779 fschmid 49
fi
1635 craig 50
 
51
printf "${FORMAT}" "LittleCMS installed: "
52
if test "$hacms" = yes; then
53
	echo "Yes"
54
elif test "$hacms" = pre112; then
55
	echo "Too old; Version 1.12 or newer required"
779 fschmid 56
else
1635 craig 57
	echo "No"
779 fschmid 58
fi
1635 craig 59
 
60
printf "${FORMAT}" "libtiff installed: "
61
if test "$hastif" = yes; then
62
	echo "Yes"
63
elif test "$hastif" = pre36; then
64
	echo "Too old; Version 3.6.0 or newer required"
1582 craig 65
else
1635 craig 66
	echo "No"
779 fschmid 67
fi
1635 craig 68
 
69
printf "${FORMAT}" "Libxml2 installed: "
70
if test "$haxml" = yes; then
2314 craig 71
	if test "$haxml26" = "yes"; then
72
		echo "Yes"
73
	else
74
		echo "Yes (old); LibXML 2.6.0 or newer may be required soon."
75
	fi
779 fschmid 76
else
2314 craig 77
	echo "No; LibXML 2.6.0 or newer may be required soon."
779 fschmid 78
fi
1635 craig 79
 
2511 craig 80
printf "${FORMAT}" "Python installed: "
81
if test "${COMPILE_PYTHON}" = yes; then
82
	echo "Yes"
83
else
2513 craig 84
	echo "No (or too old - 2.3 required)"
2511 craig 85
fi
86
 
2409 craig 87
echo "Configuration options:"
88
 
89
printf "${FORMAT}" "Debugging enabled: "
90
if test "$COMPILE_DEBUG" = yes; then
91
	echo "Yes"
92
else
93
	echo "No"
94
fi
3113 fschmid 95
printf "${FORMAT}" "cairo enabled: "
96
if test "$hacairo" = yes; then
97
	echo "Yes"
98
else
99
	echo "No"
100
fi
2409 craig 101
 
102
echo "Other details:"
103
 
2789 craig 104
echo -n "   "
2409 craig 105
if test -z "${GS_PATH}" ; then
2410 craig 106
	echo "***GhostScript could not be found. See README.***"
1635 craig 107
else
2410 craig 108
	echo "GhostScript ${GS_VER_MAJOR}.${GS_VER_MINOR} was found at ${GS_PATH}"
109
	if (( "${GS_VER_MAJOR}" < 7 )) ; then
110
		echo "    *** GhostScript versions older than 7 MAY NOT WORK; v8 recommended ***"
111
	elif (( "${GS_VER_MAJOR}" < 8 )) ; then
112
		echo "    *** GhostScript 8 is STRONGLY recommended ***"
113
	fi
1635 craig 114
fi
115
 
2313 craig 116
if test "$hafree" = yes && test "$hafree_post219" = no; then
117
	echo
118
	echo
119
	echo "                           ***WARNING***                                     "
120
	echo "FreeType version 2.1.9 is STRONGLY recommended. You may have serious problems"
121
	echo "if you attempt to use Scribus with an older version. Please do not submit bug"
122
	echo "reports if you are using older versions of libfreetype.                      "
123
	echo "                           ***WARNING***                                     "
124
fi
125
 
779 fschmid 126
echo ""