Changeset 4044

Show
Ignore:
Timestamp:
04/06/06 09:24:12 (2 years ago)
Author:
morris
Message:

Use CPPFLAGS when linking

Files:

Legend:

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

    r3991 r4044  
    4242PREPROCESS      = $(CC) -E $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) 
    4343DEPEND          = $(CC) -MM $(INCLUDES) 
    44 LINK            = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ 
     44LINK            = $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 
    4545ARCHIVE         = ar rcs $@ 
    4646 
  • trackerd/trunk/config.h.in

    r4023 r4044  
    3737#undef HAVE_SYS_TYPES_H 
    3838 
    39 /* Define to 1 if you have the <sys/vfs.h> header file. */ 
    40 #undef HAVE_SYS_VFS_H 
    41  
    4239/* Define to 1 if you have the <unistd.h> header file. */ 
    4340#undef HAVE_UNISTD_H 
     
    7673#undef WT_VERSION 
    7774 
    78 /* Number of bits in a file offset, on hosts where this is settable. */ 
    79 #undef _FILE_OFFSET_BITS 
    80  
    81 /* Define for large files, on AIX-style hosts. */ 
    82 #undef _LARGE_FILES 
    83  
    8475/* Define on Solaris to get sigwait() to work using pthreads semantics. */ 
    8576#undef _POSIX_PTHREAD_SEMANTICS 
  • trackerd/trunk/configure

    r4037 r4044  
    857857  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
    858858  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
    859   --with-user=USER        install files as USER [wired] 
    860   --with-group=GROUP      install files as GROUP [daemon] 
     859  --with-user=USER        install files as USER wired 
     860  --with-group=GROUP      install files as GROUP daemon 
    861861  --with-fake-prefix=FPREFIX 
    862                           install in FPREFIX but look like PREFIX [PREFIX] 
    863   --with-trackerddir=DIR  install tracker components in PREFIX/DIR [wired] 
     862                          install in FPREFIX but look like PREFIX PREFIX 
     863  --with-trackerddir=DIR  install tracker components in PREFIX/DIR wired 
    864864 
    865865Some influential environment variables: 
  • trackerd/trunk/configure.in

    r4037 r4044  
    11# Process this file with autoconf to produce a configure script 
    2 AC_INIT([trackerd], [1.0], [axel@zankasoftware.com]) 
    3 AC_PREREQ([2.57]
     2AC_INIT([trackerd],[1.0],[axel@zankasoftware.com]) 
     3AC_PREREQ(2.59
    44AC_CONFIG_SRCDIR([config.h.in]) 
    55AC_CONFIG_HEADER([config.h]) 
     
    4545# Check for some other user to use than "wired" 
    4646AC_MSG_CHECKING([for user]) 
    47 AC_ARG_WITH([user], AC_HELP_STRING([--with-user=USER], [install files as USER [[wired]]])) 
     47AC_ARG_WITH([user], AS_HELP_STRING(--with-user=USER,install files as USER [[wired]])) 
    4848 
    4949if test -n "$with_user"; then 
     
    7070# Check for some other group to use than "daemon" 
    7171AC_MSG_CHECKING([for group]) 
    72 AC_ARG_WITH([group], AC_HELP_STRING([--with-group=GROUP], [install files as GROUP [[daemon]]])) 
     72AC_ARG_WITH([group], AS_HELP_STRING(--with-group=GROUP,install files as GROUP [[daemon]])) 
    7373 
    7474if test -n "$with_group"; then 
     
    9595# Check for warnings 
    9696AC_MSG_CHECKING([for warning flags]) 
    97 AC_ARG_ENABLE([warnings], AC_HELP_STRING([--enable-warnings], [enable warnings])) 
     97AC_ARG_ENABLE([warnings], AS_HELP_STRING(--enable-warnings,enable warnings)) 
    9898 
    9999AC_DEFUN([WT_WARNING_TRY], [ 
     
    130130 
    131131# Check for fake prefix 
    132 AC_ARG_WITH([fake_prefix], AC_HELP_STRING([--with-fake-prefix=FPREFIX], [install in FPREFIX but look like PREFIX [[PREFIX]]])) 
     132AC_ARG_WITH([fake_prefix], AS_HELP_STRING(--with-fake-prefix=FPREFIX,install in FPREFIX but look like PREFIX [[PREFIX]])) 
    133133 
    134134if test -n "$with_fake_prefix"; then 
     
    140140 
    141141# Check for trackerd directory 
    142 AC_ARG_WITH([trackerddir], AC_HELP_STRING([--with-trackerddir=DIR], [install tracker components in PREFIX/DIR [[wired]]])) 
     142AC_ARG_WITH([trackerddir], AS_HELP_STRING(--with-trackerddir=DIR,install tracker components in PREFIX/DIR [[wired]])) 
    143143 
    144144if test -n "$with_trackerddir"; then 
     
    152152 
    153153# Check for maintainer mode 
    154 AC_ARG_ENABLE([maintainer_mode], AC_HELP_STRING([--enable-maintainer-mode], [enable maintainer mode])) 
     154AC_ARG_ENABLE([maintainer_mode], AS_HELP_STRING(--enable-maintainer-mode,enable maintainer mode)) 
    155155 
    156156if test -n "$enable_maintainer_mode"; then