List Info

Thread: findutils configure should setup AR




findutils configure should setup AR
user name
2008-03-24 14:32:55
URL:
  <http://sa
vannah.gnu.org/support/?106319>

                 Summary: findutils configure should setup
AR
                 Project: findutils
            Submitted by: vapier
            Submitted on: Monday 03/24/2008 at 19:32
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

the configure script should setup AR rather than having the
makefiles harcode
"ar"

so something like this in configure:
AC_CHECK_TOOL([AR], [ar])

and then in the Makefile's:
AR = AR




    _______________________________________________________

Reply to this item at:

  <http://sa
vannah.gnu.org/support/?106319>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





findutils configure should setup AR
user name
2008-03-24 15:11:09
Follow-up Comment #1, sr #106319 (project findutils):

I'm a bit surprised the autotools don't do this by default. 
I didn't spot
another GNU package that did things that way, either.  Can
you achieve what
you need by setting the PATH environment variable?


    _______________________________________________________

Reply to this item at:

  <http://sa
vannah.gnu.org/support/?106319>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





findutils configure should setup AR
user name
2008-03-24 15:37:17
Follow-up Comment #2, sr #106319 (project findutils):

in the autotool world, you're supposed to use libtool to
generate libraries
(even internal ones -- those are called convenience
libraries)

at least that's my guess as to why there arent AR/RANLIB m4
macros already to
accomplish things

if i created a custom path and then created a custom
wrapper/symlink in there
named "ar" to the real ar binary, then sure that'd
"work".  but that sort of
defeats the purpose of autotools/package doing things for
you ;)

the AC_CHECK_TOOL() macro is the recommended method for
finding these sort of
utilities though ... if you check the autoconf manual, its
example shows
pretty much the same thing

    _______________________________________________________

Reply to this item at:

  <http://sa
vannah.gnu.org/support/?106319>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )