Changeset deab6dc5 for configure.in


Ignore:
Timestamp:
10/31/05 15:57:25 (16 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
61ecfb6
Parents:
1851624
Message:

Fixed libtrace_pure checking - if --without-out pure was specified then
the perl code for replacing the HAVE_ATTR_PURE macro was not being
called.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    rb190686 rdeab6dc5  
    156156        AC_MSG_RESULT($libtrace_pure)
    157157        CFLAGS="$OLDCFLAGS"
    158 
    159         if test "$libtrace_pure" = true; then
    160                 perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 1/' lib/libtrace.h
    161         else
    162                 perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 0/' lib/libtrace.h
    163         fi
    164 
    165 fi
     158fi
     159
     160if test "$libtrace_pure" = true; then
     161        perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 1/' lib/libtrace.h
     162else
     163        perl -pi -e 's/#define HAVE_ATTR_PURE.*/#define HAVE_ATTR_PURE 0/' lib/libtrace.h
     164fi
     165
     166
    166167
    167168# configure time options for man pages
Note: See TracChangeset for help on using the changeset viewer.