Skip to content

Commit

Permalink
Fix incorrectly placed comma (,).
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbidi committed Jul 10, 2023
1 parent fdd3952 commit e598349
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
21 changes: 19 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
Expand Down Expand Up @@ -766,6 +767,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
Expand Down Expand Up @@ -1018,6 +1020,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;

-runstatedir | --runstatedir | --runstatedi | --runstated \
| --runstate | --runstat | --runsta | --runst | --runs \
| --run | --ru | --r)
ac_prev=runstatedir ;;
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
| --run=* | --ru=* | --r=*)
runstatedir=$ac_optarg ;;

-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
Expand Down Expand Up @@ -1155,7 +1166,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
Expand Down Expand Up @@ -1308,6 +1319,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
Expand Down Expand Up @@ -5493,7 +5505,7 @@ if ${ac_cv_lib_dispatch_dispatch_get_main_queue_eventfd_np+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldispatch as_fn_error $? "Could not find the Grand Central Dispatch headers." "$LINENO" 5 $LIBS"
LIBS="-ldispatch $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand Down Expand Up @@ -5534,12 +5546,17 @@ else
if test "x$with_gcd" = "xyes"; then :
as_fn_error $? "Compatible libdispatch not found for GCD support!" "$LINENO" 5
fi
fi
else
as_fn_error $? "Could not find the Grand Central Dispatch headers." "$LINENO" 5
fi
done
fi
#---
Expand Down
13 changes: 8 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if test -n "$GNUSTEP_MAKEFILES"; then
# Use config.guess, config.sub and install-sh provided by gnustep-make
#--------------------------------------------------------------------
AC_CONFIG_AUX_DIR($GNUSTEP_MAKEFILES)

#--------------------------------------------------------------------
# Determine the host, build, and target systems
#--------------------------------------------------------------------
Expand Down Expand Up @@ -136,11 +136,14 @@ AC_ARG_WITH([gcd],
[Explicitly compiles without Grand Central Dispatch support. Configure will attempt to find a compatible library, use this option if you do not wish to have the support. The opposite option, --with-gcd, is also supported and should be used if Grand Central Dispatch support is absolutely required. A compatible library will required (http://www.nickhutchinson.me/libdispatch).])],
[], [with_gcd=maybe])
AS_IF([test "x$with_gcd" != xno],
[AC_CHECK_HEADERS([dispatch/dispatch.h],
[AC_CHECK_LIB([dispatch], dispatch_get_main_queue_eventfd_np, [],
AC_CHECK_HEADERS([dispatch/dispatch.h],
AC_CHECK_LIB([dispatch], [dispatch_get_main_queue_eventfd_np], ,
AS_IF([test "x$with_gcd" = "xyes"],
AC_MSG_ERROR([Compatible libdispatch not found for GCD support!])),
AC_MSG_ERROR([Could not find the Grand Central Dispatch headers.]))])])
AC_MSG_ERROR([Compatible libdispatch not found for GCD support!]))
),
AC_MSG_ERROR([Could not find the Grand Central Dispatch headers.])
)
)

#---
# Check for the Objective-C runtime
Expand Down

0 comments on commit e598349

Please sign in to comment.