Enlightenment CVS committal
Author : vapier
Project : misc
Module : retina
Dir : misc/retina
Modified Files:
configure.in
Log Message:
dont use [] in if tests and use AC_MSG_ERROR instead of echo/exit
===================================================================
RCS file: /cvsroot/enlightenment/misc/retina/configure.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- configure.in 21 Dec 2004 04:55:52 -0000 1.1
+++ configure.in 25 Oct 2005 00:51:43 -0000 1.2
@@ -15,6 +15,8 @@
AM_ENABLE_SHARED
AM_PROG_LIBTOOL
+CFLAGS="$CFLAGS -Wall"
+
if test "x${exec_prefix}" = "xNONE"; then
if test "x${prefix}" = "xNONE"; then
bindir="${ac_default_prefix}/bin";
@@ -78,11 +80,8 @@
PROG="imlib2-config";
AC_PATH_PROG(IMLIB2_CONFIG, $PROG, "", $PATH)
-if [ test -z $IMLIB2_CONFIG ]; then
- echo $PROG " is not in your \$PATH. Please ensure it is.";
- echo "Read the manual page for you shell as to how to extend your path.";
- echo "FATAL ERROR. ABORT.";
- exit -1;
+if test -z "$IMLIB2_CONFIG" ; then
+ AC_MSG_ERROR($PROG is not in your \$PATH. Please ensure it is.)
fi
imlib2_libs=`$IMLIB2_CONFIG --libs`
imlib2_cflags=`$IMLIB2_CONFIG --cflags`
@@ -91,11 +90,8 @@
PROG="evas-config";
AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH)
-if [ test -z $EVAS_CONFIG ]; then
- echo $PROG " is not in your \$PATH. Please ensure it is.";
- echo "Read the manual page for you shell as to how to extend your path.";
- echo "FATAL ERROR. ABORT.";
- exit -1;
+if test -z "$EVAS_CONFIG" ; then
+ AC_MSG_ERROR($PROG is not in your \$PATH. Please ensure it is.)
fi
evas_libs=`$EVAS_CONFIG --libs`
evas_cflags=`$EVAS_CONFIG --cflags`
@@ -104,11 +100,8 @@
PROG="ecore-config";
AC_PATH_PROG(ECORE_CONFIG, $PROG, "", $PATH)
-if [ test -z $ECORE_CONFIG ]; then
- echo $PROG " is not in your \$PATH. Please ensure it is.";
- echo "Read the manual page for you shell as to how to extend your path.";
- echo "FATAL ERROR. ABORT.";
- exit -1;
+if test -z "$ECORE_CONFIG" ; then
+ AC_MSG_ERROR($PROG is not in your \$PATH. Please ensure it is.)
fi
ecore_libs=`$ECORE_CONFIG --libs`
ecore_cflags=`$ECORE_CONFIG --cflags`
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs