| Last change
 on this file since 667 was             414, checked in by Herwig Bauernfeind, 16 years ago | 
        
          | 
Samba 3.5.0: Initial import
 | 
        
          | File size:
            744 bytes | 
      
      
| Line |  | 
|---|
| 1 | AC_PREREQ(2.50) | 
|---|
| 2 | AC_INIT(replace.c) | 
|---|
| 3 | AC_CONFIG_SRCDIR([replace.c]) | 
|---|
| 4 | AC_CONFIG_HEADER(config.h) | 
|---|
| 5 |  | 
|---|
| 6 | CFLAGS="$CFLAGS -I$srcdir" | 
|---|
| 7 |  | 
|---|
| 8 | AC_LIBREPLACE_ALL_CHECKS | 
|---|
| 9 | AC_LIBREPLACE_NETWORK_CHECKS | 
|---|
| 10 |  | 
|---|
| 11 | if test "$ac_cv_prog_gcc" = yes; then | 
|---|
| 12 | CFLAGS="$CFLAGS -Wall" | 
|---|
| 13 | CFLAGS="$CFLAGS -W" | 
|---|
| 14 | CFLAGS="$CFLAGS -Wshadow" | 
|---|
| 15 | CFLAGS="$CFLAGS -Wstrict-prototypes" | 
|---|
| 16 | CFLAGS="$CFLAGS -Wpointer-arith" | 
|---|
| 17 | CFLAGS="$CFLAGS -Wcast-qual" | 
|---|
| 18 | CFLAGS="$CFLAGS -Wcast-align" | 
|---|
| 19 | CFLAGS="$CFLAGS -Wwrite-strings" | 
|---|
| 20 | CFLAGS="$CFLAGS -Werror-implicit-function-declaration" | 
|---|
| 21 | CFLAGS="$CFLAGS -Wformat=2" | 
|---|
| 22 | CFLAGS="$CFLAGS -Wno-format-y2k" | 
|---|
| 23 | fi | 
|---|
| 24 |  | 
|---|
| 25 | m4_include(build_macros.m4) | 
|---|
| 26 | BUILD_WITH_SHARED_BUILD_DIR | 
|---|
| 27 |  | 
|---|
| 28 | LIBS="${LIBREPLACE_NETWORK_LIBS}" | 
|---|
| 29 | AC_SUBST(LIBS) | 
|---|
| 30 |  | 
|---|
| 31 | AC_SUBST(LDFLAGS) | 
|---|
| 32 |  | 
|---|
| 33 | AC_OUTPUT(Makefile) | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.