Anonymous committed bed5123

Add configure check for libmirage, cleanup output a little.

Comments (0)

Files changed (1)

 	conf_check check-assuan NO_ASSUAN 'assuan'
+if ! pkg-config --exists libmirage; then
+	echo "Your pkg-config is unable to find libmirage." >&2
+	echo >&2
+	echo "To be able to build mirage2iso, you need to have both pkg-config" >&2
+	echo "and libmirage with development headers installed." >&2
+	exit 1
+	echo 'libmirage found.'
 # Both can fail
 ASSUAN_LIBS="$(libassuan-config --libs 2>/dev/null)"
 ASSUAN_LIBS="${ASSUAN_LIBS:--lassuan}" # fallback
+echo >&2
+echo ">> calling 'make configure' to perform additional tests" >&2
 make ${MAKEFLAGS:-${MAKEOPTS}} -f ${MAKEIN} -k \
+echo "<< 'make configure' done" >&2
+echo >&2
 if [ ! -f check-assuan ]; then
-echo Done.
+echo >&2
+echo Done. >&2
 exit 0
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.