[llvm-commits] [hlvm] r38070 - in /hlvm/trunk: autoconf/m4/find_library.m4 configure

Reid Spencer reid at x10sys.com
Sat Jul 7 16:59:33 PDT 2007


Author: reid
Date: Sat Jul  7 18:59:33 2007
New Revision: 38070

URL: http://llvm.org/viewvc/llvm-project?rev=38070&view=rev
Log:
Fix an error message to give the correct instructions.

Modified:
    hlvm/trunk/autoconf/m4/find_library.m4
    hlvm/trunk/configure

Modified: hlvm/trunk/autoconf/m4/find_library.m4
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/autoconf/m4/find_library.m4?rev=38070&r1=38069&r2=38070&view=diff

==============================================================================
--- hlvm/trunk/autoconf/m4/find_library.m4 (original)
+++ hlvm/trunk/autoconf/m4/find_library.m4 Sat Jul  7 18:59:33 2007
@@ -144,10 +144,10 @@
     fi
   else
     AC_MSG_RESULT([failed to find library file])
-    AC_MSG_ERROR([The --with-]$1[-libdir option must be used])
+    AC_MSG_ERROR([The --with-]allcapsname()[-lib option must be used])
   fi
 else
   AC_MSG_RESULT([failed to find header file])
-  AC_MSG_ERROR([The --with-]$1[-incdir option must be used])
+  AC_MSG_ERROR([The --with-]allcapsname()[-inc option must be used])
 fi
 ])

Modified: hlvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/configure?rev=38070&r1=38069&r2=38070&view=diff

==============================================================================
--- hlvm/trunk/configure (original)
+++ hlvm/trunk/configure Sat Jul  7 18:59:33 2007
@@ -4228,15 +4228,15 @@
   else
     echo "$as_me:$LINENO: result: failed to find library file" >&5
 echo "${ECHO_T}failed to find library file" >&6
-    { { echo "$as_me:$LINENO: error: The --with-apr-libdir option must be used" >&5
-echo "$as_me: error: The --with-apr-libdir option must be used" >&2;}
+    { { echo "$as_me:$LINENO: error: The --with-APR-lib option must be used" >&5
+echo "$as_me: error: The --with-APR-lib option must be used" >&2;}
    { (exit 1); exit 1; }; }
   fi
 else
   echo "$as_me:$LINENO: result: failed to find header file" >&5
 echo "${ECHO_T}failed to find header file" >&6
-  { { echo "$as_me:$LINENO: error: The --with-apr-incdir option must be used" >&5
-echo "$as_me: error: The --with-apr-incdir option must be used" >&2;}
+  { { echo "$as_me:$LINENO: error: The --with-APR-inc option must be used" >&5
+echo "$as_me: error: The --with-APR-inc option must be used" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
@@ -4743,15 +4743,15 @@
   else
     echo "$as_me:$LINENO: result: failed to find library file" >&5
 echo "${ECHO_T}failed to find library file" >&6
-    { { echo "$as_me:$LINENO: error: The --with-apru-libdir option must be used" >&5
-echo "$as_me: error: The --with-apru-libdir option must be used" >&2;}
+    { { echo "$as_me:$LINENO: error: The --with-APRU-lib option must be used" >&5
+echo "$as_me: error: The --with-APRU-lib option must be used" >&2;}
    { (exit 1); exit 1; }; }
   fi
 else
   echo "$as_me:$LINENO: result: failed to find header file" >&5
 echo "${ECHO_T}failed to find header file" >&6
-  { { echo "$as_me:$LINENO: error: The --with-apru-incdir option must be used" >&5
-echo "$as_me: error: The --with-apru-incdir option must be used" >&2;}
+  { { echo "$as_me:$LINENO: error: The --with-APRU-inc option must be used" >&5
+echo "$as_me: error: The --with-APRU-inc option must be used" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
@@ -5258,15 +5258,15 @@
   else
     echo "$as_me:$LINENO: result: failed to find library file" >&5
 echo "${ECHO_T}failed to find library file" >&6
-    { { echo "$as_me:$LINENO: error: The --with-xml2-libdir option must be used" >&5
-echo "$as_me: error: The --with-xml2-libdir option must be used" >&2;}
+    { { echo "$as_me:$LINENO: error: The --with-XML2-lib option must be used" >&5
+echo "$as_me: error: The --with-XML2-lib option must be used" >&2;}
    { (exit 1); exit 1; }; }
   fi
 else
   echo "$as_me:$LINENO: result: failed to find header file" >&5
 echo "${ECHO_T}failed to find header file" >&6
-  { { echo "$as_me:$LINENO: error: The --with-xml2-incdir option must be used" >&5
-echo "$as_me: error: The --with-xml2-incdir option must be used" >&2;}
+  { { echo "$as_me:$LINENO: error: The --with-XML2-inc option must be used" >&5
+echo "$as_me: error: The --with-XML2-inc option must be used" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
@@ -5773,15 +5773,15 @@
   else
     echo "$as_me:$LINENO: result: failed to find library file" >&5
 echo "${ECHO_T}failed to find library file" >&6
-    { { echo "$as_me:$LINENO: error: The --with-syck-libdir option must be used" >&5
-echo "$as_me: error: The --with-syck-libdir option must be used" >&2;}
+    { { echo "$as_me:$LINENO: error: The --with-SYCK-lib option must be used" >&5
+echo "$as_me: error: The --with-SYCK-lib option must be used" >&2;}
    { (exit 1); exit 1; }; }
   fi
 else
   echo "$as_me:$LINENO: result: failed to find header file" >&5
 echo "${ECHO_T}failed to find header file" >&6
-  { { echo "$as_me:$LINENO: error: The --with-syck-incdir option must be used" >&5
-echo "$as_me: error: The --with-syck-incdir option must be used" >&2;}
+  { { echo "$as_me:$LINENO: error: The --with-SYCK-inc option must be used" >&5
+echo "$as_me: error: The --with-SYCK-inc option must be used" >&2;}
    { (exit 1); exit 1; }; }
 fi
 





More information about the llvm-commits mailing list