Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e2c632

Browse files
committed
Patch #629426: Eliminate more autoconf warnings. Use AC_HELP_STRING.
1 parent d0c7137 commit 3e2c632

2 files changed

Lines changed: 119 additions & 90 deletions

File tree

configure

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.359 .
2+
# From configure.in Revision: 1.360 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.53 for python 2.3.
55
#
@@ -825,35 +825,40 @@ if test -n "$ac_init_help"; then
825825
Optional Features:
826826
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
827827
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
828-
--enable-framework=INSTALLDIR Build (MacOSX|Darwin) framework
829-
--enable-shared disable/enable building shared python library
830-
--enable-toolbox-glue disable/enable MacOSX glue code for extensions
831-
--enable-ipv6 Enable ipv6 (with ipv4) support
832-
--disable-ipv6 Disable ipv6 support
833-
--enable-unicode=ucs2,ucs4 Enable Unicode strings (default is yes)
828+
--enable-framework[=INSTALLDIR]
829+
Build (MacOSX|Darwin) framework
830+
--enable-shared disable/enable building shared python library
831+
--enable-toolbox-glue disable/enable MacOSX glue code for extensions
832+
--enable-ipv6 Enable ipv6 (with ipv4) support
833+
--disable-ipv6 Disable ipv6 support
834+
--enable-unicode[=ucs[24]]
835+
Enable Unicode strings (default is yes)
834836
835837
Optional Packages:
836838
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
837839
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
838-
--without-gcc never use gcc
839-
--with-cxx=<compiler> enable C++ support
840-
--with-suffix=.exe set executable suffix
841-
--with-pydebug build with Py_DEBUG defined
842-
--with-libs='lib1 ...' link against additional libs
843-
--with-signal-module disable/enable signal module
844-
--with-dec-threads use DEC Alpha/OSF1 thread-safe libraries
845-
--with(out)-threads=DIRECTORY disable/enable thread support
846-
--with(out)-thread=DIRECTORY deprecated; use --with(out)-threads
847-
--with-pth use GNU pth threading libraries
848-
--with(out)-universal-newlines disable/enable foreign newlines
849-
--with(out)-doc-strings disable/enable documentation strings
850-
--with(out)-pymalloc disable/enable specialized mallocs
851-
--with-wctype-functions use wctype.h functions
852-
--with-sgi-dl=DIRECTORY IRIX 4 dynamic linking
853-
--with-dl-dld=DL_DIR,DLD_DIR GNU dynamic linking
854-
--with-fpectl enable SIGFPE catching
855-
--with-libm=STRING math library
856-
--with-libc=STRING C library
840+
--without-gcc never use gcc
841+
--with-cxx=<compiler> enable C++ support
842+
--with-suffix=.exe set executable suffix
843+
--with-pydebug build with Py_DEBUG defined
844+
--with-libs='lib1 ...' link against additional libs
845+
--with-signal-module disable/enable signal module
846+
--with-dec-threads use DEC Alpha/OSF1 thread-safe libraries
847+
--with(out)-threads[=DIRECTORY]
848+
disable/enable thread support
849+
--with(out)-thread[=DIRECTORY]
850+
deprecated; use --with(out)-threads
851+
--with-pth use GNU pth threading libraries
852+
--with(out)-universal-newlines
853+
disable/enable foreign newlines
854+
--with(out)-doc-strings disable/enable documentation strings
855+
--with(out)-pymalloc disable/enable specialized mallocs
856+
--with-wctype-functions use wctype.h functions
857+
--with-sgi-dl=DIRECTORY IRIX 4 dynamic linking
858+
--with-dl-dld=DL_DIR GNU dynamic linking
859+
--with-fpectl enable SIGFPE catching
860+
--with-libm=STRING math library
861+
--with-libc=STRING C library
857862
858863
Some influential environment variables:
859864
CC C compiler command
@@ -1273,7 +1278,6 @@ _ACEOF
12731278
12741279
CONFIG_ARGS="$ac_configure_args"
12751280
1276-
12771281
# Check whether --enable-framework or --disable-framework was given.
12781282
if test "${enable_framework+set}" = set; then
12791283
enableval="$enable_framework"
@@ -1313,7 +1317,8 @@ fi;
13131317
13141318
13151319
##AC_ARG_WITH(dyld,
1316-
##[ --with-dyld Use (OpenStep|Rhapsody) dynamic linker],,)
1320+
## AC_HELP_STRING(--with-dyld,
1321+
## Use (OpenStep|Rhapsody) dynamic linker))
13171322
##
13181323
# Set name for machine-dependent library files
13191324
@@ -9886,7 +9891,7 @@ else
98869891
echo "${ECHO_T}no" >&6
98879892
fi;
98889893
9889-
# Determine isignalmodule should be used.
9894+
# Determine if signalmodule should be used.
98909895
98919896
98929897
echo "$as_me:$LINENO: checking for --with-signal-module" >&5
@@ -9958,8 +9963,7 @@ fi;
99589963
# Check whether --with-thread or --without-thread was given.
99599964
if test "${with_thread+set}" = set; then
99609965
withval="$with_thread"
9961-
9962-
with_threads=$with_thread
9966+
with_threads=$with_thread
99639967
fi;
99649968
99659969
if test -z "$with_threads"
@@ -10273,10 +10277,9 @@ echo $ECHO_N "checking for --with-pth... $ECHO_C" >&6
1027310277
# Check whether --with-pth or --without-pth was given.
1027410278
if test "${with_pth+set}" = set; then
1027510279
withval="$with_pth"
10276-
10277-
echo "$as_me:$LINENO: result: $withval" >&5
10280+
echo "$as_me:$LINENO: result: $withval" >&5
1027810281
echo "${ECHO_T}$withval" >&6
10279-
cat >>confdefs.h <<\_ACEOF
10282+
cat >>confdefs.h <<\_ACEOF
1028010283
#define WITH_THREAD 1
1028110284
_ACEOF
1028210285
@@ -10285,11 +10288,10 @@ cat >>confdefs.h <<\_ACEOF
1028510288
#define HAVE_PTH 1
1028610289
_ACEOF
1028710290
10288-
LIBS="-lpth $LIBS"
10289-
THREADOBJ="Python/thread.o"
10291+
LIBS="-lpth $LIBS"
10292+
THREADOBJ="Python/thread.o"
1029010293
else
10291-
10292-
echo "$as_me:$LINENO: result: no" >&5
10294+
echo "$as_me:$LINENO: result: no" >&5
1029310295
echo "${ECHO_T}no" >&6
1029410296
1029510297
# Just looking for pthread_create in libpthread is not enough:
@@ -11743,9 +11745,9 @@ dldir=`echo "$withval" | sed 's/,.*//'`
1174311745
dlddir=`echo "$withval" | sed 's/.*,//'`
1174411746
if test ! -z "$dldir" -a -d "$dldir" -a ! -z "$dlddir" -a -d "$dlddir"
1174511747
then LDFLAGS="$LDFLAGS -L$dldir -L$dlddir"
11746-
else { { echo "$as_me:$LINENO: error: proper usage is --with-dl-dld=DL_DIRECTORY" >&5
11747-
echo "$as_me: error: proper usage is --with-dl-dld=DL_DIRECTORY" >&2;}
11748-
{ (exit DLD_DIRECTORY); exit DLD_DIRECTORY; }; }
11748+
else { { echo "$as_me:$LINENO: error: proper usage is --with-dl-dld=DL_DIRECTORY,DLD_DIRECTORY" >&5
11749+
echo "$as_me: error: proper usage is --with-dl-dld=DL_DIRECTORY,DLD_DIRECTORY" >&2;}
11750+
{ (exit 1); exit 1; }; }
1174911751
fi
1175011752
DLINCLDIR=${dldir}
1175111753
LIBS="$LIBS -ldl -ldld"

0 commit comments

Comments
 (0)