2nd part of USE_xxx to wxUSE_xxx change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
24
configure.in
24
configure.in
@@ -648,7 +648,7 @@ DEFAULT_USE_GTK=1
|
||||
DEFAULT_USE_QT=0
|
||||
DEFAULT_USE_MOTIF=0
|
||||
|
||||
DEFAULT_USE_THREADS=1
|
||||
DEFAULT_wxUSE_THREADS=1
|
||||
|
||||
DEFAULT_USE_SHARED=1
|
||||
DEFAULT_USE_OPTIMISE=1
|
||||
@@ -938,19 +938,19 @@ dnl ----------------------------------------------------------------
|
||||
dnl
|
||||
dnl AC_OVERRIDES(metafile, metafile,
|
||||
dnl **--with-metafile use metafile (no effect),
|
||||
dnl USE_METAFILE)
|
||||
dnl wxUSE_METAFILE)
|
||||
dnl
|
||||
dnl AC_OVERRIDES(help,help,
|
||||
dnl **--with-help use help (no effect),
|
||||
dnl USE_HELP)
|
||||
dnl wxUSE_HELP)
|
||||
dnl
|
||||
dnl AC_OVERRIDES(wxgraph,wxgraph,
|
||||
dnl **--with-wxgraph use wxgraph (no effect),
|
||||
dnl USE_WXGRAPH)
|
||||
dnl wxUSE_WXGRAPH)
|
||||
dnl
|
||||
dnl AC_OVERRIDES(wxtree,wxtree,
|
||||
dnl **--with-wxtree use wxtree (no effect),
|
||||
dnl USE_WXTREE)
|
||||
dnl wxUSE_WXTREE)
|
||||
dnl
|
||||
dnl AC_OVERRIDES(package,message,helpmessage,variable)
|
||||
dnl
|
||||
@@ -1320,19 +1320,19 @@ dnl ----------------------------------------------------------------
|
||||
dnl thread support
|
||||
dnl ----------------------------------------------------------------
|
||||
|
||||
USE_THREADS=1
|
||||
wxUSE_THREADS=1
|
||||
THREADS_LINK=""
|
||||
UNIX_THREAD="gtk/threadno.cpp"
|
||||
|
||||
AC_OVERRIDES(threads,threads,
|
||||
**--without-threads Force disabling threads,
|
||||
USE_THREADS)
|
||||
wxUSE_THREADS)
|
||||
|
||||
dnl AC_ARG_WITH(threads,
|
||||
dnl [**--without-threads Force disabling threads ],
|
||||
dnl [USE_THREADS="$withval"])
|
||||
dnl [wxUSE_THREADS="$withval"])
|
||||
|
||||
if test "$USE_THREADS" = "1"; then
|
||||
if test "$wxUSE_THREADS" = "1"; then
|
||||
UNIX_THREAD="gtk/threadno.cpp"
|
||||
|
||||
dnl For glibc 2 users who have the old libc 5 too
|
||||
@@ -1360,16 +1360,16 @@ if test "$USE_THREADS" = "1"; then
|
||||
fi
|
||||
|
||||
if test -z "$UNIX_THREAD"; then
|
||||
USE_THREADS=0
|
||||
wxUSE_THREADS=0
|
||||
fi
|
||||
|
||||
AC_SUBST(UNIX_THREAD)
|
||||
AC_SUBST(THREADS_LINK)
|
||||
AC_DEFINE(USE_THREADS)
|
||||
AC_DEFINE(wxUSE_THREADS)
|
||||
|
||||
dnl defines UNIX_THREAD it contains the source file to use for threads. (GL)
|
||||
dnl defines THREADS_LINK it contains the thread library to link with. (GL)
|
||||
dnl defines USE_THREADS if thread support is activated. (GL)
|
||||
dnl defines wxUSE_THREADS if thread support is activated. (GL)
|
||||
|
||||
dnl ----------------------------------------------------------------
|
||||
dnl search for opengl
|
||||
|
Reference in New Issue
Block a user