simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] libbfd/libiberty directory check


From: Joel Sherrill
Subject: Re: [Simulavr-devel] libbfd/libiberty directory check
Date: Wed, 11 Mar 2009 15:59:05 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Joerg Wunsch wrote:
As Joel Sherrill wrote:

I actually did not commit it.  Try again.

Still no go, I still have to supply both.

Grrr.. I think I put the fix on the then not the
else part of the if.  Try the attached patch.  I
am not going to commit it until I hear from you.
What about the discrepancy on how "path" arguments
versus the help? Which of the following patterns should
we use?

--with-XXX=PATH    OR
--with-XXX-path=PATH

Eric voted for omitting the -path as that's got precedent cases
e.g. within GCC.

I will fix this and commit it as soon as my check that
a make dist tarball has all the right contents.


--
Joel Sherrill, Ph.D.             Director of Research & Development
address@hidden        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985


Index: m4/AX_AVR_ENVIRON.m4
===================================================================
RCS file: /sources/simulavr/simulavrxx/m4/AX_AVR_ENVIRON.m4,v
retrieving revision 1.7
diff -u -r1.7 AX_AVR_ENVIRON.m4
--- m4/AX_AVR_ENVIRON.m4        11 Mar 2009 16:18:54 -0000      1.7
+++ m4/AX_AVR_ENVIRON.m4        11 Mar 2009 20:56:59 -0000
@@ -49,13 +49,11 @@
 
 ######### LIBIBERTY
 if test "x${with_libiberty_path}" != "xcheck"; then
+  AVR_LIBIBERTY_SEARCH_STEP($with_libiberty_path)
+else
   if test x"${with_bfd_path}" != "xcheck"; then
     AVR_LIBIBERTY_SEARCH_STEP($with_bfd_path)
   fi
-  AVR_BFD_SEARCH_STEP(/usr)
-
-  AVR_LIBIBERTY_SEARCH_STEP($with_libiberty_path)
-else
   AVR_LIBIBERTY_SEARCH_STEP(/usr)
 fi
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]