[Pianod] Autoconf...Go!

Peter Li chinasaurli at gmail.com
Sun Feb 24 15:47:44 PST 2013


Cool!  I tried it from SVN.  Sadly FC17 is on autoconf 2.68.  Happily, I 
was still able to autoreconf with a few minor changes that I think are 
kosher, see AC_PREREQ and AC_HEADER_STDBOOL lines below.

There was also one typo, although it wasn't stopping build.  See 
HAVE_FGETLN lines below.

Everything builds and works on FC, Raspbian, and ALARM :).  (ALARM and 
Raspbian are both on autoconf 2.69 already.)


    --- configure.ac    (revision 115)
    +++ configure.ac    (working copy)
    @@ -1,7 +1,7 @@
      #                                               -*- Autoconf -*-
      # Process this file with autoconf to produce a configure script.

    -AC_PREREQ([2.69])
    +AC_PREREQ([2.68])
      AC_INIT([pianod],
          m4_esyscmd([svn info http://svn.deviousfish.com/pianod | grep
    Revision: | awk '{print $2}' | tr -d '\n']),
          [pianod at lists.deviousfish.com],
    @@ -59,7 +59,7 @@
      # Fgetln for Football:
      # May be in standard libraries, in -lbsd on Linux, or not exist at
    all.
      AC_SEARCH_LIBS([fgetln],[bsd],
    -    AC_DEFINE([HAVE_FGETLN],[1],[Set to 1 if fgetln is available])])
    +    AC_DEFINE([HAVE_FGETLN],[1],[Set to 1 if fgetln is available]))

      AM_CONDITIONAL([HAVE_FGETLN],[test "$ac_cv_search_fgetln" = 'none
    required'])

    @@ -97,7 +97,7 @@
      AC_CHECK_HEADERS([arpa/inet.h fcntl.h crypt.h gcrypt.h limits.h
    netdb.h netinet/in.h stdint.h stdlib.h string.h strings.h
    sys/socket.h unistd.h])

      # Checks for typedefs, structures, and compiler characteristics.
    -AC_CHECK_HEADER_STDBOOL
    +AC_HEADER_STDBOOL
      AC_C_INLINE
      AC_C_RESTRICT
      AC_TYPE_SIZE_T



On 02/24/2013 02:54 PM, Perette Barella wrote:
> Thanks for all your feedback & help on this Peter.
>
> We're close enough I've checked it all into source control.  I've added the -D_GNU_SOURCE, which (if I'm reading the docs right) should cover all the implicit definitions.  If not, we'll need to add that -D_BSD_SOURCE too.  It's -115 (and -latest) in the Devel downloads.
>
> I also updated dfupdate, the download/compile/install shell script, to handle running configure when needed.
>
> If anyone is grabbing from SVN, after updating you'll need autotools installed and to 'autoreconf -i' in the top-level directory to get all the autotools build magic.
>
> I also fixed the rating buttons visibility on the web client.
>
> Perette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20130224/4ad3581b/attachment-0002.htm>


More information about the Pianod mailing list