RE: [PATCH for sg3_utils 1/4] configure.ac: Suppress an autoconf warning

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

 



>a/configure.ac b/configure.ac index 1cce0b25f583..129c2f9d4d4d 100644
>--- a/configure.ac
>+++ b/configure.ac
>@@ -7,13 +7,13 @@ AM_CONFIG_HEADER(config.h)  AC_PROG_CC  #
>AC_PROG_CXX  AC_PROG_INSTALL
>-
>-# Adding libtools to the build seems to bring in C++ environment -
>AC_PROG_LIBTOOL
>
> # AM_PROG_AR is supported and needed since automake v1.12+
>ifdef([AM_PROG_AR], [AM_PROG_AR], [])
>
>+# Adding libtools to the build seems to bring in C++ environment
>+AC_PROG_LIBTOOL
>+
> # check for headers
> AC_HEADER_STDC
>

After moving "AC_PROG_LIBTOOL" to back " ifdef([AM_PROG_AR], [AM_PROG_AR], [])",
"Warning: LT_INIT was called before AM_PROG_AR" disappears.

Tested-by: Bean Huo <beanhuo@xxxxxxxxxx>

>--
>2.15.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux