autoconf problems# Unix - 噫吁兮,危乎高哉
g*d
1 楼
Hi,
I met a big headache in sgi workstation. In this machine, the c++ compiler is
CC although there is a "c++" program (it's named "c++") which doesn't work at
all.
=======
In my configure.in file:
i used
AC_PROG_CXX()
...
AC_SUBST(CXX)
..
AC_OUPUT(Makefile)
in my Makefile.in file:
...
C++ = @[email protected]
...
=======
However, the configure generated by autoconf always set CXX to be c++ and thus
the resulting Makefile (C++ = c++) always. I also tried AC_PROG_CXX( CC g++
c++ ) and got same result. It see
I met a big headache in sgi workstation. In this machine, the c++ compiler is
CC although there is a "c++" program (it's named "c++") which doesn't work at
all.
=======
In my configure.in file:
i used
AC_PROG_CXX()
...
AC_SUBST(CXX)
..
AC_OUPUT(Makefile)
in my Makefile.in file:
...
C++ = @[email protected]
...
=======
However, the configure generated by autoconf always set CXX to be c++ and thus
the resulting Makefile (C++ = c++) always. I also tried AC_PROG_CXX( CC g++
c++ ) and got same result. It see