Changeset 2f8e3ca


Ignore:
Timestamp:
2015-11-21T18:02:10Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
c34247d
Parents:
fa8f57b
Message:

Show ./configure args in bitlbee -V, config.h and Makefile.settings

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    rfa8f57b r2f8e3ca  
    140140                        return NULL;
    141141                } else if (opt == 'V') {
    142                         printf("BitlBee %s\nAPI version %06x\n",
    143                                BITLBEE_VERSION, BITLBEE_VERSION_CODE);
     142                        printf("BitlBee %s\nAPI version %06x\nConfigure args: %s\n",
     143                               BITLBEE_VERSION, BITLBEE_VERSION_CODE, BITLBEE_CONFIGURE_ARGS);
    144144                        conf_free(conf);
    145145                        return NULL;
  • configure

    rfa8f57b r2f8e3ca  
    2525sysroot=''
    2626
     27configure_args="$@"
     28
    2729# Set these to default-on to let it be overriden by either the user or purple
    2830#
     
    177179cat <<EOF >Makefile.settings
    178180## BitlBee settings, generated by configure
     181
     182# ./configure $configure_args
     183
    179184PREFIX=$prefix
    180185BINDIR=$bindir
     
    228233   Do *NOT* use any of these defines in your code without thinking twice, most
    229234   of them can/will be overridden at run-time */
     235
     236#define BITLBEE_CONFIGURE_ARGS "$configure_args"
    230237
    231238#define CONFIG "$config"
Note: See TracChangeset for help on using the changeset viewer.