1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Moving Nmap's config.h[.in] to nmap_config.h[.in]

This commit is contained in:
kris
2008-04-28 17:53:32 +00:00
parent a3860a848a
commit 9a89b403f9
10 changed files with 13 additions and 13 deletions

View File

@@ -169,7 +169,7 @@ debugclean:
distclean: my_clean my_distclean @LUA_DIST_CLEAN@ @PCAP_DIST_CLEAN@ @PCRE_DIST_CLEAN@ @DNET_DIST_CLEAN@ nbase_dist_clean nsock_dist_clean @NSELIB_DIST_CLEAN@ @ZENMAP_DIST_CLEAN@
my_distclean:
rm -f Makefile Makefile.bak makefile.dep config.h stamp-h stamp-h.in \
rm -f Makefile Makefile.bak makefile.dep nmap_config.h stamp-h stamp-h.in \
config.cache config.log config.status
install-nmap: $(TARGET)

4
configure vendored
View File

@@ -1806,7 +1806,7 @@ libpcapdir=libpcap
pcredir=libpcre
ac_config_headers="$ac_config_headers config.h"
ac_config_headers="$ac_config_headers nmap_config.h"
ac_aux_dir=
@@ -8985,7 +8985,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"nmap_config.h") CONFIG_HEADERS="$CONFIG_HEADERS nmap_config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5

View File

@@ -33,8 +33,8 @@ AC_SUBST(libpcapdir)
pcredir=libpcre
AC_SUBST(pcredir)
dnl use config.h instead of -D macros
AC_CONFIG_HEADER(config.h)
dnl use nmap_config.h instead of -D macros
AC_CONFIG_HEADER(nmap_config.h)
dnl Host specific hacks
AC_CANONICAL_HOST

2
nmap.h
View File

@@ -110,7 +110,7 @@
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "nmap_config.h"
#else
#ifdef WIN32
#include "nmap_winconfig.h"

View File

@@ -1,6 +1,6 @@
/***************************************************************************
* config.h.in -- Autoconf uses this template, combined with the configure *
* script knowledge about system capabilities, to build the config.h *
* nmap_config.h.in -- Autoconf uses this template, combined with the *
* configure script knowledge about system capabilities, to build this *
* include file that lets nmap better understand system particulars. *
* *
***********************IMPORTANT NMAP LICENSE TERMS************************

View File

@@ -106,7 +106,7 @@
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "nmap_config.h"
#else
#ifdef WIN32
#include "nmap_winconfig.h"

View File

@@ -97,7 +97,7 @@
***************************************************************************/
#ifndef WIN32
#include "config.h"
#include "nmap_config.h"
#endif
#include <sys/types.h>

View File

@@ -103,7 +103,7 @@
#define TARGETS_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "nmap_config.h"
#else
#ifdef WIN32
#include "nmap_winconfig.h"

View File

@@ -105,7 +105,7 @@
#define TCPIP_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "nmap_config.h"
#endif
#include "nbase.h"

View File

@@ -119,7 +119,7 @@
#include <assert.h>
#include <sys/mman.h>
#include "config.h"
#include "nmap_config.h"
#endif
#if HAVE_UNISTD_H