#4752: improved configure script
 Reporter:  Forgon                               |             Owner:
     Type:  patch (an actual patch, not a        |            Status:  new
  request for one)                               |         Milestone:
 Priority:  normal                               |  unspecified
Component:  other                                |           Version:
 Keywords:                                       |  git/master
 Blocking:                                       |        Blocked By:
                                                 |  Operating System:  All
                                                 |  /Non-Specific
 When executing `./configure`, the following warning was printed:

 ./configure: line 6278: AX_C___BUILTIN_EXPECT: command not found

 This was caused by the [https://www.gnu.org/software/autoconf-
 archive/ax_c___attribute__.html AX_C___ATTRIBUTE__ macro] being
 deprecated. It had been introduced in

 commit 9356cc13d3befa7e35eacd6366cf5a1710f395b8
 Author: Per Inge Mathisen <p...@wz2100.net>
 Date:   Sun Oct 7 18:34:32 2012 +0200

     Annotate asserts with !__builtin_expect. This closes ticket:3541

 It was replaced with the macro [https://www.gnu.org/software/autoconf-
 archive/ax_gcc_builtin.html#ax_gcc_builtin AX_GCC_BUILTIN(BUILTIN)].


 Running `./configure` without specifying a distributor resulted in the
 following warning:

 WARNING: Distributor unknown!
 Use --with-distributor when compiling package for distribution

 Since distributor names are seldom necessary, that warning was replaced
 with a message if one was given. For instance, executing `./configure
 --with-distributor=Forgon2100` will print:

 *** Distributor Forgon2100 ***

Ticket URL: <http://developer.wz2100.net/ticket/4752>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Warzone2100-project mailing list

Reply via email to