Changeset 137 for trunk/lswm

Show
Ignore:
Timestamp:
07/28/07 11:47:03 (1 year ago)
Author:
dsmith
Message:

Added config.h header and with-python configure option

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lswm/Makefile.in

    r125 r137  
    77SOURCES = lswm.c 
    88 
    9 CFLAGS += -I@top_builddir@/libcwiid -DCWIID_VERSION=\"${PACKAGE_VERSION}\" 
     9CFLAGS += -I@top_builddir@/libcwiid 
    1010LDFLAGS += -L@top_builddir@/libcwiid 
    1111LDLIBS += -lcwiid 
  • trunk/lswm/lswm.c

    r125 r137  
    1616 * 
    1717 *  ChangeLog: 
     18 *  2007-07-28 L. Donnie Smith <cwiid@abstrakraft.org> 
     19 *  * added config.h include 
     20 *  * use PACKAGE_VERSION from config.h instead of CWIID_VERSION 
     21 * 
    1822 *  2007-06-01 Nick <nickishappy@gmail.com> 
    1923 *  * reworked command-line options (added standard options, long options) 
     
    2832 *  * created file 
    2933 */ 
     34 
     35#ifdef HAVE_CONFIG_H 
     36#include "config.h" 
     37#endif 
    3038 
    3139#include <stdint.h> 
     
    9199                        break; 
    92100                case 'v': 
    93                         printf("CWiid Version %s\n", CWIID_VERSION); 
     101                        printf("CWiid Version %s\n", PACKAGE_VERSION); 
    94102                        return 0; 
    95103                        break;