configure.ac: Also check for popen.
* configure.ac: Also check for popen. * tree-loop-distribution.c (dot_rdg): Autoconfize popen use. * configure: Regenerate. * config.in: Regenerate. From-SVN: r213309
This commit is contained in:
parent
a41844e513
commit
b6d9404508
|
@ -1,3 +1,10 @@
|
||||||
|
2014-07-30 Mike Stump <mikestump@comcast.net>
|
||||||
|
|
||||||
|
* configure.ac: Also check for popen.
|
||||||
|
* tree-loop-distribution.c (dot_rdg): Autoconfize popen use.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* config.in: Regenerate.
|
||||||
|
|
||||||
2014-07-30 Martin Jambor <mjambor@suse.cz>
|
2014-07-30 Martin Jambor <mjambor@suse.cz>
|
||||||
|
|
||||||
* tree-sra.c (sra_ipa_modify_assign): Change type of the first
|
* tree-sra.c (sra_ipa_modify_assign): Change type of the first
|
||||||
|
|
|
@ -1468,6 +1468,12 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `popen' function. */
|
||||||
|
#ifndef USED_FOR_TARGET
|
||||||
|
#undef HAVE_POPEN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `putchar_unlocked' function. */
|
/* Define to 1 if you have the `putchar_unlocked' function. */
|
||||||
#ifndef USED_FOR_TARGET
|
#ifndef USED_FOR_TARGET
|
||||||
#undef HAVE_PUTCHAR_UNLOCKED
|
#undef HAVE_PUTCHAR_UNLOCKED
|
||||||
|
|
|
@ -9285,7 +9285,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
for ac_func in times clock kill getrlimit setrlimit atoll atoq \
|
for ac_func in times clock kill getrlimit setrlimit atoll atoq \
|
||||||
sysconf strsignal getrusage nl_langinfo \
|
popen sysconf strsignal getrusage nl_langinfo \
|
||||||
gettimeofday mbstowcs wcswidth mmap setlocale \
|
gettimeofday mbstowcs wcswidth mmap setlocale \
|
||||||
clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked madvise
|
clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked madvise
|
||||||
do :
|
do :
|
||||||
|
|
|
@ -1113,7 +1113,7 @@ define(gcc_UNLOCKED_FUNCS, clearerr_unlocked feof_unlocked dnl
|
||||||
fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked dnl
|
fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked dnl
|
||||||
putchar_unlocked putc_unlocked)
|
putchar_unlocked putc_unlocked)
|
||||||
AC_CHECK_FUNCS(times clock kill getrlimit setrlimit atoll atoq \
|
AC_CHECK_FUNCS(times clock kill getrlimit setrlimit atoll atoq \
|
||||||
sysconf strsignal getrusage nl_langinfo \
|
popen sysconf strsignal getrusage nl_langinfo \
|
||||||
gettimeofday mbstowcs wcswidth mmap setlocale \
|
gettimeofday mbstowcs wcswidth mmap setlocale \
|
||||||
gcc_UNLOCKED_FUNCS madvise)
|
gcc_UNLOCKED_FUNCS madvise)
|
||||||
|
|
||||||
|
|
|
@ -228,7 +228,7 @@ DEBUG_FUNCTION void
|
||||||
dot_rdg (struct graph *rdg)
|
dot_rdg (struct graph *rdg)
|
||||||
{
|
{
|
||||||
/* When debugging, you may want to enable the following code. */
|
/* When debugging, you may want to enable the following code. */
|
||||||
#if 1
|
#ifdef HAVE_POPEN
|
||||||
FILE *file = popen ("dot -Tx11", "w");
|
FILE *file = popen ("dot -Tx11", "w");
|
||||||
if (!file)
|
if (!file)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue