libMesh / libmesh

libMesh github repository
http://libmesh.github.io
GNU Lesser General Public License v2.1
654 stars 286 forks source link

Work around `realpath` requirement #2451

Open dschwen opened 4 years ago

dschwen commented 4 years ago

The realpath posix system call is used in some places (e.g. netcdf). PETSc actually has a config test for it and a utility function PetscGetRealPath to workaround a missing realpath implementation (such as in mingw64). Libmesh should have this, too.

dschwen commented 4 years ago

also testing for sys/ioctl.h would be nice